/* On supprime les marges inutiles */
html, body {
  margin : 0; padding: 0;
  font-family: 'Lato', arial, sans-serif;
}

header {
  #background-color: #ff896b;
  background-image: url(img/bandeau_haut.png);
  background-repeat: no-repeat;
  background-position: center;
  #padding:20px;
  color: white;
  #margin-bottom: 10px;
  height:300px;
}

nav {
  float: right;
  padding-top: 10px;
}

nav li a {
  color: #ebe6e6;
  text-decoration: none;
}
nav li a:hover {
  color: #f5f5f5;
}

nav #active a {
  color: white;
}

nav ul, #footer-links ul {
  list-style-type: none;
  margin: 0;
  padding: 0
}

nav li, #footer-links li {
  margin: 0 5px;
  display: inline-block;
}

section 
footer {
  border-top: 1px solid #f0f0f0;
  padding: 50px 30px;
  
  font-size: .8em;
  margin-top: 30px;
}

footer #footer-links {
  float: right;
  text-align: right;
  padding-top: 20px;
  color: #00a3be;
}

footer #footer-links p {
  margin-top: 0;
  padding-right: 5px;
}

footer #footer-links a {
  color: silver;
  text-decoration: none;
}
footer #footer-links a:hover {
  color: grey;
}

h1 {
  font-family: 'Merriweather', serif;
  margin-top: 25x;
 
 
}

#top-3 {
  text-align: center;
  #color: 00a3be;
  
}

#corps {
	display: inline-block
}

#entete {
   width:100%;
   color: #ffffff;
   background-color: #00a3be;
   padding-top: 5px;
   padding-bottom: 5px;
   margin-top: 10px;
  
}

#gauche {
   width: 58%;
   color: #00a3be;
   background-color: #ffffff;
   float: left;
   text-align: justify;
   padding: 5px;
   font-size: 20px;
   margin-top: 10px;
}

#gauche_gite {
   width: 55%;
   color: #00a3be;
   background-color: #ffffff;
   float: left;
   text-align: justify;
   padding: 5px;
   font-size: 15px;
   margin-top: 10px;
   margin-right: 5px;
}

#droit {
   width: 40%;
   color: #ffffff;
   background-color: #ffffff;
   float: right;
   overflow: auto;
   padding: 5px;
   margin-top: 10px;
}

#droit_contact {
   width: 38%;
   color: #ffffff;
   background-color: #ffffff;
   float: right;
   overflow: auto;
   padding: 5px;
   margin: 10px;
   font-size: 25px;
 
}

#droit_gite {
   width: 40%;
   color: #00a3be;
   background-color: #ffffff;
   float: right;
   overflow: auto;
   padding: 5px;
   font-size: 15px;
   text-align: justify;
   margin-top: 10px;
}		

/* On englobe notre site dans un container et on le centre */
.container {
  width: 1200px;
  margin: 0 auto;
}


@media all and (max-width: 1200px) {
  
  .container {
    width: 100%;
  }
  
}

@media all and (max-width: 560px) {
  
  .container {
    width: 100%;
  }
  
}

@media all and (max-width: 360px) {
  
  /* Header */
  header .container { text-align: center; }
  nav { float: none; }
  
  /* Footer */
  footer .container { text-align: center; }
  footer #footer-links { float: none; text-align: center; }
}

.imagecentre
{
	display: block;
	margin: auto;
	border-radius: 5px;
}

.imageflottanteleft
{
	float: left;
	border-radius: 5px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-top: 20px;
}

.imageflottanteright
{
	float: right;
	border-radius: 5px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-top: 20px;
}

/* Caroussel */

.carousel-container {
	  box-sizing: border-box;
      margin: auto;
      padding: 0;
      width: 350px;
      height: 466px; /* 2 images visibles à la fois (2 × 233px) */
      overflow: hidden;
      border: 2px solid #ccc;
      border-radius: 5px;
	  
    }

    .carousel-track {
      display: flex;
	 
      flex-direction: column;
	  animation: scroll 80s linear infinite;
    }

    .carousel-track img {
	  justify-content: center;
      align-items: center;
      width: 100%;
      height: 233px;
      object-fit: cover;
      flex-shrink: 0;
    }

    @keyframes scroll {
      0% {
        transform: translateY(0);
      }
      100% {
        transform: translateY(-2330px); /* 10 images x 233px */
      }
    }

/* Fin de Caroussel */

/* Formulaire de contact */
input[type=text], textarea, input[type=email] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  margin-right: 0px;
  margin-left: 0px;
  resize: vertical;
}
label{margin-right: 0px;
  margin-left: 0px;
  width: 100%;}

input[type=submit] {
  background-color: #00a3be;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #1872D9;
}

.container_contact {
  /* Ajouter box-sizing */
  box-sizing : border-box;
  border-radius:5px;
  background-color:#f2f2f2;
  padding:20px;
  width: 100%;
  /* redéfinition 400 + 2*20 */
  max-width: 440px;
  margin:0 auto;
  text-align: left;
}
/*h1  {
  color: #ffc800;
  width: 100%;
}*/