@font-face {
  font-family: "Agency FB Black";
  src: url("https://cdn.jsdelivr.net/gh/olivier3lanc/cinematics-resources@master/furiosa/fonts/AgencyFBBlack.woff2") format("woff2"), url("https://cdn.jsdelivr.net/gh/olivier3lanc/cinematics-resources@master/furiosa/fonts/AgencyFBBlack.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Agency FB Regular";
  src: url("https://cdn.jsdelivr.net/gh/olivier3lanc/cinematics-resources@master/furiosa/fonts/AgencyFB-Reg.woff2") format("woff2"), url("https://cdn.jsdelivr.net/gh/olivier3lanc/cinematics-resources@master/furiosa/fonts/AgencyFB-Reg.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Agency FB Bold";
  src: url("https://cdn.jsdelivr.net/gh/olivier3lanc/cinematics-resources@master/furiosa/fonts/AgencyFB-Bold.woff2") format("woff2"), url("https://cdn.jsdelivr.net/gh/olivier3lanc/cinematics-resources@master/furiosa/fonts/AgencyFB-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
html,
body {
  font-family: "Agency FB Regular", sans-serif;
  margin: 0;
  padding: 0;
  background: black;
  scrollbar-color: #10925f black;
}

/* @media (min-width: 960px) {
    main {
        scale: 0.9
    }
} */
@media (orientation: landscape) {
  main {
    scale: 0.9;
  }
}
@keyframes move {
  0% {
    transform: rotateY(-9deg) rotateX(-3deg);
  }
  25% {
    transform: rotateY(9deg) rotateX(-3deg);
  }
  50% {
    transform: rotateY(9deg) rotateX(3deg);
  }
  75% {
    transform: rotateY(-9deg) rotateX(3deg);
  }
  100% {
    transform: rotateY(-9deg) rotateX(-3deg);
  }
}
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  perspective: 1000px;
}

#furiosa_poster {
  aspect-ratio: 9/14;
  width: 100%;
  max-width: 70vmin;
  position: relative;
  animation: move 10s 0s infinite;
  transform-style: preserve-3d;
  border-radius: 6vmin;
}

#furiosa_poster__header {
  position: absolute;
  top: 30%;
  left: 0;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  transform: translateZ(10vmin);
  transform-style: preserve-3d;
}

#furiosa_poster__header__title {
  font-family: "Agency FB Black";
  font-size: 22vmin;
  position: absolute;
  margin: 0;
  line-height: 1em;
  white-space: nowrap;
  color: #16b3ac;
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
}

#furiosa_poster__header__title::before {
  content: attr(data-title);
  position: absolute;
  color: #ffc61c5e;
  -webkit-text-fill-color: initial;
  mix-blend-mode: overlay;
  opacity: 1;
  text-shadow: 0px 0px 4vmin rgba(0, 0, 0, 0.4), 1px 1px #000;
}

#furiosa_poster__front_image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  transform: translateZ(20vmin);
  transform-style: preserve-3d;
  filter: drop-shadow(0px 0px 40px rgba(0, 0, 0, 0.4));
  border-radius: 6vmin;
}

#furiosa_poster__anya {
  font-family: "Agency FB Black";
  font-size: 2.6vmin;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00100b;
  text-shadow: 0px 0px 3vmin rgba(0, 0, 0, 0.7);
  position: absolute;
  top: 5%;
  left: 6%;
  transform: translateZ(5vmin);
  transform-style: preserve-3d;
  margin: 0;
}

#furiosa_poster__chris {
  font-family: "Agency FB Black";
  font-size: 2.6vmin;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00100b;
  text-shadow: 0px 0px 3vmin rgba(0, 0, 0, 0.7);
  position: absolute;
  top: 5%;
  right: 6%;
  transform: translateZ(5vmin);
  transform-style: preserve-3d;
  margin: 0;
}

#furiosa_poster__george {
  font-size: 3.5vmin;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.9);
  text-align: center;
  color: #fff;
  letter-spacing: 0.4em;
  width: 100%;
  position: absolute;
  top: 26%;
  left: 0%;
  transform: translateZ(5vmin);
  transform-style: preserve-3d;
  margin: 0;
}

#furiosa_poster__george strong {
  font-family: "Agency FB Black";
}

#furiosa_poster__mad_max_saga {
  display: flex;
  justify-content: space-between;
  font-family: "Agency FB Black";
  font-size: 5vmin;
  line-height: 1em;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: absolute;
  top: 48%;
  left: 0%;
  width: 100%;
  margin: 0;
  transform: translateZ(10vmin);
  /* transform-style: preserve-3d; */
  /* text-shadow: 0px 0px 4vmin rgba(0,0,0,0.4); */
}

#furiosa_poster__mad_max_saga > span {
  display: flex;
  color: #d2dc02;
  background-size: cover;
  background-position: center;
 
  -webkit-background-clip: text;
}

#furiosa_poster__mad_max_saga > span::before {
  content: attr(data-title);
  position: absolute;
  color: #ffc61c5e;
  -webkit-text-fill-color: initial;
  mix-blend-mode: overlay;
  opacity: 1;
  text-shadow: 0px 0px 4vmin rgba(0, 0, 0, 0.4), 1px 1px #000;
}

/* Default styles for desktop */
nav {
  position: fixed;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
}

nav a {
  font-size: 22px;
  color: #ffc61c;
  text-shadow: 0px 0px 4vmin rgba(0, 0, 0, 0.75), 1px 1px #000;
  background-color: rgba(0, 0, 0, 0.65); /* To give it a button-like appearance */
  padding: 1em 2em;
  font-family: "Agency FB Black";
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none; /* Remove dashed style to look like a button */
  border: 2px solid #ffc61c;
  border-radius: 5px;
  display: inline-block;
  transition: background-color 0.3s, color 0.3s;
}

nav a:hover {
  background-color: #ffc61c;
  color: #000;
  text-shadow: 0px 0px 4vmin rgba(0, 0, 0, 0.4), 1px 1px #fff;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
  nav {
    bottom: 150px;
    font-size: 22px;
  }
}

