/* variable globale */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
    font-family: 'Gebuk';
    src: url('../font/gebuk.regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body{
    background-color: #fffcf0;
    font-family: 'Poppins', sans-serif;
}


/* OVERLAY LOCALISATION (commun à toutes les pages) */
#overlayLocalisation {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

#overlayLocalisation.visible {
    display: flex;
}

#overlayLocalisation > div {
    background: #fff;
    padding: 24px;
    border-radius: 6px;
    text-align: center;
    max-width: 340px;
    width: 90%;
}



/* HEADER */

header{
    background-color: #FAF0CA;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-height: 86px;
    z-index: 1500;
}

header .contain-logo{
    width: 100%;
}

header .contain-logo{
    width: 50%;
}

header .contain-points a{
    color: #315D8E;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-right: 12px;
    text-decoration: none;
}

header .contain-points a svg{
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

header .contain-points a p{
    margin: 0;
    font-weight: 600;
    font-size: 17px;
    white-space: nowrap;
    margin-top: 3px;
}

/* NAVIGATION */

.navGroup{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 65px;
    background-color: #FAF0CA;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    z-index: 1000;
}

.navGroup ul{
    width: 80%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: 0;
    padding: 0;
}

.navGroup ul li{
    list-style-type: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navGroup ul li a{
    padding: 10px;
}

.navGroup ul li .btn-carte-nav{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(244, 244, 244, 0.5);
    box-shadow: 0px 0px 30.79px -2.93px rgba(151, 16, 196, 0.3);
    backdrop-filter: blur(10.460447311401367px);
    padding: 0;
}

/* MAIN */

main{
    margin-top: 96px;
    margin-bottom: 75px;
}

/* ALERTES */

.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.88rem;
    margin-bottom: 20px;
}

.alert p {
    margin: 0;
}

.alert-info {
    background-color: #eaf3ff;
    border-color: #315D8E;
    color: #1e3d61;
}

.alert-success {
    background-color: #edfbee;
    border-color: #31ae31;
    color: #1c6b1c;
}

.alert-danger {
    background-color: #fff0f0;
    border-color: #f62f2f;
    color: #9b1c1c;
}

.alert-warning {
    background-color: #fff8ec;
    border-color: #F28B2F;
    color: #7a4a0a;
}

/* Messages inline statut épreuve */

.message-info {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    background-color: #eaf3ff;
    border-left: 4px solid #315D8E;
    color: #1e3d61;
    margin: 8px 0;
}

.message-warning {
    background-color: #fff8ec;
    border-color: #F28B2F;
    color: #7a4a0a;
}

.message-success {
    background-color: #edfbee;
    border-color: #31ae31;
    color: #1c6b1c;
}

/* Erreur inline champ formulaire */

span.error {
    display: block;
    font-size: 0.78rem;
    color: #f62f2f;
    margin-top: 2px;
}

