*{
    margin: 0;
    padding: 0;
    font-family: "Oswald", Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}
body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: rgba(253, 253, 253, 0.5);
}

.main{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    background: rgb(156,151,230);
    background: linear-gradient(129deg, rgba(156,151,230,1) 9%, rgba(163,196,213,1) 42%, rgba(92,194,247,1) 76%);
    box-shadow: 0 5px 5px 0px;
    width: 100vw;
    position: sticky;
    top:0 ;
z-index: 1;
}
.navbar{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.check{
    display: none;
}
.logo{
    width: 100px;
}
.logo img{
    width: 100%;
}
.menu {
    width: 100% ;
    
}
ul{
display: flex;
}
ul li{
    list-style: none;
    margin: 0 1rem;
}
ul li a{
    color: black;
    text-decoration: none;
    font-weight: 600;
    font-size: large;
}
ul li a:hover{
    color: green;
    text-decoration: underline;
    transition: 0.5s ease-in;
}
.searchPage{
    max-width: 100vw;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
}
.search {
    width: 300px;
    justify-content: center;
}
.search input{
    width: 300px;
    color: black;
}
.search button{
    padding: 0 1rem;
    margin: 0 1rem;
    color: green;
    cursor: pointer;
}
.search button:hover{
    color: grey;
    background-color: rgb(28, 221, 28);
    transition: 0.5s ease-in-out;
}

.search input::placeholder{
    color: red;
}

.loginmodal{
    text-align: center;
    justify-content: center;
    align-item: center;
margin: 0 2rem;

}
.loginmodal button{
padding: 0 2rem;
}
.container h2{
    text-align: center;
    color: rgb(21, 21, 173);
    font-size: large;
    font-weight: 900;
    
}
    .container{
    margin: 4rem auto;
    border: 2px solid rgb(147, 173, 147);
    box-shadow: 2px 2px 2px 2px;
    max-width: 500px;
}


.formgroup form{
    display: flex;
    flex-direction: column;
    padding: 1rem 1rem;
}
.submit{
    color: white;
    background-color: rgb(125, 125, 211);
    cursor: pointer;
}

.warning{
    margin: 0 1rem;
    color: red;
}
.site-body{
    display: grid;
    grid-template-columns: fit-content(700px) fit-content(700px) 1fr;
    gap: 1rem;

}
.leftPanel{
    margin: 0 0 0 5px;
}
.rightPanel{
    margin: 0 auto;
}
.site-body button a{
    text-decoration: none;
    color: red;
}
button{
    padding: 0.5rem 2rem;
    margin: 1rem auto;
}
.productContainer{

    display: flex;
    flex-direction: column;
    width: 60vw;
    
}
.productDescription p{
 font-size: large;
 font-weight: 900;
}
.productDescription button{
cursor: pointer;
background-color: rgb(100, 129, 129, 0.1);
}
.productDescription button:hover{
transition: ease-in-out 0.5s;
background-color: rgba(255, 255, 255);
}
.productDescription{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.UnitproductDescription{
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-items: left;
    box-shadow: 3px 3px rgb(185, 175, 175, 0.4);
    padding: 0 2rem;
    min-width: 90%;
    min-height: 25rem;
    background-color: rgba(202, 154, 92, 0.1);
}
.UnitproductDescription h4{
   color: rgb(170, 85, 23);
   text-decoration: underline;
   text-align: left;
}
.UnitproductDescription p{
    width: 100%;
   color: rgb(0, 0, 0);
   text-align: left;
}

.productTitle h2{
    color: green;
    font-size: x-large;
    font-weight: 900;
}
.UnitproductTitle {
    color: green;
    font-size: x-large;
    font-weight: 900;
    position: relative;
    top: 0;
    text-decoration: underline;
}

.productAlign{
    display: flex;
    flex-direction: row;
    background-color: antiquewhite;
    background-size: cover;
    margin: 5px auto;
    width: 100%;
    cursor: pointer;
}
.productImage{
max-height: 250px;
max-width: 500px;
}
.productImage img{
height: 100%;
width: 100%;
object-fit: cover;
}
.product{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 5px;
    justify-content:space-between;
}
.Unitproduct{
    width: 80%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 5px;
    justify-content:space-between;
}
.productTitle{
    font-size: large;
    color: rgb(32, 16, 250);
}

.productImage{
    min-width: 500px;
    min-height: 250px;
}
.productImage img{
    padding: 5px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.UnitproductImage{
    width: 800px;
    height: 500px;
    background-color: white;
}
.UnitproductImage img{
    padding: 5px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.productImage h3{
    font-size: x-large;
    position: relative;
    right: -20%;
    bottom: -50%;
    opacity: 0.5;
z-index: 1;
}
.unitProductAlign{
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    justify-content: center;
}
.contact{
    width: 100%;
    margin: 0 2rem;
    display: flex;
    flex-direction: column;
    border: 1px solid gray;
    padding: 2rem;
    background-color: rgba(170, 187, 211, 0.3);
}
.contact button{
    padding: 0.5rem 2rem;
    width: 100%;
    background-color: rgb(207, 98, 98);
    border: 1px solid black;
    box-shadow: 0 2px 2px 0px;
}
.productFrame{
    width: 80%;
    margin: 2rem auto;
}
.profile{
    max-width: 150px;
display: flex;
flex-direction: row;
border: 1px dotted gray;
padding: 10px;
align-items: center;
background-color: rgba(137, 202, 111, 0.1);

}
.profile h4{
    width: 100%;
    flex-wrap: wrap;
    color: brown;
    font-size: small;
    text-transform: uppercase;
}
.profileImage{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 2rem;
}
.profileImage img{
    width: 50px;
    border-radius: 50%;
    margin-right: 2rem;
}


.categoryContainer{
    width: 100vw;
    margin: 2rem auto;
    justify-content: center;
    padding: 1rem 1rem;
    background: rgba(249, 178, 223, 0.2);
}
.categoryContainer ul{
justify-content: center;
    display: grid;
    grid-template-columns: 70px 70px 70px 70px 70px 70px; 
    flex-direction: row;
    column-gap: 20px;
    width: 80%;
    margin: 1rem auto;

}
.categoryContainer h2{
    width: 100%;
        text-align: center;
}
.categoryContainer ul li{
        margin: 1rem auto;
}
.categoryContainer ul li button{
    cursor: pointer;
    border-radius: 50%;
    height: 80px;
    width: 80px;
    padding: 1rem;
    background-color: rgba(31, 215, 247, 0.5);
    box-shadow: 4.4px 8.8px 8.8px hsl(0deg 0% 0% / 0.36);
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
.categoryContainer ul li button img{
    padding: 5px;
    height: 100%;
    width: 100%;
}
.productAlign {
     display: grid;
    grid-template-columns: 2fr 1fr;
    widht: 100%
    margin: 10px;
    border: 1px solid #ccc;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

.productAlign:hover {
    transform: scale(1.05);
}
button {
    padding: 0.5rem 2rem;
    margin: 1rem auto;
}
.productDescription {
    font-size: 1em;
    color: #666;
}
.search {
    display: flex;
    align-items: center;
    justify-content: center;
}

.search input {
    width: 300px;
    padding: 10px 15px; /* Added padding */
    border: 1px solid #ccc;
    border-radius: 5px;
    color: black;
}

.search button {
    padding: 5px 10px;
    margin-left: 10px;
    border: none;
    background-color: green;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.search button:hover {
    background-color: grey;
    color: black;
}

.search input::placeholder {
    color: red;
}

@media (max-width: 992px) {
    .Unitproduct{
    width: 100%;
    }
    .main{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: top;
        justify-content: space-around;
    }
.loginmodal{
        flex-direction: row;
    }
}
@media (max-width: 512px) {
    .main{
        display: flex;
        justify-content: space-around;
        padding-top: 1rem;
                  transition: opacity 0.5s ease, max-height 0.5s ease;
    }

#navbar{
    display: none;
          transition: opacity 0.5s ease, max-height 0.5s ease;
}
    .navbar{
        display: none;
        transition: opacity 0.5s ease, max-height 0.5s ease;
    }
    .navbar{
        width: 100%;
        margin: 1rem auto;
     display: flex;
    flex-direction: column;
    position: Fixed;
    top: 1px;
    justify-content: center;
    text-align: center;
      background: rgb(227, 225, 250, 0.95);

    }
 .check{
    display: flex;
    width: 100%;
    z-index:2;
    justify-content: flex-end;
}
#close{
    display: none;
    transition: opacity 0.5s ease, max-height 0.5s ease;
}
.check img{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor:pointer;
}
    .menu ul a{
color: black;
    }
    .menu{
        width:100%;
        justify: center;
        
    }
    .menu ul{
    display: flex;
    flex-direction: column;
}
    .loginmodal{
        flex-direction: column;
    }
        .container{
    margin: 4rem 2rem;
    border: 2px solid rgb(147, 173, 147);
    box-shadow: 2px 2px 2px 2px;
    max-width: 100%;
}

.leftPanel{
    display: none;
}

a.active, a:hover{
    background: transparent;
    transition: 0.5s;
}
.profile{
    max-width: 80px;
    display: flex;
    flex-direction: column;
    border-radius: 6%;
}
.profileImage{
    max-width: 100%;
    margin: auto;
}
.userName{
    padding: 0 5px;
}

}
@media (max-width: 728px) {
    .leftPanel{
    display: none;
}
.Unitproduct{
    min-width: 100%;
}
.UnitproductCard{
    display: flex;
    flex-direction: row;
    width: 100%;
}
    .rightPanel{
    display: none;
}
    .main{
        display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.productImage{
    min-width: 150px;
    min-height: 75px;
}
.categoryContainer {
    width: 100vw;

}
.categoryContainer ul{
    width: 80%;
    display: flex;
    flex-direction: row;
    margin: 2rem auto;
    padding: 1rem 2rem;
    overflow-x: auto;
        justify-content: flex-start;
}
.categoryContainer::-webkit-scrollbar{
    width: 0px;
}
.productContainer{

    display: flex;
    flex-direction: column;
    min-width: 95vw;
    
}
}
@media (max-width: 1002px) {
    
    
.loginmodal{
    width: 100%;
}

.unitProductAlign{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}
.UnitproductImage{
    max-width: 100%;
    max-height: 70%;
}
.contact{
    display: flex;
    flex-direction: row;
    padding: 5px;
    margin: 5px 0;
    width: 100%;
    justify-content: space-around;
}

.UnitproductCard{
    width: 100%;
} 
.productContainer{
    width: 80vw;
}
}
    
