/* Custom Properties */

/* =====================Par 2--------------------------- */

:root {
    /* color */
    --clr-dark: #000000;
    --clr-gray: 0 0% 86.3%;
    --clr-gray-light: 0 0% 93.3%;
    --clr-red: 356.7 90.1% 56.5%;
    --clr-black: 0 0% 21.2%;
    --clr-yellow: 43.8 99% 58.8%;
    --clr-very-light-gray: 300 2.7% 92.7%;
    --clr-green: 144.3 64.4% 49.6%;
    --clr-blue: 214.5 100% 53.9%;
    --clr-white: 0 0% 100%;
    --clr-dark-yellow: 38, 80%, 53%;

    /* font-size */
    --fs-bf-194: 12.3vw;
    --fs-bf-109: 6.8125rem;
    --fs-bf-65: 4.065rem;
    --fs-bf-80: 5rem;
    --fs-bf-50: 3.125rem;
    --fs-bf-45: 2.8125rem;
    --fs-bf-30: 1.875rem;
    --fs-bf-20: 1.25rem;
    --fs-bf-16: 1rem;
    --fs-bf-15: 0.9375rem;

    /* font family */
    --font-montserrat: "Montserrat", sans-serif;
    --font-poppins: "Poppins", sans-serif;
}

/* =====================Par 2--------------------------- */

/* ============== Set core root defaults =============== */
html:focus-within {
    scroll-behavior: smooth;
}
/* ============== Set core body defaults =============== */
body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

/*== A alement that don't have a class get default style == */
a:not([class]) {
    text-decoration-skip-ink: auto;
}

/* ====== Remove all animation, transition & smoot scrool  =====
    =====    for people that prefer not to see them    ========= */

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }
}
*,
*::after,
*::before {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1ms !important;
    transition-duration: 0.01 !important;
    scroll-behavior: auto !important;
}
/* =============== End of General Reset ================== */

/* ======= Some Important Utility Class  ================= */
body {
    overflow-x: hidden;
}

/* ============ Background-Color Utility Class =============== */
.bg-red {
    background-color: hsl(var(--clr-red));
}
.bg-black {
    background-color: hsl(var(--clr-black));
}
.bg-blue {
    background-color: hsl(var(--clr-blue));
}
.bg-gray {
    background-color: hsl(var(--clr-gray));
}
.bg-green {
    background-color: hsl(var(--clr-green));
}
.bg-gray-light {
    background-color: hsl(var(--clr-gray-light));
}
.bg-very-light-gray {
    background-color: hsl(var(--clr-very-light-gray));
}
.bg-white {
    background-color: hsl(var(--clr-white));
}
.bg-yellow {
    background-color: hsl(var(--clr-yellow));
}
.bg-semi-yellow {
    background-color: rgba(254, 161, 22, 0.85);
}
/* =============== Text Utlity Class ===================== */
.text-red {
    color: hsl(var(--clr-red));
}
.text-black {
    color: hsl(var(--clr-black));
}
.text-blue {
    color: hsl(var(--clr-blue));
}
.text-gray {
    color: hsl(var(--clr-gray));
}
.text-green {
    color: hsl(var(--clr-green));
}
.text-gray-light {
    color: hsl(var(--clr-gray-light));
}
.text-very-light-gray {
    color: hsl(var(--clr-very-light-gray));
}
.text-white {
    color: hsl(var(--clr-white));
}
.text-yellow {
    color: hsl(var(--clr-yellow));
}
/* color: rgba(254, 161, 22, 0.85); */
/* ================== Font Size ========================== */
.fs-900 {
    font-size: var(--fs-bf-194);
}
.fs-800 {
    font-size: var(--fs-bf-109);
}
.fs-700 {
    font-size: var(--fs-bf-180);
}
.fs-600 {
    font-size: var(--fs-bf-65);
}
.fs-500 {
    font-size: var(--fs-bf-50);
}
.fs-400 {
    font-size: var(--fs-bf-45);
}
.fs-300 {
    font-size: var(--fs-bf-30);
}
.fs-200 {
    font-size: var(--fs-bf-20);
}
.fs-100 {
    font-size: var(--fs-bf-16);
}
.fs-50 {
    font-size: var(--fs-bf-15);
}
/* ==================  Font Bold ========================= */
.bold-bold-bolder {
    font-weight: bolder;
}
.bold-bold {
    font-weight: bold;
}
.bold-900 {
    font-weight: 900;
}
.bold-800 {
    font-weight: 800;
}
.bold-700 {
    font-weight: 700;
}
.bold-600 {
    font-weight: 600;
}
.bold-500 {
    font-weight: 500;
}
.bold-400 {
    font-weight: 400;
}
.bold-300 {
    font-weight: 300;
}
.bold-200 {
    font-weight: 200;
}
.bold-100 {
    font-weight: 100;
}
.bold-50 {
    font-weight: 50;
}
/* ================ Font Family ========================== */

