/* CSS index votre sejour */

#bloc_votre_sejour {
    overflow: hidden;
    margin: auto;
    width: 80%;
    min-height: 350px;
    display: flex;
}

#deauville_sejour {
    background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(../images/saintcloud.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#saintcloud_sejour { 
    background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(../images/deauville.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#bloc_votre_sejour .ville_sejour {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease-out;
}
/* Style Standard */
#bloc_votre_sejour .ville_sejour:not(.hovered) {
    width: 50%;
}

#bloc_votre_sejour .ville_sejour h3 {
    text-align: center;
    text-transform: uppercase;
    color: #C19947;
    font-family: 'Playfair Display', serif;
    font-size: 30px;
}
.inner_ville_sejour {
    width: 100%;
    height: 100%;
    display: flex;
}
.inner_ville_sejour .titre_sejour {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.inner_ville_sejour .liste_lien {
    display: flex;
    opacity: 0;
    width: 0%;
    height: 0%;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}
.inner_ville_sejour .liste_lien > a {
    opacity: 0;
    text-align: center;
    transition: 1s ease-out;
    margin-bottom: 20px;
    display: block;
    font-size: 20px;
    color: white;
}

.inner_ville_sejour .liste_lien > a:hover {
    text-decoration: underline;
}

.inner_ville_sejour .liste_lien > a:last-of-type {
    margin-bottom: 0px;
}

/* Style Hovered */
#bloc_votre_sejour .ville_sejour.hovered {
    width: 90%;
}

#bloc_votre_sejour .ville_sejour.hovered .inner_ville_sejour .liste_lien {
    opacity: 1;
    padding: 30px;
    width: 50%;
    height: 100%;
}
#bloc_votre_sejour .ville_sejour.hovered .inner_ville_sejour .titre_sejour {
    width: 50%;
}

#bloc_votre_sejour .ville_sejour.hovered .inner_ville_sejour .liste_lien > a {
    opacity: 1;
}


/* Style non Hovered */
#bloc_votre_sejour .ville_sejour.inactive {
    width: 10%;
}

#bloc_votre_sejour .ville_sejour.inactive .arrow_back {
    display: flex;
}
#bloc_votre_sejour .ville_sejour.inactive .inner_ville_sejour{
    visibility: hidden;
}




/* Flèche Retour */
.arrow_back {
    position: absolute;
    display: none;
    width: 100%;
    height: 50px;
}
.arrow_back span {
    margin: auto;
    font-size: 50px;
    color: #C19947;
}

#deauville_sejour .arrow_back {
    right: 0;
    top: 0;
}

#saintcloud_sejour .arrow_back {
    left: 0;
    top: 0;
}

/* RESPONSIVE 800px */

@media (max-width: 800px) {
    #bloc_votre_sejour {
        flex-direction: column;
        width: 100%;
        min-height: inherit;
        height: 550px;
    }
    #bloc_votre_sejour .ville_sejour:not(.hovered) {
        width: 100%;
        height: 50%;
    }
    .inner_ville_sejour {
        flex-direction: column;
    }
    .inner_ville_sejour .titre_sejour {
        width: 100%;
        height: 100%;
    }
    #bloc_votre_sejour .ville_sejour.inactive {
        width: 100%;
    }
    #bloc_votre_sejour .ville_sejour.hovered {
        width: 100%;
    }
    #bloc_votre_sejour .ville_sejour.inactive .arrow_back {
        display: none;
    }
    #bloc_votre_sejour .ville_sejour.inactive .inner_ville_sejour{
        visibility: visible;
    }
    .inner_ville_sejour .liste_lien {
        justify-content: center;
        align-items: center;
    }
    #bloc_votre_sejour .ville_sejour.hovered .inner_ville_sejour .liste_lien {
        width: 100%;
        height: inherit;
    }
    #bloc_votre_sejour .ville_sejour.hovered .inner_ville_sejour .titre_sejour {
        margin-top: 20px;
        width: inherit;
    }

}

