html {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center; /* Centre horizontalement */
    background-color: #999;
    box-sizing: border-box;
    overflow: hidden;
}            
body {
    width: 70vw;
    /*height: 100%;*/
    margin: 2px auto;
    padding: 0;
    border: 1px #000 solid;
    font-family: Arial, sans-serif !important;
    background-color: #fff;
    color: #000;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto; /* Ajoute un ascenseur vertical si nécessaire */
}
/* Pour les petits écrans (mobile paysage, etc.) */
@media (max-width: 896px) {
    body {
        width: 100%;
        margin: 0; /* supprime le centrage si non nécessaire */
    }
}
h1 {
    font-size: clamp(1.8rem, 3vw, 3rem) !important;
}
h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.5rem) !important;
}
h3 {
    font-size: clamp(1.4rem, 2vw, 2rem) !important;
}
h4 {
    font-size: clamp(1.2rem, 1.5vw, 1.6rem) !important;
}
h5 {
    font-size: clamp(1.1rem, 1.2vw, 1.4rem) !important;
}
p, a, li, button{
    font-size: clamp(0.8rem, 1vw, 1.2rem) !important;
}
label, select {
    font-size: clamp(0.95rem, 0.9vw, 1.1rem) !important;
}            
.nav-link {
    margin: 0 !important;
    padding: 0 0 0 0.5vw !important;
    color: #ccf !important;
    font-weight: bold;
    font-size: clamp(0.8rem, 1vw, 1.4rem) !important;
}
.nav-link.active, .nav-link:hover {
    color: #fff !important;
    background-color: #212529 !important;
}    
.dropdown-menu {
    background-color: #333 !important;
}
.dropdown-item {
    background-color: #333 !important;
    color: #fff !important;
}
.dropdown-item.active, .dropdown-item:hover {
    background-color: #212529 !important;
}
#pSWd, #pSWd_ios {
    color: #ccf;
    font-weight: bold;
    padding: 0;
    margin: 0 2vw 0 0;
    font-size: clamp(0.8rem, 1vw, 1.4rem) !important;
}
#pSWd:hover, #pSWd_ios:hover {
    color: #fff;
    cursor: pointer;
}
#aIDe, #aIDe_ios {
    color: #ccf;
    font-weight: bold; 
    padding: 0; 
    margin: 0 1vw; 
    font-size: clamp(0.8rem, 1vw, 1.2rem) !important;
}
#aIDe:hover, #aIDe_ios:hover {
    color: #fff;
    cursor: pointer;
}         
#rotate-warning {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: #aaa;
    color: white;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    text-align: center;
}
@media screen and (orientation: portrait) {
    #rotate-warning {
        display: flex;
    }
    body {
        overflow: hidden;
    }
}