@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:wght@100;300;400;500;700&display=swap');

*{
    font-family: 'Poppins',sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
    scroll-padding-top: 4rem;
    list-style: none; 
}

img{
    width:100% ;
}

body{
    color: black;
}

header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 100px;
    transition: 0.5s linear;
    background-color: black;
}

section{
    padding: 50px 100px;
}

.logo{
    width: 60px;
}

.navbar{
    display: flex; 
}

.navbar a{
    padding: 8px 17px;
    color: white;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 500;
}

.navbar a:hover{
    background-color: rgb(255, 174, 0);
    border-radius: 0.2rem;
    transition: 0.1s all linear;
}

.header-icons {
    font-size: 22px;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    column-gap: 0.8rem;
}

.header-icons button{
    color: white;
    background-color: black;
}

.header-icons button:hover{
    color: rgb(78, 43, 194);
}

#menu-icon{
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: none;
    z-index: 100001;
}

.search-box{
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%);
    background-color: white;
    width: 100%;
}

.search-box.active{
    top: 110%;
}

.search-box input{
    padding: 20px;
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    color: rgba(38, 7, 7, 0.075);
}

.search-box input::placeholder{
    font-size: 1rem;
    font-weight: 500;
}

.home{
    width: 100%;
    min-height: 100vh;
    background: url(images/bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(17rem,40rem));
    align-items: center;
    gap: 1.5rem;
}

.home-text h1{
    font-size: 3rem;
    color: rgb(224, 250, 215);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.home-text p{
    font-size: 0.938rem;
    color: white;
    margin: 0.5rem 0 1.4rem;
}

.btn{
    padding: 10px 40px;
    border-radius: 0.3rem;
    background-color: rgb(218, 95, 19);
    color: white;
    font-weight: 500;
}

.btn:hover{
    background: #8a6f4d;
}

.about{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(17rem,40rem));
    align-items: center;
    gap: 1.5rem;
}

.about-img img{
    border-radius: 0.5rem;
}

.about-text h2{
    font-size: 1.8rem;
    text-transform: uppercase;
}

.about-text p{
    font-size: 0.938rem;
    margin: 0.5rem 0 1.1rem;
}

.heading{
    text-align: center;
}

.heading h2{
    font-size: 1.8rem;
    text-transform: uppercase;
}

.products-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,400px));
    gap: 1.5rem;
    margin-top: 2rem;
}

.products-container .box{
    position: relative;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
}

.products-container img{
    width: 100%;
    height: 250px;
    object-fit: contain;
    object-position: center;
    padding: 20px;
    background: #f1f1f1;
    border-radius: 0,5rem;
}

.products-container .box h3{
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0.5rem 0 0.5rem;
}

.products-container .box .content{
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.products-container .box .content span{
    padding: 0 1rem;
    color: white;
    background-color: rgb(117, 128, 0);
    border-radius: 4px;
    font-weight: 500;
}

.products-container .box .content a{
    padding: 0 1rem;
    color: rgb(128, 32, 0);
    border: 2px solid rgb(117, 128, 0);
    border-radius: 4px;
    text-transform: uppercase;
}

.products-container .box .content a:hover{
    background-color: rgb(117, 128, 0);
    color: white;
    transition: 0.1s all linear;
}

.customers-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,400px));
    gap: 1.5rem;
    margin-top: 2rem;
}

.customers-container .box{
    padding: 20px;
    box-shadow:  0 5px 25px rgba(1 1 1 / 20%);
    border-radius: 0.5rem;
    text-align: center;
}

.stars{
    color: gold;
}

.customers-container .box p{
    font-size: 0.938rem;
}

.customers-container .box h2{
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0.5rem 0 0.5rem;
}

.customers-container .box img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.customers-container .box:hover{
    background-color: aquamarine;
    transition: 0.1s all linear;
}

.footer{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,300px));
    gap: 1.5rem;
}

.footer-box h2{
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-box h3{
  font-weight: 600;
  margin-bottom: 10px
}

.footer-box p{
    font-size: 0.938rem;
    margin-bottom: 10px;
}

.social{
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
}

.social a {
    font-size: 24px;
    color: rgb(128, 0, 87);
    padding: 10px;
    background-color: beige;
    border-radius: 0.2rem;
}

.social a:hover{
    color: beige;    
    background-color: rgb(128, 0, 87);
    transition: 0.05s all linear;
}

.footer-box li a{
    color: rgb(0, 166, 255);
}

.footer-box li a:hover{
    color: blue;
}

.contact{
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
}

.contact span{
    display: flex;
    align-items: center;
}

.contact i{
    font-size: 20px;
    margin-right: 1rem ;
}

.copyright{
    padding: 20px;
    text-align: center;
    background-color: #8a6f4dad;
}

@media(max-width:1058px){
    header{
        padding: 16px 60px;
    }
    section{
        padding: 50px 60px;
    }
    .home-text h1{
        font-size: 2.4rem;
    }
}

@media(max-width:991px){
    header{
        padding: 16px 4%;
    }
    section{
        padding: 50px 4%;
    }
    .home-text h1{
        font-size: 2rem;
    }
}

@media(max-width:768px){
    header{
        padding: 12px 4%;
    }
    #menu-icon{
        display: initial;
    }
    .navbar{
        display: none;
    }
    .about{
        align-items: center;
    }
}

@media(max-width:360px){
    header{
        padding: 11px 4%;
    }
    .logo img{
        width: 45px;
    }
    .home-text{
        padding-top: 15px;
    }
    .home-text h1{
        font-size: 1.4rem;
    }
    .home-text p{
        font-size: 0.8rem;
        font-weight: 300;
    }
    .about-img{
        order: 2;
    }
    .about-text{
    text-align: center;
    }
    .about-text h2{
        font-size: 1.2rem;
    }
    heading h2{
        font-size: 1.2rem;
    }
}