.fs-poppins {
    font-family: "Poppins", sans-serf;
}
.fs-montserrat {
    font-family: "Montserrat", sans-serf;
}

/* ============= media queries for font size ============= */
@media (max-width: 35em) {
    :root {
        --fs-bf-194: 12.3vw;
        --fs-bf-109: 6.8125rem;
        --fs-bf-65: 4.065rem;
        --fs-bf-80: 5rem;
        --fs-bf-50: 3.125rem;
        --fs-bf-45: 2.8125rem;
        --fs-bf-30: 1.875rem;
        --fs-bf-20: 1rem;
        --fs-bf-16: 0.8rem;
        --fs-bf-15: 0.8rem;
    }
}
@media (min-width: 35em) and (max-width: 59em) {
    :root {
        --fs-bf-194: 12.3vw;
        --fs-bf-109: 6.8125rem;
        --fs-bf-65: 4.065rem;
        --fs-bf-80: 5rem;
        --fs-bf-50: 3.125rem;
        --fs-bf-45: 2.8125rem;
        --fs-bf-30: 2.55rem;
        --fs-bf-20: 1.25rem;
        --fs-bf-16: 1rem;
        --fs-bf-15: 0.8375rem;
    }
}
@media (min-width: 59em) {
    :root {
        --fs-bf-194: 12.3vw;
        --fs-bf-109: 6.8125rem;
        --fs-bf-65: 4.065rem;
        --fs-bf-80: 5rem;
        --fs-bf-50: 3.125rem;
        --fs-bf-45: 2.8125rem;
        --fs-bf-30: 1.875rem;
        --fs-bf-20: 2rem;
        --fs-bf-16: 1rem;
        --fs-bf-15: 0.9375rem;
    }
}

/* ============ Component Utility Class ================== */
.uil {
    cursor: pointer;
}
.flex {
    display: flex;
    gap: var(--flex-gap, 1rem);
}
.grid {
    display: grid;
    gap: var(--flex-gap, 1rem);
}
.container {
    width: 96vw;
    margin-inline: auto;
    padding-inline: 2rem;
}

/* ==================== Hero Section ============================ */
.block {
    display: block;
}
.uppercase {
    text-transform: uppercase;
}
.lineheight {
    line-height: var(--line, 3rem);
}
.lineheight2 {
    line-height: var(--line2, 4rem);
}
.large-btn {
    border: 0;
    padding: 0.7rem 1rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: transform 250ms ease-in-out;
}
.large-btn:hover {
    background-color: hsl(var(--clr-black));
    box-shadow: 3px 2px 37px -6px rgba(255, 255, 255, 0.69);
}
.hero-section {
    width: 93vw;
    margin-inline: auto;
    padding-inline: 2rem;
    background-color: hsl(var(--clr-gray));
    border-radius: 1rem;
    padding-top: 5rem;
}
.hero-section > * img {
    margin-top: -11rem;
    margin-left: 2rem;
}
.hero-inner {
    justify-content: space-between;
    align-items: center;
    --flex-gap: 5rem;
    margin-top: -3.5rem;
    padding-bottom: 4rem;
}
.hero-info {
    display: none;
}

