@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-padding-top: 2rem;
    list-style: none;
    text-decoration: none;
    scroll-behavior: smooth;
    font-family: "poppins", sans-serif;
}

:root {
    --second-color: #141413;
    --main-color: #31c22c;
    /* --main-color: #16b978;
    --second-color: #081b54; */

}

section {
    padding: 50px 10%;
}

img {
    width: 100%;
}

*::selection {
    color: #fff;
    background: var(--main-color);
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 10%;
    transition: 0.2s;
    background-color: white;
    box-shadow: 0 4px 4px rgb(14 55 54/15%);
}

header.active {
    background: var(--second-color);
    box-shadow: 0 0 4px rgb(14 55 54/15%);
}

header.active .logo {
    color: white;
}

header.active .navbar a {
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #000000;
}

.logo img {
    width: 35px;
    margin-right: 10px;
}

.navbar {
    display: flex;
}

.navbar a {
    font-size: 1rem;
    padding: 10px 20px;
    color: #000000;
    font-weight: 500;
}

.navbar a:hover {
    color: #fff;
    background-color: var(--second-color);
    border-radius: 4px;
}

#menu-icon {
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    display: none;
}

.home {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: url(images/back.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    gap: 1rem;
}

.home-text {
    flex: 1 1 17rem;
}

.home-img {
    flex: 1 1 17rem;
}

.home-text span {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
}

.home-text h1 {
    font-size: 4rem;
    color: white;
}
.home-text br{color: var(--second-color);}

.home-text p {
    margin: 0.5rem 0 1.4rem;
    color: #fff;
}

.btn {
    padding: 10px 20px;
    ;
    border-radius: 40px;
    color: white;
    font-weight: 1000;
}

.btn:hover {
    letter-spacing: 2px;
    color: #000000;
    background-color: white;
}

.about {
    display: flex;
    align-items: center;
    flex-direction: column;
    background: url(images/1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.about h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.about-container {
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 10px;
    border-top: 6px solid var(--main-color);
    padding: 20px;
    gap: 2rem;
}

.box-img {
    width: 200px;
    height: 200px;
}

.box-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.box-img:hover{transform: scale(1.9);
    
    transition: 0.5s;}

.about-box {
    flex: 1 1 8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-box h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--second-color);
    margin: 0 0 0.5rem;
}

.about-box h2 {
    font-size: 1.2rem;
    color: var(--main-color);
    letter-spacing: 1px;
}

.heading {
    text-align: center;
}

.heading h2 {
    font-size: 2rem;
    color: var(--second-color);
    margin-bottom: 0.5rem;
}

.shop-container,
.customer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.shop-box {
    position: relative;
    flex: 1 1 17rem;
    box-shadow: 0 4px 4px rgb(14 55 54/15%);
    border-radius: 0.5rem;
    height: auto;
}

.shop-img {
    width: 100%;
    height: 300px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.shop-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.shop-img img:hover {
    transform: scale(1.5);
    
    transition: 0.5s;
}

.shop-box h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--second-color);
    padding: 10px;
}

.shop-box h2 {
    font-size: 1.2rem;
    color: var(--main-color);
    letter-spacing: 1px;
    padding: 10px;
}

.shop-box .bxs-cart {
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 20px;
    padding: 10px;
    color: #fff;
    background: var(--main-color);
    border-radius: 4px 0 4px 0;
}

.shop-box .bxs-cart:hover {
    background: var(--second-color);
}

.customer-container .box {
    flex: 1 1 16rem;
    text-align: center;
    box-shadow: 0px 4px 4px rgb(14 55 54 / 15%);
    padding: 20px;
    border-radius: 0.5rem;
    ;
}

.box img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--second-color);
}

.box .bx {
    color: var(--main-color);
    margin-top: 0.5rem;
}

.box p {
    margin: 0.5rem 0 1rem;
}

.box h2 {
    font-size: 1.2rem;
    color: var(--main-color);
    letter-spacing: 1px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-info {
    flex: 1 1 20rem;
}

.contact-form {
    display: flex;
    flex: 1 1 20rem;
    justify-content: center;
}

.contact-info h2 {
    font-size: 1.2rem;
    color: var(--second-color);
}

.contact-info p {
    margin: 0.5rem 0 1rem;
}

.address {
    display: flex;
    flex-direction: column;
}

.address o {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 20px;
}

.address i {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 20px;
}

.address span {
    font-size: 1rem;
    margin-left: 1rem;
}

.social {
    margin-top: 1rem;
}

.social a {
    font-size: 24px;
    color: var(--main-color);
    margin-right: 1rem;
}

.social a:hover {
    color: var(--second-color);
}

.contact-form form {
    display: flex;
    width: 100%;
    flex-direction: column;
}

form input,
textarea {
    width: 100%;
    padding: 17px;
    border-radius: 0.5rem;
    outline: none;
    margin-bottom: 1rem;
    border: 2px solid var(--main-color);
    box-shadow: 0 4px 4px 2px rgb(14 55 54 / 15%);
}

form input::placeholder,
textarea::placeholder {
    color: var(--main-color);
}

form textarea {
    resize: none;
    height: 150px;
    ;
}

form .btn {
    max-width: 100px;
    background: black;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    border: none;
}

form .btn:hover {
    background: rgb(255, 255, 255);
}

footer {
    background-color: var(--second-color);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
  }




  /* responsive */




@media(max-width:1100px) {
    .home-text {
        font-size: 3rem;
    }
}

@media(max-width:991px) {
    header {
        padding: 18px 4%;
    }

    section {
        padding: 50px 4%;
    }
}

@media(max-width:991px) {
    header {
        padding: 11px 4%;
    }

    #menu-icon {
        display: initial;
    }

    header.active #menu-icon {
        color: #fff;
    }

    header .navbar {
        position: absolute;
        top: -500px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        background: rgb(54, 49, 49);
        box-shadow: 0 4px 4px rgb(14, 55, 54 /15%);
        transition: 0.2s ease;
        text-align: center;
    }

    .navbar.active {
        top: 100%;
    }

    .navbar a {
        padding: 1.5rem;
        display: block;
        color: #fff;
    }

    .home-text h1  {
        font-size: 2.4rem;
    }
    .home-text p{font-size: 1rem;}

    .about h1 {
        font-size: 2rem;
    }

    .heading h2 {
        font-size: 1.6rem;
    }

    .contact-info h2 {
        font-size: 1.6rem;
    }
}
@media (max-width:400px) {
    footer{font-size: 14px}
    .shop-container{width: 300px;text-align: center;margin: 25px;}
    
}

