/*
Theme Name: Il était une fois
Theme URI: https://www.il-etait-une-fois.southlab.net
Author: SylvainM
Author URI: https://www.il-etait-une-fois.southlab.net
Description: Description: Un thème WordPress sur mesure développé pour un projet personnel.
Version: 1.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: il-etait-une-fois
*/

@font-face {
  font-family: Avenir-Regular;
  src: url(“fonts/AvenirNextCyr-Regular.woff2”),
    url(“fonts/AvenirNextCyr-Regular.woff”);
  font-weight: 400;
}

@font-face {
  font-family: Avenir-Bold;
  src: url(“fonts/AvenirNextCyr-Bold.woff2”),
    url(“fonts/AvenirNextCyr-Bold.woff”);
  font-weight: 700;
}

h1 {
  font-family: “Avenir-Bold”, sans-serif;
  font-size: 60px;
}

* {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
  list-style-type: none;
  text-decoration: none;
}

:root {
  font-size: 10px;
  --colorWhite: #ffffff;
  --colorBlack: #000000;
  --colorGrey: #999999;
  --colorRed: #c7191b;
  --colorDark: #111111;
}

/* HOMEPAGE */
.home {
  background-color: var(--colorDark);
}

.main-wrapper-homepage {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #000;
}

.home_introduction {
  color: var(--colorWhite);
  font-family: "Avenir";
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  margin-top: 250px;
  width: 50vw;
}

