*{
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}
nav{
width: 100%;
margin: 0px auto 40px auto;
background-color: black;
z-index: 1000;
opacity: 1;
position: sticky;
top: 0px;

}
nav li:hover{
    background-color: rgb(255, 255, 255);
}

nav ul{
    list-style-type: none;
    width: 100%;
    position: relative;
    left: 0;
    right: 0;
    padding: 0%;
}
nav li{
    float: left;
    width: 20%;
    text-align: center;
    background-color: rgb(0, 0, 0);
    transition-property: background-color;
    transition-duration: .5s;
    margin-bottom: 38px;
	position:relative;
}
li > .lm{
    display: block;
    text-decoration: none;
    color: rgb(255, 255, 255);
    padding: 10px 0px;
    transition: .5s;
    height: 40px;
}
.lm:hover{
    color: black;
}

.haut{
    display: inline-block;
    vertical-align: middle;
    margin: 0%;
}

.resultats{
    width: 300px;
    display: none;
    background: white;
    position: static;
    height: auto;
}


a{
    color: black;
}
.remerciements{
    background-color: rgb(22, 22, 22);
    color: white;
    width: 100%;
    height: 200px;
    position: relative;
    left: 0;
    bottom: 0px;
    margin: none;
}
#mail{
    color: white;
}
html, body{
    margin: 0;
    padding: 0;
}
.alert{
    position: relative;
    left: 30px;
    background-color: rgb(255, 66, 66);
    padding: 10px;
    top: -15px;
    border-radius: 3px;
    display: inline-block;
}
#fermerAlerte{
    cursor: pointer;
}
.main {
    display: inline-block;
    vertical-align: top;
    position: relative;
    width: 22%;
    margin-left: 30px;
    transition: .3s;
}


.lienalgo{
    color: rgb(62, 130, 255);
    text-decoration: none;
    transition: .3s;
    position: relative;
    font-family: monaco;
}
.lienalgo::before{
    content: "";
    width: 100%;
    height: 0%;
    position: absolute;
    left: 0%;
    bottom: 0%;
    background-color: rgb(62, 130, 255);
    transition: .3s;
    z-index: -1;
    opacity: 1;
}
.lienalgo:hover::before{
    height: 100%;
}
.lienalgo:hover{
    color: rgb(255, 255, 255);
}
.img{
    max-width: 100%;
}
.algo{
    font-family: 'Roboto Mono', monospace;
    transition: .3s;
}
.sous{
    display: none;
    background-color: rgb(0, 0, 0);
    transition: .3s;
	position: absolute;
	width:100%;
	z-index:10000;
	border:none;
}
.deroulant:hover .sous{
    display: block;
}
.lisous{
    float: none;
    width: 100%;
    text-align: center;
    width: 100%;
    border-bottom: none !important;
}
.deroulant:hover .dessin,
.deroulant:hover .jeux{
	color: black !important;
}
.sous > li{
	width: 100%;
    margin-bottom: 0;
    
}
.resp-container { 
  position: relative; 
  overflow: hidden; 
  padding-top: 56.25%; 
}
.resp-iframe { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  border: 0; 
}
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@200&display=swap');
@media screen and (max-width: 1280px){
    .algo{
    font-size: 90%;
}
}
@media screen and (max-width: 1112px){
    .main{
        width: 30%;
    }
    .algo{
    font-size: 100%;
}
}
@media screen and (max-width: 990px){
    .main{
        width: 46%;
    }
    .algo{
    font-size: 100%;
}
}
.jeux, .dessin{
    border: none;
    height: 40px;
}