/* devanagari */
@font-face {
    font-family: 'Hind';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/hind/v17/5aU69_a8oxmIdGh4BCOz.woff2) format('woff2');
    unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
    font-family: 'Hind';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/hind/v17/5aU69_a8oxmIdGd4BCOz.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Hind';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/hind/v17/5aU69_a8oxmIdGl4BA.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/montserrat/v29/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jq6R9WXV0poK5.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/montserrat/v29/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jq6R9WXx0poK5.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/montserrat/v29/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jq6R9WXd0poK5.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/montserrat/v29/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jq6R9WXZ0poK5.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/montserrat/v29/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jq6R9WXh0pg.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/montserrat/v29/JTUSjIg1_i6t8kCHKm459WRhyyTn89ddpROi.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/montserrat/v29/JTUSjIg1_i6t8kCHKm459W1hyyTn89ddpROi.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/montserrat/v29/JTUSjIg1_i6t8kCHKm459WZhyyTn89ddpROi.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/montserrat/v29/JTUSjIg1_i6t8kCHKm459WdhyyTn89ddpROi.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/montserrat/v29/JTUSjIg1_i6t8kCHKm459WlhyyTn89ddpQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/montserrat/v29/JTUSjIg1_i6t8kCHKm459WRhyyTn89ddpROi.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/montserrat/v29/JTUSjIg1_i6t8kCHKm459W1hyyTn89ddpROi.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/montserrat/v29/JTUSjIg1_i6t8kCHKm459WZhyyTn89ddpROi.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/montserrat/v29/JTUSjIg1_i6t8kCHKm459WdhyyTn89ddpROi.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/montserrat/v29/JTUSjIg1_i6t8kCHKm459WlhyyTn89ddpQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
  
html {
    scroll-behavior: smooth;
}
body {
    font-size: 19px;
    font-family: 'Hind', sans-serif;
    margin: 0;
    padding: 0;

    --color-gray-100: #F5F5F5;
    --color-gray-300: #E0E0E0;
    --color-gray-600: #757575;
    --color-gray-800: #424242;
    --color-primary-50: #E0ECFF;
    --color-primary-100: #B0C8FF;
    --color-primary-600: #084FB0;
    --color-secondary-400: #EB9E2D;
}

@media screen and (max-width: 997px) {
    body.no-scroll{
        overflow: hidden;
    }
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
a{
    color: black;
    text-decoration: none;
}
p {
    line-height: 1.84em;
    color: #9E9E9E;
}
p:first-child {
    margin-top: 0px;
}
p:last-child {
    margin-bottom: 0px;
}

/*---------------TYPO--------------------------------------*/

h1, h2, h3, h4, h5, h6, .skewedBlock .skewedBlock__text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--color-gray-800);
    line-height: 1.4em;
}
h1 {
    font-size: 48px;
}
h2 {
    font-size: 32px;
    margin-block: 3.75rem;
}
h2:first-child {
    margin-top: 0px;
}
h3 {
    font-size: 22px;
    margin-block: 1.875rem;
}
h3:first-child {
    margin-top: 0px;
}
h4, .skewedBlock .skewedBlock__text {
    font-size: 19px;
}
@media screen and (min-width: 998px) {
    h1 {
        font-size: 64px;
    }
    h2 {
        font-size: 48px
    }
    h3 {
        font-size: 32px;
    }
    h4, .skewedBlock .skewedBlock__text {
        font-size: 22px;
    }
}

/*
---------------HEADER--------------------------------------
*/
.pageHeader{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: block;
}
.pageHeader::before{
    content: '';
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    background-color: white;
}
.pageHeader .header__logo{
    height: 4rem;
    margin: 0.5rem 0 0.5rem 1rem;
    display: block;
    z-index: 10;
    position: relative;
}
.navbar__link__li{
    display: flex;
}
.navbar__link{
    color: var(--color-gray-600);
    transition-property: color;
    transition-duration: 0.3s;
}
.navbar__link:hover{
    color: var(--color-secondary-400);
}
.burgerMenu{
    display: block;
    position: absolute;
    right: 1rem;
    top: 1rem;
    height: 3rem;
    max-height: 3rem;
    width: 3rem;
    max-width: 3rem;
    text-indent: 100%;
    overflow: hidden;
    background-color: var(--color-gray-100);
    cursor: pointer;
    border-radius: 0.5rem;
    white-space: nowrap;
    background-image: url('../Images/skincare/menu.png');
    background-size: 32px 32px;
    background-repeat: no-repeat;
    background-position: center;
}
.burgerMenu.burgerMenu--open{
    background-image: url('../Images/skincare/close.png');
}
.burgerMenu:hover{
    background-color: var(--color-gray-300);
}

