@charset "utf-8";

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
}

/*Police pour la navigation et les grands titres*/
@font-face {
  font-family: 'Dream Orphans';
  src: url('../font/dream_orphans-webfont.woff'), url('../font/dream_orphans-webfont.woff2');
}

body {
  background-color: #EC808D;
}

/*HEADER*/
header {
  text-align: center;
  font-family: 'Dream Orphans', sans-serif;
  letter-spacing: 1px;
}

/*NAV*/
.active {
  background-color: #ae1123;
}

header nav {
  display: flex;
  background-color: #910012;
}

nav .icon {
  display: none;
}

nav .dropdown {
  position: relative;
  margin: 0%;
}

.dropdown .dropbtn {
  font-size: 18px;
  border: none;
  outline: none;
  color: #FFFFFC;
}

nav .dropdown .dropdown-content {
  position: absolute;
  background-color: #910012;
  box-shadow: 0px 8px 16px 0px #5c010c;
  display: none;
  z-index: 10;
}

nav .dropdown:hover .dropdown-content,
nav .dropdown-content:active .dropdown-content {
  display: block;
}

nav a {
  text-decoration: none;
  font-size: 18px;
  color: #FFFFFC;
  display: block;
  text-align: center;
  padding: 14px 20px;
}

.dropdown-content a {
  display: block;
  color: #FFFFFC;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 18px;
}

.topnav a:hover,
.dropdown:hover .dropbtn {
  background-color: #035918;
  color: #FFFFFC;
}

.dropdown-content a:hover {
  background-color: #035918;
}

.container {
  animation-name: fade;
  animation-duration: 1s;
  padding: 20px;
  text-align: center;
}

.box_black {
  background-color: #91001177;
  display: flex;
  border-radius: 25px;
  justify-content: space-between;
  margin: auto;
  width: 90%;
  transition: all 0.5s;
  margin-bottom: 30px;
  max-width: 950px;
  overflow: hidden;
}

h1 {
  font-size: 2.3em;
  margin: 0;
  padding: 20px;
  font-family: 'Dream Orphans', sans-serif;
  text-align: center;
  letter-spacing: 1px;
}

h2 {
  color: #FFFFFC;
}

a {
  text-decoration: none;
  color: #FFFFFC;
}

a:hover {
  text-decoration: underline !important;
  color: #08952B;
}

.to-the-top {
  position: sticky;
  color: #035918;
  font-size: 3em;
  bottom: 0;
  display: block;
  text-align: right;
  padding-right: 5px;
}

/*----FOOTER----*/
footer {
  background-color: #910012;
  text-align: center;
  color: #FFFFFC;
  text-decoration: none;
  width: 100%;
  padding: 2px 10px 2px 10px;
}

footer a {
  text-decoration: none;
  color: #FFFFFC;
}

/* -------------- PAGE BANDES ANNONCES -------------- */
/* Adaptation vidéos youtube */
.iframe_container {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
}

.iframe_container iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

/* Bande-son sur spotify*/
#container_bandeson {
  padding: 15px;
}

#audio_iframe {
  height: 500px;
}

/* ---------------- PAGE CREDITS ---------------- */

.credit1 .credit {
  width: 35%;
  display: inline-block;
  padding: 1em;
  height: auto;
  background-color: #fffffc4d;
  margin: 0.5em;
  border-radius: 0.5em;
  box-shadow:
    -1px -1px 5px 0px #fff,
    7px 7px 20px 0px #0003,
    4px 4px 5px 0px #0002;
  text-align: center;
}

.credit1 {
  padding: 2em;
  text-align: center;
}

.credit1 .credit p {
  text-align: center;
}

.credit1 section {
  text-align: left;
  font-size: 1.2em;
  color: #fffffc;
}

.credit img {
  width: 60%;
  margin: 1em;
}

/* ---------------- PAGE CRITIQUES ---------------- */

.critique_section {
  display: flex;
  /* permet de mettre les différentes critiques les unes a coté des autres */
  align-items: center;
}

h1 a {
  color: black;
  text-decoration: underline;
}

.small_critique {
  display: flex;
  flex-direction: column;
  width: 45%;
}

.critique_section h3 {
  font-family: Montserrat;
  font-weight: 200;
  font-size: 1.5em;
  padding: 20px;
  color: #FFFFFC;
  margin: 0;
}

.small_critique h4 {
  color: #fe6329;
  font-size: 1.2em;
  padding-bottom: 15px;
  margin: 0;
  align-self: center;
  text-shadow: 0 0 10px #fe622970;
}

.small_critique p {
  padding: 15px;
}

.small_critique hr {
  margin: auto;
  border: solid #ffffff43 0.1em;
  width: 90%;
}

.long_critique {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-left: 10px;
  padding-right: 10px;
}

#long_critique_head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.long_critique h4 {
  color: #fe6329;
  font-size: 1.3em;
  padding: 15px;
  margin: 0;
  text-shadow: 0 0 10px #fe622970;
  text-align: right;
}

