/* --------------------- RESET --------------------- */
h1,
h2,
h3,
h4 {
  font-weight: normal;
  margin: 0;
  font-size: unset;
  margin: 0;
}

body,
p,
figure,
footer,
ul {
  margin: 0;
}

ul {
  padding: 0;
}

li {
  list-style: none;
  padding: 0;
}

a {
  text-decoration: none;
  color: unset;
}

button {
  border: none;
  background: unset;
  font-size: unset;
  color: unset;
  font-family: unset;
  padding: 0;
  margin: 0;
}

/* --------------------- FONTS --------------------- */
/* asap-regular */
@font-face {
  font-display: swap;
  font-family: "Asap";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/asap-v30-latin-regular.woff2") format("woff2");
}
/* asap-800 */
@font-face {
  font-display: swap;
  font-family: "Asap";
  font-style: normal;
  font-weight: 800;
  src: url("../fonts/asap-v30-latin-800.woff2") format("woff2");
}
/* gloock-regular */
@font-face {
  font-display: swap;
  font-family: "Gloock";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/gloock-v6-latin-regular.woff2") format("woff2");
}
body {
  font-family: "Asap", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #025147;
}

.title {
  font-family: "Gloock", serif;
}
.title--l {
  font-size: 2em;
  line-height: 1.4;
}
.title--m {
  font-size: 1.41em;
  text-align: center;
}

a {
  font-weight: 800;
  transition: color 0.2s ease-in-out;
}
a:hover, a:active, a:focus {
  color: #d0450c;
}