.home_en-content {
  position: absolute;
  top: 75px;
  right: 90px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.home_en-content-text {
  color: var(--colorWhite);
  font-family: "Avenir";
  font-weight: 400;
  font-size: 18px;
}

.home_Playlist-text {
  color: var(--colorWhite);
  font-family: "Avenir";
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  text-align: center;
}

.bouton_playlist {
  background-color: var(--colorRed);
  padding: 16px 28px 16px 28px;
  border-radius: 12px;
  border: 0;
  margin-top: 96px;
  margin-bottom: 48px;
  color: var(--colorWhite);
  font-family: "Avenir";
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  width: 460px;
}

.home_Playlist-bouton {
  margin-top: 24px;
  margin-bottom: 96px;
  display: flex;
  justify-content: center;
  /* gap: 60px; */
  width: 50vw;
}

.bouton_playlist:hover {
  opacity: 0.6;
}

/* IL ÉTAIT UNE FOIS */

.header_logo-content {
  position: absolute;
  left: 90px;
  top: 75px;
  z-index: 1000;
}

.header_logo {
  color: var(--colorWhite);
  font-family: "Avenir";
  font-weight: 700;
  font-size: 32px;
  line-height: 32px;
}

.header_logo-date {
  color: var(--colorWhite);
  font-family: "Avenir";
  font-weight: 900;
  font-size: 96px;
  line-height: 96px;
}

/* BURGER */

.burger_content {
  height: 60px;
  width: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 75px;
  top: 75px;
  z-index: 1000;
}

.burger_content-background {
  background-color: #000;
  border-radius: 60px;
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0;
  transition-duration: 1s;
}

.burger_content-background:hover {
  opacity: 0.3;
  transition-duration: 1s;
}

.contLigne {
  width: 30px;
  height: 42px;
  cursor: pointer;
  position: relative;
  pointer-events: none !important;
}

.ligneUnique {
  width: 100%;
  height: 6px;
  border-radius: 5px;
  position: absolute;
  top: 18px;
  transition: all 0ms 300ms;
}

.ligneUnique::before {
  content: "";
  position: absolute;
  bottom: 18px;
  width: 100%;
  height: 4px;
  border-radius: 5px;
  top: 0;
  transform: rotate(45deg);
}

.ligneUnique::after {
  content: "";
  position: absolute;
  top: 18px;
  width: 100%;
  height: 4px;
  border-radius: 5px;
  top: 0;
  transform: rotate(-45deg);
}

/* ARROWS */
.arrow-back_content {
  width: 90px;
  height: 210px;
  position: absolute;
  left: 0;
  bottom: 200px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.arrow-back_background {
  background-color: var(--colorBlack);
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  cursor: pointer;
  transition-duration: 1s;
}

.arrow-back_background:hover {
  background-color: var(--colorBlack);
  opacity: 0.3;
  transition-duration: 1s;
}

.arrow-back {
  width: auto;
  height: 40px;
  z-index: 10;
  pointer-events: none !important;
}

.arrow-next_content {
  width: 90px;
  height: 210px;
  position: absolute;
  right: 0;
  bottom: 200px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.arrow-next_background {
  background-color: var(--colorBlack);
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  cursor: pointer;
  transition-duration: 1s;
}

.arrow-next_background:hover {
  background-color: var(--colorBlack);
  opacity: 0.3;
  transition-duration: 1s;
}

.arrow-next {
  width: auto;
  height: 40px;
  z-index: 10;
  pointer-events: none !important;
}

/* DIRECTOR */
.logo_wrapper {
  position: absolute;
  bottom: 40vh;
  left: 50vw;
  z-index: 10;
}

.director_wrapper {
  position: absolute;
  top: 60vh;
  left: 50vw;
  z-index: 10;
}

.movie-logo_content {
  width: 600px;
  height: 360px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.movie-logo {
  position: absolute;
  bottom: 0;
  left: 0;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
}

.director_name {
  color: var(--colorWhite);
  font-family: "Avenir";
  font-weight: 700;
  font-size: 32px;
  line-height: 32px;
  width: 50vw;
  padding-right: 90px;
}

/* COMPOSER */

.composer_wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  position: absolute;
  bottom: 0;
  left: 50vw;
  z-index: 10;
  margin-bottom: 96px;
}

.composer_score {
  color: var(--colorWhite);
  font-family: "Avenir";
  font-weight: 700;
  font-size: 64px;
  line-height: 64px;
  width: 50vw;
  padding-right: 90px;
}

.composer_name {
  color: var(--colorWhite);
  font-family: "Avenir";
  font-weight: 700;
  font-size: 32px;
  line-height: 34px;
  width: 50vw;
  padding-right: 90px;
  margin-top: 12px;
}

.composer_annexe {
  color: var(--colorWhite);
  font-family: "Avenir";
  font-weight: 400;
  font-size: 21px;
  line-height: 34px;
  width: 50vw;
  padding-right: 90px;
}

@media screen and (max-width: 1460px) {
  .home_introduction {
    font-size: 16px;
    line-height: 26px;
    margin-top: 250px;
  }

  .arrow-back_content {
    width: 60px;
    height: 140px;
    bottom: 200px;
  }

  .arrow-next_content {
    width: 60px;
    height: 140px;
    bottom: 200px;
  }

  .movie-logo_content {
    width: 300px;
    height: 240px;
  }

  .director_name {
    font-size: 21px;
    line-height: 21px;
    padding-right: 140px;
  }

  .composer_score {
    font-size: 32px;
    line-height: 32px;
    padding-right: 140px;
  }

  .composer_name {
    font-size: 21px;
    padding-right: 140px;
  }

  .composer_annexe {
    font-size: 18px;
    line-height: 21px;
    padding-right: 140px;
  }
}

@media screen and (max-width: 1366px) {
  .logo_wrapper {
    left: 60vw;
  }

  .director_wrapper {
    left: 60vw;
  }

  .composer_wrapper {
    left: 60vw;
  }

  .director_name {
    width: 40vw;
  }

  .composer_score {
    width: 40vw;
  }

  .composer_name {
    width: 40vw;
  }

  .composer_annexe {
    width: 40vw;
  }
}

@media screen and (max-width: 960px) {
  .home_introduction {
    margin-top: 200px;
    padding-right: 60px;
    padding-left: 60px;
    width: 100%;
  }

  .bouton_playlist {
    width: calc(100% - 120px);
    padding: 16px 28px 16px 28px;
    margin-top: 48px;
    margin-bottom: 96px;
    font-size: 21px;
    line-height: 28px;
  }

  .arrow-back_content {
    width: 52px;
    height: 140px;
  }

  .arrow-next_content {
    width: 52px;
    height: 140px;
  }

  .header_logo {
    font-size: 22px;
    line-height: 22px;
  }

  .header_logo-date {
    font-size: 68px;
    line-height: 68px;
  }

  .header_logo-content {
    left: 75px;
    top: 50px;
  }

  .burger_content {
    height: 60px;
    width: 60px;
    right: 60px;
    top: 50px;
  }

  .movie-logo_content {
    width: 300px;
    height: 135px;
  }

  .logo_wrapper {
    bottom: 40vh;
    left: 75px;
    right: 75px;
  }

  .director_wrapper {
    left: 75px;
    right: 75px;
  }

  .composer_wrapper {
    left: 75px;
    right: 75px;
    margin-bottom: 80px;
  }

  .director_name {
    width: 100%;
    padding-right: 0;
  }

  .composer_score {
    width: 100%;
    padding-right: 0;
  }

  .composer_name {
    width: 100%;
    padding-right: 0;
  }

  .composer_annexe {
    width: 100%;
    padding-right: 0;
  }
}

@media screen and (max-width: 767px) {
  .burger_content {
    height: 60px;
    width: 60px;
    right: 16px;
    top: 35px;
  }

  .ligneUnique {
    height: 3px;
    top: 18px;
  }

  .ligneUnique::before {
    /* bottom: 18px; */
    height: 2px;
  }

  .ligneUnique::after {
    /* top: 18px; */
    height: 2px;
  }

  .arrow-back_content,
  .arrow-next_content {
    width: 52px;
    height: 104px;
    bottom: 60vh;
    background-color: rgb(0 0 0 / 10%);
  }
  .arrow-back,
  .arrow-next {
    height: 24px;
  }
  .header_logo-content {
    left: 40px;
    top: 35px;
  }

  .header_logo-date {
    font-size: 48px;
    line-height: 48px;
  }

  .header_logo {
    font-size: 16px;
    line-height: 16px;
  }

  .main_wrapper-mobile {
    background-color: var(--colorBlack);
    height: 40vh;
    width: 100vw;
    position: absolute;
    bottom: 0;
    z-index: 100;
  }

  .logo_wrapper {
    left: 40px;
    right: 40px;
  }

  .director_name {
    font-size: 16px;
    line-height: 16px;
  }

  .composer_name {
    font-size: 16px;
    line-height: 16px;
    margin-top: 12px;
  }

  .composer_score {
    font-size: 32px;
    line-height: 32px;
  }

  .director_wrapper {
    position: static;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 36px;
  }

  .composer_wrapper {
    position: static;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 48px;
  }

  .composer_name {
    margin-bottom: 0;
    line-height: 24px;
  }

  .composer_annexe {
    font-size: 16px;
    line-height: 18px;
  }

  .movie-logo_content {
    margin-bottom: 40px;
    width: 250px;
  }

  .home_Playlist-text {
    font-size: 16px;
    width: 100%;
  }

  .home_Playlist-bouton {
    margin-top: 0;
    gap: 32px;
    flex-direction: column;
  }

  .bouton_playlist {
    margin-bottom: 36px;
  }
}

@media screen and (max-height: 768px) {
  .main_wrapper-mobile {
    background-color: var(--colorBlack);
    height: 100vh;
    width: 50vw;
    position: absolute;
    right: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .arrow-back_content,
  .arrow-next_content {
    bottom: 50px;
    background-color: rgb(0 0 0 / 10%);
  }

  .arrow-back,
  .arrow-next {
    height: 24px;
  }

  .header_logo-content {
    left: 40px;
    top: 35px;
  }

  .header_logo-date {
    font-size: 48px;
    line-height: 48px;
  }

  .header_logo {
    font-size: 16px;
    line-height: 16px;
  }

  .director_wrapper {
    position: static;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 96px;
  }

  .composer_wrapper {
    position: static;
    padding-left: 40px;
    padding-right: 48px;
    padding-top: 24px;
  }

  .composer_name {
    font-size: 16px;
    line-height: 16px;
    padding-right: 48px;
  }

  .director_name {
    font-size: 16px;
    line-height: 16px;
    padding-right: 48px;
  }

  .composer_annexe {
    font-size: 14px;
    line-height: 18px;
    padding-right: 48px;
    margin-top: 4px;
  }

  .burger_content {
    height: 48px;
    width: 60px;
    right: 24px;
    top: 25px;
  }

  .ligneUnique::before {
    height: 2px;
  }

  .ligneUnique::after {
    height: 2px;
  }

  .logo_wrapper {
    bottom: 20vh;
    width: calc(45vw - 50px);
    display: flex;
    justify-content: center;
    z-index: 1000;
  }

  .movie-logo_content {
    margin-bottom: 0;
    width: 200px !important;
    height: 120px;
  }
}

@media screen and (max-height: 768px) and (min-width: 960px) {
  .logo_wrapper {
    left: 75px !important;
  }
}
