/* Styles pour les petits écrans (mobiles en mode portrait) */
@media screen and (min-width: 100px) and (max-width: 299px){
    .title-h1{
        font-size: small !important;
    }
    .title-h2{
        font-size: smaller !important;
    }

    .title-h3{
        font-size: smaller !important;
    }

    .title-h4{
        font-size: smaller !important;
    }
    .top-text{
        top: 5rem !important;
    }
}

/* Styles pour les petits écrans (mobiles en mode portrait) */
@media screen and (min-width: 300px) and (max-width: 480px) {
    .title-h1{
        font-size: xx-large !important;
    }
    .title-h2{
        font-size: small !important;
    }

    .title-h3{
        font-size: small !important;
    }

    .title-h4{
        font-size: small !important;
    }
    .top-text{
        top: 5rem !important;
        width: 80% !important;
    }
    .box-logo{
        top: 2.2rem !important;
        left: 2rem;
    }
}
/* Styles pour les mobiles en mode paysage */
@media screen and (min-width: 481px) and (max-width: 767px) {
    .box-logo{
        top: 0rem !important;
        left: 20px !important;
        width: 10rem;
        margin-top: 2rem !important;
        margin-left: 1rem !important;
    }
    .logo {
        background-image: url("../images/logoMobile.png");
        width: 5rem !important;
        height: 5rem !important;
    }
    .logo:hover {
        transform: scale(1.1);
        transition: 0.4s ease-in;
    }
    .title-h1{
        font-size: large !important;
    }
    .title-h2{
        font-size: small !important;
    }

    .title-h3{
        font-size: small !important;
    }

    .title-h4{
        font-size: small !important;
    }
    .top-text{
        position: relative;
        top: 8rem !important;
        width: 80% !important;
        margin: 0 auto;
    }
}
/* Styles pour les tablettes en mode portrait */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .logo:hover {
        transform: scale(1.1);
        transition: 0.4s ease-in;
    }
    .title-h1{
        font-size: xxx-large !important;
    }
    .title-h2{
        font-size: x-large !important;
    }

    .title-h3{
        font-size: x-large !important;
    }

    .title-h4{
        font-size: x-large !important;
    }
    .top-text{
        position: relative;
        top: 5rem !important;
        width: 80% !important;
        margin: 0 auto;
    }
}
/* Styles pour les tablettes en mode paysage et ordinateurs portables */
@media screen and (min-width: 1024px) and (max-width: 1439px) {
    .title-h1{
        font-size: x-large !important;
    }
    .title-h2{
        font-size: large !important;
    }

    .title-h3{
        font-size: large !important;
    }

    .title-h4{
        font-size: large !important;
    }
    .top-text{
        position: relative;
        top: 2rem !important;
        width: 80% !important;
        margin: 0 auto;
    }
}
/* Styles pour les ordinateurs de bureau */
@media screen and (min-width: 1440px) and (max-width: 1679px) {
    /* .logo {
        background-image: url("../images/logoDesktop.png");
    } */
    .title-h1{
        font-size: x-large !important;
    }
    .title-h2{
        font-size: large !important;
    }

    .title-h3{
        font-size: large !important;
    }

    .title-h4{
        font-size: large !important;
    }
}
/* Styles pour les grands écrans (ordinateurs de bureau et téléviseurs) */
@media screen and (min-width: 1680px) {
    .box-logo{
        top: -2rem !important;
        left: -260px !important;
        margin-top: 0rem !important;
        margin-left: 1rem !important;
    }

    /* .logo {
    background-image: url("../images/logoDesktop.png");
    } */

    .logo:hover {
        transform: scale(1.1);
        transition: 0.4s ease-in;
    }
}

/*  Règles Générales*/

body{
    background: #001007;
    overflow-x: hidden;
}

.head{
    position: sticky;
    top: 0;
    width: 100vw;
    height: 10vh;
    left: 0vh;
    z-index: 2;
}

main{
    position: relative;
    top: 20vh;
    height: 70vh;
    width: 100%;
}

footer{
    position: fixed;
    height: 10vh;
    left: 90%;
}

.aInfo{
    color: #FFB400 !important;
}


/*  Messages (flashbags) */
.alert{
    z-index: 1;
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20rem;
    min-width: 15rem;
    max-width: 30rem;  
    color: white;
}

.success{
    background: #184A2D;
}

.info{
    background: #0dcaf0;
    color: black !important;
}

.warning{
    background: #8f6608;
    color: black !important;
}

.danger{
    background: #9c0505;
}

/*  Logo  */
.box-logo{
    position: relative;
    width: 10rem;
    margin-top: -1rem;
    margin-left: -5rem;
}

.logo {
    position: relative;
    width: 10rem;
    height: auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.logo:hover {
    transform: scale(1.1);
    transition: 0.4s ease-in;
}


/*  Titres  */
.title-h1{
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Spline Sans Mono', monospace;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2.2rem;
    color: #FFB400;
    word-break: break-all;

}

.title-h1:hover{
    transform: scale(1.1) translate(-50%, -50%);
    transition: 0.4s ease-in;
    word-break: keep-all;
}
.title-h2{
    font-family: 'Spline Sans Mono', monospace;
    font-size: 1.2rem;
    text-align: center;
    color: #8a9790;
    position: relative;
    top: 0rem;
    word-break: keep-all;
}

.title-h3{
    font-family: 'Spline Sans Mono', monospace;
    font-size: 2rem;
    text-align: center;
    color: #FFB400;
    word-break: keep-all;
}

.title-h4{
    font-family: 'Spline Sans Mono', monospace;
    font-size: 1rem;
    text-align: center;
    color: #FFB400;
    word-break: keep-all;
}
.title-h22{
    font-family: 'Spline Sans Mono', monospace;
    font-size: 1rem;
    text-align: left;
    color: #FFB400;
    word-break: keep-all;
}
.top-text{
    position: relative;
    top: 5rem;
    width: 80% !important;
    margin: 0 auto;
}
.spanBoldYellow{
    color: #FFB400 !important;
    font-weight: 600;
}
.textNoWrap{
    white-space: nowrap; /* Empêche le texte de se retourner à la ligne */
    overflow: hidden; /* Masque le texte qui dépasse */
    text-overflow: ellipsis; /* Ajoute les points de suspension (...) pour indiquer la troncature */
}