@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Oswald', sans-serif;
    /*background-color: ivory;*/
    background: linear-gradient(#f8db9b,white);
}

header {
    height: 350px;
    /*background-color: burlywood;*/
    background-image: url(images_site/image_en_tete_3.jpg);
    background-position: center fixed;
    background-size: cover;
    text-align: center;
}

header nav {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    justify-content: space-between;
}

header nav a {
    color: black;
    text-decoration: none;
    margin-right: 10px;
    font-size: 20px;
}

header nav a:hover{
    color: blue;
    border-bottom: 1px solid blue;
}

header .titre {
    margin-top: -20px;
}

header .titre h1 {
    font-size: 60px;
    color: white;
    text-shadow: black 0.3em 0.3em 0.6em;
}

header .titre h4 {
    margin-top: -50px;
    padding: 20px;
    font-size: 30px;
    color: white;
    text-shadow: black 0.2em 0.2em 0.4em;
}

h2 {
    padding-left: 30px;
    font-size: 40px;
}

h4 {
    font-size: 30px;
}

p {
    font-size: 20px;
}

.studio {
    display: flex;
    flex-wrap: wrap;
    padding: 30px;
}

.studio .description {
    width: 40%;
    margin-right: 10px;
    margin-top: -40px;
}

/* Conteneur d'images */

.slideshow-container {
    max-width: 50vw;
    max-height: 60vh;
    position: relative;
    margin-top: -100px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
  }
  
  .slide {
    display: none;
  }
  
  .slideshow-container .slide img {
    height: 60vh;
    width: auto;
  }
  
  .prev,
  .next {
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
  }
  
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }

/* Tableau des tarifs */

.tarifs {
    padding: 30px;
    margin-top: -40px;
}

.tarifs .tableau-tarifs {
    margin-left: auto;
    margin-right: auto;
    border: 2px solid black;
    border-radius: 5px;
    background-color: black;
}

.tarifs .tableau-tarifs td {
    border: 1px solid black;
    background-color: rgb(250, 241, 219);
    vertical-align: center;
    text-align: center;
    width: 100px;
    height: 50px;
}

/* Formulaire de contact et réservation */

.reservation {
    display: flex;
    flex-wrap: wrap;
    padding: 30px;
    margin-top: -30px;
}
.reservation .gauche {
    width: 50%;
    margin-right: 10px;
}
.reservation .gauche form input {
    width: 100%;
}
.reservation .gauche form textarea {
    width: 100%;
    height: 7em;
}
.reservation .gauche form .button-sumit {
    width: 30%;
    display: flex;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}
.reservation .droite iframe {
    display: flex;
    margin-left: 10px;
}

/* Bouton pour remonter en haut de la page */

#scroll_to_top {
    position: fixed;
    width: 30px;
    height: 30px;
    bottom: 30px;
    right: 30px;
}

#scroll_to_top a {
    color: black;
    font-size: 30px;
}

html { 
    scroll-behavior: smooth; 
}

/* Pied-de-page avec contacts */
footer {
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: burlywood;
}
footer div{
    display: flex;
    flex-wrap: wrap;
}

footer div p {
    padding-right: 10px;
}

footer div p a {
    color: black;
    text-decoration: none;
}

footer div p a:hover {
    color: blue;
    border-bottom: 1px solid blue;
}

/* Style version téléphone */

@media screen and (max-width: 810px) {
    header {
        background-position: center top;
        height: 300px;
        background-size: 290%;
    }

    header .titre {
        margin-top: -40px;
    }

    header .titre h1 {
        font-size: 45px;
    }

    header .titre h4 {
        font-size: 17px;
    }

    header nav a {
        font-size: 15px;
        margin-right: 35px;
    }

    header nav .langues {
        margin-right: 0px;
        margin-left: auto;
    }

    h2 {
        font-size: 30px;
    }

    h4 {
        font-size: 20px;
    }

    p {
        font-size: 17px;
    }

    .studio {
        display: flex;
        flex-wrap: wrap;
        padding: 30px;
    }
    
    .studio .description {
        width: 100%;
        margin-right: 10px;
        margin-top: -40px;
    }

    /* Formulaire de réservation */

    .reservation {
        display: flex;
        flex-wrap: wrap;
        padding: 30px;
        margin-top: -30px;
    }
    .reservation .gauche {
        width: 100%;
        margin-right: 10px;
    }
    .reservation .gauche form input {
        width: 100%;
    }
    .reservation .gauche form textarea {
        width: 100%;
        height: 7em;
    }
    .reservation .gauche form .button-sumit {
        width: 30%;
        display: flex;
        margin-top: 10px;
        margin-left: auto;
        margin-right: auto;
    }
    .reservation .droite iframe {
        display: flex;
        width: 115%;
        margin-left: 10px;
    }

    /* Conteneur d'images */

.slideshow-container {
    max-width: 400px;
    max-height: 300px;
    position: relative;
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
  }
  
  .slide {
    display: none;
  }
  
  .slideshow-container .slide img {
    height: 300px;
    width: auto;
  }
  
  .prev,
  .next {
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
  }
  
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }

    
}