html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

@font-face {
    font-family: 'Chaumont';
    src: url('fonts/Chaumont-Medium.woff2') format('woff2'),
         url('fonts/Chaumont-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html, body {
	margin: 0;
	padding: 0;
  /* background-color: purple; */
  font-family: "Chaumont";
  font-size: 16px;
}

body{
  display: flex;
  margin: auto;
  justify-content: space-evenly;
  align-items: center;
  width: 100vw;
  top: 10vh;
  position: absolute;
}

.alternate{
  font-feature-settings: 'ss01';
}

#fond{
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  animation: 40s infinite alternate linear fond;
  animation-play-state: paused;
}

#fond img{
  height: 100vh;
}

@keyframes fond {
  from {
    left: 0;
  }
  to {
    left: -420vw;
  }
}

nav{
  position: fixed;
  display: flex;
  width: 100vw;
  background-color: black;
  color: white;
  font-size: calc(1.4vw + 1.4vh);
  z-index: 11;
  padding-top: 0.4vh;
  margin-top: 0;
  top: 0;
}

nav a{
  text-decoration: none;
  color: inherit;
  margin: calc(0.4vw + 0.4vh);
  margin-top: calc(0.5vw + 0.4vh);
  flex-grow: 1;
  text-align: center;
}

nav a:hover{
  animation: 0.4s infinite alternate linear lien;
}

@keyframes lien {
  from {
    letter-spacing: 0;
  }
  to {
    letter-spacing: 0.2vw;
  }
}

p{
  font-size: 150%;
  padding: 0 30px 0 30px;
  line-height: 1.3;
}

#content{
  background-color: white;
  border-radius: 40px;
  margin: 10vh 0 0 0;
  width: 60vw;
  padding-top: 28px;
  z-index: 5;
}

#content div h1{
  color: black;
  font-weight: normal;
  font-size: 550%;
  margin: 0.5vh 0 0.5vh 0;
  padding: 0 30px 0 30px;
}

#entretiens div{
  border-top: 2px solid black;
  padding: 3vh 30px 0 30px;
}

#dernier{
  border-bottom: 2px solid black;
}

#content div div h2{
  font-weight: normal;
  font-size: 370%;
  margin: 1vh 0 1vh 0;
  line-height: 1;
}

#content div div h3{
  font-weight: normal;
  font-size: 200%;
  margin: 0 0 1vh 0;
  line-height: 1.1;
}

#content div div p{
  line-height: 1.3;
  letter-spacing: 0.1px;
  margin-bottom: 5vh;
  margin-top: 2vh;
  padding: 0;
}

#content .partie{
  padding-top: 8.5vh;
  margin-top: -9vh;
  margin-right: 0;
  padding-right: 0;
  margin-bottom: 4vh;
}

/* Slideshow container */
.slideshow-container {
  width: auto;
  position: relative;
  margin: auto;
  text-align: center;
  display: flex;
  flex-grow: 1;
  flex-direction: column;
}

#content #ateliers img{
  width: inherit;
  max-width: 100%;
  margin: auto;
  text-align: center;
}

/* Hide the images by default */
.mySlides {
  width: auto;
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 10vh;
  width: auto;
  margin: 10vw 5vw 10vw 5vw;
  padding-right: calc(0.6vw + 0.6vh);
  padding-left: calc(0.6vw + 0.6vh);
  padding-top: calc(0.5vw + 0.6vh);
  padding-bottom: calc(0.5vw + 0.6vh);
  background-color: white;
  border: 2px solid black;
  border-radius: 50%;
  color: black;
  font-size: calc(1vw + 1vh);
  transition: 0.2s;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  cursor: pointer;
}

/* On hover, add a white background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: black;
  border: 2px solid white;
  color: white;
  cursor: pointer;
}

/* The dots/bullets/indicators */
#dots{
  margin-top: 0.9vh;
}

