body{
    background-image: url("img/image_bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    font-family: "Roboto", Arial, sans-serif;
}

header{
    position: fixed;
    background-color: #E70012;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 0px 20px 10px #000000;
}


.links{
    background-color: white;
    border: 6px solid #E70012;
    border-radius: 20px;
    padding: 10px;
    position: fixed;
    top: 200px;
    left: 50%;      /*Positionne le bord gauche du bloc au milieu de l'écran*/
    transform: translateX(-50%);        /*corrige la position pour etre vraiment au milieu de l'écran*/
    display: flex;      /*Pour utiliser le justify-content*/          
    justify-content: center;        /*Toutes les images sur une ligne centrée*/
    flex-wrap: wrap; /*adapts to the screen's shape*/                  
}


.links a img{
    margin: 0 5px 0 5px;
    width: 200px;
}


.links a:hover{
    box-shadow: 0 0 20px 10px #000000;
}



.socials{
    position: fixed;
    top: 200px;
    background-color: #E70012;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 10px 3px #000000;
}

.socials a img{
    width: 70px;
}

.socials a:hover{
    box-shadow: 0 0 20px 10px #000000;
}

.media-scroller{
    position: relative;
    top: 570px;
    display: grid;
    gap: 35px;
    grid-auto-flow: column;
    grid-auto-columns: 21%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    align-items: center;
}

.media-element{
    display: grid;
    border-radius: 20px;
    padding-bottom: 10px;
}


.media-element img{
    width: 300px;
    box-shadow: 0px 0px 10px 3px #000000;
}

.media-element img:hover{
    z-index: 5;
    width: 400px;
    display: flex;
}

footer{
    background-color: white;
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 50px;
    box-shadow: 0px 0px 20px 2px #000000;
    text-align: left;
}

footer p{
    border: 2px solid;
    border-radius: 5px;
    position: fixed;
    padding: 4px;
    font-size: auto;
    left: 10px;
    font-weight: bold;
}

footer p a{
    color: #000000;
    text-decoration: none;
}