html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
}

p {
    font-family: 'Nunito', sans-serif, Arial, Helvetica;
    font-weight: normal;
    font-size: 16px;
    word-wrap: break-word;
}

/*CSS du slide*/

#slide_container {
    position: relative;
    width: 80vw;
    height: 400px;
    margin: auto;
}

.slide {
    width: 100%;
    height: 100%;
    display: none;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
}

.active {
    display: block;
}

.slide:nth-child(5) img {
    width: 120%;
}

.slide p {
    position: absolute;
    left: 30%;
    top: 50%;
    margin: auto;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    z-index: 5;
    font-size: 34px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px #000000;
}

#prev {
    position: absolute;
    display: block;
    border-radius: 0 6px 6px 0;
    width: 40px;
    height: 50px;
    top: 50%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 30px;
    z-index: 6;
}

#next {
    position: absolute;
    display: block;
    border-radius: 6px 0 0 6px;
    width: 40px;
    height: 50px;
    top: 50%;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 30px;
    z-index: 6;
}

#pause {
    position: absolute;
    display: block;
    border-radius: 6px 6px 0 0;
    width: 50px;
    height: 40px;
    bottom: 0%;
    left: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 30px;
    z-index: 6;

}

.fa-angle-left {
    padding-top: 10px;
    padding-left: 15px;
    color: white;
}

.fa-angle-right {
    padding-top: 10px;
    padding-left: 10px;
    color: white;
}

.fa-pause {
    padding-top: 5px;
    padding-left: 12.5px;
    color: white
}

.fas.fa-play {
    color: white;
    padding-top: 5px;
    padding-left: 12.5px;
}

@media all and (max-width:992px) {
    #slide_container {
        width: 100vw;
    }

    .slide p {
        left: 20%;
    }
}

@media all and (max-width:550px) {
    .slide p {
        font-size: 18px;
        top: 10%;
        left: 12%;
    }

    #slide_container {
        height: 200px;
    }

    #pause {
        left: 45%;
    }

    .slide:nth-child(1) img {
        width: 100vw;
        height: auto;
        position: absolute;
    }

    .slide:nth-child(2) img {
        left: -520px;
        top: 0;
        width: auto;
        height: auto;
        position: absolute;
    }

    .slide:nth-child(3) img {
        left: -320px;
        top: -100px;
        width: auto;
        height: auto;
        position: absolute;
    }

    .slide:nth-child(4) img {
        right: 0;
        top: 20px;
        width: auto;
        height: auto;
        position: absolute;
    }
}

/*Section Map*/
#map_container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    margin-right: 30px;
    margin-left: 30px;
}

#map {
    margin-top: 50px;
    height: 450px;
    width: 800px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#form_container {
    margin-top: 50px;
    width: 50%;
    max-width: 50%;
    height: 450px;
    background-color: #eeeeee;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    padding: 20px;
}

#intro_form {
    text-align: center;
}

#cursor_svg {
    height: 150px;
    width: 150px;
    margin-top: 50px;
    -webkit-animation-duration: 1s;
    animation-duration: 3s;
    -webkit-animation-name: cursoranim;
    animation-name: cursoranim;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    opacity: 0;

}

#chevron_mobile {
    display: none;
}

@-webkit-keyframes cursoranim {
    from {}

    to {
        opacity: 1;
        margin-right: 200px;
    }
}

@keyframes cursoranim {
    from {}

    to {
        opacity: 1;
        margin-right: 200px;
    }
}

@media all and (max-width:992px) {
    #map {
        width: 100%;
        margin-top: 0;
    }

    #map_container {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    #cursor_svg {
        display: none;
    }

    #chevron_mobile {
        width: 40px;
        height: 40px;
    }


}

/*Section formulaire*/
#info_station {
    display: none;
}

#form_resa {
    display: none;
}

#no_bike {
    display: none;
    background-color: #f74c4c;
    text-align: center;
    width: 80%;
    margin-left: 10%;
    height: 50px;
    font-size: 1.3em;
}

#form_button {
    cursor: pointer;
}

@media all and (max-width:992px) {
    #form_container {
        width: 100%;
        height: auto;
        max-width: 100%;
        margin-top: 0;
    }

    #info_station {
        text-align: center;
    }

    #form_resa {
        text-align: center;
    }
}

/*Section canvas*/
#canvas_container {
    width: 70%;
    height: 450px;
    margin-top: 50px;
    padding: 10px;
    background-color: #eeeeee;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: none;
}

#canvas_div {
    /* div enveloppant le canvas */
    background-color: #eeeeee;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-bottom: 6px solid #eeeeee;
    margin: 0;
    width: 100%;
    height: 60%;
    cursor: crosshair;
}

#canvas_message {
    /* consigne expliquant le canvas */
    background-color: #47b4d1;
    height: 20%;
    margin: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 15px 0 15px;
    text-align: center;
}

#canvas_resa {
    /* canvas */
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    position: relative;
    background-color: white;
    height: 100%;
    width: 100%;
    cursor: crosshair;


}

#canvas_confirm {
    /* boutons submit + clear */
    border-top: 5px solid #eeeeee;
    height: 20%;
    background-color: #eeeeee;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#submit_canvas {
    cursor: pointer;
}

@media all and (max-width:992px) {
    #canvas_container {
        width: 100%;
        margin-top: 0;
    }
}

/*Section reservation*/
#resa {
    text-align: center;
    background-color: grey;
    padding: 20px;
    margin-left: 20vw;
    margin-right: 20vw;
    border-radius: 6px;
    display: none;
}

#no_resa,
#resa_ok {
    display: none;
}

#exp {
    display: none;
}

@media all and (max-width:992px) {
    #resa {
        margin-top: 0px;
        margin-left: 30px;
        margin-right: 30px;
    }
}