.dot {
  cursor: pointer;
  height: calc(1vh + 0.2vw);
  width: calc(1vh + 0.2vw);
  margin: 0 2px;
  background-color: white;
  border: 1px solid black;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.4s;
}

.active, .dot:hover {
  background-color: black;
}



audio{
  width: 100%;
  border: 2px solid black;
  border-radius: 15px;
  background-color: white;
  font-family: "Chaumont";
  margin-top: 10px;
}

audio::-webkit-media-controls-panel{
  background-color: white;
}

audio::-webkit-media-controls-mute-button{}

audio::-webkit-media-controls-play-button{}

audio::-webkit-media-controls-timeline-container{}

audio::-webkit-media-controls-current-time-display{
  font-family: "Chaumont";
  font-size: 150%;
}

audio::-webkit-media-controls-time-remaining-display{
  font-family: "Chaumont";
  font-size: 150%;
}

audio::-webkit-media-controls-timeline{}

audio::-webkit-media-controls-volume-slider-container{}

audio::-webkit-media-controls-volume-slider{}

audio::-webkit-media-controls-seek-back-button{}

audio::-webkit-media-controls-seek-forward-button{}

audio::-webkit-media-controls-fullscreen-button{}

audio::-webkit-media-controls-rewind-button{}

audio::-webkit-media-controls-return-to-realtime-button{}

audio::-webkit-media-controls-toggle-closed-captions-button{}


#devises{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 4vh;
  flex-wrap: wrap;
}

.partie h1{
  width: 100%;
}

.devise{
  width: 50%;
  margin-bottom: -5px;
}

.devise img{
  width: 100%;
}

#drapeaux a{
  color: black;
  text-decoration: none;
  border-bottom: 1px solid black;
}

#drapeaux a:hover{
  border-bottom: 2.5px solid black;
}


/* TÉLÉPHONE */

@media only screen and (max-width: 850px) {
  nav{
    display: none;
  }
 #fond{
   display: none;
 }
 html, body{
   margin: 0;
   padding: 0;
 }
 body{
   width: inherit;
   width: 100vw;
   top: 0;
 }
 #content{
   width: inherit;
   margin: 0;
   top: 0;
   padding-top: 10px;
 }
 .partie{
   margin-top: 3vh;
   padding-top: 0;
 }
 p{
   font-size: 110%;
   padding: 0 20px 0 20px;
 }
 #content div h1{
   font-size: 350%;
   padding: 0 20px 0 20px;
 }
 #entretiens div{
   padding: 3vh 20px 0 20px;
 }
 #content div div h2{
   font-size: 240%;
   margin-top: 2vh;
 }
 #content div div h3{
   font-size: 160%;
 }
 #content div div p{
   margin-bottom: 4.4vh;
 }
 .devise{
   width: 100%;
   margin-bottom: -7px;
 }

 /* Next & previous buttons */
 .prev, .next {
   top: 10vh;
   width: auto;
   margin: 10vw 5vw 10vw 5vw;
   padding-right: calc(0.9vw + 0.8vh);
   padding-left: calc(0.9vw + 0.8vh);
   padding-top: calc(0.7vw + 0.6vh);
   padding-bottom: calc(0.5vw + 0.6vh);
   font-size: calc(2.6vw + 2.6vh);
 }

 /* On hover, add a white background color with a little bit see-through */
 .prev:hover, .next:hover {
   background-color: white;
   border: 2px solid black;
   color: black;
 }

 /* The dots/bullets/indicators */
 #dots{
   margin-top: 0vh;
   margin-bottom: 3vh;
 }

 .dot {
   cursor: pointer;
   height: calc(1vh + 0.9vw);
   width: calc(1vh + 0.9vw);
   margin: 0 1px;
   background-color: white;
   border: 1px solid black;
   border-radius: 50%;
   display: inline-block;
   transition: background-color 0.4s;
 }

 .active, .dot:hover {
   background-color: black;
 }


}