.long_critique hr {
  border: solid #ffffff43 0.1em;
  margin: 0;
}

/* ---------------- PAGE FORMULAIRE ---------------- */
form {
  width: 90%;
  margin: auto;
  background-color: #9100117d;
  padding: 20px;
  border-radius: 10px;
}

fieldset {
  border: 1px solid #EC808D;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}

legend {
  font-size: 1.2em;
  font-weight: bold;
  color: #EC808D;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #FFFFFC;
}


input[type="text"],
input[type="email"],
input[type="number"],
textarea,
select {
  width: calc(100% - 16px);
  padding: 8px;
  margin-bottom: 10px;
  box-sizing: border-box;
  border: 1px solid #fffffc;
  border-radius: 4px;
  background-color: #fffffc;
  color: #121310;
}

textarea {
  height: 100px;
}

input[type="submit"] {
  background-color: #ffffff;
  color: #121310;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
}

input[type="submit"]:hover {
  background-color: #910012;
  color: #ffffff;
}

/* ---------------- PAGE LIEUX ---------------- */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: #fffffc;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  z-index: -5;
  border-radius: 1.5px;
}

.container_lieux {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.container_lieux::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: #fffffc;
  border: 4px solid #910012;
  top: 15px;
  border-radius: 50%;
  z-index: 0;
}

.lieux_left {
  left: 0;
}

.lieux_right {
  left: 50%;
}

.lieux_left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid #910012;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #910012;
}

.lieux_right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid #910012;
  border-width: 10px 10px 10px 0;
  border-color: transparent #910012 transparent transparent;
}

.lieux_right::after {
  left: -16px;
}

.content_lieux {
  padding: 20px 30px;
  background-color: #9100117d;
  position: relative;
  border-radius: 3px;
  text-align: center;
}

.img_lieux {
  margin: 15px;
}

/* ---------------- PAGE PERSONNAGES ET ACTEURS ---------------- */

.container .personnage {
  display: inline-block;
  width: 45%;
  overflow: auto;
  padding: 1em;
  background-color: #fffffc4d;
  margin: 0.5em;
  border-radius: 0.5em;
  box-shadow:
    -1px -1px 5px 0px #fff,
    7px 7px 20px 0px #0003,
    4px 4px 5px 0px #0002;

}

.container .personnage img {
  float: right;
  width: 40%;
  padding-left: 1em;
}

.container .personnage p,
h1 {
  padding-left: 0em;
}

/* ---------------- PAGE QUIZZ ---------------- */

/*Bouton audio*/
.playpause {
  width: 100px;
  display: inline-block;
  text-align: center;
  margin-left: 15px;
  vertical-align: middle;
}

.playpause_div {
  text-align: right;
  margin-right: 15px;
  vertical-align: middle;
}

/*Quiz*/
main {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 2em;
  color: #FFFFFC;
}

.game-quiz-container {
  width: 40rem;
  height: 30rem;
  background-color: #910012;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  border-radius: 5px;
}

