/* hero */

.hero{
    position: relative;
    width: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: -1;
}

.hero::before{
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: #000;
    opacity: 0.14;
    z-index: 2;
}
.hero-title,
.hero-lead{
    z-index: 3;
    position: relative;
}
.hero-title{
    padding-inline: clamp(2rem, 6vw, 100px) 50%;
    font-size: clamp(90px, 11vw, 196px);
    line-height: 101%;
    text-align: right;
}
.hero-lead{
    padding-inline: 50% 2rem;
    font-size: 17px;
    line-height: 25px;
}

.hero-lead p{
    max-width: 532px;
}

@media screen and (max-width: 860px) {
    .hero{justify-content: space-between;} 
    .hero-title{
        padding-top: 150px;
        padding-inline: 64px;
    }
    .hero-title span{
        display: block;
    }
    .hero-lead{
        padding-inline: 24px;
        padding-bottom: 40px;
        text-align: center;
    }
    .hero-lead p{
        margin-inline: auto;
    }
}

@media screen and (max-width: 620px) {
    .hero-title{
        font-size: 66px;
    }    
}

/* split section */

.b-live{background-color: #068199;}
.b-get{background-color: #878D1F;}
.b-much{background-color: #51141A;}
.b-think{background-color: #89B5F5;}


.split{
    display: grid;
    grid-template-columns: 50% 50%;
    position: relative;
}

.split::after{
    content: "";
    height: 100%;
    background-color: inherit;
    top: 0;
    left: 50%;
    width: 50%;
    position: absolute;
    transition: width 0.6s cubic-bezier(.47,1.64,.41,.8);;
}

.split.on::after{
    width: 0;
}


.split.reverse::after{
    left: unset;
    right: 50%;
}


.image-split, .split{
    --padding: clamp(2rem, 6vw, 100px);
}

.split-img{
    grid-column: 2/3;
    grid-row: 1/ 3;
    height: 100dvh;
}

.split-header,
.split-lead{
    grid-column: 1 / 2;
    padding-inline: var(--padding) calc(var(--padding) / 3);
}
.split-header{
    grid-row: 1/ 2;
    font-size: 120px;
    line-height: 100%;
    align-self: flex-end;
    margin-bottom: 55px;
}
.split-lead{
    grid-row: 2 /3;
    font-size: 17px;
    line-height: 25px;
}

.split-header span{
    display: block;
}

.split-lead p{
    max-width: 500px;
}
.b-much .split-lead p{
    max-width: 504px;
}

.reverse .split-img{
    grid-column: 1 /2; 
}
.reverse .split-header,
.reverse .split-lead{
    grid-column: 2 / 3;
    padding-left: calc(var(--padding) + 10px);
}

@media screen and (max-width: 1420px) {
    .split-header{
        font-size: 100px;
    }
} 

@media screen and (max-width: 1280px) { 
    .split-header, .split-lead,   
    .reverse .split-header,
    .reverse .split-lead{
        padding-inline: 2rem;
    }   
}
@media screen and (max-width: 1020px) { 
    .reverse :is(.split-header, .split-img, .split-lead),
    .split > *{grid-column : 1 / -1;}

    .split-img{ 
        grid-row : 2 / 3;
        aspect-ratio: 16/9;
        height: auto;
    }
    .split-lead{ 
        grid-row : 3 / 4;
        padding-block : 68px 111px;
    }
    .split-header{
        padding-top: 100px;
        font-size: 85px;
    }
    .split::after{display: none;}
}

@media screen and (max-width: 680px) {
    .split-img{ 
        height: 439px;
        aspect-ratio: unset;
    }
}
@media screen and (max-width: 620px) {
    .split-header{
        font-size: 75px;
    }
    .split-lead p{
        max-width: unset;
    }
    .split-header, .split-lead,   
    .reverse .split-header,
    .reverse .split-lead{
        padding-inline: 18px;
    }
} 

.image-split{
    /* height: calc(100dvw / (19/25)); */
    width: 100%;
    position: relative;
}
.image-split .image{
    height: 100%; 
    background-image: url('../assets/images/attractive-girl-athlete-does-warm-up-outdoors-exercises-muscles-young-woman-go-sports-healthy-lifestyle-athletic-body-she-is-sportswear-black-top-shorts.jpg');
    background-size: 150%;
    background-position:18% 87%;
}

.image-split .split-text{
    width: 50%;
    height: 900px;
    display: flex;
    flex-direction: column;
    background-color: #89B5F5;
    justify-content: center;
    align-items: flex-start;
}

.image-split .split-text::after{
    content: "";
    position: absolute;
    left: 100%; top: 0;
    width: 100%; height: 100%;
    background-color: inherit;
    transition: width 0.6s cubic-bezier(.47,1.64,.41,.8);
}

.image-split .split-text.on::after{
    width: 0;
}

.image-split .split-header{
    align-self: flex-start;
}

@media screen and (max-width: 1840px) {
    .image-split .image{
        background-position:18% 90%;        
    }
} 
@media screen and (max-width: 1640px) {
    .image-split .image{
        background-size: 170%;
        background-position:25% 95%;        
    }
} 
@media screen and (max-width: 1420px) {
    .image-split .image{
        background-size: 190%;
        background-position:33% 95%;        
    }
} 
@media screen and (max-width: 1180px) { 
    .image-split{
        display: flex;
        flex-direction: column;
        height: auto;
    }
    .image-split .split-text{
        position: relative;
        order: -1;
        left: 0; top: 0;  
        width: 100%;
        height: auto;  
        padding-block: 40px 118px;
    }
    .image-split .image{
        width: 100dvw;
        /* aspect-ratio: 0.2;  */
        background-position: center;
        background-size: cover;   
    }
}
@media screen and (max-width: 1020px) { 
    .image-split .split-header{
        padding-top: 0;
    }
    .image-split .split-lead{
        padding-block: 0;
    }
    .image-split .split-text::after{ display: none;}

}


/* boxes */

.box-wrapper{
    padding-block: 960px 76px;
    display: grid;
    --boxHeight: 250px;
    --boxWidth : 450px; 
    /* grid-template-columns: 10% repeat(6, 1fr) 10%; */
    grid-template-rows: repeat(5, var(--boxHeight));
}

.box{
    max-width: var(--boxWidth);
    height: var(--boxHeight);
    padding: 44px 40px;
    position: relative;
}

.box h3{
    font-size: 21px;
    line-height: 27px;
    font-family: "Dela Gothic One", sans-serif;
}

.box h3 span{display: block;}

.box.red{background-color: #E80D30;}
.box.green{background-color: #878D1F;}
.box.blue{background-color: #331DBF;}
.box.marron{background-color: #51141A;}
.box.beige{background-color: #E0B08B;}
.box.purple{background-color: #BD90D9;}
.box.mint{background-color: #53B4A5;}
.box.azzuro{background-color: #89B5F5;}

.box-icon{position: absolute;z-index: 2;}

.box-wrapper > div{
    width: 100%;
}

.box.bowl .box-icon{
    right: 20px;
    top: 100%;
    width: 170px;
    transform: translate(0, -60%);
}
.box.gym .box-icon{
    left: 0;
    top: 100%;
    width: 211px;
    transform: translate(-50%, -50%);
}
.box.bike .box-icon{
    right: 20px;
    top: 0;
    width: 123px;
    transform: translate(0, -70%);
}
.box.sleep .box-icon{
    right: 40px;
    top: 0;
    width: 158px;
    transform: translate(0, 36%);
}

.box.watch .box-icon{
    left: -14px;
    bottom: 10px;
    width: 220px;
}
.box.watch{overflow: hidden;}
.box.bike{padding-top: 90px;}
.box.gym{padding-left: 84px;}

.row-1{
    grid-row : 1/2;
    display: grid;
    grid-template-columns: 1fr  var(--boxWidth) 120px;
}
.row-1 > div{grid-column: 2/3;}

.row-2{
    grid-row : 2/3;
    display: grid;
    grid-template-columns: var(--boxWidth) var(--boxWidth) var(--boxWidth) 1fr;
}
.row-2 > div:first-of-type{grid-column: 2/3;}
.row-2 > div:last-of-type{grid-column: 3/4;}


.row-3{
    grid-row : 3/4;
    display: grid;
    grid-template-columns: var(--boxWidth)  1fr var(--boxWidth);
}
.row-3 > div:first-of-type{grid-column: 1/2;}
.row-3 > div:last-of-type{grid-column: 3/4;}

.row-4{
    grid-row : 4/5;
    display: grid;
    grid-template-columns: 180px var(--boxWidth) var(--boxWidth) 1fr;
}
.row-4 > div:first-of-type{grid-column: 2/3;}
.row-4 > div:last-of-type{grid-column: 3/4;}

.row-5{
    grid-row : 5/6;
    display: grid;
    grid-template-columns: var(--boxWidth) var(--boxWidth) var(--boxWidth) 1fr;
}
.row-5 > div{grid-column: 3/4;}


.box.mg{
    margin-top: -2rem;
}

@media screen and (max-width: 1680px) { 
    .row-2{
        grid-template-columns: 1fr var(--boxWidth) var(--boxWidth) 1fr;
    }
    .row-5{
        grid-template-columns: 1fr var(--boxWidth) var(--boxWidth) 5%;
    }
}
@media screen and (max-width: 1480px) { 
    .box-wrapper{
        --boxWidth : 400px;
     }
    .row-1{
        grid-template-columns: 1fr  var(--boxWidth) 5%;
    }

}
@media screen and (max-width: 1380px) { 
    .box.sleep .box-icon{
        right: 35px;
    }
}
@media screen and (max-width: 1280px) { 
    .box-wrapper{
        --boxWidth : 350px;
        --boxHeight: 200px;
     } 
     .box.gym .box-icon{width: 150px;}
     .box.bike{padding-top: 60px;}
}

@media screen and (max-width: 1180px) {
    .box-wrapper{
        padding-block: 80px 90px;
    }
    .box.sleep .box-icon{
        width: 100px;
        right: 20px;
        transform: translate(0, 70%);
    }
} 
@media screen and (max-width: 960px) {
    .box-wrapper{
        --boxWidth : 300px;
        --boxHeight: 175px;
        gap: 3rem;

     } 
     .box{
        padding: 24px;
     }
     .box.bike .box-icon{
        transform: translate(0, -75%);
    }
    .box.gym .box-icon{
        width: 110px;
        transform: translate(-50%, -70%);
    }
    .box.bowl .box-icon{width: 100px;}

} 
@media screen and (max-width: 920px) {
    .row-4{
        grid-template-columns: 1fr var(--boxWidth) var(--boxWidth) 1fr;
    }
    .row-5{
        grid-template-columns: 1fr 1fr var(--boxWidth) 5%;
    }
    .box.watch .box-icon{width: 150px;}

}
@media screen and (max-width: 740px) {
    .box-wrapper{
        --boxWidth : 250px;
        --boxHeight: 150px;
        padding-inline: 60px;
     } 
}

@media screen and (max-width: 660px) {
    .box-wrapper{
        --boxWidth : 350px;
        --boxHeight: 200px;
        gap:50px;
     } 
    .box-wrapper,
    .box-wrapper > div{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }  
    .box{
        width: 100%;
    }  
    .box.mg{
        margin-top: 0;
    }
    .row-3{
        gap: var(--boxHeight)
    }

    .box-icon{transform: translate(0)!important;}

    .box.bowl .box-icon{
        width: 102px;
        right: 34px;
        top: unset;
        bottom: -25px; 
    }
    .box.gym .box-icon{
        width: 128px;
        top: unset;
        left: unset;
        right: -34px;
        bottom: 0;
    }
    .box.bike .box-icon{
        width: 87px;
        right: 18px;
        top: -26px;
    }
    .box.sleep .box-icon{
        width: 97px;
        right: 20px;
        bottom: -40px;
        top: unset;
    }
    .box.watch .box-icon{width: 134px;}

    .box.gym{
        margin-bottom: 18px;
        padding-left: 24px;
    }
    .box.bike{margin-bottom: 100px;}
    .box.sleep{margin-bottom: 32px;}
    .box.watch{margin-bottom: 21px;}

}
@media screen and (max-width: 430px) {
    .box-wrapper{
        --boxHeight: 151px;
     }
}

@media screen and (max-width: 380px) {
    .box-wrapper{
        padding-inline: 40px;
     } 
}
/* numbers */
.numbers{
    background-color: #627082;
    padding-block: 108px;
    color: #FFFBDD;
}
.number-line{
    padding-block: 50px;
    align-items: center;
    border-bottom: 1px solid;
    justify-content: space-between;
}
.number-line > div{ flex: 1 0 50%;}

.number-title{
    align-items: center;
    justify-content: flex-start;
    padding-right: 3rem;
}

.number-title .icon{
    width: 68px;
    height: 68px;
    padding: 14px;
    margin-inline: 46px 81px;
    border: 1px solid;
    border-radius: 50%;
    flex-shrink: 0;
}
.number-title .icon.smile{
    color: #BD90D9;
}
.number-title .icon.smile img{
    filter: invert(76%) sepia(61%) saturate(1880%) hue-rotate(207deg) brightness(90%) contrast(88%);
}
.number-title .icon.earth{
    color: #331DBF;
}
.number-title .icon.earth img{
    filter: invert(13%) sepia(95%) saturate(4858%) hue-rotate(251deg) brightness(74%) contrast(106%);
}
.number-title .icon.hour{
    color: #51141A;
}
.number-title .icon.hour img{
    filter: invert(7%) sepia(62%) saturate(3660%) hue-rotate(340deg) brightness(89%) contrast(92%);
}
.number-title .icon.banknote{
    color: #878D1F;
    padding: 13px;
}
.number-title .icon.banknote img{
    filter: invert(60%) sepia(9%) saturate(3681%) hue-rotate(24deg) brightness(85%) contrast(76%);
}
.number-title .title{
    font-size: 35px;
}
.number-info{
    transform: translateY(-18px);
    font-size: 17px;
    line-height: 25px;
    padding-right: 1rem;
}

@media screen and (max-width: 1420px) { 
    .number-title .icon{
        margin-inline: 2rem 3rem;
    }
}
@media screen and (max-width: 1080px) { 
    .number-title .icon{
        margin-inline: 1rem 2rem;
    }
    .number-title .title{
        font-size: 30px;
    }
}
@media screen and (max-width: 820px) { 
    .numbers{
        padding-block: 67px 90px;
    }
    .number-line{
        flex-direction: column;
        gap: 1rem;    
        align-items: flex-start;
        padding-block: 2rem;
    } 
    .number-info{
        transform: translateY(0);
    }   
}
@media screen and (max-width: 520px) { 
    .number-line{
        padding-block: 30px;
    }
    .number-title .icon{
        margin-inline: 0 1rem;
    }
    .number-title .title{
        font-size: 25px;
    }
}
/* topten */

.topten{
    position: relative;
    min-height: 100dvh;
    z-index: 2;
    color: #FFFBDD;
}

.topten .center{
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.topten .globe{
    width: clamp(300px, 40vw, 643px);
    margin-top: 115px;
    margin-inline: auto;
}

.topten .center .header{
    font-size: 90px;
    line-height: 67px;
}
.topten .center .header span{
    display: block;
    font-size: 164px;
    line-height: 115px;
    margin-top: 20px;
}

.topten > div{
    flex: 1 0 50%;
}

.top{
    padding-block: 286px 168px;
}

.top h3{
    margin-bottom: 35px;
    border-bottom: 1px solid;
    width: fit-content;
    padding-bottom: 15px;
    font-size: 25px;
    font-weight: 500;
} 

.top h3 span{
    font-weight: 800;
}

.top-happy{
    background-color: #89B5F5;
    padding-inline: clamp(3rem, 10vw, 191px) 9rem;
}
.top-calm{
    background-color: #627082;
    padding-inline: clamp(200px, 22vw, 443px) 3rem;
}

.country-list{
    list-style-type: decimal;
    padding-left: 46px;
}
.country{
    list-style: decimal;
    list-style-position: inside;
    position: relative;
    margin-bottom: 1rem;
    font-size: 20px;
    transform: translateY(2rem);
    opacity: 0;
    transition: all .3s;
}

.country-list.on .country{
    opacity: 1;
    transform: translateY(0);
}

.country .icon{
    width: 2rem;
    position: absolute;
    left: -3rem;
    top: 0;
}

.country.empty{
    list-style: none;
    line-height: 40px;
}
.country.gr{
    list-style: none;
}

@media screen and (max-width: 1520px) {
    .top h3 .line{
        display: block;
    }
}
@media screen and (max-width: 1020px) {
    .top-happy{
        padding-left: 2rem;
    }
    .top-calm{
        padding-inline: 180px 2rem;
    }
    .topten .globe{
        width: 300px;
    }
}

@media screen and (max-width: 880px) {
    .topten{
        display: flex;
        flex-direction: column;
    }
    .topten .center{
        position: static;
        order: -1;
        transform: translate(0);
        left: 0;
        top: 0;
        background-color: #89B5F5;
        padding-block: 60px 40px;
    }
    .topten .center .header{
        font-size:70px;
        line-height: 50px;
    }
    .topten .center .header span{
        font-size: 120px;
        line-height: 80px;
    }
    .top h3 .line{
        display: inline;
    }
    .topten .globe{
        margin-top: 80px;
    }
    .top-happy{
        padding-block: 0 76px; 
        padding-inline: 2rem;
    }
    .top-calm{
        padding-block: 78px 90px; 
        padding-inline: 2rem;
    }
    .top h3,
    .top .country-list{
        max-width: 450px;
        width: 90%;
        margin-inline: auto;
    }
}

@media screen and (max-width: 520px) {
    .topten .center .header{
        font-size:53px;
        line-height: 39px;
    }
    .topten .center .header span{
        font-size: 97px;
        line-height: 68px;
    }
    .topten .globe{
        margin-top: 60px;
    }
}
@media screen and (max-width: 480px) {
    .top{
        padding-inline: 24px;
    }
    .top h3,
    .top .country-list{
        max-width: unset;
        width: 100%;
    }
}

/* articles */

.articles-wrapper{ 
    --space : clamp(143px, 15vw, 208px);
    padding-block: var(--space);
    background-color: #FFFBDD;
    color: #627082;
    text-align: center;
}
.articles-wrapper .wrapper{
    padding-inline: 44px;    
}

.articles-wrapper .section-header h3{
    text-decoration: underline;
    width: fit-content;
    margin: 0  auto 209px;
}

.articles-grid{
    --gap: 25px;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 85px var(--gap);
}


.article--image{
    aspect-ratio: 16/9;
    margin-bottom: var(--gap);
}

.article--title{
    font-size: 18px;
    line-height: 25px;
    padding-inline: var(--gap);
}

.articles-grid > div{
    width: calc((100% - 2 * var(--gap)) / 3);
}
@media screen and (max-width: 1060px) {
    .articles-grid > div{
        width: calc((100% - var(--gap)) / 2);
    }     
}
@media screen and (max-width: 620px) {
    .articles-grid > div{
        width: 100%;
    }  
    .articles-grid {
        --gap: 19px;
        gap: 37px var(--gap);
    }  
}
@media screen and (max-width: 380px) {
    .articles-wrapper .section-header h3{
        font-size: 45px;
        margin-bottom: 180px;
    }
    .articles-wrapper .wrapper{
        padding-inline: 2rem;    
    }
}

.footer-wrapper{
    justify-content: center;
    align-items: center;
    gap: .5rem;
    padding: 0 2rem 2rem;
    background-color: #FFFBDD;
    color: #627082;
    flex-wrap: wrap;
}

.footer-wrapper img{
    filter: invert(43%) sepia(7%) saturate(1140%) hue-rotate(174deg) brightness(97%) contrast(87%);
}

@media screen and (max-width: 680px) {
    .footer-wrapper .copyright{
        width: 100%;
        text-align: center;
    }
}
@media screen and (max-width: 520px) {
    .footer-wrapper{
        gap: .25rem;
        padding-bottom: 1rem;
    }
    .footer-wrapper .thema{
        width: 100%;
        text-align: center;
    }
    .footer-wrapper span b{
        display: none;
    }
}