@font-face {
  font-family: "DMSans Regular";
  src: url("fonts/DM_Sans/DMSans-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "DMSans";
  src: url("fonts/DM_Sans/DMSans-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "DMSans Bold";
  src: url("fonts/DM_Sans/DMSans-Bold.ttf") format("truetype");
}

body {
  color: white;
  margin: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden;

  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

:root {
  touch-action: pan-x pan-y;
  height: 100%;
}

html,
body {
  overflow-x: hidden;
  overflow: hidden;
}
body {
  position: relative;
}

html {
  background-color: red;
  overflow: hidden;
  width: 100%;
}

body {
  height: 100%;
  position: fixed;
  /* prevent overscroll bounce*/
  background-color: lightgreen;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  /* iOS velocity scrolling */
}

.button-control {
  position: absolute;
  width: 12vw;
  height: 12vw;
  padding: 22px;
  background-color: rgb(207, 207, 207);
  opacity: 90%;
  border-radius: 50%;
  display: flex;
  justify-content: center;
}

.button-forwards,
.button-reverse {
  left: 6vw;
}

.button-forwards {
  bottom: 38vw;
}

.button-reverse {
  bottom: 12vw;
}

.button-rotate-left,
.button-rotate-right {
  bottom: 26vw;
}

.button-rotate-left {
  right: 32vw;
}

.button-rotate-right {
  right: 6vw;
}

.button-reverse img {
  transform: rotate(180deg);
}

.button-rotate-left img {
  transform: rotate(-90deg);
}

.button-rotate-right img {
  transform: rotate(90deg);
}

@media (hover: hover) {
  .button-control {
    left: 35px;
    width: 35px;
    height: 35px;
    padding: 12px;
  }

  .button-forwards {
    bottom: 106px;
  }

  .button-reverse {
    bottom: 35px;
  }
}

h1 {
  font-family: "DMSans Medium", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-variant: normal;
  font-weight: 700;
  line-height: 26.4px;
}

h3 {
  font-family: "DMSans Medium", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-variant: normal;
  font-weight: 700;
  line-height: 15.4px;
}

p {
  margin: 0;
}

#loading-gif-container {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  justify-content: center;
  align-items: center;
  z-index: 100;
  background: #627a78;
}

#loading-gif {
  height: 150px;
  background: none;
}

#loading-gif-text {
  font-family: "DMSans Medium", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-variant: normal;
  font-weight: 700;
  color: #243e3d;
  position: relative;
  top: -80px;
}

.triangle {
  display: none;
}

.info-box ul {
  margin: 0;
  list-style-type: none;
  padding-inline-start: 0;
}

.info-box ul > li {
  text-indent: -5px;
  margin-bottom: 10px;
}

.info-box ul > li:before {
  content: "- ";
  text-indent: -5px;
}

canvas {
  width: 100% !important;
  height: 100% !important;
  touch-action: none;
}

:root {
  --offset-triangle-1-x: 110px;
  --offset-triangle-1-y: 430px;
}

