:root {
    --color-primary: #5398bb;
    --color-secondary: #e0e66b;
}


body {
    font-family: 'poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

header {
    transition-property: background-color, box-shadow;
    transition-duration: 500ms;
    position: fixed;
    z-index: 1000;
    left: 0;
    width: 100%;
    right: 0;
    top: 0;
}

header.active {
    background: #fff;
    box-shadow: 0 0 10px #000;
}

header.active #main-menu a {
    color: #000;
}

section:nth-child(even) .text::-webkit-scrollbar {
    width: 10px;

}
section:nth-child(even) .text::-webkit-scrollbar-thumb {
    background-color: var(--color-secondary);
    border-radius: 5px;
    border: 1px solid var(--color-primary);
}
section:nth-child(even) .text::-webkit-scrollbar-track {
    background-color: var(--color-primary);
    border-radius: 5px;

}

section:nth-child(odd) .text::-webkit-scrollbar {
    width: 10px;

}
section:nth-child(odd) .text::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
    border: 1px solid #fff;
    border-radius: 5px;
}
section:nth-child(odd) .text::-webkit-scrollbar-track {
    background-color: #fff;
    border-radius: 5px;

}

.text {
    padding-right: 20px;
    margin-top: 40px;
    font-size: 28px;
    line-height: 1.5;
    font-weight: 700;
    overflow-y: auto;
    max-height: max(410px, 51vh);
}
.text h3{
    font-size: 45px;
    margin-bottom: 20px;
    font-weight: 800;
}
ul {
    list-style: none;
}
.text ul > li::before {
    content: "•";
    position: relative;
    display: inline-block;
    width: 10px;
    color: inherit;
    margin-right: 10px;
    line-height: 1em;
    font-family: sans-serif;
    font-weight: 900;
    font-size: 24px;
}
#main-menu ul {
    padding: 10px 0;
    margin: 0 -10px;
    display: flex;
}

#main-menu ul li + li {
    margin-left: 50px;
}

#main-menu a {
    transition: color, 500ms;
    text-decoration: none;
    color: #fff;
    padding: 10px;
}


.container {
    max-width: 1780px;
    padding: 0 40px;
    width: 100%;
    margin: auto;
}

section {
    display: flex;
    position: relative;
    height: 100vh;
}
section:not(:first-child):nth-child(odd), section:not(:first-child):nth-child(odd) .section-title  {
    color: #fff;
}

section:not(:first-child):nth-child(even) .text, section:not(:first-child):nth-child(even) .section-title {
    color: var(--color-primary);
}


section:nth-child(odd) {
    background-color: var(--color-primary);
}

section:nth-child(even) {
    background-color: var(--color-secondary);
}

.section-title.main-title {
    font-size: min(5vw, 100px);
    text-align: left;
    font-weight: 800;
    color: var(--color-secondary);
    font-family: 'Open Sans', sans-serif;
}

.badStats {
    position: relative;
    display: inline-block;
    font-weight: bold;
    color: var(--color-secondary);
}

.svg-wrapper {
    position: absolute;
    bottom: -40px;
    left: 0;
}

.svg-wrapper {
    transition-property: width;
    transition-duration: 500ms;
    overflow: hidden;
    width: 0;

}

.title-svg-wrapper{
    height: 190px;
}
.title-svg{
    height: 0;
    opacity: 0;
    transition-property: height, opacity, transform;
    transition-duration: 500ms;
    overflow: hidden;
    transition-timing-function: ease-in-out;
}
.main-title{
    transition-property: transform;
    transition-duration: 500ms;
    transform: translateX(-25px);
}
.opacityIn .main-title{
    transform: none;
}

.title-svg svg{
    width: 100%;
}
.opacityIn .title-svg{
    opacity: 1;
    transform: none;
    height: 100%;

}
.opacityIn .svg-wrapper {
    width: 293px;
}



.mainSection-text {
    font-size: 40px;
    max-width: 734px;
    margin-top: 0 !important;
    line-height: 1.5;
    text-align: left;
    font-weight: 400;
    color: #fff;
    overflow: visible;
    font-family: 'Inter', sans-serif;
}


.mainSection {

    align-items: center;
}

