@font-face {
    font-family: "Campana";
    src: url("/fonts/CampanaScript.otf") format("opentype");
}
@font-face {
    font-family: "Louis George Cafe";
    src: url("/fonts/Louis George Cafe.ttf") format("opentype");
}
body, html{
    height:100%;
    background-color:#E3E8F0;
    margin:0px;
    font-family: "Louis George Cafe";
    font-size: 1em;
}
#all{
    height:100%;
}

/*     -------------------------------------------------     */

#header{
    display: flex;
    justify-content: space-between;
    background: linear-gradient(to right, rgb(100, 175, 255, 0.5), rgb(20, 65, 140, 0.5));
    width:100%;
    height:80px;
    border-bottom:3px solid #003790;
    box-shadow: 0px 3px 5px #333;
    position: fixed;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* compatibilité Safari */
    z-index:10000;
}
#header-titre{
    display: flex;
    flex-direction: column; 
    padding:10px;
}
#titre-logo{
    float:left;
    margin-right: 10px;
}
#titre-sup {
    font-family: "Louis George Cafe";
    font-weight: normal;
    font-size: 1.33em;
    text-shadow: 0px -1px #7CAAF5;
    color: #003790;
    margin:0;
}
#titre {
    font-family: "Campana";
    font-weight: normal;
    font-size: 3.3em;
    text-shadow: 0px 1px #bad4ff;
    color: #0e49a9;
    margin:-10px 0;
}
#nav{
    margin:10px;
    padding: 0 24px;
    background-color: rgb(20, 65, 140, 0.5);
    border-radius:25px;
    min-height: 60px;
    float:right;
    display: flex;
    align-items: center;
    justify-content: center;
}

#nav a{text-decoration: none;}

#nav .button-nav{
    margin:0px;
    padding-left:10px;
    padding-right:10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#nav .button-nav:hover{
    background-color: rgb(20, 65, 140, 0.8);
    border-radius:5px;
}
#nav .button-nav.premier{
    /*border-radius:10px 0 0 10px;*/
    margin-left: 3px;
}
#nav .button-nav.dernier{
    /*border-radius: 0 10px 10px 0;*/
    margin-right: 3px;
}
#nav .text-nav{
    color:#E3E8F0;
    font-family: "Louis George Cafe";
    font-size: 1.3em;
}


.subx{
    box-shadow: 0px 0px 3px #333;
    background-color: rgba(124, 170, 245, 0.5);
}

.sub-link{
    background: #2B58A9;
/*    border-top: 1px solid #7CAAF5;
    border-left: 1px solid #7CAAF5;
    border-bottom: 1px solid #003790;
    border-right: 1px solid #003790;*/
    padding:10px 20px;
    color:#ffffff;
    margin-bottom: 1px;
    transition: background-color 0.5s, color 0.5s;

}
.sub-link:hover{
    background: #7CAAF5;
    color:#003790;
}


/*     -------------------------------------------------     */

/* englobe #content et #footer */
#container {
    display: flex; /* Active Flexbox */
    flex-direction: column; /* Organise les enfants en colonne */
    min-height: 100vh; /* Garantit que le conteneur prend au moins toute la hauteur de la fenêtre */
}


#content{
    flex: 1;
}


#header-bg{
    height:80px;
    background-color: #7CAAF5;
}

/*#header-bg ~ *:not(div){
    padding: 5px 0 5px 0;
}

#header-bg ~ p > img{
    padding: 10px;
    margin-top:20px;
}*/

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
#carrousel{
    /*height: 900px;*/
    background-image: url("../images/carrousel_00.webp");
    /*background: linear-gradient(to bottom, rgb(41, 95, 183, 1), rgb(25, 100, 38, 1)) ;*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0px 3px 5px #333 inset, 0px 3px 5px #333;
    border-bottom:3px solid #003790;
}
#info-carrousel{
    padding:20px;
    background: linear-gradient(to right, rgb(41, 95, 183, 0.8), rgb(41, 95, 183, 0.1)) ;
    font-size: 3em;
    color:white;
    text-shadow: 2px 2px #333;
}

#sub-carrousel{
/*    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;*/
    padding-left:10%;
    padding-right:10%;
    padding-bottom: 50px;
    padding-top: 50px;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

#super-content{
    padding-left: 10%;
    padding-right: 10%;
}

#super-content p img{
    padding: 10px;
}


/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/*     -------------------------------------------------     */

#footer{
    display: flex;
    justify-content: center; /* centre horizontalement */
    align-items: center; /* centre verticalement */
    background-color: rgb(41, 95, 183, 1);
    padding: 5px;
}   

#footer-content{
    font-size: 0.8em;
    color:#E3E8F0; 
    text-align: center;
    line-height: 1.1;
}
