@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    background-color: #f2f2f2;
}

/* Navbar CSS */

nav{
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 8vh;
}

.logo{
    font-size: 20px;
}
.logo img{
    height: 35px;
    margin-top: 12px;
}
.logo a{
    text-decoration: none;
    color: black;
}

.nav-links{
    display: flex;
    justify-content: space-around;
    width: 40%;
}

.nav-links li{
    list-style: none;
}

.nav-links a{
    color: black;
    text-decoration: none;
    /* font-weight: bold; */
    font-size: 16px;
}
.nav-links a:hover{
    text-decoration: underline;
}
.cart{
    display: flex;
    align-items: center;
    cursor: pointer;
}
.cart img{
    width: 35px;
    margin-right: 3px;
}

.burger div{
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 5px;
    transition: all 0.3s ease;
}

.burger{
    display: none;
    cursor: pointer;
}

.right-side{
        display: flex;
        align-items: center;
        width: 8rem;
}

.right-side button{
    cursor: pointer;
    font-weight: 600;
    height: 25px;
    width: 80px;
    background-color: black;
    border: none;
    border-radius: 3px;
}
.cart-count{
    color: black;
    font-weight: 600;
}
.right-side a{
    text-decoration: none;

}
.right-side button a {
    text-decoration: none;
    color: white;
}

.cart{
    margin-right: 20px;
}
.tooltip span{
    visibility: hidden;
    position: absolute;
    z-index: 1;
    top: 42px;
    right: 72px;
    width: 120px;
    background-color: #ffffff;
    color: #000;
    text-align: center;
    border-radius: 10px;
    font-weight: 500;
}
.tooltip:hover .tooltipText{
    visibility: visible;
}
/* Products CSS */

.products-page{
    display: flex;
    justify-content: space-evenly;
    margin: 15px;
}

.products{
    display: flex;
    flex-direction: column;
    margin: 15px;
}

.products img{
    border-radius: 10px;
    cursor: pointer;
    height: 450px;
}

.products .bold{
    font-weight: 600;
}

.cart-button{
    background-color: black;
    color: white;
    border: none;
    border-radius: 3px;
    height: 2rem;
    cursor: pointer;
    margin-top: 5px;
}


.cart-button:hover{
    background-color: #212930;
    color: white;
    transition: all 0.3s;
}

.header{
    font-weight: bold;
    text-align: center;
    font-size: 25px;
    margin: 20px 0px 10px 0;
}





.footer{
    background: black;
    color: #8a8a8a;
    font-size: 14px;
    padding: 60px 0 20px;
}

.footer p{
    color: #8a8a8a;
}
.footer h3{
    color: #ffff;
    margin-bottom: 20px;
}
.footer h1{
    color: #ffff;
    margin-bottom: 20px;
}

.footer-col1, .footer-col2, .footer-col3, .footer-col4{
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-col1{
    flex-basis: 30%;
}
.footer-col2{
    flex: 1;
    text-align: center;
}
.footer-col2 img{
    width: 180px;
    margin-bottom: 20px;
    filter: invert(100%);
}
.footer-col3, .footer-col4{
    flex-basis: 12%;
    text-align: center;
}
ul{
    list-style-type: none;
}

.app-logo{
    margin-top: 20px;
}
.app-logo img{
    width: 140px;
}

.footer hr{
    border: none;
    background: #b5b5b5;
    height: 1px;
    margin: 20px 0;
}
.footer hr{
    border: none;
    background: #b5b5b5;
    height: 1px;
    margin: 20px 0;
}
.copyright{
    text-align: center;
}
.row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}
.container{
    max-width: 1625px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}


@media screen and (max-width:1024px) {
    .nav-links{
        width: 50%;
    }
}

@media screen and (max-width:768px) {
    body{
        overflow-x: hidden;
    }
    .nav-links{
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        /* background-color: #f2f2f2; */
        background-color: black;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(-100%);
        transition: transform 0.5s ease-in;
    }
    .nav-links a{
        color: white;
    }
    .nav-links li{
        opacity: 0;
    }
    .burger{
        display: block;
    }
    .cart img{
        width: 30px;
    }

    .products-page{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin: 0px;
    }
    
    .products p{
        font-size: 0.9rem;
    }

    .products img {
        height: 320px;
    }
    .logo img{
        margin-left: 95px;
    }
    .row{
        text-align: center;
    }
    .footer-col2{
        flex: 0;
    }
    .tooltip span{
        right: 0;
    }
}
@media screen and (max-width:425px) {
    .products-page{
        flex-direction: column;
    }
    .products img{
        height: 450px;
    }
    .logo img{
        margin-left: 0;
    }
}

.nav-active{
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from{
        opacity: 0;
        transform: translateX(50px);
    }
    to{
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1{
    transform: rotate(-45deg) translate(-5px,6px);
}
.toggle .line2{
    opacity: 0;
}
.toggle .line3{
    transform: rotate(45deg) translate(-5px,-6px);
}