/* =================== Media Tablet ==================== */
@media (min-width: 35em) and (max-width: 59em) {
    .hero-section {
        width: 95vw;
        margin-inline: auto;
        padding-inline: 4rem;
        padding-top: 7rem;
    }
    .hero-section > * img {
        margin-top: -10rem;
        margin-left: 5rem;
    }
    .lineheight2 {
        --line2: 7rem;
    }
}
/* =================== Media Desktop =================== */
@media (min-width: 59em) {
    .hero-section {
        width: 95vw;
        margin-inline: auto;
        padding-inline: 8rem;
        padding-top: clamp(4rem, 30vh, 15rem);
    }
    .hero-section > * img {
        margin-top: -30rem;
    }
    .lineheight {
        --line: 4rem;
    }
    .lineheight2 {
        --line2: 13rem;
    }
    .hero-info {
        display: block;
        text-align: end;
        width: 25%;
    }
    .big-wireless {
        font-size: 5rem;
    }
    .hero-inner {
        margin-top: -14rem;
        padding-bottom: 8rem;
    }
}

/* ================== Product Section ===================== */
.product-section {
    width: 93vw;
    margin-inline: auto;
}
.category {
    border-radius: 0.5rem;
    grid-template-columns: repeat(2, 1fr);
    align-items: flex-end;
    padding: 7rem 4rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    z-index: 777;
    margin-block: 1rem;
}
.product-btn {
    margin-top: 1rem;
    padding-inline: 2rem;
}
.title-hotel {
    color: hsl(var(--clr-white) / 0.7);
}
.earphone {
    color: hsl(var(--clr-white) / 0.2);
}
.product-img1 {
    position: absolute;
    top: -2.3rem;
    right: 3rem;
    z-index: -11;
}
.product-img2 {
    position: absolute;
    top: 0.5rem;
    right: -6rem;
    z-index: -11;
}
.product-img3 {
    position: absolute;
    top: 80%;
    right: -3.5rem;
    top: 2.5rem;
    z-index: -11;
}
.product-img4 {
    position: absolute;
    top: 50%;
    right: 1rem;
    top: 1rem;
    z-index: -11;
}
.product-img5 {
    position: absolute;
    top: 100%;
    right: -4rem;
    top: 1rem;
    z-index: -11;
}
.product-img6 {
    position: absolute;
    top: 70%;
    right: -4rem;
    top: 3rem;
    z-index: -11;
}
/* ================= Building Layout fot Tablet & Desktop =================== */
.category:nth-child(1) {
    grid-area: one;
}
.category:nth-child(2) {
    grid-area: two;
}
.category:nth-child(3) {
    grid-area: three;
}
.category:nth-child(4) {
    grid-area: four;
}
.category:nth-child(5) {
    grid-area: five;
}
.category:nth-child(6) {
    grid-area: six;
}

/* ==================  Media Tablet ==================== */
@media (min-width: 35em) and (max-width: 59em) {
    .product-section {
        display: grid;
        width: 95vw;
        display: grid;
        margin-inline: auto;
        margin-block: 2rem;
        gap: 1.5rem;
        grid-template-areas:
            "one two"
            "three four"
            "five six";
    }
    .category {
        margin-block: 0rem;
        padding: 7rem 4rem 2rem 2rem;
    }
    .product-img1,
    .product-img2,
    .product-img3,
    .product-img4,
    .product-img5,
    .product-img6 {
        width: 170%;
        top: 0;
        right: -3rem;
        z-index: -11;
    }
}
/* ==================  Media Desktop ==================== */
@media (min-width: 59em) {
    .product-section {
        display: grid;
        width: 90vw;
        margin-inline: auto;
        margin-block: 2rem;
        gap: 1.5rem;
        grid-template-areas:
            "one two three"
            "four five six";
    }
    .category {
        padding: 5rem 4rem 3rem 1rem;
    }
    .product-img1,
    .product-img2,
    .product-img3,
    .product-img4,
    .product-img5,
    .product-img6 {
        width: 170%;
        top: 0;
        right: -3rem;
        z-index: -11;
    }
    .lineheight,
    .lineheight2 {
        --line: 3rem;
    }
}
