body {
  text-align: center;
  background: #283136;
  margin: 0px;
  padding: 0px;
  min-height: 314px;
}

#unity-canvas {
  background: #283136;
  width: 100% !important;
  height: 100% !important;
  display: block;
  position: absolute;
  min-height: 314px;
}

#unity-fullscreen-button {
  width: 38px;
  height: 38px;
  background: url("FullscreenButton.png") no-repeat center;
  position: absolute;
  z-index: 2;
}
#unity-mobile-warning {
  position: absolute;
  left: 50%;
  top: 5%;
  transform: translate(-50%);
  color: white;
  padding: 10px;
  display: none;
  font-family: "Work Sans", sans-serif;
}

/* Anim */
#intro-cipher {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease-in;
  padding-top: -38.5px;
}

#mask,
#Livello_1,
#Livello_2 {
  transition: transform 1s;
}

#text-cipher {
  visibility: hidden;
  opacity: 0;
  transition: visibility 1.5s, opacity 1s linear;
  position: absolute;
  z-index: 3;
  max-width: 25rem;
  align-self: center;
  margin-left: 4rem;
}

.translate-anim {
  transform: translate(-18rem, 0);
}

svg {
  max-width: 10rem;
}

.visible {
  visibility: visible !important;
  opacity: 1 !important;
  transition: opacity 2s linear;
}
.hidden {
  visibility: hidden !important;
  opacity: 0 !important;
  transition: visibility 0s 2s, opacity 2s linear;
}

/* Mobile */
@media only screen and (max-width: 990px) {
  .translate-anim {
    transform: translate(-7rem, 0);
  }

  #text-cipher {
    visibility: hidden;
    opacity: 0;
    transition: visibility 1.5s, opacity 1s linear;
    position: absolute;
    z-index: 3;
    max-width: 50% !important;
    margin-left: 5rem;
  }

  svg {
    max-width: 4rem !important;
  }
}
