@font-face {
  font-family: "Titilium Web";
  src: url("/vision/assets/fonts/Titillium\ Web/TitilliumWeb-Regular.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Titilium Web";
  src: url("/vision/assets/fonts/Titillium\ Web/TitilliumWeb-Bold.ttf")
    format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Titilium Web";
  src: url("/vision/assets/fonts/Titillium\ Web/TitilliumWeb-Black.ttf")
    format("truetype");
  font-weight: 900;
  font-style: normal;
}

html,
body {
  height: 100%;
  padding: 0;
  margin: 0;
  font-family: "Titilium Web";
}

.page {
  position: relative;
  width: 100%;
  height: 100%;
}

.hidden {
  display: none;
}

.visible {
  display: unset;
}

.center {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.button {
  border: none;
  padding: 30px 50px;
  margin: 4px 2px;
  border-radius: 40px;

  /* display: inline-block; */

  background-color: white;
  color: #8f2140;

  text-align: center;
  text-decoration: none;
  font-size: 50px;
  font-weight: bold;
}

/* ########## Page 3 ########## */

#game-result-fiocchi-top-left {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 40%;
  max-width: 200px;
  z-index: 2;
}

#game-result-fiocchi-top-right {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 40%;
  max-width: 200px;
  z-index: 2;
}

#page3 {
  box-sizing: border-box;
}

#page3::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #8f2140;
}

.result-container {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: center;
}

#game-result-download-button {
  background-color: white;
  color: #8f2140;
  text-align: center;
  text-decoration: none;
  font-size: 26px;
  font-weight: bold;
  border-radius: 20px;
  margin: 25px auto 0;
  width: 100%;
  max-width: 300px;
  padding: 10px 15px;
}

#game-result-disclaimer {
  color: white;
  font-size: 26px;
  text-align: center;
  margin: 25px auto 30px;
  width: 100%;
  max-width: 300px;
}

#game-result-score {
  position: absolute;
  top: 45.5%;
  width: 100%;
  text-align: center;

  color: #8f2140;
  font-size: 180px;
  font-weight: 900;
}

#game-result-canvas {
  width: 100%;
  max-width: 500px;
  margin: 30px auto 0;
}
@media (max-width: 359px) {
  #game-result-canvas {
    max-width: 300px;
    margin: 15px auto 0;
  }
  #game-result-disclaimer {
    font-size: 22px;
    margin: 25px auto 15px;
    max-width: 250px;
  }
  #game-result-download-button {
    font-size: 22px;
    border-radius: 12px;
    margin: 15px auto 0;
    max-width: 250px;
    padding: 10px 15px;
  }
}

.lds-ring {
  display: none;
  position: relative;
  width: 80px;
  height: 80px;
  margin-left: auto;
  margin-right: auto;
}

.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
