html, body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

h1 {
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 15%;
}

.link {
    text-decoration: none;
    color: #ec6637;
    cursor: pointer;
}

.logo {
    height: 120px;
}

.link:hover {
    color: #361f4c;
}

.horaires {
    font-weight: bold;
}

.icone {
    height: 40px;
    cursor: pointer;
}

#background-landing-page {
    width: 100%;
    height: 100vh;
    background: url(../img/beaujoire-auto-controle-0.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    position: relative;
    z-index: 1; /* Ajusté pour être au-dessus de l'overlay */
}

#overlay {
    background-color: black;
    position: absolute;
    top: 0;
    opacity: 0.5;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 0; /* Ajusté pour être en dessous du contenu */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    z-index: -2;
}

.txt-mobile {
    display: none;
}

@media (min-width: 300px) and (max-width: 1200px) {
    h1 {
        font-size: 1.5rem;
        text-align: center;
    }

    #background-landing-page > p:nth-child(5) {
        display: none;
    }

    #background-landing-page > p:nth-child(6) {
        text-align: center;
    }

    .txt-mobile {
        display: block;
    }

    .txt-mobile-3 {
        text-align: center;
    }
}