.mainSection-content:after {
    z-index: -1;
    position: absolute;
    background-color: #7cb1cb;
    min-width: 120px;
    border-radius: 50%;
    aspect-ratio: 1;
    bottom: 0;
    transform: translateY(66%);
    content: "";
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 11vw;
}
.mainSection-content-left{
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.mainSection-content-right{
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mainSection .section-wrapper {
    min-height: 600px;
}

.mainSection-content {
    text-align: center;
}


.scroll-wrapper {
    display: flex;
    position: absolute;
    bottom: 100px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    justify-content: center;
}
@media screen and (min-width: 1140px){
    .scroll-page{
        z-index: 4545;
        position: relative;
        width: 100%;
        height: 100vh;
        overflow-y: auto;
        scroll-snap-type: y mandatory;
    }
}
section {

    scroll-snap-align: start;
    min-height: 600px;
    background-color: #fff
}


.section-title {
    font-size: 60px;
}

.section-content {
    position: relative;
    width: 50%;
    z-index: 2;
    padding-right: 60px;
}

.section-leftBg {
    width: 50%;
    position: absolute;
    left: 0;
    top: 0;
    display: none;
    height: 100%;
    background-color: var(--color-primary);
}

.basicSection:nth-child(even) .section-leftBg {
    left: unset;
    right: 0;
}

.basicSection:nth-child(even) .section-content {
    padding-left: 60px;
    padding-right: unset;
}

.basicSection:nth-child(even) .section-inner {
    display: flex;
    justify-content: flex-end;
}

.basicSection:nth-child(even) .section-inner {
    flex-direction: row-reverse;
}

.section-wrapper {
    height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
}

section.active .section-wrapper .section-leftBg {
    position: fixed;
}

section.active .section-wrapper {
    position: fixed;
    top: 0;
    left: 0;
}

.section-inner {
    max-height: 100vh;
    align-items: center;
    display: flex;
}

.section .img-wrapper {
    height: 100%;
}
.section-wrapper{
    max-height: 100%;
}
.section-wrapper .container{
    display: flex;
    max-height: 100%;
    justify-content: center;
}
section .img-wrapper{
    display: flex;
    padding: 75px 0;
    max-height: 100%;
}
section img {
    object-fit: contain;
    max-height: 100%;
    max-width: 100%;
    display: block;
}
.mainSection-content{
    width: 100%;
    display: flex;
    justify-content: center;
}
.mainSection-content-left{
    flex-grow: 1;
}
.title-svg-wrapper{
    display: flex;
    justify-content: flex-end;
    padding-right: 75px;
}

.basicSection:nth-child(even) .section-right {
    justify-content: flex-start;
    padding-right: 100px;
}
.basicSection:nth-child(odd) .section-right {
    justify-content: flex-start;
    padding-left: 100px;
}

.section-right {
    justify-content: flex-end;
}

.section-right {
    display: flex;
    height: 100vh;
    width: 50%;
}

.section-right .img-wrapper {
    display: flex;
    align-items: center;
}

footer {
    background: #fff;
    position: relative;
    width: 100%;
    padding: 10px 0;
    z-index: 5;
    display: block;

}

header .container {
    position: relative;
}

.mainSection .section-wrapper {
    max-width: 1920px;
    right: 0;
    margin: 0 auto;
}

.hidden .section-content, .hidden.mainSection-content {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

@keyframes opacityIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes opacityLeft {
    from {
        opacity: 0;
        -webkit-transform: translateX(10px);
        -moz-transform: translateX(10px);
        -ms-transform: translateX(10px);
        -o-transform: translateX(10px);
        transform: translateX(10px);
    }
}

@keyframes opacityRight {
    from {
        opacity: 0;
        -webkit-transform: translateX(-10px);
        -moz-transform: translateX(-10px);
        -ms-transform: translateX(-10px);
        -o-transform: translateX(-10px);
        transform: translateX(-10px);
    }
}

.opacityRight:nth-child(odd) .section-content {
    -webkit-animation: opacityLeft 500ms forwards;
    -o-animation: opacityLeft 500ms forwards;
    animation: opacityLeft 500ms forwards;
}

.opacityRight .section-content {
    -webkit-animation: opacityRight 500ms forwards;
    -o-animation: opacityRight 500ms forwards;
    animation: opacityRight 500ms forwards;
}

.opacityIn {
    -webkit-animation: opacityIn 500ms forwards;
    -o-animation: opacityIn 500ms forwards;
    animation: opacityIn 500ms forwards;
}

@keyframes scroll {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
        -webkit-transform: translateY(15px);
        -moz-transform: translateY(15px);
        -ms-transform: translateY(15px);
        -o-transform: translateY(15px);
        transform: translateY(15px);
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(30px);
        -moz-transform: translateY(30px);
        -ms-transform: translateY(30px);
        -o-transform: translateY(30px);
        transform: translateY(30px);
    }
}

.scroll {
    -webkit-animation: scroll 1s linear infinite;
    -o-animation: scroll 1s linear infinite;
    animation: scroll 1s linear infinite;
    transition: color, 500ms;
    text-shadow: 0 0 10px #000;
    cursor: pointer;
    color: #fff;
}

.scroll:hover {
    color: #000;
}

.mobile-menu {
    display: none;
}

.scroll i {
    line-height: 0;
    font-size: 100px;
}

.mobile-button {
    display: none;
}

.section-title span {
    transform: translateY(-20px);
    opacity: 0;
}

.section-title span {
    display: inline-block;
    transition-property: transform, opacity;
    transition-duration: 500ms;
}

.section-title span.titleAnimation {
    transform: none;
    opacity: 1;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

.section-title > div {
    display: inline-block;
}

.mainPopup {
    display: flex;
    z-index: 34235434;
    background-color: #fff;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    transition: opacity, 500ms;
}


.bottomSection .main-title{
    text-align: center;
}

.scroll-page::-webkit-scrollbar{
    width: 0px;
}
section a{
    color: #fff;
    -webkit-text-stroke: 1px var(--color-primary);
    font-weight: 900;
    text-decoration: none;
    transition: 300ms;
}
section a:hover{
    color: var(--color-primary);
    -webkit-text-stroke: 1px #fff;
}
@media screen and (max-width: 1139px) {
    .mainSection-content{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    section .img-wrapper{
        max-height: 330px;
        padding-top: 20px;
        padding-bottom: 0;
    }
    .section-title{
        text-align: center;
    }
    .basicSection .section-inner{
        display: flex;
        flex-direction: column-reverse !important;
    }
    .basicSection .section-content{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .section-right{
        padding: 0 !important;
    }
    .mainSection-content:after{
        display: none;
    }
    .title-svg{
        width: 75px;
    }
    .title-svg-wrapper{
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
        text-align: center;
        height: 145px;
    }
    .badStats svg{
        width: 139px;
        overflow: hidden;
    }
    .text h3{
        font-size: 25px;
        margin-bottom: 20px;
        font-weight: 800;
    }
    .opacityIn .svg-wrapper {
        width: 139px;
    }
    .section-title.main-title{
        font-size: 30px;
    }
    section{
        overflow: hidden;
    }
    .main-menu li a {
        color: #000;
        text-transform: uppercase;
        font-weight: 700;
        text-decoration: none;
        width: 100%;
        display: block;
        transition-property: background-color, color;
        transition-duration: 500ms;
        padding: 10px 40px;
        border-bottom: 1px solid #000;
    }

    .main-menu li a:hover {
        background-color: #000;
        color: #fff;
    }

    #main-menu {
        display: none;
    }

    .mobile-button {
        position: absolute;
        right: 20px;
        z-index: 1001;
        top: 10px;
        width: 30px;
        height: 30px;
        display: block;
        cursor: pointer;
    }

    .mobile-button span:nth-child(1) {
        top: -20px;
    }

    .mobile-button span:nth-child(3) {
        bottom: -20px;
    }

    .mobile-button.active span:nth-child(1) {
        top: 0;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .mobile-button.active span:nth-child(3) {
        bottom: 0;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .mobile-button.active span:nth-child(2) {
        opacity: 0;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .mobile-button span {
        width: 26px;
        box-shadow: 0 0 2px #fff;
        height: 2px;
        left: 0;
        top: 0;
        transition-property: transform, opacity, bottom, top;
        transition-duration: 500ms;
        bottom: 0;
        right: 0;
        margin: auto auto;
        background-color: #000;
        position: absolute;
        display: block;
    }

    .mobile-menu.active {
        top: 0;
    }

    .mobile-menu .main-menu ul {
        flex-direction: column;
    }

    .mobile-menu .main-menu ul li a {
        border: none;
    }

    .main-menu li:not(:last-child) {
        margin-right: 0;
    }

    .section-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }



    .mobile-menu {
        transition: top, 500ms;
        display: block;
        position: fixed;
        top: 100vh;
        left: 0;
        width: 100%;

        background-color: #fff;
        height: 100vh;
    }

    section{
        min-height: unset;
    }
    section.bottomSection{
        min-height: 400px;
    }

    .container {
        padding: 0 20px;
    }

    .section-content .text {
        margin-top: 20px;
    }

    .section-title {
        font-size: 30px;
    }
    .text{
        font-size: 20px !important;
    }
    section{
        padding: 20px 0;
    }

    .section-right .img-wrapper {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    section, .section-wrapper {
        height: unset;
    }

    .scroll-wrapper {
        display: none;
    }

    .basicSection .section-content {
        padding-top: 50px;
    }

    .section-content, .section-right {
        width: 100%;
        justify-content: center;
        height: unset;
    }

    .section-inner {
        max-height: unset;
        flex-direction: column-reverse !important;
    }

    .mainSection .section-wrapper {
        min-height: unset;
    }

    .mainSection {
        min-height: unset;
    }
}

