@import url('https://fonts.googleapis.com/css2?family=Anta&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anta&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anta&family=Dosis:wght@200..800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
*{margin: 0; padding: 0;  }
body
{
    
    background-color: hsla(0, 0%, 50%, 0.74);
}
.header, .footer-section
{
    
    height: 50px;
    display: flex;

}
nav
{
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: fixed;
    z-index: 15;
    background-color: hsla(0, 0%, 100%, 0.76);
    backdrop-filter: blur(5px);
}
.default-menu
{
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.sidebar
{
    position: fixed;
    width: 150px;
    height: 100vh;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    top: 0;
    right: 0;
    z-index: 999;
    background-color: hsla(0, 0%, 50%, 0.856);
    backdrop-filter: blur(15px);
}
.default-menu li, .sidebar li
{
    list-style: none;
    height: 50px;
    width: fit-content;
    display: flex;
    align-items: center;
}
.default-menu li:first-child
{
    margin: auto;
    margin-left: 0px;
    display: flex;
}
.default-menu li:first-child img
{
    height: 40px;
    padding: 5px;

}
.default-menu li:first-child h2
{
    display: inline;
    font-family: "Anta", sans-serif;
    letter-spacing: 1.3px;
    font-weight: 700;
}
.default-menu a, .sidebar a
{
    text-decoration: none;
    font-size: 1.1rem;
    color: hsl(0, 0%, 0%);
    padding: 0px 25px 0px 15px;
    height: 100%;
    display: flex;
    align-items: center;
    
}
.sidebar a, .sidebar li
{
    width: 100%;
}
#menu-icon, #close-icon
{
    height: 40px;
    padding: 0px 10px 0px 10px;
}

.close-container, .menu-container
{
    width: 100%;
    cursor: pointer;
}
.sidebar a:hover, .close-container:hover, .default-menu a:hover
{
    background-color: hsla(0, 0%, 0%, 0.411);;
    color: hsl(0, 0%, 100%);
    font-size: 1.3rem;
    transform: scale(1.02, 1.05);
    border-radius: 4px;
    box-shadow: 3px 3px 6px -2px hsla(0, 0%, 0%, 0.411);

}
.close-container:hover, .menu-container:hover
{
    background-color: hsla(0, 0%, 0%, 0.411);
    border-radius: 4px;
}
.menu-container:hover
{
    transform: scale(1.01, 1.02);
    box-shadow: 2px 3px 2px -1.5px hsla(0, 0%, 0%, 0.411);;
}
.intro-section
{
    
    height: 100vh;
    position: relative;

}
.intro-section div:nth-of-type(1) h1
{
    font-family: "Anta", sans-serif;
    font-weight: 700;
    font-size: 100px;
    color: hsla(0, 0%, 100%, 0.74);
    width: 100%;
    text-align: center;
    word-spacing: 35px;
    letter-spacing: 10px;
    position: absolute;
    z-index: 10;
    animation: company-name 0.7s ease-in-out 0s 1 normal none;
}
.intro-section div:nth-of-type(2)
{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}
.intro-img
{
    flex: 0.92;
    overflow: hidden;
}

.intro
{
    width: 100%;
    height: 100%;
    flex: 1.08;
    background-color: hsla(0, 0%, 0%, 0.726);
}
.intro h3
{
    font-size: 3rem;
    font-family: "Roboto", sans-serif;
    color: hsl(0, 0%, 100%);
    word-spacing: 1.01rem;
    margin: 35% 1px 0px 25px;
    animation: intro-h3 0.6s ease-out 0s 1 normal none;
}
.intro p:nth-of-type(1), .intro p:nth-of-type(2)
{
    font-family: "Dosis",sans-serif;
    margin: 5px 1px 0px 35px;
    font-weight: 600;
    letter-spacing: 2.5px;

}
.intro p:nth-of-type(1)
{
    font-size: 1.7rem;
    animation: intro-p1 0.6s ease-in-out 0s 1 normal none;
}
.intro p:nth-of-type(2)
{
    font-size: 1.5rem;
    animation: intro-p2 0.6s ease-in-out 0s 1 normal none;
}
.intro-img img
{
    width: 100%;
    height: 100%;
    transform: translateX(100%);
    animation: intro-img 2.2s ease 0s 1 normal forwards;
}

.about-section
{
    width: 100%;
    height: 300px;
}
.about-section h3, .products h3, #testimonials-header, footer h3
{
    padding: 15px 40% 20px 40%;
    width: fit-content;
    font-family: "Anta", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.15rem;
    word-spacing: 0.4rem;
}
.about-section p
{
    font-family: "dosis", sans-serif;
    font-weight: 500;
    font-size: 1.7rem;
    padding: 2px 10% 15px 10%;
    line-height: 40px;
}
.target.active 
{
    transform: translateX(0);
    animation: about-section-animation 1s ease-out 0s 1 normal none;
}
.products
{
    background-color: hsla(0, 0%, 100%, 0.76);
}
.products h3, #testimonials-header, footer h3
{
    margin-top: 20px;
    margin-bottom: 20px;
}
.product-grid
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    
    
}
.product-section
{
    width: 100%;
    height: 500px;
    display: grid;
    grid-template-rows: 2fr 1fr 1fr 1fr;
}
.product-image
{
    width: 100%;
    padding: 20px;
    height: 200px;
}
.product-image-container
{
    display: flex;
    justify-content: center;
    align-items: center;
}
.product-name
{
    text-align: center;
    padding: 15px 5px 5px 5px;
    font-weight: 700;
    font-size: 1.4rem;
}
.product-description
{
    font-size: 1.06rem;
    letter-spacing: 1.5px;
    line-height: 1.02rem;
    padding: 5px 30px 15px 30px;
    
}
.product-price p
{
    display: inline; 
}
.price ::after
{
    content: attr(text-data);
}
span
{
    font-size: 1.2rem;
}
.product-price p:nth-of-type(1)
{
    padding: 1px 0px 15px 30px;
}
.product-price p:nth-of-type(2)
{
    font-size: 1.5rem;
    font-weight: 700;
}
.product-name, .product-description, .product-price
{
    font-family: "Roboto" sans-serif;
}
.testimonials-container
{
    width: 100%;
    overflow: hidden;
    position: relative;
}
.testimonies-section
{
    display: flex;
    justify-content: center;
    align-items: center;
    animation: testimonial-animation 2s ease 1s infinite normal none;
}
.card
{
    width: 300px;
    height: 400px;
    margin: 15px 15px 30px 40px;
    background-color: hsla(33, 100%, 88%, 0.603);
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 300px;
    display: grid;
    grid-template-rows: 0.3fr 2fr 1fr; 
    border-radius: 10px;  
    cursor: pointer;
}
.card:hover 
{
    box-shadow: 5px 5px 3px -2px hsla(0, 0%, 0%, 0.473);
    transform: scale(1.05, 1.05);   
}

#quotes
{
    width: 25px;
    height: 25px;
    padding: 15px 0px 5px 10px;
}
.testimonial
{
    width: 250px;
    margin: auto;
    font-family: "Roboto", sans-serif;
    font-size: 1.06rem;
    padding: 1px 5px 15px 15px;
}
.details-container
{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}
.details-container img
{
    width: 70px;
    height: 70px;
    border-radius: 35px;
    margin-left: 10px;
}
.name-occupation
{
    padding: 15px 0px 15px 15px;
    font-family: "Roboto", sans-serif;
}
.scroll-button
{
    width: 20px;
    height: 30px;
    background-color: rgba(128, 128, 128, 0.425);
    cursor: pointer;
    border-width: 0.5px;
}
.scroll-img
{
    width: 20px;
    height: 30px;
}
.scroll-button:hover
{
    transform: scale(1.1, 1.1);
    box-shadow: 3px 3px 2px -2px hsla(0, 0%, 0%, 0.87);
    
}
footer
{
    background-color: hsla(0, 0%, 0%, 0.555);
    height: 100vh;   
}
footer h3
{
    color: hsla(0, 0%, 100%, 0.74);
}
.footer-section
{
    width: 100%;
    display: flex;
    justify-content: center;
}
.orders, .In-store, .help, .contact, .socials
{
    margin: 5px 70px 50px 5px;
}
.footer-section section h4
{
    font-family: "Roboto", sans-serif;
    font-size: 1.5em;
    margin-bottom: 15px;
}
.footer-section section a, p, address
{
    text-decoration: none;
    font-family: "Roboto", sans-serif;
    color: hsl(0, 0%, 0%);
    font-size: 1.05rem;
    line-height: 1.8em;
}
.socials li
{
    margin-bottom: 15px;
}
.socials img
{
    width: 20px;
    height: 20px;
}
.socials p
{
    display: inline;
}








@keyframes company-name 
{
    from
    {
        transform: translateX(-150px);
        
    }
    to
    {
        transform: translateX(0);
        
    }    
}
@keyframes intro-h3 
{
    from
    {
        transform: translateX(-150px);
        color: hsla(60, 4%, 5%, 0.863);
        font-size: 1.5rem;
        
    }
    to
    {
        transform: translateX(0);
        
    } 
}
@keyframes intro-p1 
{
    from
    {
        transform: translateX(2rem);
        color: white;
        font-size: 1.5rem;
        transform: scale(1.5, 1.5);
        
    }
    to
    {
        transform: translateX(0);
        
    } 
}
@keyframes intro-p2 
{
    from
    {
        transform: translateX(-150px);
        color: white;
        font-size: 1.5rem;
        
        
    }
    to
    {
        transform: translateX(0);
        
    } 
}
@keyframes intro-img 
{
    0% {
        
        transform: translateX(100%) rotateY(90deg);
    }
    100% {
        transform: translateX(0) rotateY(0);
    }
}
@keyframes about-section-animation 
{
    from
    {
        transform: translateY(90px);
    }
    to
    {
        transform: translateY(0px);
    }
    
}
@keyframes testimonial-animation
{
    0%
    {
        transform: translateX(0);
    }
    100%
    {
        transform: translateX(calc(var(--index) * - var(--testimonialWidth)px));
    }
    
}




@media screen and (max-width: 1000px) 
{
    body
    {
        width: 100%;
    }
    .header
    {
        width: 100vh;
    }
    .product-name
    {
        font-size: 1.05rem;
    }
    .product-section
    {
        height: 600px;
    }
    .about-section
    {
        height: 450px;
    }
    .intro-section div:nth-of-type(1) h1
    {
        font-size: 5rem;
    } 
    .footer-section
    {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    footer
    {
        height: 800px;
    }
    .footer-section section
    {
        margin-left: 20px;
    }
}

@media screen and (max-width: 700px) 
{
    .default-menu a
    {
        display: none;
    }
    .product-grid
    {
        grid-template-columns: repeat(2, 1fr) ;
    }
    .about-section
    {
        height: 500px;
    }
    .intro-section div:nth-of-type(1) h1
    {
        font-size: 3rem;
    }  
    footer
    {
        height: 900px;
    }
    .footer-section
    {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-section section
    {
        margin-left: 20px;
    }
    
}
@media screen and (max-width: 550px)
{
    .product-grid
    {
        grid-template-columns: repeat(1, 1fr) ;
    }
    .about-section
    {
        height: 600px;
    }
    footer
    {
        height: 1010px;
    }
    .footer-section
    {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-section section
    {
        margin-left: 20px;
    }
} 