/*
    SOMMAIRE
        POLICE ET CORP DE PAGE
        MENU
        SLIDER
        AFFICHAGE CARTE ET FORMULAIRE
        RESERVATION PARTI DROITE DE LA CARTE
        CANVAS
        TIMER
*/
/*POLICE ET CORP DE PAGE*/
@font-face {
    font-family: 'Londrina Sketch';
    src: url('../fonts/LondrinaSketch-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}
body {
	width: 100%;
    background-color: rgb(132, 59, 71);
   
    
   
    font-family: script;
    color: black; 
    margin: auto; 
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
/*MENU*/
header {   
    width: 100%;
    position: fixed;
    border-bottom: 1px solid #5fa7c2;
    z-index: 100;
    
}
.menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    background-color: rgb(0, 47, 255);
    
    
    
    z-index: 20;
}
#logo {
    width: 100%;
    border-radius: 60px;
    opacity: 0.8;
}
.menu a {
    text-decoration: none;
    color: pink;
    margin-top: 10px;
    width: 15%;
}
.menu ul {
    display: flex;
}
.menu li {
    border-top: 2px solid white;
    padding-top: 10px;
}
.menu li:hover {
    border-top: 2px solid rgb(218, 79, 195);
}
header p {
    width: 10em;
    margin-top: 8px;
    margin-bottom: 0;
}
h1 {
    font-family: 'Londrina Sketch';
    font-size: 50px;
    color: pink;
    font-weight: bolder;
}
a {
    text-decoration: none;
}
.menu li {
    width: auto;
    font-size: 15px;
    font-family: script;
    color: blue;
    font-weight: bolder;
}
/* SLIDER */
#slider {
    width: 80%;
    height: 100%;
    position: relative;
    top: 170px;
    border-radius: 8px 8px 8px 8px;
    margin: auto;
    margin-top: 10px;
    border: 2px solid black;
}
.slide{
    overflow: hidden;
    display: none;
}
.titleSlider {
    background-color: white;
    width: 100%;
    height: 20%;
    border-bottom: 2px solid #5C7FF8;
    margin: auto;
    z-index: 5;
    font-size: 24px;
    font-weight: bold;
    color: black;
    text-shadow: 2px 2px 2px #ABBCF6 ;
    visibility: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slideText span  {
  color: rgb(0, 47, 255);
}
.slide img {
    width: 100%;
}
#previousSlide {
    position: absolute;
    display: block;
    width: 40px;
    height: 50px;
    border-radius: 0 6px 0px 0;
    background-color: rgba(0, 0, 0, 0.3);
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
    font-size: 30px;
    z-index: 2;
}
#controls {
    bottom: 0;
    position: absolute;
    width: 100%;
    height: 50px;
    z-index: 50;
}
#paused {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    border-radius: 6px 6px 0 0;
    width: 100px;
    height: 50px;
    bottom: 0;
    background-color: rgba(0,0,0,0.3);
    font-size: 22px;
    z-index: 1;
}
#play {
    background-color: rgb(0,0,0);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    border-radius: 6px 6px 0 0;
    width: 100px;
    height: 50px;
    bottom: 0;
    background-color: rgba(0,0,0,0.3);
    font-size: 22px;
    z-index: 1;
}
#nextSlide {
    position: absolute;
    display: block;
    border-radius: 6px 0 0 0px;
    width: 40px;
    height: 50px;
    bottom: 0;    
    right: 0;
    background-color: rgba(0,0,0,0.3);
    font-size: 30px;
    z-index:1;
}
#previousSlide:hover , #nextSlide:hover, #paused:hover, #play:hover {
    background-color: rgb(0,0,0);
}
.fa, .far, .fas {
    font-family: "Font Awesome 5 Pro";
    position: absolute;
    font-size: 30px;
}
.fa-angle-left {
    margin-top: 25%;
    margin-left: 25%;
    color: white;
}
.fa-pause, .fa-play{ 
    color: white;
    margin-left: 36%;
    margin-top: 10%;
}
.fa-angle-right {
    margin-top: 25%;
    margin-left: 30%;
    color: white;
}
/*AFFICHAGE CARTE ET DETAILS STATIONS*/
#formDisplay {
    position: relative;
    top: 200px;
    width: 100%;
    height: auto;
    z-index: 2;
}
#mapReservation {
    display: flex;
    flex-wrap: nowrap;
    min-height: 600px;
    height: auto;
    width: 100%;
}
#backgroundMap {
    width: 100%;
    background-color: #63b2d3;
    border-radius: 20px;
}
#myMap {
    position: relative;
    height: 100%;
    width: 100%;
    opacity: 0.8;
    border-radius: 20px;
    z-index: 1;
}
/* SECTION RESERVATION PARTI DROITE DE LA CARTE*/
#reservation {
    width: 100%;
    text-align: center;
    
}
#detailsStation {
    padding: 10px;
    text-align: center;
    border: 2px solid black;
    border-radius: 20px;
    margin: 20px;
    margin-top: 0;
    margin-bottom: 5px;
    background-color: rgb(226, 218, 222);
}
#detailsStation strong {
    color: blue;
    font-size: 15px;
}
h3 {
    color: blue;
    font-size: 20px;
    margin: 10px;
}
ul {
    text-align: start;
    list-style-type: none;
}
#noBike {
    display: none;
    color: red;
    font-weight: bold;
}
#reserveButton:hover, #validationButton:hover,#clearButton:hover , #validateButton:hover, #deleteStorageButton:hover  {
    background-color: #686868;
}
#reserveButton, #validationButton {
    margin: auto;
    max-width: 100px;
    display: block;
    background-color: #DFDFDF;
    border: 1px outset black;
    border-radius: 5px;
    color: black;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 255, .2);
}
#clearButton, #validateButton {
    padding-left: 10px;
    padding-right: 10px;
    background-color: #DFDFDF;
    border: 1px outset black;
    border-radius: 5px;
    color: black;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 255, .2);
}
#deleteStorageButton { 
    margin: auto;
    margin-top: -25px;
    margin-bottom: 10px;
    max-width: 230px;
    display: block;
    background-color: #DFDFDF;
    border: 1px outset black;
    border-radius: 5px;
    color: black;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 255, .2);
}
#reserveButton p, #validationButton p, #clearButton p, #validateButton p, #deleteStorageButton p {
    margin : auto;
    padding: 3px;
}
#form {
    display: none;
    text-align: center;
    padding: 10px;
    border: 2px solid black;
    border-radius: 20px;
    margin: 20px;
    margin-top: 0;
    margin-bottom: 0;
    background-color: rgb(226, 218, 222);;
}
label {
    color: blue;
    font-size: 15px;
}
/* CANVAS */
#signature {
    display: none;
}
#canvas {
    width: 200px;
    height: 100px;
    border: 1px solid rgb(96, 61, 61);
    background-color: white;
}
#canvasButton {
    max-width: 250px;
    margin: auto;
}
/* TIMER */
#timer {
    display: none;
    text-align: center;
    border: 2px solid;
    position: relative;
    width: auto;
    height: auto;
    top: 8px;
    width: 80%;
    margin: auto;
    margin-bottom: 10px;
    border-radius: 20px;
    background-color: rgb(226, 218, 222);
}
#warning {
    font-size: 20px;
    display: none;
    position: relative;
    top: -25px;
    color: red;
}
#deleteStorage {
    position: relative;
    top: -20px;
}
#end {
    top: 90px;
    position: relative;
}