@media screen and (max-width: 997px) {
    .pageHeader::after{
        content: '';
        height: 100vh;
        width: 100vw;
        display: block;
        position: absolute;
        left: 0;
        background-color: black;
        z-index: -200;
        opacity: 0;
        transition-property: opacity;
        transition-duration: 0.6s;
        pointer-events: none;
    }
    .pageHeader.show-overlay::after{
        opacity: 0.5;
        pointer-events: all;
    }
    .navbar{
        /* display: none; */
        position: absolute;
        width: 100%;
        background-color: white;
        top: 100%;
        z-index: -100;
        padding: 3rem 1rem;
        box-sizing: border-box;
        transform: translateY(-100%);
        transition-property: transform;
        transition-duration: 0.6s;
    }
    .navbar--open{
        transform: translateY(0);
    }
    .navbar__link__li{
        flex-direction: column;
        align-items: center;
        font-size: 1.5rem;
        line-height: 100%;
    }
    .navbar__link__el:not(:last-child){
        margin-bottom: 2rem;
    }
}

@media screen and (min-width: 998px) {
    .burgerMenu{
        display: none;
    }
    .pageHeader .header__logo{
        height: 4rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
        margin-left: 1.5rem;
    }
    .navbar{
        position: absolute;
        right: 2rem;
        top: 35px;
    }
    .navbar__link__el:not(:last-child){
        margin-right: 2rem;
    }
}

/*
---------------SECTION--------------------------------------
*/
.pageSection,
.footer {
    margin-top: 10rem;
}
.pageSection__row{
    display: grid;
    grid-template-columns: auto min(30rem, calc(100vw - 2rem)) auto;
    column-gap: 1rem;
    position: relative;
}
.pageSection__row--primary::before{
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--color-primary-600);
    z-index: 10;
    border-radius: 1rem;
}
.pageSection__row--primary * {
    z-index: 50;
}
.pageSection__col:first-child{
    grid-column-start: 2;
}

@media screen and (max-width: 997px) {
    .pageSection__col{
        grid-column: 2/-2;
    }
    .pageSection, .footer {
        margin-top: 5rem;
    }
}

@media screen and (min-width: 998px) {
    .pageSection__row{
        column-gap: 1.5rem;
        grid-template-columns: max(3.5rem, calc(50vw - 41.5rem)) repeat(12, 1fr) max(3.5rem, calc(50vw - 41.5rem));
    }
    .pageSection__col--full{
        grid-column: auto / span 12;
    }
    .pageSection__col--2{
        grid-column: auto / span 2;
    }
    .pageSection__col--5{
        grid-column: auto / span 5;
    }
    .pageSection__col--6{
        grid-column: auto / span 6;
    }
    .pageSection__col--7{
        grid-column: auto / span 7;
    }
    .pageSection__row--primary::before{
        width: calc(100% - 3rem);
        left: 1.5rem;
    }
}

@media screen and (min-width: 1560px) {
    .pageSection__row{
        grid-template-columns: max(3.5rem, calc(50vw - 46.5rem)) repeat(12, 1fr) max(3.5rem, calc(50vw - 46.5rem));
    }
}

