:root {
    --font-color-main: #292929;

}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
    width: 100%;
    height: 100vh;
    font-family: "Inter", sans-serif;
    color: var(--font-color-main);

}

header {
    width: 100%;
    height: auto;
    padding: 64px 0;
    background: url("assets/img/HEADER_IMG.png") center/cover  no-repeat;
}
section{
    padding: 120px 0;
}

.container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    
}

a {
    text-decoration: none;
    color: unset;
}

.title-h2 {
    text-align: center;
    font-size: 48px;
}

.header__container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 356px;
    /* justify-content: space-between; */
}

.header__top {
    display: flex;
    justify-content: space-between;
}

input {
    display: none;
}

.header__top-burger {
    width: 24px;
    height: 24px;
    background: url("assets/icon/burger.png");
    transition: all .33s;
}

.header__top-burger:hover {
    background: url("assets/icon/burger-hover.png");

}

.header__bottom {

    font-size: 3rem;
    font-weight: 900;
    font-style: italic;
}

.header__bottom p {
    margin-top: 48px;
}


.header__nav-menu {
    background-color: #e9f2ff;
    padding: 64px 0;
    translate: 100% 0;
    position: fixed;
    inset: 0;
    transition: translate 0.33s;
}

#toggler:checked+.header__nav-menu {
    translate: 0;

}



.header__nav-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 64px;
}

.header-close {
    width: 24px;
    height: 24px;

}

.header__nav-main ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 32px;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    height: 100%;
}
.header__nav-main ul li {
    width: fit-content;
    position: relative;

}

.header__nav-main ul li::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -8px;
    right: 100%;
    left: 0;
    height: 1px;
    background-color: var(--font-color-main);
    transition: all 0.33s;

}

.header__nav-main ul li:hover::after {
    right: 0;

}

@media(max-width: 1440px) {
    .container {
        padding: 0 5%;

    }
}

@media(max-width: 864px) {
    header {
        padding: 64px 0 40px;
        background: url("assets/img/HEADER_IMG_2.png") center/cover no-repeat;
    }


    .header__container {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 476px;
    }

    .header__bottom p {
        margin-top: 20px;
    }

    .title-h2 {
        font-size: 40px;
    }
    .container {
        padding: 0 8%;

    }

}

@media(max-width: 574px) {
    header {
        padding: 44px 0 40px;
        background: url("assets/img/HEADER_IMG-3.png") center/cover no-repeat;


    }
        section{
    padding: 60px 0;
}

  .container {
        padding: 0 20px;

    }

    .header__container {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 476px;
        /* justify-content: space-between; */
    }

    .header__bottom p {
        margin-top: 20px;
        font-size: 32px;
    }

    .title-h2 {
        font-size: 32px;
    }

    .header__nav-menu {
        padding: 36px 10px;
    }

    .header__nav-top {
        padding-bottom: 36px;
    }

}

.recommended__title {
    margin-bottom: 64px;
}

.recommended__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 24px;
    row-gap: 40px;
}

.recomended-cart {
    width: 324px;
    height: auto;
}

.recomended-cart img {
    width: 100%;
}

.recommended__cart-title {
    font-size: 16px;
    margin: 32px 0 8px;
}

.recommended__cart-desc {
    margin-bottom: 12px;
}

@media(max-width: 864px) {

    .recommended__wrapper {
        flex-direction: column;
    }

    .recomended-cart {
        width: 392px;
    }

}

@media(max-width: 864px) {

    .recommended__wrapper {
        flex-direction: column;
    }

    .recomended-cart {
        width: 392px;
    }

}

@media(max-width: 574px) {

    .recommended__wrapper {
        flex-direction: column;
        row-gap: 48px;
    }

    .recomended-cart {
        width: 280px;
    }

}

.grid-container{
    padding-top: 64px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(6, auto);
    grid-template-areas: 
    'el1 el1 el2'
    'el3 . .'
    'el4 el4 el5'
    'el6 el6 el6'
    'el7 el8 el8'
    'el9 . .'
    ;
    column-gap: 24px ;
}

.el1 {grid-area: el1;}
.el2 {grid-area: el2;}
.el3 {grid-area: el3;}
.el4 {grid-area: el4;}
.el5 {grid-area: el5;}
.el6 {grid-area: el6;}
.el7 {grid-area: el7;}
.el8 {grid-area: el8;}
.el9 {grid-area: el9;}

.grid-title{
    font-size: 24px;
    margin: 16px 0 64px;
}
.grid-el{
    width: 100%;
    height: 100%;
    object-fit: cover;
}




@media(max-width: 574px) {
    .grid-container{
    padding-top: 48px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, auto);
    grid-template-areas: 
        'el1 el2'
        'el3 el3'
        'el4 el5'
        'el6 el6'
        'el7 el8'
        'el9 el9';  
        column-gap: 20px;
}
    .grid-title{
    font-size: 16px;
    margin: 16px 0 40px;
}
.grid-el{
    width: 100%;
    height: 100%;
}

}


.direct{
    padding: 0 0 120px;
}
.direct .container{
    display: flex;
    justify-content: space-between;
}
.direct .container h2{
    text-align: start;
}

.direct__wrapper{
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 40px;

}

.direct-context{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media(max-width: 1064px) {
.direct__wrapper{
    max-width: 300px;

    
}
.title-h2 {
        font-size: 40px;
    }

}

@media(max-width: 574px) {
.direct .container{
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

.direct__wrapper{
    max-width: 280px;

}
.title-h2 {
        font-size: 32px;
    }

}


footer{
    background: url("assets/img/footer.png") center/cover no-repeat;
    width: 100%;
    height: 760px;
}

@media(max-width: 1064px) {
footer{
    height: 360px;
}

}

@media(max-width: 574px) {
footer{
    height: 230px;
}

}



