/* -------------------------------------------------------------------------------------------CSS Reset------------------------------------------------------------------------------------------- */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background:linear-gradient(rgb(5, 65, 111), rgb(75, 4, 94))
}

/* -------------------------------------------------------------------------------------------Tout mes titres------------------------------------------------------------------------------------------- */

h1{
    float: none;
    text-align: center;
    font-size: 12em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* -------------------------------------------------------------------------------------------Menu principal------------------------------------------------------------------------------------------- */
nav{
    z-index: 100;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

/* -------------------------------------------------------------------------------------------Enlever les puces-------------------------------------------------------------------------------------------     */

nav ul{
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style-type: none;
}

/* -------------------------------------------------------------------------------------------Menu------------------------------------------------------------------------------------------- */

nav li{
    background-color: rgb(38, 99, 156);
    align-content: center;
    position: relative;
    flex-grow: 1;
    width: 20%;
}

nav li:hover{
    background-color: rgb(68, 139, 205);
}

nav li a{
    text-decoration: none;
    display: flex;
    padding: 15px;
    font-size: 14px;
    color: black;
    font-weight: bolder;
    border-bottom: 2px solid  rgb(1, 183, 255);
    justify-content: center;
}

nav li a:hover{
    color: white;
    background-color: rgb(1, 183, 255);
}

/* -------------------------------------------------------------------------------------------Bouton d'accueil------------------------------------------------------------------------------------------- */

nav li a.main{
    color: rgb(255, 255, 255);
    background-color: rgb(18, 45, 71);
}

nav li a.main:hover{
    color: black;
    background-color: rgb(38, 99, 156);
}

/* -------------------------------------------------------------------------------------------Menu déroulant------------------------------------------------------------------------------------------- */

nav li ul{
    display: none;
    position: absolute;
    z-index: 100;
    width: 100%;
}

/* -------------------------------------------------------------------------------------------Apparition menu déroulant------------------------------------------------------------------------------------------- */

nav ul li:hover ul{
    display: flex;
    display: block;
    flex-direction: column; 
}

ul li ul li{
    width: 100%;
}

.icon{
    color: black;
    font-size: 1.2em;
    padding-right: 0.3em;
}

.iconmini{
    color: black;
    font-size: 0.8em;
}

.header{
    width: 100%;
    border-bottom: 2px solid rgb(1, 183, 255);
}

/* -------------------------------------------------------------------------------------------Le bas de la page------------------------------------------------------------------------------------------- */

footer{
    display: flex;
    position: relative;
    justify-content: space-around;
    box-sizing: border-box;
    background-color: rgb(38, 99, 156);
    padding: 3em;
    margin-top: 0.8em;
    border-top-left-radius: 7em;
    border-top-right-radius: 7em;
    box-shadow: inset;
    box-shadow: rgba(50, 50, 93, 0.8) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.8) 0px 18px 36px -18px inset;
}

footer div{
    padding: 0.7em 0;
    font-size: 3em;
    color: white;
}

.social-icons{
    display: flex;
    align-self: center;
    list-style: none;
    text-align: right;
}

.social-icons li{
    margin-left: 1em;
    font-size: 3em;
    border-radius: 100%;
    transition: .7s;
}

.social-icons a{
    display: block;
    padding: 20px;
    color: white;
}

.social-icons li:hover{
    transform: translateY(-10px);
}

/* --------------------Discord-------------------- */

.social-icons li:nth-child(1){
    background-color: #5165f6;
}

.social-icons li:nth-child(1):hover{
    box-shadow: 0px 0px 10px 10px #5165f6;
}

/* --------------------YouTube-------------------- */

.social-icons li:nth-child(2){
    background-color: #CD201F;
}

.social-icons li:nth-child(2):hover{
    box-shadow: 0px 0px 10px 10px #CD201F;
}

/* --------------------Kickstarter-------------------- */

.social-icons li:nth-child(3){
    background-color: #2ADE71;
    padding-left: 5px;
    padding-right: 5px;
}

.social-icons li:nth-child(3):hover{
    box-shadow: 0px 0px 10px 10px #2ADE71;
}

/* --------------------Steam-------------------- */

.social-icons li:nth-child(4){
    background-color: #071843;
    padding-left: 3px;
    padding-right: 3px;
}

.social-icons li:nth-child(4):hover{
    box-shadow: 0px 0px 10px 10px #071843;
}

/* --------------------PayPal-------------------- */

.social-icons li:nth-child(5){
    background-color: #258FC1;
    padding-left: 7px;
    padding-right: 7px;

}

.social-icons li:nth-child(5):hover{
    box-shadow: 0px 0px 10px 10px #258FC1;
}