#home {
    height: calc(100vh - 98px);
    font-size: var(--text-font-size);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.home__container {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.home__container p {
    margin-bottom: 20px;
}

#home .home-name {
    font-size: var(--home-name-font-size);
    font-weight: bold;
}

#home-carousel-text {
    font-size: 3rem;
    font-weight: bold;
    color: var(--light-red);
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.home__container {
    z-index: 2;
}

/* Pour s'assurer que le texte s'affiche bien dans la partie visible */
#home-carousel-text.show {
    opacity: 1;
}

#home-about-btn {
    display: block;
    margin-top: 25px;
    width: fit-content;

    background-color: var(--light-red);
    color: var(--light-smoke);
    text-decoration: none;
    border: 1px solid var(--light-red);
    padding: 10px 35px 10px 35px;
    border-radius: 21px;
    transition: 0.2s;
}

#home-about-btn:hover {
    background-color: var(--light-smoke);
    transition: 0.2s;
    color: var(--light-red);
}

.images-background {
    width: 60px;
    opacity: 0.5;
    position: absolute;
}

@media (max-width: 815px) {
    .home__container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: center;
    }
}
