/* Import Font */
@font-face {
  font-family: "Lato";
  src: url("../police/Lato-Bold.woff2") format("woff2");
}

/* Couleurs */
.jaune {
  color: #fdc50e;
}

.noir {
  color: black;
}

.gris {
  color: #646464;
}

.blanc {
  color: white;
}

/* Commun */
html {
  scroll-behavior: smooth;
}

body {
  color: black;
  font-family: "Lato";
  margin: 0;
  background-color: white;
}

header {
  background-color: white;
  border-bottom: 1.5vh solid #fdc50e;
  position: fixed;
  top: 0;
  z-index: 5;
  width: 95vw;
  padding: 2.5vw;
}

main {
  margin-top: 7.5vh;
}

strong {
  color: #646464;
}

footer {
  background-color: white;
  border-top: 1.5vh solid #fdc50e;
  height: 6vh;
  z-index: 5;
  padding: 2.5vw;
}

/* CSS Productions */
/* Section BG Vidéo */
.background-productions {
  position: static;
  width: 100%;
  height: 70%;
  overflow: hidden;
  z-index: -2;
  border-bottom: 1.5vh solid #fdc50e;
}

.background-productions video {
  position: relative;
  top: 50%;
  left: 50%;
  width: 220%;
  height: auto;
  transform: translate(-50%, -50%);
}

.contenu-productions {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
}

.contenu-productions h1 {
  font-size: 2rem;
  white-space: nowrap;
  margin: 1vh;
}

.contenu-productions h2 {
  white-space: wrap;
  border-top: 1vh solid #fdc50e;
  font-size: 1.3rem;
  padding-top: 3vh;
}

/* Section info */
.section-2-productions {
  padding: 1vh 5vw;
  text-align: center;
  padding-bottom: 2vh;
  border-bottom: 0.5vh solid #fdc50e;
}

.section-2-productions div {
  text-align: center;
}

.pitch-productions {
  display: inline-block;
  padding: 0 0 3vh 0;
  border-bottom: 5px solid #fdc50e;
}

.image-productions {
  margin: 1vh 1vw 1vh 1vw;
  width: 70%;
  border: 3px solid #fdc50e;
}

/* Section Trailer */
.section-3-productions {
  padding: 1vh 5vw 2vh 5vw;
  text-align: center;
  border-bottom: 0.5vh solid #fdc50e;
}

.section-3-productions h2 {
  font-size: 1.3rem;
}

.trailer-productions {
  width: 90vw;
  height: 50vw;
  border: none;
}

/* News */
.section-4-productions {
  padding: 1vh 5vw 4vh 5vw;
  text-align: center;
}

.section-4-productions h2 {
  font-size: 1.3rem;
}

.section-4-productions a {
  color: #fdc50e;
}

/* Prix */
.section-prix-productions {
  display: flex;
  flex-wrap: wrap;
  gap: 5vw;
  padding: 2vh 0;
  border-top: #fdc50e solid 3px;
  justify-content: center;
}

.section-prix-productions div img {
  width: 20vw;
}

/* Section Film complet */
.section-5-productions {
  padding: 1vh 5vw;
  text-align: center;
  object-fit: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: black;
  border-top: 3px solid #fdc50e;
  background-size: 210%;
  border-bottom: 0.5vh solid #fdc50e;
}

.section-5-productions h2 {
  font-size: 1.3rem;
  color: white;
}

.section-5-productions form {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-5-productions form label {
  color: white;
}

.section-5-productions form input:not(:last-child) {
  width: 70vw;
  margin: auto;
  margin-top: 1vh;
  margin-bottom: 2vh;
  background-color: transparent;
  border: none;
  border-bottom: 3px solid #fdc50e;
  font-family: "Lato";
  font-size: 1rem;
}

.section-5-index form input:not(:last-child):focus {
  height: 4vh;
  font-size: 1rem;
  font-family: "Lato";
  color: black;
  background-color: white;
}

.section-5-productions form input:last-child {
  width: 50vw;
  border: none;
  font-family: "Lato";
  border-radius: 10px;
  font-size: 1rem;
  padding: 2vh 2vw;
  background-color: #fdc50e;
  color: white;
  margin: auto;
}

.section-5-productions form input:last-child:hover {
  color: #fdc50e;
  background-color: white;
}

/* Bouton déconnexion */
.div-deconnexion-projets-visionnage {
  padding: 3vh;
  display: flex;
  justify-content: center;
}

.btn-deconnexion-projets-visionnage {
  width: 50vw;
  border: none;
  font-family: "Lato";
  border-radius: 10px;
  font-size: 1rem;
  padding: 2vh 2vw;
  background-color: #fdc50e;
  color: white;
  margin: auto;
}

.btn-deconnexion-projets-visionnage:hover {
  color: #fdc50e;
  background-color: white;
}

/* Version ordinateur */
@media screen and (min-width: 700px) {
  /* Commun */
  header {
    border-bottom: 0.5vh solid #fdc50e;
    height: 3vh;
    width: 97vw;
    padding: 1.5vw;
  }

  footer {
    border-top: 0.5vh solid #fdc50e;
    height: 3vh;
    padding: 0 0 7vh 0;
  }

  /* CSS Productions */
  /* Section BG Vidéo */
  .background-index {
    height: 70%;
  }

  .background-productions video {
    width: 100%;
  }

  .contenu-productions h1 {
    font-size: 4rem;
  }

  .contenu-productions h2 {
    font-size: 1.5rem;
    white-space: nowrap;
  }

  /* Section info */
  .section-2-productions {
    padding-bottom: 10vh;
  }

  .section-2-productions div {
    display: flex;
    text-align: start;
  }

  .pitch-productions {
    font-size: 1.3rem;
    margin-bottom: 10vh;
  }

  .div-contenu-productions {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-left: 10vw;
    justify-content: center;
    padding-left: 7vw;
    border-left: #fdc50e 5px solid;
  }

  .div-contenu-productions {
    text-align: center;
  }

  .image-productions {
    border: 5px solid #fdc50e;
    width: 30%;
    height: auto;
  }

  /* Section Trailer */
  .section-3-productions {
    padding: 1vh 5vw 10vh 5vw;
    text-align: center;
  }

  .section-3-productions h2 {
    font-size: 1.5rem;
    margin: 5vh 0;
  }

  .trailer-productions {
    width: 70vw;
    height: 65vh;
  }

  /* Section News */
  .section-4-productions h2 {
    font-size: 1.5rem;
  }

  /* Prix */
  .section-prix-productions {
    flex-wrap: nowrap;
  }

  .section-prix-productions div img {
    width: 6vw;
  }

  /* Section Film complet */
  .section-5-productions {
    height: 80vh;
    background-size: 110%;
  }

  .section-5-productions h2 {
    font-size: 1.5rem;
  }

  .section-5-productions form input:not(:last-child) {
    width: 30vw;
  }

  .section-5-productions form input:last-child {
    width: 10vw;
    font-size: 1.2rem;
    cursor: pointer;
  }

  /* Bouton déconnexion */
  .btn-deconnexion-projets-visionnage {
    font-size: 1.2rem;
    cursor: pointer;
    width: auto;
  }
}