.game-details-container {
  width: 80%;
  height: 4rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.game-details-container h1 {
  font-size: 1.2rem;
}

.game-question-container {
  width: 80%;
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #EC808D;
  border-radius: 5px;
}

.game-question-container h1 {
  font-size: 1.1rem;
  text-align: center;
  padding: 3px;
  letter-spacing: 1px;
}

.game-options-container {
  width: 80%;
  height: 12rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}

.game-options-container span {
  width: 45%;
  height: 3rem;
  border: 2px solid #EC808D;
  border-radius: 5px;
  overflow: hidden;
}

span label {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s;
  font-weight: 600;
  color: #FFFFFC;
}

span label:hover {
  -ms-transform: scale(1.12);
  -webkit-transform: scale(1.12);
  transform: scale(1.12);
  color: #08952B;
}

input[type="radio"] {
  position: relative;
  display: none;
}


input[type=radio]:checked~.option {
  background: #760310;
}

.next-button-container {
  width: 50%;
  height: 3rem;
  display: flex;
  justify-content: center;
}

.next-button-container button {
  width: 8rem;
  height: 2rem;
  border-radius: 5px;
  background: none;
  color: #EC808D;
  font-weight: 600;
  border: 2px solid #EC808D;
  cursor: pointer;
  outline: none;
}

.next-button-container button:hover {
  background-color: #035918;
  color: #08952B;
  border: 2px solid #08952B;
}

.modal-container {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #760310;
  background-color: rgba(0, 0, 0, 0.4);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  -webkit-animation: fadeIn 1.2s ease-in-out;
  animation: fadeIn 1.2s ease-in-out;
}

.modal-content-container {
  height: 20rem;
  width: 25rem;
  background-color: #760310;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  border-radius: 5px;
}

.modal-content-container h1 {
  font-size: 1.3rem;
  height: 3rem;
  color: #EC808D;
  text-align: center;
}

.grade-details {
  width: 15rem;
  height: 10rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.grade-details p {
  color: #FFFFFC;
  text-align: center;
}

.modal-button-container {
  height: 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-button-container button {
  width: 10rem;
  height: 2rem;
  background: none;
  outline: none;
  border: 1px solid #FFFFFC;
  color: #FFFFFC;
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 5px;
}

.modal-button-container button:hover {
  background-color: #035918;
  color: #08952B;
}

/* ---------------- PAGE IMAGES ET EXTRAITS ---------------- */
/*----------- Slideshow ----------*/
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.prev,
.next {
  cursor: pointer;
  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;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: #03591978;
  color: #08952B;
}

.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.activ,
.dot:hover {
  background-color: #717171;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

/*figer l ecran a 1280px*/
@media screen and (min-width: 1280px) {
  body {
    width: 1280px;
    margin: auto;
  }
}

/*responsive tablette*/
@media screen and (max-width: 769px) {

  /* ------- PAGE LIEUX ------- */
  .timeline::after {
    left: 31px;
  }

  .container_lieux {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .container_lieux::before {
    left: 60px;
    border: medium solid #910012;
    border-width: 10px 10px 10px 0;
    border-color: transparent #910012 transparent transparent;
  }

  .lieux_left::after,
  .lieux_right::after {
    left: 15px;
  }

  .lieux_right {
    left: 0%;
  }

  /* ------- PAGE PERSONNAGES ET ACTEURS ------- */
  .personnage {
    height: 25vh;
  }

  /* --------- PAGE Quizz --------- */
  .game-quiz-container {
    width: 90%;
    height: auto;
    margin: 10px;
  }

  .game-details-container h1 {
    font-size: 1rem;
  }

  .game-question-container {
    height: 8rem;
    margin: 5px;
  }

  .game-question-container h1 {
    font-size: 0.9rem;
  }

  .game-options-container span {
    width: 90%;
    margin: 2px;
  }

  .modal-content-container {
    width: 90%;
    height: 25rem;
  }

  .modal-content-container h1 {
    font-size: 1.2rem;
  }
}

/*responsive telephone*/
@media screen and (max-width: 426px) {

  /* --------- HEADER --------- */
  header img {
    width: 70%;
  }

  /* ----------- NAVIGATION ----------- */
  /* On cache le menu horizontal */
  nav {
    display: none;
  }

  /* On active le menu responsive */
  .topnav {
    display: block;
    overflow: hidden;
    background-color: #910012;
    margin: auto;
  }

  .topnav a {
    float: left;
    text-decoration: none;
    padding: 0.5em;
  }

  .topnav a:not(.icon),
  .topnav .dropdown {
    display: none;
  }

  .topnav a.icon {
    float: right;
    display: block;
    text-align: end;
    padding: 5px 5px 0 5px;
    background: none;
  }

  .topnav.responsive a:not(.icon),
  .topnav.responsive .dropdown {
    display: block;
    position: relative;
  }

  .topnav.responsive .dropdown-content {
    position: relative;
  }

  .topnav.responsive .icon {
    position: absolute;
    right: 0%;
    z-index: 11;
    background: none;
    text-align: end;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

  .box_black {
    width: 100%;
  }

  h1 {
    font-size: 1.5em;
  }

  h2 {
    font-size: 1em;
  }

  /* ---------- PAGE CREDITS ---------- */

  .credit1 .credit {
    width: 90%;
    display: inline-block;
    padding: 0em 1.5em;
    margin-bottom: 1em;
  }

  .credit1 section {
    font-size: 1em;
  }

  /* --------- PAGE CRITIQUES --------- */
  .critique_section {
    display: block;
    align-items: center;
  }

  /* ---------- PAGE LIEUX ---------- */
  .timeline::after {
    left: 31px;
  }

  .container_lieux {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .container_lieux::before {
    left: 60px;
    border: medium solid #910012;
    border-width: 10px 10px 10px 0;
    border-color: transparent #910012 transparent transparent;
  }

  .lieux_left::after,
  .lieux_right::after {
    left: 15px;
  }

  .lieux_right {
    left: 0%;
  }

  /* ------- PAGE PERSONNAGES ET ACTEURS ------- */
  .container .personnage {
    display: block;
    width: 100%;
    margin: 1em 0em 1em 0em;
    height: auto;
  }

  /* --------- PAGE Quizz --------- */
  .playpause {
    width: 50px;
    font-size: 55%;
  }

  /*Quiz*/
  .game-quiz-container {
    width: 90%;
    height: auto;
    margin: 10px;
  }

  .game-details-container h1 {
    font-size: 1rem;
  }

  .game-question-container {
    height: 8rem;
    margin: 5px;
  }

  .game-question-container h1 {
    font-size: 0.9rem;
  }

  .game-options-container span {
    width: 90%;
    margin: 2px;
  }

  .modal-content-container {
    width: 90%;
    height: 25rem;
  }

  .modal-content-container h1 {
    font-size: 1.2rem;
  }

  /* ------ PAGE IMAGES ET EXTRAITS ------ */
  .prev,
  .next,
  .text {
    font-size: 11px
  }
}