@font-face {
  font-family: "font1";
  src: url(../fonts/ABCDiatypeEdu-Regular.woff);
}

* {
  overflow: hidden;
}

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

body {
  color: #ffffffbf;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  justify-content: center;
}

.container-tout {
  position: relative;
  display: none;
  justify-content: center;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  opacity: 0;
  filter: blur(10px);
  animation: apparition 3.5s ease-in-out forwards;
}

.container-tout-visible {
  display: flex;
}

@keyframes apparition {
  to {
    opacity: 1;
    filter: blur(0);
  }
}

#container-image {
  display: flex;
  justify-content: center;
  width: fit-content;
  height: 100vh;
  height: 100dvh;
}

#container-image img {
  object-fit: cover;
  object-position: top;
  max-height: 100%;
  min-width: 100%;
}

#container-spline {
  position: absolute;
  display: flex;
  height: 100vh;
  height: 100dvh;
  justify-content: center;
  box-sizing: border-box;
}

.spline {
  height: 100vh;
  height: 100dvh;
  object-fit: cover;
  object-position: top;
  overflow: visible;
  box-sizing: border-box;
  stroke-dasharray: 1690;
  stroke-dashoffset: 1689;
  transition: stroke-dashoffset 2s ease-in-out;
}

.etape2 {
  stroke-dashoffset: 708;
}

.etape3 {
  stroke-dashoffset: 515;
}

.etape4 {
  stroke-dashoffset: 276;
}

.etape5 {
  stroke-dashoffset: 184;
}

.etape6 {
  stroke-dashoffset: 114;
}

.etape7 {
  stroke-dashoffset: 0;
}

#container-popups {
  opacity: 0;
  filter: blur(10px);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  animation: apparition 0.5s ease-in-out forwards 3s;
}

.pop-up,
.go_spline,
.go_nextpage {
  font-size: 1.2rem;
  font-family: font1;
  color: rgba(79, 106, 126, 0.85);
}

.pop-up {
  display: none;
  position: absolute;
  width: 18rem;
  padding: 0.5rem;
  background-color: rgb(255, 255, 255);
  border: solid rgba(122, 150, 173, 0.812) 0.1px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.pop-up-visible {
  opacity: 1;
  z-index: 2;
}

.pop-up:nth-child(1) {
  display: block;
  top: 10%;
  right: 18%;
}
.pop-up:nth-child(2) {
  top: 67%;
  right: 10%;
  width: 15.3rem;
}
.pop-up:nth-child(3) {
  top: 77%;
  left: 23%;
}
.pop-up:nth-child(4) {
  top: 56%;
  left: 25%;
  width: 15.1rem;
}
.pop-up:nth-child(5) {
  top: 48%;
  left: 16%;
  width: 16rem;
}
.pop-up:nth-child(6) {
  top: 23%;
  left: 55%;
  width: 16.5rem;
}
.pop-up:nth-child(7) {
  top: 9%;
  left: 43.5%;
  width: 15.5rem;
}

.go_spline,
.go_nextpage {
  background: none;
  border: none;
}

.container-arrow {
  display: flex;
  width: 100%;
  justify-content: center;
}

.go_spline,
.go_nextpage {
  display: block;
  padding-top: 0.4rem;
  transition: all 0.2s ease-in-out;
}

.go_nextpage {
  transform: translateX(0);
}

.go_nextpage:hover {
  color: rgba(79, 106, 126, 0.47);
  transition: all 0.2s ease-in-out;
  transform: translateX(10%);
}

.go_spline:hover {
  color: rgba(79, 106, 126, 0.47);
  transform: translateX(10%);
  cursor: pointer;
}

@media (max-width: 800px) {
  .pop-up {
    font-size: 0.9rem;
    width: 14rem;
  }
  .pop-up:nth-child(1) {
    display: block;
    top: 10%;
    right: 18%;
    width: 12rem;
  }
  .pop-up:nth-child(2) {
    top: 68%;
    left: 31%;
    width: 11rem;
  }
  .pop-up:nth-child(3) {
    top: 69%;
    left: 19%;
    width: 13rem;
  }

  .pop-up:nth-child(4) {
    top: 40%;
    left: 25%;
    width: 13rem;
  }

  .pop-up:nth-child(5) {
    top: 70%;
    left: 9%;
    width: 17rem;
  }

  .pop-up:nth-child(6) {
    top: 14%;
    left: 31%;
    width: 12rem;
  }

  .pop-up:nth-child(7) {
    top: 9%;
    left: 19%;
    width: 11.5rem;
  }
}