/*
---------------SECTION HERO--------------------------------------
*/
.pageSection.pageSection--hero {
    margin-top: 13.125rem;
}
.pageSection.pageSection--hero h1 {
    text-align: center;
    margin-top: 6rem;
    margin-top: 12.3125rem;
    margin-bottom: 10.75rem;
    color: white;
}
.pageSection.pageSection--hero .heading--1__underline{
    position: relative;
}
.pageSection.pageSection--hero .heading--1__underline::after{
    background: url('../Images/skincare/underline.png');
    background-size: cover;
    background-position: center;
    content: '';
    width: 6rem;
    height: 2rem;
    position: absolute;
    top: 80%;
    left: -0.2rem;
    color: red;
}
.pageSection.pageSection--hero .skewedBlock{
    margin-top: -1.5rem;
    transform: translateY(1.5rem);
    z-index: 50;
    margin-inline: auto;
}
.hero__content {
    z-index: 100;
}
.hero__illu {
    width: 100%;
    max-height: 20rem;
}
.hero__illu__container{
    width: 100%;
    display: block;
    height: 100%;
    background-color: white;
}
.hero__illu__img{
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 997px) {
    .pageSection.pageSection--hero{
        margin-top: 5rem;
    }
    .pageSection.pageSection--hero .skewedBlock{
        width: 100%;
        text-align: center;
    }
    .hero__illu{
        grid-column: 1/-1;
        z-index: 10;
    }
    .hero__illu__img:not(:first-child){
        display: none;
    }
}
@media screen and (min-width: 998px) {
    .pageSection.pageSection--hero h1 {
        text-align: left;
        max-width: 35rem;
        margin-inline: auto;
    }
    .pageSection.pageSection--hero .heading--1__underline::after{
        width: 10rem;
        height: 3rem;
        position: absolute;
        top: 80%;
        left: -0.2rem;
        color: red;
    }
    /* .pageSection.pageSection--hero .text{
        text-align: left;
        padding-left: 4rem;
        max-width: 28rem;
    }
    .pageSection.pageSection--hero .text::before{
        background: url('../Images/skincare/mouse.png');
        left: 0;
        transform: translateX(0);
        top: 0;
        bottom: auto;
        background-size: contain;
    } */
    .hero__illu{
        grid-column-end: -1;
        grid-column-start: -8;
        margin-right: 3rem;
        max-height: 100%;
        width: auto;
    }
    .hero__illu__container{
        height: calc(100% + 4rem);
        max-height: calc(100% + 4rem);
        clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
        transform: translateY(-2rem);
    }
    .hero__illu__img{
        position: absolute;
        left: 0;
        right: 0;
        animation: ease-in-out -1s infinite running;
        animation-duration: var(--_animation-duration);
        animation-name: var(--_animation-name);
    }
    .hero__illu__container:has(.hero__illu__img:nth-child(1)) {
        --_animation-name: slideshow1;
    }
    .hero__illu__container:has(.hero__illu__img:nth-child(2)) {
        --_animation-name: slideshow2;
    }
    .hero__illu__container:has(.hero__illu__img:nth-child(3)) {
        --_animation-name: slideshow3;
    }
    .hero__illu__container:has(.hero__illu__img:nth-child(4)) {
        --_animation-name: slideshow4;
    }
    .hero__illu__container:has(.hero__illu__img:nth-child(5)) {
        --_animation-name: slideshow5;
    }
    .hero__illu__img:nth-child(2){
        animation-delay: -8s !important;
    }
    .hero__illu__img:nth-child(3){
        animation-delay: -15s !important;
    }
    .hero__illu__img:nth-child(4){
        animation-delay: -22s !important;
    }
    .hero__illu__img:nth-child(5){
        animation-delay: -29s !important;
    }
    .hero__illu__img:nth-child(6){
        animation-delay: -36s !important;
    }
}

@media screen and (min-width: 1560px) {
    .hero__illu{
        max-height: 562px;
    }
}