@media (hover: hover) {
  .triangle1 {
    width: 1078px;
    height: 1829px;
    background-color: rgb(207, 207, 207);
    transform: translate(-336px, -834px) rotate(45deg);
    position: absolute;
    opacity: 90%;
    top: 0;
    left: 0;
  }

  .text1 {
    position: absolute;
    left: 0;
    top: 0;
    width: 500px;
    margin-left: 70px;
    margin-top: 70px;
  }

  .triangle2 {
    width: 800px;
    height: 1500px;
    background-color: rgb(207, 207, 207);
    transform: translate(357px, 674px) rotate(45deg);
    position: absolute;
    right: 0;
    bottom: 0;
    opacity: 90%;
  }

  .text2 {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 350px;
    margin-right: 70px;
    margin-bottom: 70px;
  }

  .triangle3 {
    width: 1500px;
    height: 2500px;
    background-color: rgb(207, 207, 207);
    transform: translate(-1282px, -1012px) rotate(45deg);
    position: absolute;
    opacity: 90%;
    top: 0;
    left: 0;
  }

  .text3 {
    position: absolute;
    left: 0;
    top: 0;
    width: 424px;
    margin-left: 70px;
    margin-top: 70px;
  }

  .triangle_w1b_q1 {
    width: 1500px;
    height: 2500px;
    background-color: rgb(207, 207, 207);
    transform: translate(-1303px, -1012px) rotate(45deg);
    position: absolute;
    opacity: 90%;
    top: 0;
    left: 0;
  }

  .text_w1b_q1 {
    position: absolute;
    left: 0;
    top: 0;
    width: 434px;
    margin-left: 70px;
    margin-top: 70px;
  }

  .triangle_w1b_q2 {
    width: 1500px;
    height: 2500px;
    background-color: rgb(207, 207, 207);
    transform: translate(-1213px, -1012px) rotate(45deg);
    position: absolute;
    opacity: 90%;
    top: 0;
    left: 0;
  }

  .text_w1b_q2 {
    position: absolute;
    left: 0;
    top: 0;
    width: 433px;
    margin-left: 70px;
    margin-top: 70px;
  }

  .triangle_w1b_q3 {
    width: 1500px;
    height: 2500px;
    background-color: rgb(207, 207, 207);
    transform: translate(-1086px, -1012px) rotate(45deg);
    position: absolute;
    opacity: 90%;
    top: 0;
    left: 0;
  }

  .text_w1b_q3 {
    position: absolute;
    left: 0;
    top: 0;
    width: 515px;
    margin-left: 70px;
    margin-top: 70px;
  }

  .triangle_w1b_exclamation {
    width: 1500px;
    height: 2500px;
    background-color: rgb(207, 207, 207);
    transform: translate(-1185px, -1012px) rotate(45deg);
    position: absolute;
    opacity: 90%;
    top: 0;
    left: 0;
  }

  .text_w1b_exclamation {
    position: absolute;
    left: 0;
    top: 0;
    width: 454px;
    margin-left: 70px;
    margin-top: 70px;
  }

  .triangle4 {
    width: 800px;
    height: 1500px;
    background-color: rgb(207, 207, 207);
    transform: translate(375px, 674px) rotate(45deg);
    position: absolute;
    right: 0;
    bottom: 0;
    opacity: 90%;
  }

  .text4 {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 280px;
    margin-right: 70px;
    margin-bottom: 70px;
  }

  .triangle5 {
    width: 1500px;
    height: 2500px;
    background-color: rgb(207, 207, 207);
    transform: translate(-1295px, -1012px) rotate(45deg);
    position: absolute;
    opacity: 90%;
    top: 0;
    left: 0;
  }

  .text5 {
    position: absolute;
    left: 0;
    top: 0;
    width: 444px;
    margin-left: 70px;
    margin-top: 70px;
  }

  .triangle_w2b_q1 {
    width: 1500px;
    height: 2500px;
    background-color: rgb(207, 207, 207);
    transform: translate(-1299px, -1012px) rotate(45deg);
    position: absolute;
    opacity: 90%;
    top: 0;
    left: 0;
  }

  .text_w2b_q1 {
    position: absolute;
    left: 0;
    top: 0;
    width: 427px;
    margin-left: 70px;
    margin-top: 70px;
  }

  .triangle_w2b_q2 {
    width: 1500px;
    height: 2500px;
    background-color: rgb(207, 207, 207);
    transform: translate(-1310px, -1012px) rotate(45deg);
    position: absolute;
    opacity: 90%;
    top: 0;
    left: 0;
  }

  .text_w2b_q2 {
    position: absolute;
    left: 0;
    top: 0;
    width: 430px;
    margin-left: 70px;
    margin-top: 70px;
  }

  .triangle_w2b_exclamation {
    width: 1500px;
    height: 2500px;
    background-color: rgb(207, 207, 207);
    transform: translate(-1339px, -1012px) rotate(45deg);
    position: absolute;
    opacity: 90%;
    top: 0;
    left: 0;
  }

  .text_w2b_exclamation {
    position: absolute;
    left: 0;
    top: 0;
    width: 382px;
    margin-left: 70px;
    margin-top: 70px;
  }
}

#legal-info {
  position: absolute;
  font-size: 3vw;
  cursor: pointer;
  font-family: "DMSans Regular";
  color: white;
  font-weight: 500;
  right: 45px;
  bottom: 30px;
}

#legal-info a {
  text-decoration: none;
  color: inherit;
}
#legal-info a:visited {
  text-decoration: none;
  color: inherit;
}

#info-box-advice,
#info-box-advice-mobile {
  font-family: "DMSans Bold", sans-serif;
  font-size: 14px;
  position: absolute;
  top: 35px;
  left: 35px;
  height: 24px;
  padding: 6px 14px;
  background-color: rgb(207, 207, 207);
  opacity: 90%;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #203e3c;
}

#info-box-advice-mobile {
  font-size: 5vw;
  height: 12vw;
  border-radius: 12vw;
  padding: 2vw 5vw;
}

#button-music {
  position: absolute;
  top: 35px;
  right: 35px;
  width: 10vw;
  height: 10vw;
  padding: 3vw;
  background-color: rgb(207, 207, 207);
  opacity: 90%;
  border-radius: 50%;
  display: flex;
  justify-content: center;
}

@media (hover: hover) {
  #button-music {
    height: 24px;
    width: 24px;
    padding: 6px;
  }
}

#button-music img {
  padding-top: 1px;
  padding-left: 2px;
}

#image-music-off {
  display: none;
}

.info-box {
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
  font-size: 18px;
  cursor: pointer;
  font-family: "DMSans";
  color: rgb(36, 62, 61);
  font-weight: 500;
  background-color: rgb(207, 207, 207);
  opacity: 90%;
  overflow: hidden;
  padding: 20px;
  box-sizing: border-box;
}

@media (hover: hover) {
  .info-box {
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
    font-size: 22px;
    cursor: pointer;
    font-family: "DMSans";
    color: rgb(36, 62, 61);
    font-weight: 500;
    background: initial;
  }

  .triangle {
    display: flex;
  }

  #info-box-advice,
  #info-box-advice-mobile {
    font-family: "DMSans Bold", sans-serif;
    font-size: 22px;
    position: absolute;
    top: 70px;
    left: 70px;
    height: 48px;
    padding: 12px 28px;
    background-color: rgb(207, 207, 207);
    opacity: 90%;
    border-radius: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #203e3c;
  }

  .button-control {
    display: none;
  }

  #button-music {
    position: absolute;
    top: 70px;
    right: 70px;
    width: 48px;
    height: 48px;
    padding: 12px;
    background-color: rgb(207, 207, 207);
    opacity: 90%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
  }

  #button-music img {
    padding-top: 1px;
    padding-left: 2px;
  }

  #image-music-off {
    display: none;
  }

  #legal-info {
    left: 98px;
    bottom: 40px;
    font-size: 14px;
  }
}
