@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900;1000&display=swap");

:root {
    --main: #0077ee;
    --bg: #3871c1;
    --text: #ffffff;
    --darken: #03002e;
    --dark: #040253;
}

@media only screen and (max-width: 768px) {
    html {
        font-size: 80%;
    }
}

html,
body {
    overflow-x: hidden !important;
}

body {
    font-family: Poppins;
    text-wrap: balance;
    color: var(--text);
    background-color: var(--darken);
}

.bg-gradient {
    background: linear-gradient(to bottom, var(--darken), var(--dark), var(--darken)) !important;
}

.bg-body-tertiary {
    background-color: var(--dark) !important;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

._cta {
    position: relative;
}
._cta img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto !important;
    height: 90%;
    opacity: 0.2;
    animation: rotate 10s ease-in-out infinite;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

._absolute_icons {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 99;
}

._absolute_icons a {
    font-size: 2rem;
    position: relative;
}

._absolute_icons a::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1rem;
    height: 1rem;
    background-color: var(--darken);
    border-radius: 50%;
}

._absolute_icons a::before {
    content: "";
    position: absolute;
    top: 2.5px;
    right: 2.7px;
    width: 0.6rem;
    height: 0.6rem;
    background-color: var(--darken);
    background-color: #0ec32f;
    border-radius: 50%;
    z-index: 2;
}

._absolute_icons a,
._absolute_icons span {
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

#toTop {
    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
}

#toTop.active {
    opacity: 1;
    pointer-events: all;
}

._social a {
    font-size: 2rem;
    white-space: nowrap;
    transition: 0.4s;
}

._social a:hover {
    color: var(--main);
}

.btn-primary {
    background-color: var(--main);
}

.btn-primary:hover {
    background-color: var(--bg);
}

.program_list,
.why_list {
    width: 80% !important;
    margin: 0 auto !important;
    counter-reset: list-counter;
}

@media only screen and (max-width: 768px) {
    .program_list,
    .why_list {
        width: 95% !important;
    }
}

.program_list li {
    counter-increment: list-counter;
}

.program_list,
.program_list li {
    position: relative;
}

.program_list::before {
    content: "";
    position: absolute;
    top: -1rem;
    left: 0;
    width: 1px;
    height: 110%;
    background-color: var(--main);
}

.why_list li:not(:last-child),
.program_list li:not(:last-child) {
    margin-bottom: 1rem;
}

.why_list li:before {
    content: "✔️";
    display: inline-block;
    margin-right: 1rem;
}
.program_list li:before {
    content: counter(list-counter);
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: -3rem;
    background-color: var(--main);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-weight: 500;
    color: #fff;
}

._video_cta,
iframe {
    width: 100%;
    aspect-ratio: 16/9;
    cursor: pointer;
}
._gift {
    background-color: #00000027;
    color: var(--darken);
    text-align: center;
    text-wrap: balance;
    font-weight: 600;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999999999999999;
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 1s;
    opacity: 0;
    pointer-events: none;
}
._gift.active {
    opacity: 1;
    pointer-events: all;
}
._gift .content {
    position: relative;
    width: 70%;
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
}

._gift .content #closeModalGift {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
}
._gift img {
    margin-bottom: 2rem;
}
._pourquoi_ys video {
    width: 50%;
    aspect-ratio: 16/9;
    display: block;
    margin: 0 auto;
}

@media only screen and (max-width: 768px) {
    ._pourquoi_ys video {
        width: 100%;
    }
}

.feedbacks a {
    transition: 0.4s;
}

.feedbacks a:hover {
    opacity: 0.6;
}

._wave {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: -1;
}

._wave svg {
    width: 100%;
    height: 100px;
    transform: rotate(180deg);
}

@media only screen and (max-width: 768px) {
    ._wave svg {
        height: 50px;
    }
}

._wave .wavies > use {
    animation: waveAround 12s linear infinite;
}
._wave .wavies > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 2s;
    fill: var(--dark);
}
._wave .wavies > use:nth-child(2) {
    animation-delay: -2s;
    animation-duration: 4s;
    fill: var(--main);
}
._wave .wavies > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 8s;
    fill: var(--darken);
}
@-webkit-keyframes waveAround {
    0% {
        transform: translate(-90px, 0%);
    }
    100% {
        transform: translate(85px, 0%);
    }
}
@keyframes waveAround {
    0% {
        transform: translate(-90px, 0%);
    }
    100% {
        transform: translate(85px, 0%);
    }
}

/* master animation */
._hero ._box_area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

._hero ._box_area img {
    position: absolute;
    display: block;
    width: 25px;
    height: 25px;
    -webkit-animation: animate 20s linear infinite;
    animation: animate 20s linear infinite;
    bottom: 40%;
    opacity: 0;
}

._hero ._box_area img:nth-child(1) {
    left: 0;
    width: 30px;
    height: 30px;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

._hero ._box_area img:nth-child(2) {
    left: 90%;
    width: 50px;
    height: 50px;
    -webkit-animation-delay: 1.5s;
    animation-delay: 1.5s;
    -webkit-animation-duration: 10s;
    animation-duration: 10s;
}

._hero ._box_area img:nth-child(3) {
    left: 70%;
    width: 40px;
    height: 40px;
    -webkit-animation-delay: 5.5s;
    animation-delay: 5.5s;
}

._hero ._box_area img:nth-child(4) {
    left: 42%;
    width: 50px;
    height: 50px;
    -webkit-animation-delay: 15s;
    animation-delay: 15s;
}

._hero ._box_area img:nth-child(5) {
    left: 65%;
    width: 40px;
    height: 40px;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

._hero ._box_area img:nth-child(6) {
    left: 15%;
    width: 30px;
    height: 30px;
    -webkit-animation-delay: 3.5s;
    animation-delay: 3.5s;
}

@-webkit-keyframes animate {
    0% {
        -webkit-transform: translateY(0) rotate(0deg);
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }
    100% {
        -webkit-transform: translateY(-40vh) rotate(360deg);
        transform: translateY(-40vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes animate {
    0% {
        -webkit-transform: translateY(0) rotate(0deg);
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }
    100% {
        -webkit-transform: translateY(-40vh) rotate(360deg);
        transform: translateY(-40vh) rotate(360deg);
        opacity: 0;
    }
}