@keyframes slideshow1 {
    0% {
        opacity: 1;
    }
    100%{
        opacity: 1;
    }
}
@keyframes slideshow2 {
    0% {
        opacity: 0;
    }
    10%{
        opacity: 1;
    }
    50%{
        opacity: 1
    }
    60%{
        opacity: 0;
    }
    100%{
        opacity: 0;
    }
}
@keyframes slideshow3 {
    0% {
        opacity: 0;
    }
    10%{
        opacity: 1;
    }
    35%{
        opacity: 1
    }
    45%{
        opacity: 0;
    }
    100%{
        opacity: 0;
    }
}
@keyframes slideshow4 {
    0% {
        opacity: 0;
    }
    10%{
        opacity: 1;
    }
    25%{
        opacity: 1
    }
    35%{
        opacity: 0;
    }
    100%{
        opacity: 0;
    }
}
@keyframes slideshow5 {
    0% {
        opacity: 0;
    }
    10%{
        opacity: 1;
    }
    20%{
        opacity: 1
    }
    30%{
        opacity: 0;
    }
    100%{
        opacity: 0;
    }
}

/*---------------SECTION TYPE OF CONDITIONS---------------------*/

.pageSection.pageSection--typesOfConditions{
    position: relative;
}
.pageSection.pageSection--typesOfConditions h3 {
    max-width: 45rem;
}
@media screen and (max-width: 997px) {
    .pageSection.pageSection--typesOfConditions h3 {
        text-align: center;
    }
}
@media screen and (min-width: 998px) {
    .typeOfConditions__illu{
        width: 800px;
    }
}

/*---------------INFO CARD--------------------------------------*/

