/*
SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
*/

/* GENERAL CODE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    color: #444;
    font-size: 14px;
    line-height: 1.7;
    overflow-x: hidden;

    position: relative;
}
html {
    overflow-x: hidden;
}

h1 {
    font-size: 4rem;
    font-weight: 400;
}

h2 {
    font-size: 22px;
    /* margin-bottom: 20px; */
}

h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Mobile Navigation */
.btns-mob-nav {
    border: none;
    background: none;
    cursor: pointer;

    display: none;
}
.icon-mob-nav {
    width: 3.2rem;
    height: 3.2rem;
    color: #333;
}
.icon-mob-nav[name="close-outline"] {
    display: none;
}

/* Header Section============== */
/* 32 / 48 / 64 / 80 */
/* header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 5%;
    margin-bottom: 48px;
} */

.nimay-logo {
    width: 120px;
    height: auto;
}

.main-menu {
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-items: center;
    gap: 30px;
}

/* .main-menu a:nth-child(2) {
    font-weight: bold;
    color: #e67700;
} */

.menu-item a {
    display: flex;
    justify-content: space-between;
    gap: 5px;
}

.main-menu-icon {
    width: 24px;
    height: 24px;
}

/* LINKS styling */
a:link {
    color: #444;
    font-size: 14px;
    text-decoration: none;
}
a:visited {
    color: #444;
}
a:hover {
    /* text-decoration: underline 2px #444;  #1098ed */
    color: #e67700;
}
a:active {
    color: #1098ed;
}
/* LVHA done ======================================== */

/* INTRODUCTION====================================== */
.intro-box {
    margin: 0 5%;
    text-align: center;
    margin-bottom: 80px;
}

.intro-box span {
    text-transform: uppercase;
    color: #e67700;
}

/* INTRODUCTION END=================================== */

/* ARTICAL BLOCK =====================================*/

/* product grid */
.container {
    margin: 40px auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    /* display: flex; */
    /* flex-direction: column; */
    column-gap: 1.4rem;
    row-gap: 40px;
    margin-bottom: 6rem;
}

.product-box {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    display: flex;
}

.product-box h3 {
    /* padding-left: 20px; */
    text-transform: uppercase;
}

.product-box ul {
    padding-bottom: 20px;
    padding: 12px 24px;
}

.product-box li {
    color: #444;
    list-style: none;
    line-height: 1.8;
}

.product-details {
    padding-left: 2rem;
}
/* ARTICAL BLOCK END */

/* FOOTER START===================================== */
/* footer {
    background-color: #1f1f1f;
    color: #f7f7f7;
    padding: 5% 10%;
    display: flex;
    justify-content: center;
    gap: 30px;
} */

footer ul {
    margin-left: 20px;
}

footer p,
footer li {
    color: #bababa;
}

footer li {
    margin-left: 1rem;
}

.footer-img {
    max-width: 8.2rem;
    height: auto;
}

.footer-aboutus {
    text-align: justify;
}

.footer-option {
    flex: 1;
}

.footer-option a {
    display: inline-block;
    color: #bababa;
}

.footer-icon {
    width: 1rem;
}

/* Media Queries under 985 */
@media (max-width: 985px) {
    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    p {
        font-size: 0.6rem;
    }

    .intro p {
        font-size: 0.6rem;
    }

    /* mobile navigation */
    .btns-mob-nav {
        display: block;
        z-index: 1;
    }
    .main-menu {
        background-color: rgb(255, 255, 255, 0.97);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        transform: translateX(100%);

        justify-content: center;
        flex-direction: column;
        gap: 4.8rem;
        transition: all 0.5s ease-in;

        /* hide element */
        /* Allows no Transitions at all*/
        /* display: none; */

        /* 1) Hide it visually */
        opacity: 0;

        /* 2) Make it unaccessable to mouse and keyboards */
        pointer-events: none;

        /* 3) Hide it from screen readers */
        visibility: none;
    }
    .nav-open .main-menu {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transform: translateX(0%);
    }
    .nav-open .icon-mob-nav[name="close-outline"] {
        display: block;
    }
    .nav-open .icon-mob-nav[name="menu-outline"] {
        display: none;
    }
    .main-menu a {
        font-size: 1.4rem;
    }
    .main-menu-icon {
        width: 2.2rem;
        height: 2.2 rem;
    }
}

/* media queries below 730px */
@media (max-width: 730px) {
    .container {
        grid-template-columns: 1fr;
        padding: 0 2.4rem;
    }
    footer {
        flex-direction: column;
    }
}