/* --------------------- VISUELS --------------------- */
body {
  height: 100vh;
  overflow: hidden;
  background: radial-gradient(circle at 50% 170%, #c2aeff 50%, #ffffff calc(50% + 1px)) no-repeat;
}

.body--purple {
  background: radial-gradient(circle at 50% 170%, #ffffff 50%, #c2aeff calc(50% + 1px)) no-repeat;
}
.body--red {
  background: radial-gradient(circle at 50% 170%, #ffffff 50%, #d0450c calc(50% + 1px)) no-repeat;
  color: #ffffff;
}
.body--base {
  background: radial-gradient(circle at 50% 170%, #ffffff 50%, #025147 calc(50% + 1px)) no-repeat;
  color: #ffffff;
}
.body--red .footer, .body--base .footer {
  color: #025147;
}

main {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.grid {
  display: block;
}

.section {
  box-sizing: border-box;
  padding: 1.41em;
  margin-bottom: 1.41em;
}
.section--white {
  margin-bottom: 2em;
  background-color: #ffffff;
  color: #025147;
}
.section--video {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}

.title {
  text-align: center;
}
.title--l {
  margin-bottom: 0.5em;
}
.title--m {
  margin-bottom: 0.5em;
}
.title--cover {
  margin-top: -2em;
  color: #ffffff;
  text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}

.video {
  width: 100%;
  height: 15vh;
  border-radius: 0.35em;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.5);
}
.video__list {
  display: grid;
  gap: 0.5em;
}
.video--fake {
  height: auto;
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4em;
  background-color: #000;
}
.video__btn {
  height: 90px;
  width: 90px;
  text-indent: -200vh;
  overflow: hidden;
  background: url("../images/play.svg") center no-repeat;
  background-size: contain;
  animation: pulse 0.5s infinite alternate cubic-bezier(0.55, 0.085, 0.68, 0.53);
}

.image__container {
  width: 100vw;
  height: 15em;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.image--presentation {
  background-image: url("../images/showreel.jpg");
}
.image--solutions {
  background-image: url("../images/preview.webp");
}

/* ----------- CREDITS ----------- */
.credits__grid {
  text-align: center;
}
.credits__el {
  margin-bottom: 2em;
}

/* ----------- NAV ----------- */
header {
  position: absolute;
  left: 50%;
  bottom: 1.41em;
  transform: translate(-50%, -50%);
}

.menu__list {
  display: flex;
  justify-content: center;
  align-items: center;
}
.menu__el a {
  height: 10px;
  width: 10px;
  display: block;
  text-indent: -200vh;
  overflow: hidden;
  margin-right: 0.35em;
  border-radius: 100%;
  border: #025147 solid 2px;
  transition: transform 0.2s ease-out;
}
.menu__el.active a, .menu__el a:hover, .menu__el a:focus, .menu__el a:active {
  background-color: #025147;
  transform: scale(1.5);
}

/* ----------- FOOTER ----------- */
.footer {
  width: -webkit-fill-available;
  width: -moz-available;
  width: stretch;
  display: flex;
  justify-content: space-between;
  position: fixed;
  bottom: 0;
  margin: 0.5em;
}
.footer a {
  font-weight: 400;
}

/* ----------- SLIDER ----------- */
.slider__list {
  z-index: -1;
  height: 240px;
}
.slider__controls {
  display: flex;
  justify-content: space-between;
}
.slider__btn {
  text-indent: -200vh;
  overflow: hidden;
  display: block;
  height: 30px;
  width: 30px;
  margin: 0 1.41em;
  background-color: #025147;
  cursor: pointer;
}
.slider__prev {
  background: url("../images/arrow-left.svg") center no-repeat;
}
.slider__prev--alt {
  background: url("../images/arrow-left-alt.svg") center no-repeat;
}
.slider__next {
  background: url("../images/arrow-right.svg") center no-repeat;
}
.slider__next--alt {
  background: url("../images/arrow-right-alt.svg") center no-repeat;
}
.slider__content {
  margin-top: -1.41em;
  display: none;
}
.slider__el--show > * {
  display: block;
}

/* --------------------- MEDIA --------------------- */
/* ----------- TAB ----------- */
@media screen and (min-width: 400px) {
  body {
    font-size: 18px;
  }
  p {
    max-width: 530px;
    margin: auto;
  }
  .intro {
    text-align: center;
    margin-bottom: 1.41em;
  }
  .slider__el {
    margin-top: 2em;
  }
  .slider__controls {
    justify-content: space-around;
  }
  .slider__btn {
    height: 50px;
    width: 50px;
  }
}
@media screen and (min-height: 800px) {
  .slider__list {
    height: 350px;
  }
}
@media screen and (min-height: 900px) {
  .image__container {
    height: 50%;
  }
  .title--l {
    margin-top: 1.41em;
  }
  .title--cover {
    margin-top: -2em;
  }
}
/* ----------- DESKTOP ----------- */
@media screen and (min-width: 850px) {
  body {
    font-size: 20px;
  }
  .body--base {
    background: #025147;
  }
  .body--purple {
    background: #c2aeff;
  }
  .body--red {
    background: #d0450c;
  }
  .body--base .menu__el a, .body--red .menu__el a {
    border-color: #ffffff;
  }
  .body--base .menu__el.active a, .body--red .menu__el.active a {
    background-color: #ffffff;
  }
  .body--base .footer, .body--red .footer {
    color: unset;
  }
  p {
    max-width: 750px;
  }
  header {
    z-index: 999;
  }
  main {
    height: 80vh;
  }
  .title--l {
    margin-top: 0.5em;
    font-size: 4em;
  }
  .title--cover {
    color: unset;
    text-shadow: none;
  }
  .section {
    margin: 0;
  }
  .video {
    height: 200px;
    cursor: pointer;
  }
  .video__list {
    grid-template-columns: repeat(2, 1fr);
    max-width: 750px;
  }
  .video--fake {
    max-width: 850px;
    height: auto;
    margin: auto;
  }
  .credits__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 80vw;
    text-align: left;
  }
  .credits__grid .title {
    text-align: unset;
  }
  .credits__el--team {
    grid-row: 1/2;
    grid-column: 2/2;
    text-align: right;
  }
}
/* ----------- DESKTOP - XL ----------- */
@media screen and (min-width: 1600px) {
  .body--base {
    background: #ffffff;
  }
  .body--base .menu__el a {
    border-color: #025147;
  }
  .body--base .menu__el.active a {
    background-color: #025147;
  }
  .image__container {
    height: 100%;
    width: 100%;
  }
  .grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    height: 100vh;
  }
  .grid--reverse {
    grid-template-columns: 3fr 2fr;
  }
  .grid--reverse .section {
    order: -1;
  }
  .grid--multi {
    grid-template-columns: 4fr 5fr;
    overflow: hidden;
  }
  .slider {
    z-index: 1;
  }
  .slider p {
    font-size: 16px;
    margin: 0;
  }
  .slider__list {
    position: relative;
    max-height: 900px;
    max-width: 900px;
  }
  .slider__controls {
    display: none;
  }
  .slider__content {
    display: flex;
    height: 350px;
    width: 350px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .slider__el {
    height: 350px;
    width: 350px;
    margin-top: 0;
    border-radius: 100%;
    padding: 75px;
    position: absolute;
  }
  .slider__el--blue {
    background-color: #025147;
    color: #ffffff;
    top: -1.41em;
  }
  .slider__el--purple {
    background-color: #c2aeff;
    color: #025147;
    right: -1.41em;
    top: 15%;
  }
  .slider__el--red {
    background-color: #d0450c;
    color: #ffffff;
    bottom: 0;
    left: 2em;
  }
}
/* --------------------- EXTRA --------------------- */
.hidden {
  visibility: hidden;
}

/* animations */
p,
.credits__el {
  animation: cubic-bezier(0.77, 0, 0.175, 1) 1s slideIn;
}

.title {
  animation: cubic-bezier(0.77, 0, 0.175, 1) 0.5s slideIn;
}

html {
  opacity: 0;
  animation: ease 1s fadeIn;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  animation-delay: 0.2s;
}
@keyframes pulse {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes slideIn {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}/*# sourceMappingURL=style.css.map */