html{
    scroll-behavior: smooth;
}
body{
    font-family: 'Advent Pro', sans-serif;
    padding: 0;
    margin: 0;
}

/****************Header*****************/

    *{
        margin: 0px;
        padding: 0px;
        font-family: Verdana, Geneva, sans-serif;
    }
    
    #logo {
        width: 60px;
        height:60px;
        position: relative;
        padding-right: 450px;
        margin: 5px;
        vertical-align: middle;

    }

    nav{
        width: 100%;
        margin: 0 auto;
        background-color: white;
        position: relative;
        top: 0px;
        border: 2px solid #ccc;
        font-size: 15px;
        line-height: 4;

    }
    
    nav ul{
        list-style-type: none;
    }
    
    nav ul li{
        float: left;
        width: 20%;
        text-align: center;
        position: relative;
    }
    
    nav ul::after{
        content: "";
        display: table;
        clear: both;
    }
    
    nav a{
        display: block;
        text-decoration: none;
        color: black;
        border-bottom: 2px solid transparent;
        padding: 10px 0px;
    }
    
    nav a:hover{
        color: orange;
        border-bottom: 2px solid gold;
    }
    
    .sous{
        display: none;
        box-shadow: 0px 1px 2px #CCC;
        background-color: white;
        position: absolute;
        width: 100%;
        z-index: 1000;
    }
    nav > ul li:hover .sous{
        display: block;
    }
    .sous li{
        float: none;
        width: 100%;
        text-align: left;
    }
    .sous a{
        padding: 10px;
        border-bottom: none;
    }
    .sous a:hover{
        border-bottom: none;
        background-color: RGBa(200,200,200,0.1);
    }
    .deroulant > a::after{
        content:" ▼";
        font-size: 12px;
    }
    
    .conteneur{
      margin: 50px 20px;
      height: 1500px;
    }
/****************slide********************/
  
  /* Position the image container (needed to position the left and right arrows) */
  .container {
    position: relative;
  }
  
  /* Hide the images by default */
  .mySlides {
    display: none;
  }
  
  /* Add a pointer when hovering over the thumbnail images */
  .cursor {
    cursor: pointer;
  }
  
  /* Next & previous buttons */
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* Container for image text */
  .caption-container {
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: white;
  }
  
  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* Six columns side by side */
  .column {
    float: left;
    width: 25%;
  }
  
  /* Add a transparency effect for thumnbail images */
  .demo {
    opacity: 0.6;
    height: 250px;
  }
  
  .active,
  .demo:hover {
    opacity: 1;
  }

  #slides{
      width: 100%;
      max-width: 100%;
  }

/****************section1***************/

/* section#info{
    text-align: center;
    background-color: none;
    margin: 0;
    padding-top: 1px;
    height: auto;
    padding-left: 4px 
}
section h2#inf{
    font-family: sans-serif;
    font-size: 2em;
    color: darkred;
}

p{
    margin: 20px 100px;
} */

/* button */
button{
    margin-top:-25px;
    padding: 2px;
} 

a:link 
{ 
 text-decoration: none; 
} 

.styled {
    border: 0;
    line-height: 2;
    padding: 0 20px;
    font-size: 1rem;
    text-align: center;
    text-shadow: 1px 1px 1px black;
    border-radius: 10px;
    background-image: linear-gradient(to top left,
                                      rgba(0, 0, 0, .2),
                                      rgba(0, 0, 0, .2),
                                      rgba(0, 0, 0, .2));
    box-shadow: inset -2px -2px 3px rgba(0, 0, 0, .6),
                inset -2px -2px 3px rgba(0, 0, 0, .6);
}

.styled:hover {
    color: black;
    background-color: gray;
}

.styled:active {
    box-shadow: inset -2px -2px 3px rgba(255, 255, 255, .6),
                inset 2px 2px 3px rgba(0, 0, 0, .6);
}


/* bloc de text */

.conteneur-flexible{
    display: flex;
    font-size: 20px;
    box-sizing: border-box;
    margin: 10px 0px;
    height: 500px;
}
.ligne{
    flex-flow: row wrap;
}
.colonne{
    flex-flow: column wrap;
}
.element-flexible{
    flex-basis: 20%;
    flex-grow: 1;
    flex-shrink: 0;
    background-color: white;
    padding: 10px 0px;
    text-align: center;
    border: 2px solid black;
    box-sizing: border-box;
    margin: 5px;
}

h2{
    text-align: center;
}

/****************section2***************/

#choice{
    text-align: center;
    background-color: gray;
}

#trait{
    height: 3px;
    width: 15%;
    margin: 50px  auto;
    background-color: black;
}

img{
    height: 400px;
    width: 350px
}

figure {
    position: relative;
    display: inline-block;
    overflow: hidden;
    margin: 0;
}
img, figcaption {
    transition: all .25s ease;
}

figcaption {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: .5em;
    background: #000;
    background: rgba(0, 0, 0, .75);
    color: #fff;
    opacity: 0;
}

figure:hover figcaption {
    opacity: 1;
}

.zoom div img {
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.zoom div:hover img {
	-webkit-transform: scale(1.3);
	transform: scale(1.3);
}

/*****************footer****************/

 footer {
    background-color: #916359 ;
    height: auto;
}
  fieldset {
    margin-bottom: 15px;
    padding: 10px;
  }
   
  legend {
    padding: 0px 3px;
    font-weight: bold;
    font-variant: small-caps;
  }
   
  label {
    width: 110px;
    display: inline-block;
    vertical-align: top;
    margin: 6px;
  }
   
  em {
    font-weight: bold;
    font-style: normal;
    color: #f00;
  }
   
  input:focus {
    background: #eaeaea;
  }
   
  input, textarea {
    width: 249px;
  }
   
  textarea {
    height: 100px;
  }
   
  select {
    width: 254px;
  }
   
  input[type=checkbox] {
    width: 10px;
  }

  footer input.butt{
      padding :10px;
      width: auto
  }

h3{
    text-align: center;
}

p#fin{
    text-align:center;
    margin-bottom: 10px
}

footer img{
    width: 50%;
    height: 150px;
    padding-left: 100px;
} 

.flex-contain{
    display: flex;
    font-size: 20px;
    box-sizing: border-box;
    margin: 0;
    height: 550px;
    background-color: black;
    color: white

}
.ligne{
    flex-flow: row wrap;
}
.colonne{
    flex-flow: column wrap;
}
.flex-element{
    flex-basis: 20%;
    flex-grow: 1;
    flex-shrink: 0;
    background-color: white; 
    padding: 10px 0px;
    text-align: center;
    box-sizing: border-box;
    margin: 5px;
    background-color: black;

}

h6{
    text-align: center;
}

.copy{
    text-align: center
}