/* -------------- MAIN --------- */


body {
    background-color: #181716;
    margin: 0;
}

h1 {
    font-family: "Kanit", "Roboto", sans-serif;
    color: #ffffff;
}

p {
    font-family: "Kanit",
        "Roboto", sans-serif;
    color: #ffffff;
    font-size: 0.8rem;
}

a {
    font-family: "Kanit",
        "Roboto", sans-serif;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
}

/* -------------- HEADER --------- */

header {
    height: 30vw;
}

#background-video::-webkit-media-controls {
    display: none !important;
}

.chronos-center {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.chronos-logo {
    margin-left: 10rem;
    width: 10vw;
    height: 16vw;
    background-image: url('../img/CHRONOS_AVIATION.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.chronos-avion {
    width: 60vw;
    height: 18vw;
    background-image: url('../img/CHONOS-PLANE-3.gif');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90%;
}

/* ------ AVION ----------- */


.new-flight video {
    height: 15vw;
    animation: vol 15s cubic-bezier(0, .54, .19, 1.01) forwards;
}

@keyframes vol {
    0% {
        height: 15vw;
    }

    100% {
        height: 25vw;
    }
}

/* ------ END AVION ----------- */

.avion {
    position: relative;
    animation: voler 5s infinite linear;
    animation: oscillation 5s infinite ease-in-out;
    transform-origin: center;
}

@keyframes oscillation {
    0% {
        transform: translateX(0px) translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateX(5px) translateY(-10px) rotate(2deg);
    }

    100% {
        transform: translateX(0px)translateY(0px) rotate(0deg);
    }
}


/* ---------- Section 1 ------- */

section {
    background-image: url('../img/montagne_or-v3.svg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 110%;
    padding: 0 1rem;
}

.section-1 {
    text-align: center;
}

.section-1 .chronos-prochainement {
    font-size: 25px;
}

p.chronos-prochainement {
    padding-top: 10rem;
}


.chronos-align {
    display: flex;
    gap: 0.5vw;
    align-items: baseline;
    justify-content: center;
}

.chronos-prochainement {
    font-size: 1.5vw;
    font-weight: 700;
    letter-spacing: 1rem;
    margin-bottom: 0;
}

.text-2 {
    font-size: 1.2rem;
    margin-top: 0;
}

.chronos-align a {
    text-align: center;
}

/* ----------- Section 2 --------------- */

.section-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    text-align: center;
    font-size: 1.2rem;
}

.section-2 {
    margin-top: 0;
}

.section-2 p {
    text-align: center;
    font-weight: 200;
}

.signature {
    font-style: italic;
    font-size: 1.2rem;
    font-weight: 200;
}

.chronos-adresse {
    margin: 0;
}

p.chronos-adresse {
    font-size: 1rem;
}

/* --------- FOTER ---------- */


.chronos-footer {
    display: flex;
    justify-content: space-between;
    margin: 0 2vw;
}

.chronos-copyright {
    display: flex;
}

.chronos-copyright img {
    padding: 0 0.5vw 0 0;
}

.diabolo-design-copyright {
    display: flex;
}

.diabolo-design-copyright img {
    padding: 0 0.5vw;
}


@media screen and (max-width: 800px) {

    p {
        font-size: 1rem !important;
    }

    a {
        font-size: 1rem;
    }

    .flex-logo {
        margin-top: 3rem;
        display: flex;
        justify-content: center;
        margin-bottom: 3rem;
    }

    .chronos-logo {
        margin-left: 0 !important;
        width: 35vw;
        height: 16vw;
        background-image: url('../img/CHRONOS_AVIATION.svg');
        background-repeat: no-repeat;
        background-position: center;
        margin-bottom: 1rem;
    }

    .chronos-avion {
        width: 95vw;
        height: 30vw;
        background-image: url('../img/CHONOS-PLANE-3.gif');
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
    }

    .section-1 {
        display: flex;
        flex-direction: column;
        margin: auto;
        justify-content: center;
        margin-bottom: 1rem;
        margin-top: 10rem;
        padding-top: 4rem;

    }

    p.chronos-prochainement {
        padding-top: 0 !important;
    }

    .chronos-prochainement {
        font-size: 1.2rem !important;
        font-weight: 700;
        letter-spacing: 0.8rem;
    }


    .section-2 h1 {
        text-align: center;
        font-size: 1rem;
    }

    .chronos-footer {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        align-items: center;
    }

    .chronos-footer p {
        font-size: 3vw;
    }

    .chronos-footer p {
        font-size: 0.8rem !important;
    }

    .chronos-copyright {
        display: flex;
        align-items: baseline;
    }

    .chronos-copyright p {
        margin-bottom: 0 !important;
        font-size: 0.8rem !important;
    }

    .chronos-adresse {
        font-size: 1rem !important;
    }

    .diabolo-design-copyright {
        font-size: 0.8rem !important;
    }

    .new-flight video {
        height: 20vw;
        animation: vol 15s cubic-bezier(0, .54, .19, 1.01) forwards;
    }

    @keyframes vol {
        0% {
            height: 20vw;
        }

        100% {
            height: 45vw;
        }
    }
}