*{
    margin: 0;
    padding: 0;
    transition: all ease-in-out 0.3s;
}

body{
 
    background-color: white;
}

a{
    text-decoration: none;
}

.container{
    /* height: 100vh; */
    display: flex;
    /* justify-content: center; */
   
}

.container .side{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    /* height: 200vh; */
    background-color: transparent;
    border: 2px black solid;
    width: 10%;
}

.container .main{
    /* height: 200vh; */
    background-color: rgb(255, 254, 254);
    width: 90%;
}

.side .logo{
    height: 30px;
    padding-top: 20px;
}

.side .home,.categories,.about{
    height: 30px;  
}

nav{
    display: flex;
    justify-content: space-between;
}

.side button{
    background-color: blue;
    border: none;
    border-radius: 10px;
    padding: 5px;
    font-family: tahoma;
    color: white;
    font-weight: bold;
}

.side button:hover{
    background-color: rgb(1, 12, 119);
}

.container .mobile_nav{
    display: none;
    margin-top: 30px;
  
    gap: 30px;
    flex-direction: row-reverse;
}

.mobile_nav .logo{
    height: 25px;
    margin-right: 30px;
}

.mobile_nav .home,.categories,.about{
    height: 20px;  
}

.mobile_nav button{
    background-color: red;
    border-radius: 7px;
    border: none;
    color: white;
    padding: 3px;
    font-family: tahoma;
    font-weight: bold;
}

.search-container {
  margin-top: 20px;
  align-items: center;
  border-radius: 30px;
  padding: 5px 10px;
  
}

.search-input {
  border: none;
  outline: none;
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 30px 0 0 30px;
  box-shadow: 0 2px 0px rgba(0,0,0,0.1);
  width: 200px;
}

.search-button {
  background-color: #007BFF;
  color: white;
  border: none;
  outline: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 0 30px 30px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-button:hover {
  background-color: #0056b3;
}

.main main .section{
    margin-top: 30px;
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

.main main .section div{
    background-color: transparent;
    border: black 2px solid;
    height: 250px;
    width: 170px;
    /* border-radius: 30px; */
}

.mobile,.desktop{
    display: flex;
    flex-direction: column;
    border-radius: 20px;
}

.mobile .img-section{
    height: 70%;
    /* background-color: #d3d6d8; */
}

.text{
    height: 30%;
    background-color: #ebeced;
    text-align: center;
    padding-top: 20px;
    font-family: tahoma ;
    font-size: 13px;
    border-radius: 0 0 20px 20px;
}

.text h2{
    color: rgb(2, 2, 240);
}

.text h2:hover{
    color: rgb(1, 1, 89);
}

.desktop .img-section{
    height: 70%;
    /* background-color: #0056b3; */
}

/* .desktop .text{
    height: 30%;
    background-color: #d1d1d1;
    text-align: center;
    padding-top: 20px;
    font-family: tahoma ;
    
    border-radius: 0 0 20px 20px;
} */

.img{
    height: 180px;
    width: 170px;
    object-fit: cover;
    border-radius: 19px 19px 0 0;
}

@media (max-width:1140px) {

.main main .section{
    gap: 30px;
    justify-content: center;
}

.main main .section div{
    height: 230px;
    width: 150px;
}

.img{
    height: 180px;
    width: 150px;
    object-fit: cover;
    border-radius: 19px 19px 0 0;
}


}

@media (max-width:1010px) {

.side .logo{
    height: 25px;
    padding-top: 20px;
}

.side .home,.categories,.about{
    height: 30px;  
}

.side button{
    padding: 5px;
    font-size: 8px;
}

.text h2,h3{
    font-size: 12px;
}

.main main .section div{
    height: 140px;
    width: 100px;
}

.img{
    height: 140px;
    width: 100px;
    object-fit: cover;
    border-radius: 19px 19px 21px 21px;
}

.text{
    height: 30%;
    background-color: #ebeced;
    text-align: center;
    padding-top: 10px;
    font-family: tahoma ;
    border-radius: 0 0 21px 21px;
}
}

@media (max-width:720px) {

.container .side{
    display: none;
}

.container .mobile_nav{
    margin-top: 30px;
    display: flex;
    gap: 30px;
    flex-direction: row;
    margin-left: 20px;
}

.mobile_nav .logo{
    height: 25px;
    margin-right: 30px;
}

.mobile_nav .home,.categories,.about{
    height: 20px;  
}

.mobile_nav button{
    background-color: blue;
    border-radius: 7px;
    border: none;
    color: white;
    padding: 3px;
    font-family: tahoma;
    font-weight: bold;
}

.mobile_nav button:hover{
    background-color: rgb(1, 1, 99);
}

.container .main{
    width: 100%;
}

.info{
    font-family: tahoma;
    font-size: 10px;
    padding: 0px;
    color: brown;
    margin-right: auto;
}

}

@media (max-width:650px) {

.main main .section div{
    height: 120px;
    width: 80px;
}

.img{
    height: 120px;
    width: 80px;
    object-fit: cover;
    border-radius: 19px 19px 21px 21px;
}

.text h2,h3{
    font-size: 8px;
}

}

@media (max-width:570px) {

.search-container {
    display: none;
}

.container .mobile_nav{
    margin-top: 20px;
    display: flex;
    gap: 30px;
    flex-direction: row;
}

.mobile_nav .logo{
    height: 25px;
    margin-left: 30px;
}

.main main .section{
    gap: 15px;
    justify-content: center;
}
    
.main main .section div{
    height: 100px;
    width: 80px;
}

.img{
    height: 100px;
    width: 80px;
    object-fit: cover;
    border-radius: 19px 19px 21px 21px;
}

.text h2,h3{
    font-size: 8px;
}

.mobile_nav button {
    padding: 2px;
    font-size: 10px;
}
}

@media (max-width:500px) {

.container .side{
    display: flex;
    width: 20%;
    position: fixed;
    height: 100%;
}

.container .main{
    /* height: 200vh; */
    background-color: rgb(255, 254, 254);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.container .mobile_nav{
    display: none;
}


.main main .section{
    margin-top: 20px;
    /* background-color: violet; */
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
}

.main main .section div{
    background-color: transparent;
    border: black 2px solid;
    height: 200px;
    width: 140px;
    /* border-radius: 30px; */
}

.img{
    height: 160px;
    width: 140px;
    object-fit: cover;
    border-radius: 19px 19px 21px 21px;
}

.text h2,h3{
    font-size: 12px;

}

}

@media (max-width:320px) {

.container .side{
    border: none;
}

.main main .section div{
    background-color: transparent;
    border: black 2px solid;
    height: 150px;
    width: 100px;
    /* border-radius: 30px; */
}

.img{
    height: 150px;
    width: 100px;
    object-fit: cover;
    border-radius: 19px 19px 21px 21px;
}

.text h2,h3{
    font-size: 12px;

}
}

@media (max-width:240px) {

.main main .section div{
    background-color: transparent;
    border: black 2px solid;
    height: 100px;
    width: 70px;
    /* border-radius: 30px; */
}

.img{
    height: 100px;
    width: 70px;
    object-fit: cover;
    border-radius: 19px 19px 21px 21px;
}

.text h2,h3{
    font-size: 8px;

}
}