.authentication-main * {
    z-index: 2;
}

.authentication-main {
    background-color: var(--color-background);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.6rem;
    padding: 1.6rem;
}

.authentication-main img {
    width: 33%;
    max-width: 33%;
}

.authentication-title {
    font-weight: 600;
    font-size: 3.2rem;
    color: var(--color-text);
    width: 50%;
    text-align: center;
}

.authentication-message {
    font-size: 1.6rem;
    color: var(--color-text);
    width: 50%;
    text-align: justify;
}

.authentication-form {
    width: 50%;
}

.authentication-label {
    color: var(--color-text);
}

/**
Les "engrenages" de l'arrière plan.
sm = small, md = medium, lg = large
tr = top right, bl = bottom left, etc...
 */
#lg-gear-tr,
#md-gear-bl,
#sm-gear-bl {
    fill: var(--color-primary);
}

#md-gear-bl,
#lg-gear-tr {
    animation: rotationRight 60s infinite linear;
}

#sm-gear-bl {
    animation: rotationLeft 60s infinite linear;
}

#lg-gear-tr {
    position: fixed;
    right: calc(-75% / 2);
    top: calc(-75% / 2);
    width: 75%;
    height: 75%;
}

.gears-bl {
    position: fixed;
    bottom: -80px;
    left: -80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#md-gear-bl {
    position: relative;
    width: 100%;
    height: 100%;
}

#sm-gear-bl {
    position: absolute;
    transform: rotate(22.5deg);
    width: 33%;
    height: 33%;
}

/* Animations */
@keyframes rotationRight {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

@keyframes rotationLeft {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-359deg);
    }
}

@media screen and (max-width: 900px) {
    .authentication-title {
        width: 95%;
        font-size: 2.4rem;
    }
    .authentication-message{
        width:95%;
        font-size: 1.2rem;
        line-height: 1.6rem;
    }
    .authentication-form{
        width:95%;
        font-size: 1.2rem;
    }
    .authentication-form label{
        gap:0;
    }

    /* Ce que vous voyez ci-dessous est en fait une rustine affreuse */
    body > main {
        height: 100% !important; !important;
    }

    body {
        align-items: center;
    }
}