body {
  margin: 0;
  padding: 0;
}

#general {
  max-width: 1600px;
  margin: auto;
}
/*header*/
header {
  position: relative;
  top: 0;
}
#entete {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 100px;
  background-color: beige;
  z-index: 9999;
}
#logo img {
  width: 150px;
}

/*Nav menu header*/
a {
    text-decoration:none;
    color:blue;
    font-weight:bolder;  
}

#sommaire li {
    display:inline-block;
    position: relative;
    background-color:beige;
    margin-left:-40px; 
}

#sommaire li a {
    display:block;
    padding:5px;
    width:130px;
}

#sommaire li a:hover{
    background-color:#fff;
    color:green;
    width:130px;
}

#sommaire li:hover #sub-menu{
    display:block;
    background-color:beige;
    color:green;
}

#sub-menu {
    display:none;
    position: absolute;
    width:130px;
    width:130px;
    height:25px;
}

/*Slider*/
#slider-container {
  position: relative;
  margin:auto;
  margin-top: 100px;
  margin-bottom:50px;
  top: 0;
  height: 450px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: -20px;
  left:-40px;
  display: flex;
  width: 100%;
  height:450px;
  transition-duration: 2s;
  opacity: 0;
}
.slide img {
  display: flex;
  width: 100%;
}
.active {
  transition-duration: 2s;
  opacity: 1;
}
/*mode d'emploi slider*/

.tutoriel {
    z-index:2;
    position: absolute;
    font-size:35px;
    font-weight:bolder;
    left:50%;
    transform:translate(-50%);
    background-color:azure;
    width:450px;
    opacity:1;
    text-align:center;
}
/*Boutons slider*/

#boutons {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  padding: 0;
  margin-top: 400px;
}
#boutons .prev-btn,
.next-btn,
.pause-btn {
  list-style-type: none;
  display: inline-block;
  text-align: center;
  padding-top: 10px;
  width: 120px;
  height: 30px;
  font-weight: bold;
  border: 2px solid black;
  background-color: #f7f5a0;
}
#pausing {
  list-style-type: none;
  display: inline-block;
  text-align: center;
  padding-top: 10px;
  width: 120px;
  height: 30px;
  font-weight: bold;
  border: 2px solid black;
  background-color: #f7f5a0;
}

/*carte et réservation*/
#carte-resa {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap:wrap; 
}
#maCarte {
  position: relative;
  flex-wrap: wrap;
  width: 50%;
  height: 400px;
  border: 1px solid #ebe8e7;
  border-radius: 2px;
  margin-right: 40px;
  z-index: 1;
}

/*Réservation*/
#validation{
    position: relative;
    flex-wrap:wrap; 
}

/*/formulaire*/

#prenom, #nom{
    width: 140px; 
    height: 25px; 
    font-size:16px;
    background-color: beige; 
    color:#000;
    border: 1px solid #f5f5f5;
}

.resa {
    font-size: 18px;
    font-weight: bolder; 
}

#adresse, #velosDispos, 
    {
    width: 200px;
    height:20px;
    font-size:16px;
    background-color: #f6f3f3;
    color:black;
    opacity:1;
    cursor:pointer; 
}

.style:hover{
    font-weight:bolder; 
    font-size: 15px; 
}

/*canvas*/

#canvas {
 position:relative;
  left:0; 
  border: 1px solid #fff;
  z-index:109999;
background-color: #eaf2e5; 
}

/*boutons Resa*/

#reserve, 
#restart, 
#reset{
    border: 2px lightgray solid;
    width: 100px; 
    height:30px; 
    font-size: 16px;
    border-radius: 3px; 
    margin-top: 8px;
    transition:all 0.5s;
    cursor:pointer; 
}

.color:hover{
    background-color: darkgray;
    border: 2px darkgray solid;
    color:white;
    font-size: 15px;
    font-weight: bolder;
}

/*Timer*/

#message-chrono{
    position: relative;
/*    left:90px;*/
    width:840px;
    font-size: 20px;
    font-weight:bolder;
    color:green;
    display: none;
    margin-bottom: 100px;
}
#chrono {
    font-size: 25px;
    font-weight:bolder; 
    color:#fc0a26;
}

/*Footer*/

footer {
  position: relative;
  bottom: 0;
}
#bas-de-page {
  position: fixed;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50px;
  background-color: beige;
  z-index: 9999;
}

/*Partie responsive du site*/

@media screen and (max-width:758px)
{
    #boutons .prev-btn, 
    .next-btn
    {
        width:70px;
        height:20px;
        padding-top:5px;
    }
    #boutons .pause-btn{
        width:70px;
        height:20px;
        padding-top:5px;
    }
    #maCarte {
        position: relative;
        top:-65px;
        margin:auto;
        width:100%;
    }
    
    #formReserve{
        position: relative;
        top:-65px;
    }
}
@media screen and (max-width:458px){
     #boutons .prev-btn, 
    .next-btn{
        width:50px;
        height:15px;
        padding:4px;
    }
    #boutons .pause-btn{
        width:50px;
        height:15px; 
        padding:4px;
    }
}
@media screen and (max-width:386px){
    #boutons .prev-btn, next-btn
  {
        position: absolute;
        display:flex;
        flex-direction:column;

    }
    #boutons .pause-btn{
        position: absolute;
        display:flex;
        flex-direction:column;
    }
    .prev-btn{
        position: absolute;
        top:-50px;
        left:-160px;
    }
    .next-btn{
        position: absolute;
        top:-23px;
        left:-160px;
    }
    .pause-btn{
        position: absolute;
        top:4px;
        left:-160px;
    }

}

