header{

    position: relative;
    display: flex;
    flex-wrap: nowrap;

    width: 100%;
    height: 80px;

    background-color: rgb(70, 70, 255);

    font-family:  fantasy;
    font-weight: 650;
}

header h1{
    padding-top:10px;
    margin-left: 100px;
    font-size: 25px;
}

body{

    position: relative;

    width: 100%;
    height: 90%;

    font-family: fantasy;

    color: white;

    background-color: midnightblue;
}

.menu_deroulant img {

    position : fixed;

    border: none;
    color: white;
    text-decoration: none;

    cursor: pointer;
    width: 50px;
    height: 50px;

    top: 20px;
    left: 30px;
}

.menu_deroulant{
    position: relative;
    display: inline-block;
}

.menu_deroulant ul{

    display: none;
    position: fixed;

    padding-top: 15px;
    top: 38px;
    left: 8px;

    width: 200px;
    height: 200px;

    text-decoration: none;
    list-style: none;

    color: rgb(255, 255, 255);
    background-color: rgba(62, 80, 238, 0.579);

    z-index: 1;

    font-size: 20px;
    line-height: 40px;
    text-transform: uppercase;
}

  .menu_ul a{
    position: relative;

    text-decoration: none;
    color: white;
    display: block;
}

  .menu_ul a::after{

    content: "";

    position: absolute;
    top: 100%;
    left: 0;

    height: 2px;
    width:0;

    background:white;

    transition: width 1s;
}

.menu_ul a:hover:after{
    width: 50%
}

.menu_deroulant:hover .menu_ul{
    display: block;
}

.menu_ul p{
    text-transform: none;
    font-size: 13px;
}

.menu_ul li{
    margin-left: 30px;
}


/* ------------------------------------------------------------------------------------------------------------------------- */

hr{
    color: white;
    opacity: 80%;
}

.s2{

    position: relative;
    display:none;
}

h1{
    margin-left: 20px;
}

.s1 li{

    position: relative;
    display: inline-block;
    margin-top: 50px;
    margin-left: 40px;

    width: 400px;
    height: 200px;

    text-align: center;

}

.s1 li p{

    position: absolute;

    width: 100%;
    height: auto;

    padding-top: 50px;

    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;

    font-size: 2em;

    z-index: 1;
}

.s1 li img{

    position: absolute;

    top: 0;
    left: 0;

    border-style: solid;
    border-width: 5px;
    border-color: rgb(70, 70, 255);

    width: 400px;
    height: 200px;
    object-fit: cover;
    opacity: 55%;

    z-index: -1;
}

.s1 a{
    text-decoration: none;
    color: white;
}

.s1 a::after{

    content: "";

    position: absolute;
    top: 100%;
    left: 0;

    height: 2px;
    width:0;

    background:white;

    transition: width 1s;
}

.s1 a:hover:after{
    width: 100%
}


/* ------------------------------------------------------------------------------------------------------------------------- */

footer{
    position: relative;
    height: 150px;
    text-align: center;
    margin-top: 50px;
}

.liens_footer{

    position: relative;

    display: inline-block;
    align-items: center;

    height: 100px;
    width: 150px;

    letter-spacing: 1px;
    line-height: 30px;

    list-style: none;
}

.liens_footer a{
    text-decoration: none;
    color: white;
}

.liens_footer a:hover{
    color: salmon;
}

#bouton_accueil{

    position: relative;
    display: inline-block;

    height: 50px;
    width: 60px;

    top: -20px;
    left: 10px;
}

#bouton_accueil img{

    height: 50px;
    width: 60px;

}