/* =============================================
    CONTAINER PRINCIPAL
    ============================================= */
.container_realisations_main {
    height: 67.1vh;
    width: 100%;
    background-image: url("../images/welcome/bg_welcome.png");
    margin: 0;
    padding: 0;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.realisations_titre {
    color: var(--blanc_glacial);
}

/* =============================================
    WRAPPER ET LAYOUT PRINCIPAL
    ============================================= */
.wrapper_sites {
    margin-top: 30px;
    width: 90%;
    height: 80%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.sections_site {
    width: 60%;
    height: 100%;
    background-color: transparent;
    position: relative;
}

.sections_site:last-child {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =============================================
    SLIDER - STRUCTURE ET NAVIGATION
    ============================================= */
.slider {
    width: 60%;
    height: 100%;
    background-color: transparent;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider_nav {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
}

.slider_nav_button {
    background-color: transparent;
    border: none;
}

.slider_nav_button i {
    font-size: 40px;
    color: var(--bleu_clair);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.slider_nav_button i:hover {
    scale: 1.2;
}

/* =============================================
    SLIDER - CONTENU
    ============================================= */
.slider_content {
    width: 90%;
    height: 100%;
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
}

.slider_content_item {
    width: 100%;
    height: 100%;
    min-width: 100%;
}

.slider_content_item iframe {
    width: 100%;
    height: 100%;
    min-width: 100%;
}

/* =============================================
    INFORMATIONS DU SITE
    ============================================= */
.p_first {
    margin-bottom: 15px;
    color: var(--blanc_glacial);
    font-weight: 500;
}

.info_site {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: end;
    width: 100%;
}

.p_second {
    color: var(--blanc_glacial);
}

/* =============================================
    CARTE D'INFORMATION DU SITE
    ============================================= */
.card_site {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--bleu_foncer);
    width: 80%;
    height: 250px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    gap: 0;
}

.card_site h2 {
    margin-top: 10px;
    color: var(--bleu_clair);
}

.card_site p {
    text-align: left;
    width: 80%;
    height: 100%;
    overflow: auto;
    color: var(--blanc_glacial);
    font-size: 14px;
    text-wrap: wrap;
}

.card_site h5 {
    color: var(--bleu_clair);
    width: 80%;
    text-align: left;
}

#affichage-description {
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    width: 80%;
    max-width: 600px;
}

/* =============================================
    RESPONSIVE - TABLETTE ET MOBILE
    ============================================= */
@media screen and (max-width: 992px) {
    .container_realisations_main {
        height: auto;
        padding: 20px 0;
    }

    .wrapper_sites {
        flex-direction: column;
        height: auto;
        gap: 30px;
    }

    .slider,
    .sections_site {
        width: 90%;
        height: 400px;
    }

    .sections_site:last-child {
        width: 90%;
        flex-direction: column;
        height: auto;
    }

    .card_site {
        width: 100%;
        height: 250px;
    }
}
