@media screen and (max-width: 400px){
 /* search */

    .container-fluid{ 
        margin: 5px;
        padding: 5px;
        width: auto;
        align-items: center;
        justify-content: center;
    }

  .container-lid .search {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        gap: .8rem;
        margin: 2px;
        padding: 3px;
    }

    .container-lid .search h1 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .container-lid .search input {
        width: auto; 
        height: 40px; 
        font-size: 14px;
        border-radius: 10px;
    }

    .container-lid .search input:focus{
        border-left: 5px solid var(--secondary-color);
    }
}



@media screen and (max-width: 600px) {
    #desktop-nav {
        display: none;
    }

    #hambuger-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: var(--nav-background-color);
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .hambuger-container{
        display: flex;
        justify-content: space-between;
        margin: .5rem 0 0 0;
        padding: 0 .2rem;
    }
   

    .hambuger-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 0 .5rem;
    }

    .hambuger-logo h1 {
        font-size: 4.5vw;
    }

     .img-hambuger {
        display: none;
    }

    .hambuger-container .hambuger-logo h1 a{
        text-decoration: none;
        color: var(--on-hover-nav);
    }

    .hambuger-nav.hambuger-menu {
        width: 5rem;
    }

    .hambuger-icon {
        margin: 0 0 0 1rem;
        align-self: center;
    }
    
    .menu-link {
        width: 20rem;
        left: 1;
        right: 0;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .menu-link a {
        font-size: 1.1rem;
        text-align: center;
        padding: .5rem;
    }

    .container .container-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; 
}

.container-box .boxes {
    margin: 20px 40px;
    gap: 20px;
    text-align: center; 
}

.container-box .t1-text {
    color: var(--nav-background-color);
    font-size: 35px;
    font-family: Gill Sans , 'Lucida Sans','Lucida Grande', sans-serif;
    margin-bottom: .5rem;
}

.container-box .t2-text {
    color: var(--secondary-color);
    font-size: 40px;
    font-family: Gill Sans , 'Lucida Sans','Lucida Grande', sans-serif;
    margin-bottom: 1rem;
}

.t-text-p {
    font-size: 16px;
    font-family: Gill Sans , 'Lucida Sans','Lucida Grande', sans-serif;
}

.btn-container {
    margin: 1.5rem auto;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap; 
}

.btn {
    font-weight: 600;
    transition: all 300ms ease;
    padding: 1rem;
    width: 11rem;
    border-radius: .5rem;
}

 .container-box .t1-text {
        font-size: 24px;
        margin-top: 1rem;
    }

    .container-box .t2-text {
        font-size: 28px;
        letter-spacing: 3px;
    }

    .t-text-p {
        font-size: 18px;
    }

    .btn {
        width: 100%;
        padding: 0.7rem;
    }

    .btn-container {
        flex-direction: column;
        gap: 1rem;
    }

    .image-gen {
        display: none;
    }

    .boxes {
        margin: 10px 0;
    }

    .container-box .boxes{
        margin: 0;
        padding: 1px;
    }

    /* search */

    .container-fluid{
        margin: 5px;
        padding: 5px;
        width: auto;
        align-items: center;
        justify-content: center;
    }

  .container-lid .search {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        gap: .8rem;
    }

    .container-lid .search h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .container-lid .search input {
        width: auto; 
        height: 40px; 
        font-size: 14px;
        border-radius: 10px;
    }

    .container-lid .search input:focus{
        border-left: 5px solid var(--secondary-color);
    }

    .container-fluid .container-lid .product-list{
        margin: 2px;
        padding: 1px;
        display: flex;
        justify-content: center;
    }

    .container-lid, .product-list .product {
        width: 10rem;
        gap: 2rem;
    }

    .container-lid .product-list .product img{
        width: 10.1rem;
        margin-top: -1rem;
        margin-left: -.8rem;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .container-lid .product-list .product h3 {
        font-size: 1.3rem;
        color: var(--nav-background-color);
        background: var(--font-color);
    }

    .container-lid .product-list .product p{
        font-size: 1rem;
        color: var(--nav-background-color);
        margin-top: 10px;
    } 

     #footer{
        height: auto;
    }
    
    .foot .footer-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .foot .footer-container .footer-path {
        width: auto;
        margin: 0px;
    }

    .foot .footer-container .footer-path .footer-logo-text .footer-logo {
        width: auto;
    }

    .foot .footer-container .footer-path .footer-logo-text .footer-h2 {
        font-size: 1.3rem;
        text-align: left;
    }

    .foot .footer-container .footer-path p{
        text-align: left;
    }

    .foot .footer-container .footer-path .social-icons{
        text-align: left;
    }

    .foot .footer-container .footer-path .f2{
        text-align: left;
    }
    .foot .footer-container .footer-path ul li{
        text-align: left;
    }

    .foot .copyright {
        font-size: .7rem;
        margin: 5px;
        padding: 3px;
    }

}


@media screen and (max-width: 900px) {
    #desktop-nav {
        display: none;
    }

    #hambuger-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: var(--nav-background-color);
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .hambuger-container{
        display: flex;
        justify-content: space-between;
        margin: .5rem 0 0 0;
        padding: 0 .2rem;
    }
   

    .hambuger-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 0 .5rem;
    }

    .hambuger-logo h1 {
        font-size: 4.5vw;
    }

     .img-hambuger {
        display: flex;
        width: 50px;
    }

    .hambuger-container .hambuger-logo h1 a{
        text-decoration: none;
        color: var(--on-hover-nav);
    }

    .hambuger-nav.hambuger-menu {
        width: 5rem;
    }

    .hambuger-icon {
        margin: 0 0 0 1rem;
        align-self: center;
    }
    
    .menu-link {
        width: 20rem;
        left: 1;
        right: 0;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .menu-link a {
        font-size: 1.1rem;
        text-align: center;
        padding: .5rem;
    }

    .container .container-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; 
}

.container-box .boxes {
    margin: 20px 40px;
    gap: 20px;
    text-align: center; 
}

.container-box .t1-text {
    color: var(--nav-background-color);
    font-size: 35px;
    font-family: Gill Sans , 'Lucida Sans','Lucida Grande', sans-serif;
    margin-bottom: .5rem;
}

.container-box .t2-text {
    color: var(--secondary-color);
    font-size: 40px;
    font-family: Gill Sans , 'Lucida Sans','Lucida Grande', sans-serif;
    margin-bottom: 1rem;
}

.t-text-p {
    font-size: 16px;
    font-family: Gill Sans , 'Lucida Sans','Lucida Grande', sans-serif;
}

.btn-container {
    margin: 1.5rem auto;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap; 
}

.btn {
    font-weight: 600;
    transition: all 300ms ease;
    padding: 1rem;
    width: 11rem;
    border-radius: .5rem;
}

 .container-box .t1-text {
        font-size: 24px;
        margin-top: 1rem;
    }

    .container-box .t2-text {
        font-size: 28px;
        letter-spacing: 3px;
    }

    .t-text-p {
        font-size: 18px;
    }

    .btn {
        width: 100%;
        padding: 0.7rem;
    }

    .btn-container {
        flex-direction: column;
        gap: 1rem;
    }

    .image-gen {
        display: none;
    }

    .boxes {
        margin: 10px 0;
    }

    .container-box .boxes{
        margin: 0;
        padding: 1px;
    }

    .carousel-class .carousel{
    width: 300px;
    }

}