@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap");
@font-face {
  font-family: "Adelon";
  src: url("../landing_assets/font/Adelon-Medium.otf");
}
*,
::before,
::after {
  box-sizing: inherit;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  position: relative;
  overflow-x: hidden;
}

body {
  background: #2e3337;
  background-image: url("../landing_assets/img/background.png");
  font-family: "Open Sans", sans-serif;
  font-size: calc(14px + 4 * (100vw - 300px) / 1620);
  color: #fff;
  margin: 0;
  overflow-x: hidden;
}

h1,
h2 {
  font-family: "Adelon", serif;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.btn--unstyled,
.button--unstyled {
  padding: 0;
  border: none;
  text-align: left;
  background: none;
  border-radius: 0;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

h1 {
  color: #fff;
  font-size: calc(70px + 70 * (100vw - 300px) / 1620);
  background: linear-gradient(90deg, rgba(195, 41, 42, 0) 10%, #c3292a 50%, rgba(195, 41, 42, 0) 90%);
  mix-blend-mode: hard-light;
  margin: 0;
}

h2 {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
  position: relative;
  padding: 14px 0;
}
h2 span {
  background: linear-gradient(180deg, #fff 0%, #9a9a9a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: calc(28px + 22 * (100vw - 300px) / 1620);
  text-transform: uppercase;
}
h2::before {
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
  display: block;
  height: 4px;
  width: 100%;
  position: relative;
  top: -22px;
}
h2::after {
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
  display: block;
  height: 4px;
  width: 100%;
  position: relative;
  top: 22px;
}

h3 {
  font-family: "Open Sans", sans-serif;
  font-size: calc(19px + 9 * (100vw - 300px) / 1620);
  margin-bottom: 2rem;
  text-transform: uppercase;
  color: #fff;
}

h4 {
  font-family: "Open Sans", sans-serif;
  font-size: calc(16px + 6 * (100vw - 300px) / 1620);
  font-weight: 400;
  margin-bottom: 2rem;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.1em;
}

h5 {
  margin: 0 0 10px;
  font-family: "Adelon", serif;
  font-size: calc(12px + 3 * (100vw - 300px) / 1620);
  text-transform: uppercase;
  color: #000;
  letter-spacing: 0.1em;
}

.subtitle {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 16px;
  margin: 0 0 25px;
  font-weight: 300;
}

p {
  font-family: "Open Sans", sans-serif;
  font-size: calc(14px + 4 * (100vw - 300px) / 1620);
}

button {
  cursor: pointer;
}

.icon {
  display: inline-block;
  fill: #fff;
  height: 1em;
  line-height: 1;
  position: relative;
  top: -1px;
  vertical-align: middle;
  width: 1em;
  box-sizing: content-box;
}

.btn-primary {
  background: linear-gradient(90deg, rgba(195, 41, 42, 0.4) 0%, #c3292a 50%, rgba(195, 41, 42, 0.4) 100%);
  border: 1px solid #c3292a;
  color: #fff;
  margin: 20px auto auto !important;
  font-family: "Adelon", serif;
  font-size: calc(18px + 6 * (100vw - 300px) / 1620);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
  padding: 0.8rem;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.btn-primary:hover {
  border: 1px solid #fff;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* ------------ GRID ------------ */
.section {
  scroll-snap-align: start;
  padding: 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

[class*=" grid-"],
[class^=grid-] {
  display: -ms-grid;
  display: grid;
  grid-auto-flow: dense;
}

[class*=grid-2] {
  -ms-grid-columns: 1fr [2];
  grid-template-columns: repeat(2, 1fr);
}

[class*=grid-3] {
  -ms-grid-columns: 1fr [3];
  grid-template-columns: repeat(3, 1fr);
}

.grid-start-2 {
  -ms-grid-column: 2;
  -ms-grid-column-span: 1;
  grid-column: 2/span 1;
}

/* ------------ CLASS ------------ */
/* -- Header -- */
.heading {
  background-image: linear-gradient(180deg, #000, rgba(14, 23, 30, 0.51) 30%, transparent 60%);
  justify-content: flex-start;
}

.banner {
  position: absolute;
  top: 0;
  left: 0;
  height: 200vh;
  width: 100vw;
  object-fit: cover;
  object-position: top;
  z-index: -1;
}

.catchphrase {
  font-family: "Open Sans", sans-serif;
  font-size: calc(16px + 8 * (100vw - 300px) / 1620);
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.1em;
}

.logo {
  height: 80px;
  width: 100%;
  margin: 4vh auto 120px;
  fill: #c3292a;
  color: #c3292a;
}

.player {
  background: none;
  position: fixed;
  bottom: 1rem;
  left: 2rem;
  color: #fff;
  text-align: left;
  width: 3em;
  height: 3em;
}
.player .icon {
  font-size: 3em;
}
.player .pause {
  display: none;
}
.player.is-playing .pause {
  display: block;
}
.player.is-playing .play {
  display: none;
}

.scroll-indicator {
  width: auto;
  margin: 0 auto;
  position: absolute;
  top: 100vh;
  left: 50%;
  opacity: 0.7;
  transform: translate(-50%, -50%);
}

.gradient {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 50%, rgba(0, 0, 0, 0) 100%);
  width: 100vw;
  height: 40vh;
  display: block;
  position: absolute;
  top: 200vh;
  transform: translateY(-50%);
  z-index: -1;
}

/* ---- Section 1 - Introduction  ---- */
.callout {
  border: 22px solid #9a9a9a;
  border-image: url("../landing_assets/img/frame.png") 22 fill;
  background: rgba(0, 0, 0, 0.6);
  margin: 0 4rem 0 0;
  padding: 1em 2em;
}
.callout p {
  margin: 0 0 10px;
}

/* ---- Section 2 - Protagoniste  ---- */
.characters {
  position: relative;
}
.characters .grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.modal-container {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease-out, z-index 0s 0.3s;
}
.modal-container.modal-is-open {
  opacity: 1;
  z-index: 2;
  transition-delay: 0s;
}
.modal-container.modal-is-open .emblem.sunie::before {
  transform: translateX(-20%);
}
.modal-container.modal-is-open .emblem.taldred::before {
  transform: translateX(-20%);
}

.modal {
  display: flex;
  justify-content: center;
  align-items: stretch;
  position: relative;
  border-radius: 0;
  background-color: #2e3337;
  background-image: url(../landing_assets/img/background.png);
  width: 100%;
  height: 100%;
}
.modal__close {
  position: absolute;
  z-index: 2;
  top: 2rem;
  right: 4rem;
  font-size: 3em;
}
.modal__content {
  align-items: center;
}
.modal__content .content {
  padding: 5rem;
  overflow-y: scroll;
  max-height: 100%;
  position: relative;
  z-index: 1;
}
.modal__content blockquote::before {
  content: "“";
  position: relative;
  left: 0;
  top: 0;
  font-size: 5em;
  height: 0.4em;
  line-height: 0.9;
  display: inline-block;
  transform: translateY(100%);
}
.modal__content .media {
  height: 100%;
  max-width: 100%;
  justify-content: flex-end;
}
.modal__content .media img {
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: right top;
  object-position: right top;
  width: inherit;
  height: inherit;
}

.character {
  position: relative;
  text-align: center;
  min-height: auto;
  margin: 2rem 0;
  transition: scale 0.3s ease;
}
.character:hover {
  scale: 1.1;
}
.character-container {
  display: flex;
  justify-content: center;
}
.character-container .character:nth-child(1) {
  left: 8%;
}
.character-container .character:nth-child(1) h4 {
  transform: translateX(-40%);
}
.character-container .character:nth-child(2) {
  z-index: 2;
}
.character-container .character:nth-child(3) {
  right: 8%;
}
.character-container .character:nth-child(3) h4 {
  transform: translateX(40%);
}
.character img {
  max-height: 65vh;
  height: auto;
  vertical-align: middle;
}
.character button {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.media {
  display: flex;
  align-items: flex-start;
}

.emblem {
  position: relative;
  z-index: 1;
}
.emblem.sunie::before {
  background-image: url(../landing_assets/img/blason_griffon.png);
  transform: translateX(-40%);
  opacity: 0.9;
}
.emblem.taldred::before {
  background-image: url(../landing_assets/img/blason_dragon.png);
  transform: translateX(40%);
  opacity: 0.9;
}
.emblem::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50%;
}

/* ---- Section 3 - Carrière  ---- */
.carriere {
  margin: 0 10%;
}
.carriere .carriere_img {
  width: 40%;
  background-image: url(../landing_assets/img/forge.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.carriere .carriere_img img {
  max-height: 65vh;
  display: block;
  margin: auto;
}
.carriere .carriere_img::after {
  content: "";
  height: 50px;
  width: 110%;
  background: radial-gradient(closest-side, black 0%, rgba(0, 0, 0, 0) 100%);
  display: block;
  transform: translate(2%, -50%);
  opacity: 0.4;
  transform: translate(10%, -68%);
  width: 90%;
}
.carriere .carriere_descriptif {
  width: 60%;
  align-items: baseline;
  justify-content: space-between;
}
.carriere .carriere_descriptif:nth-child(1) {
  padding-right: 2rem;
}
.carriere .carriere_descriptif .class,
.carriere .carriere_descriptif .inventaire {
  width: 48%;
}
.carriere .carriere_descriptif .inventaire_img {
  width: 100%;
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  /* Tooltip container */
  /* Tooltip text */
  /* Tooltip arrow */
  /* Show the tooltip text when you mouse over the tooltip container */
}
.carriere .carriere_descriptif .inventaire_img .tooltip {
  position: relative;
  display: inline-block;
}
.carriere .carriere_descriptif .inventaire_img .tooltip .tooltiptext {
  margin-top: 8px;
  visibility: hidden;
  background-color: #fff;
  color: #000;
  padding: 20px 20px 0 20px;
  left: -65%;
  /* Position the tooltip text */
  position: absolute;
  margin-left: -100px;
  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}
.carriere .carriere_descriptif .inventaire_img .tooltip .tooltiptext::before {
  content: "";
  position: absolute;
  top: 0;
  right: 25%;
  margin-left: -5px;
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent #fff transparent;
  transform: translateY(-100%);
}
.carriere .carriere_descriptif .inventaire_img .tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
  z-index: 2;
}
.carriere .carriere_descriptif .inventaire_img img {
  width: 120px;
  height: 120px;
  border: 1px solid #9a9a9a;
  padding: 8px;
  background-color: rgba(0, 0, 0, 0.5);
}
.carriere nav ul {
  transform: translateY(72vh);
}

/* ---- Section 4 - Expérience  ---- */
figcaption {
  width: 60%;
}
figcaption .text-container {
  margin: 4rem 0 0 6rem;
}
figcaption li {
  list-style: none;
}
figcaption li h4 {
  margin-bottom: 0;
}
figcaption li h4::before {
  content: "";
  display: inline-block;
  background-image: url(../landing_assets/img/indicator-actif.svg);
  width: 15px;
  height: 15px;
  background-size: contain;
  margin-right: 12px;
}
figcaption p {
  margin: 5px 0 40px;
}

.img-container {
  width: 40%;
  background-image: url(../landing_assets/img/couloir.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.img-container img {
  display: block;
  margin: auto;
  width: 50%;
}
.img-container::after {
  content: "";
  height: 50px;
  width: 110%;
  background: radial-gradient(closest-side, black 0%, rgba(0, 0, 0, 0) 100%);
  display: block;
  transform: translate(2%, -50%);
  opacity: 0.4;
  transform: translate(60%, -50%);
  width: 50%;
}

/* ---- Section 5 - Pilliers  ---- */
#pilliers {
  background-image: url(../landing_assets/img/norrasq.png);
  background-size: cover;
}

.functions .function {
  min-height: auto;
}

.function .grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  margin: 4rem auto;
  grid-gap: 6rem;
}

.function_media {
  width: 45%;
  text-align: right;
}
.function_media::after {
  content: "";
  height: 50px;
  width: 110%;
  background: radial-gradient(closest-side, black 0%, rgba(0, 0, 0, 0) 100%);
  display: block;
  transform: translate(2%, -50%);
  opacity: 0.4;
}
.function_media img {
  vertical-align: middle;
  width: 90%;
  height: auto;
}
.function_media.align_l .desktop {
  display: block;
}
.function_media.align_l .mobile {
  display: none;
}
.function_content {
  padding: 0 0 50px;
  width: 55%;
}
.function_content li {
  margin: 10px 0;
}
.function::before {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 70%, #000 90%, rgba(0, 0, 0, 0) 100%);
  width: 50%;
  display: block;
  height: 50vh;
  z-index: -1;
}
.function .align_l img {
  transform: translateX(calc(-2rem - 10%));
}

/* ---- Section 6 - Gallery  ---- */
#gallery {
  background-image: url("../landing_assets/img/ailes.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 30vh;
}

#gallery.mobile {
  display: none;
}

.encyclopedia-tabs {
  position: relative;
}
.encyclopedia-tabs_nav ul {
  list-style: none;
  display: flex;
  padding: 0;
  justify-content: center;
  width: fit-content;
  margin: 1.5rem auto;
}
.encyclopedia-tabs_nav ul::before {
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #9a9a9a 100%);
  display: block;
  height: 1px;
  width: 400px;
  position: relative;
  transform: translateY(13px);
  margin-right: 1rem;
}
.encyclopedia-tabs_nav ul::after {
  content: "";
  background: linear-gradient(90deg, #9a9a9a 0%, rgba(0, 0, 0, 0) 100%);
  display: block;
  height: 1px;
  width: 400px;
  position: relative;
  transform: translateY(13px);
  margin-left: 1rem;
}
.encyclopedia-tabs_nav li {
  display: block;
}
.encyclopedia-tabs_nav li.is-active a {
  background-image: url("../landing_assets/img/indicator-actif.svg");
  background-repeat: no-repeat;
  background-position: top;
}
.encyclopedia-tabs_nav a {
  display: block;
  background-image: url("../landing_assets/img/indicator.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top;
  margin: 0 0.5rem;
  width: 30px;
  height: 30px;
}
.encyclopedia-tabs_nav a:hover {
  background-image: url("../landing_assets/img/indicator-actif.svg");
  background-repeat: no-repeat;
  background-position: top;
}
.encyclopedia-tabs_nav.is-small {
  width: 40%;
}
.encyclopedia-tabs_nav.is-small ul::before,
.encyclopedia-tabs_nav.is-small ul::after {
  display: none;
}
.encyclopedia-tabs_content > * img {
  width: 75vw;
  margin: auto;
  display: block;
  border: 22px solid #fff;
  border-image: url("../landing_assets/img/frame.png") 22 fill;
  background: rgba(0, 0, 0, 0.4);
}
.encyclopedia-tabs_button {
  border: none;
  margin: 0;
  padding: 0;
  width: auto;
  overflow: visible;
  background: transparent;
  color: inherit;
  font: inherit;
  position: absolute;
  top: 40%;
}
.encyclopedia-tabs_button[data-tabs-nav-next] {
  left: 36%;
}
.encyclopedia-tabs_button[disabled] {
  cursor: not-allowed;
  opacity: 0.2;
}

/* ---- Section 7 - Subscribe  ---- */
.subscribe .container {
  display: flex;
  align-items: center;
}
.subscribe_img {
  width: 50%;
}
.subscribe_text {
  width: 50%;
  padding: 0 6rem 3rem;
  text-align: center;
}
.subscribe_text p {
  margin: 3rem 0;
}

/* ---- Footer  ---- */
footer {
  position: relative;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  text-align: center;
  padding: 1px;
}
footer a {
  color: #fff;
}

/* MEDIAQUERY */
@media (max-width: 1200px) {
  .grid {
    display: -ms-grid;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
  }
  .grid-start-2 {
    grid-column: auto/span 2;
  }
  .character-container {
    flex-direction: column;
  }
  .character-container img {
    max-height: 40vh;
  }
  .character-container .character:nth-child(1) {
    left: 0;
  }
  .character-container .character:nth-child(1) h4 {
    transform: translateX(0%);
  }
  .character-container .character:nth-child(3) {
    right: 0;
  }
  .character-container .character:nth-child(3) h4 {
    transform: translateX(0%);
  }
  .flex-container {
    flex-direction: column;
  }
  .functions .grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  .function_media, .function_content {
    width: 90%;
  }
  .function_media {
    width: 100%;
  }
  .function_media.align_l .desktop {
    display: none;
  }
  .function_media.align_l .mobile {
    display: block;
    transform: none;
    width: 100%;
  }
  .function::before {
    display: none;
  }
  .subscribe_img {
    width: 100%;
  }
  .subscribe_text {
    width: 100%;
    padding: 0 2rem;
  }
  .encyclopedia-tabs_nav ul {
    transform: translateY(0);
  }
  .encyclopedia-tabs_nav.is-small {
    width: 100%;
  }
  .encyclopedia-tabs_button {
    top: 32.5vh;
  }
  .encyclopedia-tabs_button[data-tabs-nav-next] {
    left: auto;
    right: 0;
  }
}
@media screen and (max-width: 1200px) {
  .callout {
    margin: 0;
    padding: 0.2rem 1rem;
  }
  .carriere {
    margin: none;
  }
  .carriere .carriere_img {
    width: 100%;
  }
  .carriere .carriere_img img {
    max-height: 55vh;
  }
  .carriere .carriere_descriptif {
    width: 100%;
  }
  .carriere .carriere_descriptif .class,
  .carriere .carriere_descriptif .inventaire {
    width: auto;
  }
  .carriere .carriere_descriptif .inventaire_img img {
    max-width: 120px;
    width: 15vw;
    height: auto;
  }
  .carriere nav ul {
    transform: translateY(65vh);
  }
  figcaption {
    width: 100%;
  }
  figcaption .text-container {
    margin: 0;
  }
  figcaption .text-container ul {
    padding: 0;
  }
  .grid-2 {
    padding: 14px;
    margin: 0;
  }
  .function_media {
    text-align: center;
  }
  .function_media img {
    width: 65%;
  }
  #pilliers .grid-2 {
    display: flex !important;
    flex-direction: column;
  }
  #pilliers .grid-2 .flex-container {
    flex-direction: row;
  }
  #pilliers .grid-2 .flex-container .function_media {
    width: 40%;
  }
  #pilliers .grid-2 .flex-container .function_content {
    width: 60%;
  }
  .encyclopedia-tabs_nav ul {
    width: 90vw;
  }
}
@media screen and (max-width: 550px) {
  .character {
    margin: 1rem 0;
  }
  .section {
    padding: 0;
  }
  footer {
    padding: 0.2rem 3rem;
  }
  .scroll-indicator {
    top: 90vh;
  }
  .scroll-indicator img {
    width: 70%;
    margin: auto;
    display: block;
    height: auto;
  }
  .emblem.sunie::before {
    transform: translateX(-20%);
  }
  .emblem.taldred::before {
    transform: translate(9%, -8%);
  }
  .modal__close {
    top: 1rem;
    right: 1rem;
  }
  .modal__content {
    grid: none;
  }
  .modal__content .media {
    justify-content: flex-start;
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    height: 100%;
    opacity: 0.2;
    z-index: 0;
  }
  .modal__content .content {
    padding: 2rem;
    overflow-y: scroll;
    max-height: 100%;
    position: relative;
    z-index: 1;
  }
  .carriere_descriptif .inventaire_img {
    flex-wrap: wrap;
    justify-content: center;
  }
  .carriere_descriptif .inventaire_img img {
    width: 75px;
    height: 75px;
  }
  .carriere_descriptif .inventaire_img .tooltip .tooltiptext {
    margin-left: 0;
    width: 200%;
  }
  .carriere_descriptif .inventaire_img .tooltip .tooltiptext::before {
    right: 35%;
  }
  .carriere_descriptif .inventaire_img .tooltip:nth-child(1) .tooltiptext {
    margin-left: 1rem;
  }
  .carriere_descriptif .inventaire_img .tooltip:nth-child(1) .tooltiptext::before {
    right: 45%;
  }
  #pilliers .grid-2 .flex-container {
    flex-direction: column;
  }
  #pilliers .grid-2 .flex-container .function_media {
    width: 90%;
  }
  #pilliers .grid-2 .flex-container .function_content {
    width: 90%;
  }
  .img-container {
    width: 100%;
  }
  .img-container img {
    width: 65%;
  }
  #gallery.mobile {
    display: block;
  }
  #gallery.desktop {
    display: none;
  }
  .encyclopedia-tabs_content img {
    border: 1px solid #fff;
  }
  .encyclopedia-tabs_nav ul::after,
  .encyclopedia-tabs_nav ul::before {
    display: none;
  }
  .subscribe_text p {
    margin: 2rem 0 0;
  }
}
/* hidden but not for an assistive technology like a screen reader, Yahoo! method */
.visually-hidden {
  position: absolute !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

[hidden] {
  display: none;
}

/*# sourceMappingURL=landing.css.map */
