*{
    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;
    --darkmode-hover-1: #00000033;
    --darkmode-hover-2: #ffffff33;
}
/* Section pour le changement au Dark Mode */
.dark-theme{
    --darkmode-w: #fff;
    --darkmode-b: #081b29;
    --darkmode-hover-2: #00000033;
    --darkmode-hover-1: #ffffff33;  
}



/* -------------------- 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/city.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: var(--primary-color);
    text-decoration: none;
    font-size: 16px;
}
    /* Barre de selection pour menu */
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: var(--the-orange);
    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: 72px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 20px;
    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 var(--the-orange);
    background: var(--the-orange);
    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: var(--the-orange);
        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: var(--primary-color);
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    /*  */
    .nav-links ul{
        padding: 30px;
    }
}



/* ----------------- Available Servers, deuxieme section de la page Principale ----------------- */

.servers{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    color: var(--darkmode-b);
}
h1{
    font-size: 36px;
    font-weight: 600;
}
p{
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}
    /* Section avec les colonnes 1,2,3 */
.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
.row img{
    max-width: 50vh;
    background-position: center;
    background-size: cover;
    position: relative;
}
.row2{
    margin-top: -4%;
    display: flex;
    justify-content: space-between;
}
.row2 img{
    max-width: 50vh;
    background-position: center;
    background-size: cover;
    position: relative;
}
.servers-col{
    flex-basis: 31%;
    background: #fa716759;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 10px;
    box-sizing: border-box;
    transition: 0.5s;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.servers-col:hover{
    box-shadow: 0 0 20px 0px var(--darkmode-hover-2);
}

    /* Section de support small screen pour les colonnes 1,2,3 */
@media(max-width: 700px){
    .row{
        flex-direction: column;
    }
    .row2{
        flex-direction: column;
    }
    /* scale down des images dans les colonnes */
    .row img{
        max-width: 35vh;
    }.row2 img{
        max-width: 35vh;
    }
    /* Scale up de l'espace entre les 2 colonnes de 3 */
    .row2{
        margin-top: 1%;
    }
}

    /* Section pour les transitions des colonnes apparaissant */
.hidden{
    opacity: 0;
    transition: all 1s;
    transform: translateX(-100%);
    filter: blur(5px);
}
@media(prefers-reduced-motion) {
    .hidden{
        transition: none;
    }
}
.show{
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

/* ----------------- Section en bas de page (footer) About/Contact ----------------- */

.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
    color: var(--darkmode-b);
}
.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}