html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #1D1D26;
    font-family: 'Inter', sans-serif;
    /* utile si on veut gérer le scroll dans les div internes */
}


main {
    flex: 1;
    display: flex;
    flex-direction: column;
}
@media (max-width: 800px) {
    body {
        overflow:auto;
    }
}



body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("/flare/flare.png");
    background-size: cover;
    background-position: center;
    z-index: 9999;
    /* ou tout autre z-index très élevé */
    pointer-events: none;
    /* ⬅️ clé pour permettre les clics à travers */
}
.rowHeader{
    margin-bottom: 2em;
}


.ecartTitle{
    height: fit-content;
    margin-left: 1em;
}

.firstRow{
    margin-bottom: 4em;
}

@media (max-width: 800px) {
    .firstRow {margin-bottom: 1em; }
    .ecartTitle {margin-left: 0;   }
}

.contentHeader{
 display: flex;   
}

.form-deconnect {
    margin: 0;
    display: flex;
}

.logoEnTete {
    width: 6em;
    height: auto;
}

@media (max-width: 800px) {
    .contentHeader {
        display: grid;
        text-align: center;
    } 
    .form-deconnect{display: none;}

    .logoEnTete{
        margin-right: auto !important;
        margin-left: auto !important;
    }   

}

.titleHeader {
    color: white;
    font-size: 2.5em;
    height: fit-content;
    line-height:normal;
}

.subtitleHeader {
    font-size: 1.5em;
    color: darkgray;
}

/* From Uiverse.io by adamgiebl */
.Deconnect-button {
    background: rgb(110, 192, 238);
    color: white;
    padding-left: 1.2em;
    border-radius: 0.9em;
    border: none;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 1.6em -0.6em rgb(60, 157, 164)    ;
    overflow: hidden;
    position: relative;
    height: 2.8em;
    padding-right: 3.3em;
    cursor: pointer;
}

.Deconnect-button .icon {
    background: white;
    margin-left: 1em;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.2em;
    width: 2.2em;
    border-radius: 0.7em;
    box-shadow: 0.1em 0.1em 0.6em 0.2em rgb(60, 157, 164)    ;
    right: 0.3em;
    transition: all 0.3s;
}

.Deconnect-button:hover .icon {
    width: calc(100% - 0.6em);
}

.Deconnect-button .icon svg {
    width: 1.1em;
    transition: transform 0.3s;
    color: rgb(60, 157, 164)    ;
}b

.Deconnect-button:hover .icon svg {
    transform: translateX(0.1em);
}

.Deconnect-button:active .icon {
    transform: scale(0.95);
}


#main-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9998;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.2);
    display: none;
}