* {
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 100vh;
  margin: 0;
  background-image: url("../img/10_background_canvas/mexico.jpg");
  background-position: top;
  background-size: cover;
  background-repeat: repeat-y;
  font-family: "margarita", Arial, Helvetica, sans-serif;
}

@keyframes move-text {
  0% {
    bottom: -0.2em;
    opacity: 1;
  }
  50% {
    bottom: 0.2em;
  }
  100% {
    bottom: 0;
    opacity: 1;
  }
}

.animate-text {
  animation: move-text 0.75s forwards;
  position: relative;
  display: inline-block;
  font-size: inherit;
}

#h1-plus-content {
  text-align: center;
  margin-top: 50px;
}

h1 {
  font-size: 64px;
  letter-spacing: 7px;
  text-shadow: 9px 9px 9px rgb(23 22 22 / 25%);
  font-weight: 600;
  color: #6f1010;
  min-width: 70px;
}

.content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  width: 100%;
}

.turn-device-overlay {
  position: absolute;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  background-image: url("../img/10_background_canvas/orange-bg.jpg");
  background-color: rgba(0, 0, 0, 0.5);
  background-position: bottom;
  box-shadow: 0px 0px 3px 3px rgb(111, 16, 16);
  border-style: solid;
  border-color: #6f1010;
  border-radius: 8px;
}

.d-flex {
  display: flex !important;
}

.turn-phone-img {
  width: 300px;
}

.game-loading-ct {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("../img/10_background_canvas/orange-bg.jpg");
  border-radius: 5px;
  letter-spacing: 9px;
  font-weight: bold;
  overflow: hidden;
  z-index: 10;
}

.game-loading-text {
  position: relative;
  text-align: center;
  text-wrap: wrap;
  font-size: 30px;
}

canvas {
  display: block;
  box-shadow: 0px 0px 3px 3px rgb(111, 16, 16);
  border-style: solid;
  border-color: #6f1010;
  border-radius: 8px;
  background-color: black;
}

.startscreen-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.onload-screen-image {
  width: 100%;
  height: -webkit-fill-available;
  border-radius: 5px;
}

.press-play-icon {
  position: absolute;
  width: 106px;
  height: 93px;
  border-radius: 10px;
  cursor: pointer;
  object-fit: cover;
  transition: transform 125ms;
}

.press-play-icon:hover {
  transform: scale(1.1);
}

.icon-container {
  position: absolute;
  top: 0%;
  right: 0%;
  display: flex;
  align-items: center;
}

.full-screen {
  width: 22px;
  margin: 10px 20px 0 5px;
  cursor: pointer;
  transition: transform 125ms;
}

.full-screen:hover {
  transform: scale(1.1);
}

.top-icon {
  width: 25px;
  margin-right: 20px;
  margin-top: 10px;
  cursor: pointer;
  transition: transform 125ms;
}

.top-icon:hover {
  transform: scale(1.1);
}

.instruction-container {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 100%;
  height: 100%;
  background-image: url("../img/10_background_canvas/orange-bg.jpg");
  background-position: bottom;
  border-radius: 5px;
  box-shadow: 0px 0px 0px 3px hsl(107.2deg 38.14% 25.05%);
  padding: 0 38px;
  z-index: 2;
}

.img {
  width: 77px;
  border-radius: 5px;
  object-fit: contain;
}

.img-space-key {
  width: 137px;
  border-radius: 5px;
  object-fit: contain;
}

.img-resp {
  width: 77px;
  border-radius: 5px;
  object-fit: contain;
}

p {
  font-size: 30px;
}

.cp {
  cursor: pointer;
}

.go-loco-imgs {
  display: flex;
}

.flex-row {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}

.game-finished-container {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  bottom: 0;
}

.game-over-img {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
}

.endscreen-img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
}

.restart-btn {
  position: absolute;
  width: 180px;
  object-fit: contain;
  z-index: 1;
  left: 18px;
  top: 0;
  bottom: 0;
  right: 0;
  cursor: pointer;
  transition: transform 125ms;
}

.restart-btn:hover {
  transform: scale(1.1);
}

.quit-btn {
  position: absolute;
  width: 100px;
  object-fit: contain;
  z-index: 1;
  right: 10px;
  top: 8px;
  bottom: 0;
  cursor: pointer;
  transition: transform 125ms;
}

.quit-btn:hover {
  transform: scale(1.1);
}

.privacy-imprint-flex {
  position: fixed;
  bottom: 40px;
  display: flex;
  justify-content: center;
  gap: 50px;
}

button {
  height: 32px;
  width: 80px;
  font-family: "margarita";
  font-size: 15px;
  border-radius: 5px;
  color: #430b0b;
  box-shadow: 0px 0px 1px 1px rgb(111, 16, 16);
  border-color: solid;
  border-color: #6f1010;
  background-color: #f3e9e957;
  cursor: pointer;
  transition: transform 125ms;
}

button:hover {
  transform: scale(1.1);
}

.privacy-info {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  font-family: "margarita";
}

.mt-80 {
  margin-top: 80px;
}

.d-none {
  display: none;
}

/* responsive-buttons to play*/

.responsive-button-set {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0px;
  display: none;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.responsive-throw-jump {
  display: flex;
  align-items: center;
}

.responsive-btn-bottle {
  height: 72px;
} /* --------------------*/

/*full screen settings */
/* <--------------------> */
body.fullscreen-mode #content {
  width: 100% !important;
  height: 100% !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
}

body.fullscreen-mode .onload-screen-image,
body.fullscreen-mode .endscreen-img,
body.fullscreen-mode .game-over-img {
  width: 100% !important;
  height: 100% !important;
}

body.fullscreen-mode canvas {
  width: 100% !important;
  height: 100% !important;
}
/* ------------------------*/

/* Smartphones -----------*/

/* Smartphone heigth settings */
@media only screen and (max-height: 480px) {
  .content {
    height: 100vh;
  }
  canvas {
    height: 100vh;
    border-style: none;
  }
}
/* ----------------------*/

/* Smartphone width settings */
/* <------------------------>*/

@media only screen and (max-width: 780px) {
  canvas {
    width: 100%;
    border-style: none;
    box-shadow: 0px 0px 0px 0px;
  }

  .content {
    width: 100%;
  }

  .press-play-icon {
    width: 62px;
    height: 58px;
  }

  .img {
    width: 58px;
  }

  .img-space-key {
    width: 117px;
  }

  .img-resp {
    width: 58px;
  }

  .responsive-btn-bottle {
    width: 55px;
  }
}

@media only screen and (max-width: 675px) {
  .img {
    width: 38px;
  }

  .img-space-key {
    width: 79px;
  }

  p {
    font-size: 20px;
  }

  .animate-text {
    font-size: 11px;
  }
}

@media (max-width: 575px) {
  h1 {
    display: none;
  }
  .instruction-container {
    justify-content: center;
  }

  .turn-phone-img {
    width: 195px;
  }
}

@media only screen and (max-width: 425px) {
  .img {
    width: 31px;
  }

  .img-space-key {
    width: 63px;
  }
  p {
    font-size: 14px;
  }
  .top-icon {
    width: 18px;
  }
  .full-screen {
    width: 16px;
  }
  .press-play-icon {
    width: 47px;
    height: 38px;
  }
}

@media (max-height: 567px) {
  .privacy-imprint-flex {
    display: none !important;
  }
}
