*{
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}
body {
    background-color: var(--darkmode-w);
  }
/* -------------------- Variable pour les differentes couleurs -------------------- */
:root{
    --primary-color: #fff;
    --the-orange: #f44336;
    --darkmode-w: #081b29;
    --darkmode-b: #fff;
}
/* Section pour le changement au Dark Mode */
.dark-theme{
    --darkmode-w: #fff;
    --darkmode-b: #081b29;   
}
/* -------------------- Background image -------------------- */

.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/available-servers-background.png);
    background-position: center;
    background-size: cover;
    position: relative;
}

/* -------------------- Barre de navigation -------------------- */

nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 120px;
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}
    /* Barre de selection pour menu */
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
        /* Le temps de la transition */
    transition: 0.5s;
}
        /* Mini transition pour afficher la barre de selection */
.nav-links ul li:hover::after{
    width: 100%;
}

    /* Section pour l'icone du Dark Mode */
#icon{
    filter: invert(1);
    width: 30px;
    cursor: pointer;
}


/* -------------------- Information generale sur la page principale -------------------- */
.text-box{
    width: 90%;
    color: var(--primary-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
    /* Taille du titre info generale */
.text-box h1{
    font-size: 62px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: var(--primary-color);
}
        /* Bouton info generale */
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
            /* Bouton info generale animation 
.hero-btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
}
*/
    /* Cacher Icons "fermer menu" et "menu bars" */
nav .fa{
    display: none;
}

    /* Support pour petit ecran (telephone) de la PAGE PRINCIPALE */

@media(max-width: 700px){
    /* Downsize du titre principale */
    .text-box h1{
        font-size: 20px;
    }
    /* Downsize du logo */
    nav img{
        width: 90px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: absolute;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    /* Afficher les icones "fermer menu" et "menu bars" pour small screen */
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    /*  */
    .nav-links ul{
        padding: 30px;
    }
}

/* -------------------- Section Liste des serveurs -------------------- */

.liste{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    color: var(--darkmode-b);
}
.liste h3{
    font-size: 50px;
}
.liste a{
    color: #0066CC;
}
.liste-col{
    margin-top: 5vh;
    text-align: left;
    flex-basis: 31%;
    background: #fa716759;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 10px;
    box-sizing: border-box;
    transition: 0.5s;
}
