@font-face {
    font-family: Font;
    src: url("https://maxxflix.ddns.net/fonts/static/RobotoSlab-Regular.ttf");
}
/* === STYLE DE LA SCROLLBAR (Chrome, Edge, Safari) === */
::-webkit-scrollbar {
    width: 8px; /* épaisseur de la barre verticale */
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #00000000; /* couleur du fond de la scrollbar */
    border-radius: 8px;
    margin-left: 1px;
}
::-webkit-scrollbar-thumb {
    background-color: #888; /* couleur du "pouce" de la barre */
    border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* couleur au survol */
}


*{
    margin: 0;
    padding: 0;
    font-family: Font;
    color: rgb(226, 240, 225);
}
html{
    width: 100%;
    height: 100%;
}
body{
    background-color: rgb(8, 10, 9);
}
input, textarea{
    padding: 10px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
}
header{
    z-index: 1000;
    backdrop-filter: blur(15px);
    background-color: rgb(24, 24, 24, 0.8);
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;    
    gap: 10px;
    align-items: center;
    padding-left: 20px;
}
button, a {
    -webkit-tap-highlight-color: transparent; /* Supprime la surcouche bleue */
    outline: none;
}
button:focus, a:focus {
    outline: none;
    box-shadow: none;
}
button{
    display: flex;
    align-items: center;      /* aligne verticalement le contenu */
    justify-content: center;  /* centre horizontalement */
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    background-color: rgb(110, 160, 95);
    color: white;
    cursor: pointer;
    transition: 0.1s;
}
button:hover{
    cursor: pointer;
}
/* Effet quand on clique */
button:active {
 /* assombrissement */
  transform: scale(0.95); /* petit effet “pressé” */
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.3); /* ombre intérieure */
}
.nav_bar_button{
    padding: 0 10px 0 10px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0);
    white-space: nowrap;
}
#nav_bar_home:hover{
    background-color: rgb(110, 160, 95);
}
.nav_bar_button:hover{
    background-color: aliceblue;
    color: black;
}
@media (max-width:480px){
    header{
    display:flex;
    overflow-x: scroll;
    position: fixed;
    top: 0;
    width: 100%;    
    gap: 10px;
    align-items: center;
}
}
/*Overlay pour installer l'app*/

#install-overlay {
    position: fixed;
    inset: 0;
    display: none;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    z-index: 1001;
}
.install-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgb(36, 36, 36);
    border-radius: 16px;
    padding: 2em;
    text-align: center;
    width: 300px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/*notifs*/
.notif {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.85);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 16px;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.notif.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.hidden {
    display: none;
}