.infoCard{
    background-color: var(--color-gray-100);
    padding: 1.25rem;
    border-radius: 1rem;
    display: grid;
    grid-template-columns: min-content auto;
    grid-template-rows: auto auto;
    column-gap: 1.25rem;
    row-gap: 1.25rem;
}
.infoCard::after {
    content:"";
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url("../Images/skincare/download.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    grid-column: 2/3;
    margin-left: auto;
}
.infoCard__li {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 1rem;
    column-gap: 1.5rem;
    position: relative;
    z-index: 100;
}
.infoCard .infoCard__icon{
    display: block;
    background-color: white;
    border-radius: 0.5rem;
    height: 3.5rem;
    width: 3.5rem;
    padding: 0.5rem;
    box-sizing: border-box;
    -webkit-box-shadow: 0px 10px 32px -4px rgba(24,39,75,0.2); 
    box-shadow: 0px 10px 32px -4px rgba(24,39,75,0.2);
    grid-column: 1/2;
}
.infoCard .infoCard__icon .infoCard__icon--img{
    max-width: 2.5rem;
    max-height: 2.5rem;
}
.infoCard .infoCard__label{
    grid-column: 2/3;
    margin: 0;
    align-self: center;
}
.infoCard .infoCard__text{
    grid-column: 1/3;
    grid-row: 2;
    margin: 0;
}

@media screen and (min-width: 998px) {
    .infoCard__li{
        grid-template-columns: repeat(3, 1fr);
    }
}

/*---------------SKEWED BLOCK-----------------------------------*/

.skewedBlock{
    color: white;
    border-radius: 0.5rem 0 0 0.5rem;
    padding: 0.625rem 1rem;
    max-width: fit-content;
    overflow: hidden;
    position: relative;
}
.skewedBlock::before{
    content: '';
    height: 100%;
    width: calc(100% + 2rem);
    position: absolute;
    left: -2.5rem;
    top: 0;
    display: block;
    background-color: var(--color-secondary-400);
    transform: skew(-14deg);
    border-radius: 1rem;
}
.skewedBlock .skewedBlock__text{
    color: white;
    display: block;
    position: relative;
    z-index: 100;
    margin-right: 1rem;
}

/*---------------SECTION MAGIC NUMBER--------------------------------*/

.magicNumber__intro{
    text-align: center;
    position: relative;
}
.magicNumber__intro * {
    z-index: 100;
}
.magicNumber__intro::before{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 10;
    background-color: var(--color-primary-600);
}
.magicNumber__textcontainer {
    margin-top: 10rem;
    margin-bottom: 10rem;
}
.magicNumber__textcontainer * {
    color: var(--color-primary-50);
}
.magicNumber__outro .skewedBlock::before{
    left: -3rem;
    transform: skew(-14deg);
}
.magicNumber__illuContainer{
    overflow: hidden;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}
.magicNumber__illu{
    width: 100%;
    max-height: 20rem;
    object-fit: cover;
    display: block;
}
.magicNumber__deco{
    height: 100%;
    width: 100%;
    grid-column: 3/-2;
    z-index: 500;
    position: relative;
    display: flex;
    padding: 2rem;
    box-sizing: border-box;
}
.magicNumber__deco * {
    height: 100%;
}
.magicNumber__deco--left{
    width: 200px;
    background-image: url('../Images/skincare/yellow-border-left.png');
    background-size: 100% 100%;
}
.magicNumber__deco--right{
    background-size: 100% 100%;
    background-image: url('../Images/skincare/yellow-border-right.png');
    width: 200px;
}
.magicNumber__deco--center{
    width: 100%;
    background-image: url('../Images/skincare/yellow-border.png');
    background-size: contain;
}

@media screen and (max-width: 997px) {
    .magicNumber__intro .magicNumber__illuContainer{
        grid-column-start: 1;
        grid-column-end: -1;
    }
    .magicNumber__intro::before{
        border-bottom-left-radius: 1rem;
        border-bottom-right-radius: 1rem;
    }
    .magicNumber__deco{
        display: none;
    }
}
@media screen and (min-width: 998px) {
    .magicNumber__intro {
        max-width: 100vw;
        overflow: hidden;
    }
    .magicNumber__intro h2 {
        max-width: 480px;
    }
    .magicNumber__intro * {
        text-align: left;
        grid-row-start: 1;
    }
    /* .magicNumber__intro p {
        margin-bottom: 10rem;
    } */
    .magicNumber__intro .magicNumber__illuContainer{
        order: 1;
        grid-column-start: 2;
        border-bottom-left-radius: 1rem;
        border-top-left-radius: 1rem;
        border-bottom-right-radius: 0rem;
    }
    .magicNumber__illu {
        max-height: 100%;
        height: 100%;
        max-width: auto;
    }
    .magicNumber__intro .magicNumber__intro__content{
        order: 2;
        grid-column-start: 8;
    }
    .magicNumber__intro::before{
        left: max(5rem, calc((50vw - 640px))) ;
        border-bottom-left-radius: 1rem;
        border-top-left-radius: 1rem;
    }
}

/*---------------MAGIC NUMBER OUTRO-------------------------------*/

.magicNumber__outro::before{
    content: '';
    display: block;
    height: calc(100%);
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: var(--color-primary-600);
}
.magicNumber__outro .pageSection__col{
    position: relative;
}
.magicNumber__outro .skewedBlock {
    transform: translateY(-2.5rem);
}
.magicNumber__outro * {
    color: var(--color-primary-50);
}
.magicNumber__outrotextcontainer {
    margin-top: 4.375rem;
    margin-bottom: 9.625rem;
}
.magicNumber__outro__illu{
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    height: 100%;
    width: 45%;
    object-fit: cover;
    object-position: center;
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
}

@media screen and (max-width: 997px) {
    .magicNumber__outro__illu{
        position: relative;
        grid-column: 1/-1;
        width: 100%;
        max-height: 31.25rem;
        clip-path: unset;
    }
}
@media screen and (min-width: 998px) {
    .magicNumber__outro::before{
        border-radius: 1rem;
        width: calc(100% - 3rem);
        left: 1.5rem;
    }
    .magicNumber__outro__illu{
        border-radius: 1rem;
    }
}

/*---------------DISCLAIMER----------------------------------*/

.disclaimer {
    text-align: center;
}
.disclaimer p {
    max-width: 800px;
    margin: auto;
    margin-bottom: 3rem;
}
.btn {
    padding: 1rem 1.5rem 0.9rem 1.5rem ;
    background-color: var(--color-secondary-400);
    line-height: 1em;
    border-radius: 1rem;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    display: block;
    max-width: max-content;
    margin: auto;
    transition-property: background-color;
    transition-duration: 0.3s;
}
.btn:hover{
    background-color: #A3670D;
}

/*---------------FOOTER--------------------------------------*/

.footer{
    background-color: var(--color-gray-100);
    text-align: center;
    padding: 1rem;
}
.byOrganica{
    color: #9E9E9E;
}
.byOrganica:hover{
    color: var(--color-primary-600);
}