@charset "UTF-8";
* {
    box-sizing: inherit;
}

html {
    height: 100%;
    font-size: 11px;
}

body {
    height: 100%;
    margin: 0;
    background-color: #fff;
    color: #000;
    font-size: 1.2rem;
    font-family: "Marianne", "Lato", "Arial", sans-serif;
    font-weight: normal;
}

a {
    text-decoration: none;
}

.nowrap {
    white-space: nowrap;
}

/* Popup modale de récupération d'identifiants */
#modalRecupId {
    display: none;
    width: 600px;
}

#modalRecupId .modal-content {
    padding: 0;
}

#modalRecupId iframe {
    border: none;
    width: 100%;
    height: 280px;
}

#page::before {
    /*content: "";*/
    /*position: absolute;*/
    /*top: 0;*/
    /*left: 0;*/
    /*width: 100%;*/
    /*height: 100%;*/
    /*background: url(../images/02.png) no-repeat center center;*/
    /*background-size: contain;*/
    /*z-index: 2;*/

    /*opacity: 0.5;*/
    /*pointer-events: none;*/
}

#page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
}

#page {
    background: #ffffff;

    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;

    --input-height: 4.5rem;
    --input-radius: 2.25rem;
    --input-size: 1.2rem;
}

.small-only {
    display: block;
}

header, footer, main {
    width: 100%;
    margin: 0 auto;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
}

.logo img {
    height: clamp(40px, 10vh, 10rem);
    width: auto;
}

footer .logo img {
    height: clamp(25px, 7vh, 8rem);
    width: auto;
}

main {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color :#ffffff;
}

.contenu {
    background: url(../images/bg.png) no-repeat bottom center;
    background-size: cover;
    width: 100%;
    height: 100%;
    padding: 5rem 2rem 3rem;
}

.regions_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    /*max-height: 63.7vh;*/

    width: 100%;
    height: 100%;
    text-align: center;
    margin-left: 1rem;
    align-content: flex-start;
}

h2 {
    text-transform: uppercase;
    font-size: 2.4em;
    margin: 1rem 0;
    letter-spacing: 0.015em;
    width: 100%;
    flex: 0 0 auto;
}

.region {
    flex: 1 1 48%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;

    gap: 1rem;

    -webkit-border-radius: 2rem;
    -moz-border-radius: 2rem;
    border-radius: 2rem;

    background: rgba(194, 204, 239, 0.26);
    transition: all 0.3s;
    border: 2px solid transparent;

    cursor: pointer;

    padding: 2rem;
}

.region {
    height: 40vh;
    padding: 4rem;
}

.region img {
    flex: 1 1 100%;
    max-height: 80%;
}

.region:nth-child(2n) img {
    max-height: 85%;
}

.region:hover {
    background: rgba(194, 204, 239, 0.15);
    /*border: 2px solid #fff;*/
    backdrop-filter: blur(10px);
}

.region svg .outline {
transition: all 0.3s;
}

.region:hover svg .outline {
    filter: blur(10px);
    fill: #0c2051;
}


.region h3 {
    font-size: 2rem;
    text-transform: uppercase;
}

@media screen and (min-height: 800px) {
    .contenu {
        justify-content: center;
    }
}

@media screen and (min-width: 720px) {
    #page {
        /* --input-height: 4rem; */
        /* --input-size: 1.1rem; */
    }

    .contenu {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }


    .contenu > * {
        position: relative;
        z-index: 1;
    }

    header .logo {
        padding: 0.5rem 10%;
        justify-content: flex-start;
    }

    footer .logo {
        padding: 1.8rem 10%;
        gap: 0.5rem;
        justify-content: flex-end;
    }

    header .logo img {
        height: clamp(25px, 11vh, 8.9rem);
        width: auto;
    }

    footer .logo img {
        height: clamp(25px, 8vh, 4.3rem);
        width: auto;
    }

    footer .logo img:nth-child(6) {
        max-width: 10rem;
        height: auto;
    }

    main {
        padding: 0 5%;
    }


    .region {
        height: 53.3vh;
        padding: 4rem;
    }

    .region img {
        flex: 1 1 100%;
        max-height: 80%;
    }

    .region:nth-child(2n) img {
        max-height: 85%;
    }

}

@media screen and (min-width: 960px) {
    html {
    }

    #page {
        /*margin-left: 5.8vw;*/
        /*margin-right: 5.8vw;*/
    }

    header .logo,
    footer .logo {
        padding-left: 6.3rem;
        padding-right: 6.3rem;
    }

    main {
        padding: 0 6.3rem;
    }

}

@media screen and (min-width: 1200px) {
    .contenu {
        /*padding-top: 0rem;*/
        padding-bottom: 2.3rem;
    }

    .contenu::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: -6.3rem;
        width: 55%;
        background: url(../images/perso_left.png) no-repeat center left;
        background-size: contain;
        pointer-events: none;
        /*z-index: 2;*/
    }

    .contenu::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        right: -6.3rem;
        width: 55%;
        background: url(../images/perso_right.png) no-repeat center right;
        background-size: contain;
        pointer-events: none;
        z-index: 2;
    }
    
    .contenu::before {
        top: -5.5vh;
        bottom: -9.2vh;
    }

    .contenu::after {
        top: -4.4vh;
        bottom: -5.3vh;
    }

    header .logo img {
        height: clamp(25px, 11vh, 8.9rem);
        width: auto;
    }

    footer .logo img {
        height: clamp(25px, 8vh, 4.3rem);
        width: auto;
    }

    footer .logo img:nth-child(6) {
        max-width: 10rem;
        height: auto;
    }

    .regions_wrapper {
        max-height: 63.7vh;
        height: auto;
        align-content: flex-start;
        gap: 3.5rem 1.5rem;
        max-width: min(50vw, 1200px);
    }



}

@media screen and (min-width: 2000px) {
    html {
        font-size: 15px;
    }
}

@media all and (-ms-high-contrast: none) and (max-width: 961px), (-ms-high-contrast: active) and (max-width: 961px) {
    #page {
        display: block;
    }

    .contenu {
        box-shadow: none;
    }
}

@media all and (-ms-high-contrast: none) and (min-width: 960px), (-ms-high-contrast: active) and (min-width: 960px) {
    #page, .contenu {
        min-height: 100vh;
    }


}