@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,800;1,900&display=swap');
*{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-padding-top: 4rem;
    scroll-behavior: smooth;
    list-style: none;
    text-decoration: none;
}

:root {
    --main-color: #bc9667;
    --second-color: #edeae3;
    --text-color: #1b1b1b;
    --bg-color: #fff;
}

img {
    width: 100%;
}

body {
    color: var(--text-color);
}

section {
    padding: 50px 100px;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 100px;
    background-color: #021136;
    box-shadow: 2px 2px 10px 4px rgb(14 55 54 / 15);
}

.logo img {
    width: 170px;
}

.logo-text {
    color: var(--bg-color);
}

.navbar {
    display: flex;
}

.navbar a {
    padding: 8px 17px;
    color: var(--bg-color);
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 500;
}

.navbar a:hover {
    background-color:#ff8510;
    border-radius: 0.2rem;
    transition: 0.2s all linear;
}

.header-icons {
    font-size: 22px;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    column-gap: 0.8rem;
}

.header-icons .bx {
    color: var(--bg-color);
}

.header-icons .bx:hover {
    color: var(--main-color);
}

#menu-icon {
    color: var(--bg-color);
    padding-left: 110px;
    font-size: 24px;
    z-index: 100001;
    cursor: pointer;
    display: none;
}
.search-box.active {
    top: 110%;
    box-shadow: 2px 2px 10px 4px rgb(14 55 54 / 15);
    transition: 0.2 all linear;
}
.search-box {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translate(-50%);
    background: var(--bg-color);
    width: 100%;

}

.search-box input {
    padding: 20px;
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    color: var(--main-color);
}

.search-box input::placeholder {
    font-size: 1rem;
    font-weight: 500;
}

.home {
    width: 100%;
    min-height: 80vh;
    background: url(../assets/images/bg-main.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: grid;
    align-content: center;
    justify-content: normal;
    align-items: center;
    justify-items: normal;
    grid-template-columns: repeat(auto-fit, minmax(17rem, auto));
    align-items: center;
}

.home-text h1 {
    font-size: 3.4rem;
    color: #fbff10;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.home-text p {
    color: var(--bg-color);
    margin: 0.5rem 0 1.4rem;
    font-size: 1rem;
}

.btn {
    padding: 10px 40px;
    border-radius: 0.3rem;
    background: #fbff00;
    color: #7a0000;
    font-weight: 500;
}

.btn:hover {
    background: #ff8510 ;
}

.about {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, auto));
    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: 1rem;
    margin: 0.5rem 0 1.2rem;
}

.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, auto));
    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: 2px 2px 10px 4px rgb(14 55 54 / 15) ;
}

.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 {
    display: flex;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0 0.5rem;
}

.products-container .box .product-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.products-container .box .product-content span {
    padding: 0 1rem;
    color: var(--bg-color);
    background: #008faf;
    border-radius: 4px;
    font-weight: 500;
}

.products-container .box .product-content a {
    padding: 0 1rem;
    color: #f1ff20;
    background: #f12808;
    border-radius: 4px;
    font-weight: 500;
}

.products-container .box .product-content a:hover {
    color: #fffdeb;
}

.footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, auto));
    gap: 1.5rem;
    background: #021136;
}

.footer-box img {
    margin-top: 20px;
    width: 80px;
    margin-left: 50px;
}

.footer-box h2 {
    color: white;
    font-size: 1rem;
    margin-top: 20px;
}

.footer-box p {
    font-size: 0.8rem;
    margin-bottom: 50px;
    color: white;
    margin-left: 50px;
}

.footer-box li a {
    color: white;
    font-size: 0.8rem;
}

.footer-box li a:hover {
    color: var(--main-color);
}

.contact-footer {
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
}

.contact-footer span {
    display: flex;
    align-items: center;
    color: white;
    font-size: 0.8rem;
    margin-right: 50px;
}


.copyright {
    padding: 20px;
    text-align: center;
    background: var(--second-color);
}

/* Breakpoints */

@media (max-width: 1058px) {
    header {
        padding: 15px 60px;
    }

    .home {
        width: 100%;
        min-height: 80vh;
        background: url(../assets/images/bg-main.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        display: grid;
        align-content: center;
        justify-content: normal;
        align-items: center;
        justify-items: normal;
        grid-template-columns: repeat(auto-fit, minmax(17rem, auto));
        align-items: center;
    }

    section {
        padding: 50px 60px;
    }

    .home-text h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 991px) {
    header {
        padding: 15px 4%;
    }

    .home {
        width: 100%;
        min-height: 70vh;
        background: url(../assets/images/bg-main.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        display: grid;
        align-content: center;
        justify-content: normal;
        align-items: center;
        justify-items: normal;
        grid-template-columns: repeat(auto-fit, minmax(17rem, auto));
        align-items: center;
    }

    section {
        padding: 50px 4%;
    }

    .home-text h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 12px 4%;
    }

    #menu-icon {
        display: initial;
    }

    .navbar {
        position: absolute;
        top: -570px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        background: var(--second-color);
        row-gap: 1.4rem;
        padding: 20px;
        transition: 0.3s;
        text-align: center;
    }


    .home {
        width: 100%;
        min-height: 105vh;
        background: url(../assets/images/bg-main.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        display: grid;
        align-content: center;
        justify-content: normal;
        align-items: center;
        justify-items: normal;
        grid-template-columns: repeat(auto-fit, minmax(17rem, auto));
        align-items: center;
    }

    .navbar a {
        color: var(--text-color);
    }

    .navbar a:hover {
        color: var(--bg-color);
    }

    .navbar.active {
        top: 100%;
    }

    .about {
        align-items: center;
    }

    .footer .footer-box img {
        margin-left: 25px;
        display: flex;
    }

    .footer-box p {
        margin-left: 25px;
        margin-top: 20px;
        font-size: 0.8rem;
        margin-right: 25px;
        margin-bottom: 10px;
    }

    .footer-box h2 {
        margin-top: 0px;
        margin-left: 25px;
    }

    .footer-box li a {
        margin-left: 25px;
    }

    .contact-footer span {
        margin-left: 25px;
    }
}

@media (max-width: 360px) {
    header {
        padding: 11px 4%;
    }

    .logo img {
        width: 45px;
    }

    .home-text {
        padding-top: 15px;
    }

    .home-text h1 {
        font-size: 1.3rem;
    }

    .home-text p {
        font-size: 0.6rem;
        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;
    }

    .footer .footer-box img {
        margin-left: 25px;
        display: flex;
    }

    .footer-box p {
        margin-left: 25px;
        margin-top: 20px;
        font-size: 0.8rem;
        margin-right: 25px;
        margin-bottom: 10px;
    }

    .footer-box h2 {
        margin-top: 0px;
        margin-left: 25px;
    }

    .footer-box li a {
        margin-left: 25px;
    }

    .contact-footer span {
        margin-left: 25px;
    }
}
