*{
    margin: 0;
    padding: 0;
}
header{
display: flex;
justify-content: space-around;
align-items: center;
z-index: 10000;
background-color:#edeaea;
height: 10rem;
}
.search select {
border-radius: 10px;
text-align: center;
border: none;
margin-left: 1rem;

padding: 0.5rem 1rem;
background-color: black;
color: white;
}

.search select:hover {
cursor: pointer;
background-color: black;
color: white;
}

header .logo-2{
display: flex;
justify-content: space-around;
align-items: center;

}
header .logo-1{
height: 70px;
width: 90px;
}
.texxt p{
text-align: center;
font-size: 1.5rem;
font-weight:bold;
}
header .logo{
font-size: 3rem;
font-weight: bolder;
color:black ;
text-transform: uppercase;
font-family: fangsong;
margin-left: 1rem;
}
header .logo span{
color:#ad8935;
}

header .icon i{
font-size: 2.5rem;
color:black;
cursor: pointer;
margin-left:2rem ;

}

header .icon i:hover{
color:#ad8935;
}

.login-form{
position: fixed;
top: -120%;
left: 0;
min-height: 100vh;
width: 100%;
background-color: rgb(0, 0, 0 ,0.7);
display: flex;
align-items: center;
justify-content: center;
z-index: 100000;
}
.login-form .form1{
margin: 2rem;
padding: 1.5rem 2rem;
border-radius: .5rem;
background-color: white;
width: 50rem;
}
.login-form .form1 h3{
font-size: 3rem;
color: #444;
text-transform: uppercase;
padding: 1rem 0;
text-align: center;
}
.login-form .form1 .box{
width: 100%;
padding: 1rem;
font-size: 1.7rem;
color: #333;
margin: .6rem 0;
border:.1rem solid rgb(0, 0, 0 ,0.3);
text-transform: none;
}
.login-form .form1 .btn{
cursor: pointer;
}
.btn{
display: inline;
margin-top: 1rem;
color: wheat ;
border-radius: 20px;
padding: .8rem 3rem;
border: .2rem solid var(--blue);
cursor: pointer;
font-size: 1.7rem;
transition: .3s;
font-family:system-ui ;

}
.btn:hover{
color: white;
background-color: var(--blue);
}
.login-form .form1 .btn{
display: block;
width: 100%;
}

.login-form .form1 #remember{
margin: 2rem 0;
}
.login-form .form1 label{
font-size: 1.5rem;

}
.login-form .form1 p{
padding: .5rem 0;
font-size: 1.5rem;
color: #666;
}
.login-form .form1 p a{
color: var(--blue);

}
#close{
position: absolute;
top: 2rem;
right: 7   rem;
font-size: 5rem;
color: white; 
cursor: pointer;  
}
#mnue-bar{
color: white;
border: .1rem solid white;
border-radius: .5rem;
font-size: 2.5rem;
padding: .5rem 1.2rem;
cursor: pointer;
display: none;
}

.search{
padding: 1.5rem;
display: flex;
justify-content: center;
align-items: center;
background-color: black;
}
.search input{
font-size: 1.5rem;
border-radius: 10px;
text-align: center;
border: none;
margin-left: 1REM;
outline: none;
}
.search button{
font-size: 1.5rem;
border-radius: 10px;
text-align: center;
border: 1px solid black;
width: 18rem;
margin-left: 1rem;
background-color: white;
color: black;
transition: .3s;
}
.search button:hover{
cursor: pointer;
background-color: black;
color: white;
}
@media(max-width:990px){
.search{
display: grid;
grid-template-columns: auto;
}
}
.main,.cards{
display:flex;
justify-content: center;
flex-wrap: wrap;
}
.cards{
width: 90%;
}

.product-card {
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
overflow: hidden;
width: 300px;
text-align: center;
transition: transform 0.3s;
margin:  2rem;
}

.product-card:hover {
transform: translateY(-10px);
}

.product-image img {
width: 100%;
height: 250px;
}

.product-info {
padding: 20px;
}

.product-title a {
font-size: 1.9em;
margin: 0;
color:black;
}
.product-description {
color: black;
font-size: .9em;
margin: 10px 0;
}

.product-price {
font-size: 1.5em;
color: black;
margin: 10px 0;
}

.buy-button {
background-color: black;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}

.buy-button:hover {
background-color: white;
color: black;}
a{
text-decoration: none;
}
@media (max-width: 1024px) {
.texxt .logo{
 font-size: 16pt;
}
.texxt p{
    font-size: 12pt;
}
}
@media (max-width: 768px) {
/* Header adjustments */
header {
    /*flex-direction: column;*/
    /*height: auto;*/
    display:flex;
        justify-content: space-around;

    padding: 1rem;
}
header .logo-2 {
    flex-direction: column;
}
header .logo-1 {
    height: 70px;
    width: 70px;
}
header .texxt p {
    font-size: 1rem;
}
header .logo {
    font-size: 2rem;
}
header .icon i {
    font-size: 1.8rem;
    margin: 0 1rem;
}

.search {
    flex-direction: column;
    padding: 1rem;
    text-align: center;
}
.search input,
.search select,
.search button {
    margin: 0.5rem 0;
    font-size: 1.2rem;
    padding: 0.7rem;
}

.cards {
    padding: 0 1rem;
}
.product-card {
    width: 80%;
    margin: 1rem 0;
}
.product-info {
    padding: 15px;
}
.product-title {
    font-size: 2em;
    color:black;
}

.product-price {
    font-size: 1.5em;
}
.buy-button {
    font-size: 1.9rem;
    padding: 8px 16px;
}

.icon{
    margin-top: 5px;
}
.product-image img{
    width: 100%;
}
}
#dropdown-toggle {
    display: none;
}

@media (max-width: 768px) {
    #dropdown-toggle {
        display: block;
        font-size: 2rem;
        color: #000;
        background-color: transparent;
        border: none;
        cursor: pointer;
        position: fixed;
        right: 1rem;
        top: 1rem;
        z-index: 1000;
    }
    .search-sort-form {
        display: none;
        flex-direction: column;
        background-color: black;
        padding: 1rem;
        text-align: center;
    }
    .search-sort-form.show {
        display: flex;
    }
}

/*footer*/
.section1 {
text-align: center;
}

.section2 h3,
.section3 h3,
.section4 h3 {
font-size: 1.2rem;
color: #fff;
margin-bottom: 0.8rem;
}

/* Add additional sections */
.section3 h3::before,
.section4 h3::before {
content: "• ";
color: #007bff;
}

.section3 h3 {
color: #fff;
}

.section4 h3 {
color: #fff;
}

/* Footer bottom */
.footer-bottom {
text-align: center;
padding: 1rem;
font-size: 0.9rem;
color: #666;
}

.choose {
margin-top: 5px;
display: grid;
justify-content: center;
place-content: center;
}

.controls {
background-color: rgba(0, 0, 0 ,0.7);
margin-bottom: 5px;
width: 100px;
display: flex;
justify-content: center;
place-content: center;
border-radius: 20px;
} 