@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');

:root {
    --noir: #292521;
    --blanc: #F5EDE1;
    --jaune: #FEB737;
}

body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    color: var(--noir);
    background-color: #02457a;
}

.exo2 {
    font-family: "Exo 2", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.number {
    font-family: "Orbitron", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 100px;
    margin: 0;
    color: var(--noir);
}

#fusee {
    position: fixed;
    bottom: 50px;
    right: 50%;
    transform: translate(50%);
    z-index: 10;
    height: 350px;
    opacity: 1;
}

#fuseeFeu {
    position: fixed;
    bottom: -25px;
    right: 50%;
    transform: translate(50%);
    z-index: 11;
    height: 450px;
    width: 300px;
    opacity: 0;
    animation: monterDescendre 3s infinite ease-in-out;
}

@keyframes monterDescendre {
    0% {
        bottom: -25px;
    }
    50% {
        bottom: 175px;
    }
    100% {
        bottom: -25px;
    }
}

.verticalReverse {
    overflow: hidden;
    max-height: 100vh;
}

.wrapper {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.section {
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.textContainer {
    width: 500px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 32px;
    padding: 24px;
    font-size: 18px;
    
    p {
        line-height: 140%;
        font-weight: 300;
    }
}

#sol {
    background-image: linear-gradient(to top, #d6e8ee, #97cadb);
    position: relative;
    justify-content: flex-start;

    #numberContainer {
        background: var(--blanc);
        padding: 6px 0;
        width: 150px;
        border: 10px solid var(--jaune);
        text-align: center;
        border-radius: 25px;
        position: absolute;
        top: 5%;
        left: 50%;
        transform: translate(-50%, 50%);
        box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
    }

    #town {
        position: fixed;
        bottom: 0;
        width: 100%;
        z-index: -2;
    }

    #launchButton {
        padding: 15px 35px;
        background-color: var(--jaune);
        border: 1px solid var(--noir);
        border-radius: 50px;
        color: var(--noir);
        font-size: 20px;
        text-decoration: none;
        box-shadow: 0 0 0;
        transition: all 200ms;
        cursor: pointer;
    }

    #launchButton:hover {
        transform: translateY(-10px);
        box-shadow: 0px 12px 1px var(--noir);
    }

    #launchButton:active {
        transform: translateY(10px);
        box-shadow: 0 0 0;
    }

    #smoke {
        position: fixed;
        bottom: 0;
        width: 50%;
        z-index: -1;
        left: 50%;
        transform: translate(-50%);
    }
}

#ciel {
    background-image: linear-gradient(to top, #97cadb, #018abe);

    #oiseaux {
        width: 500px;
        height: 500px;
        position: fixed;
        z-index: 10;
    }
}

#tesla {
    background-image: linear-gradient(to top, #018abe, #02457a);
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 0;
    z-index: 5;

    #teslavoiture {
        width: 30%;
        height: 300px;
        margin-right: 200px;
    }
    .textContainer {
        color: var(--blanc);
        font-size: 20px;

        h2 {
            color: var(--jaune);
            font-size: 50px;
            margin-top: 0;
        }
    }
}

.txtR {
    margin-right: 150px;
    z-index: 11;
}

.txtL {
    margin-left: 150px;
    z-index: 11;
}

.planet {
    width: 600px;
    filter: drop-shadow(0 40px 20px rgba(0, 0, 0, 0.3));
    z-index: 5;
}

.plCont {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-image: linear-gradient(to top, #02457a, #018abe);

    .textContainer {
        color: var(--blanc);
        font-size: 20px;

        h2 {
            color: var(--jaune);
            font-size: 50px;
            margin-top: 0;
        }
    }
}

.plContOdd {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    background-image: linear-gradient(to top, #018abe, #02457a);

    .textContainer {
        color: var(--blanc);
        font-size: 20px;

        h2 {
            color: var(--jaune);
            font-size: 50px;
            margin-top: 0;
        }
    }
}

.bgStars {
    position: fixed;
    width: 150%;
    height: 150%;
    z-index: -1;
}

#meteorite{
    position: fixed;
    width: 300px;
    height: 300px;
    z-index: 11;
}

#iss{
    position: fixed;
    width: 500px;
    height: 500px;
    transform: translateY(25%);
    left: 5%;
    animation: rotateIss 20s infinite ease-in-out;
}

@keyframes rotateIss {
    0% {
        transform: rotate(-45deg);
    }
    50% {
        transform: rotate(45deg);
    }
    100% {
        transform: rotate(-45deg);
    }
}

#ovni{
    position: fixed;
    z-index: 10;
    width: 300px;
    height: 300px;
}

#astronaute{
    position: fixed;
    z-index: 10;
    width: 300px;
    height: 300px;
}