@import "./basscss-flexbox.css";
@import "../src/assets/font/pixellari/stylesheet.css";

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Pixellari, sans-serif;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: env(safe-area-inset-top);
  background-color: #1496db;
}

.spinning {
  opacity: 50%;
}

#menu-page {
  width: 100vw;
  height: 100%;
  background-image: url("../src/assets/main-menu/background-splash2.png");
  background-size: 100% 100%;
}

.container {
  max-width: 800px;
  height: 100%;
  margin: 0 auto;
}

.container.main {
  position: relative;
}

.container.main {
  height: 90vh;
  background-image: 
  /* left */ url(../src/assets/main-menu/obj-02.png),
    url(../src/assets/main-menu/obj-01.png),
    url(../src/assets/main-menu/obj-05.png),
    url(../src/assets/main-menu/obj-06.png),
    url(../src/assets/main-menu/obj-08.png),
    url(../src/assets/main-menu/obj-11.png),
    url(../src/assets/main-menu/obj-13.png),
    url(../src/assets/main-menu/obj-14.png),
    /* right */ url(../src/assets/main-menu/obj-03.png),
    url(../src/assets/main-menu/obj-04.png),
    url(../src/assets/main-menu/obj-07.png),
    url(../src/assets/main-menu/obj-16.png),
    url(../src/assets/main-menu/obj-09.png),
    url(../src/assets/main-menu/obj-10.png),
    url(../src/assets/main-menu/obj-12.png),
    url(../src/assets/main-menu/obj-15.png);

  background-position: 0 5%, /* left */ 0 25%, 5% 35%, 0% 45%, 5% 55%, 5% 75%,
    10% 85%, 28% 95%, /*right  */ 100% 10%, 97% 17%, 100% 37%, 100% 47%, 85% 55%,
    95% 60%, 95% 75%, 85% 100%;
  background-repeat: no-repeat;
  /* background-size: 12% 8%; */
}

.header-button .header-name {
  color: #f9c585;
  text-shadow: 2px 2px 0 #1a1a1a;
  position: absolute;
  top: 29%;
  left: 28%;
  width: 66%;
  height: 28%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  text-transform: uppercase;
  text-align: left;
  display: flex;
  justify-content: center;
}

.header-button #player-image,
.header-button #leaderboard-image,
.header-button #settings-image, #free-mode-image{
  position: absolute;
  bottom: 1.6vh;
  left: 0;
  width: 10vh;
  height: 10vh;
  max-height: 55px;
  max-width: 55px;
  cursor: pointer;

}
.sound-bar{
  cursor: pointer;

}
.name-text {
  display: inline-block;
  background-color: #d8d8d8;
  height: 40px;
  text-align: center;
}

.player-selected {
  height: 20px;
  width: 20px;
}

#playerPicker,
#error-banner,
#difficulty-error-banner,
#settings,
#free-mode-banner {
  color: #d8d8d8;
  display: none;
  padding: 10px;
  background-color: #d8d8d8;
  position: absolute;
  width: 40%;
  height: 50vh;
  min-height: 500px;
  min-width: 350px;
  max-width: 900px;
  border-radius: 20px;
  border: 5px solid black;
  text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
  cursor: pointer;
}

#creditsScreen {
  color: #d8d8d8;
  display: none;
  padding: 10px;
  background-color: #d8d8d8;
  position: absolute;
  width: 80%;
  height: 50vh;
  min-height: 500px;
  min-width: 350px;
  max-width: 900px;
  border-radius: 20px;
  border: 5px solid black;
  text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
  cursor: pointer;

}

#picker-content,
#error-content,
#difficulty-error-content,
#credits-content,
#settings-content,
#free-mode-content {
  background-color: #b38f7a;
  height: 100%;
  width: 100%;
  border: 5px solid black;
  border-radius: 10px;
}

#credits-content {
  height: 80%;
}

#picker-info,
#credits-info,
#settings-info,
#free-mode-info {
  height: 80%;
  margin-bottom: 5px;
}

#playerPicker.show,
#error-banner.show,
#difficulty-error-banner.show,
#creditsScreen.show,
#settings.show,
#free-mode-banner.show {
  display: flex;
}

#playerPicker input {
  border: 2px solid #d8d8d8;
  font-size: 24px;
  font-family: Pixellari, sans-serif;
}

.player-preview img {
  width: 50px;
  height: 50px;
}

#malePlayer,
#femalePlayer {
  border: 4px solid transparent;
  cursor: pointer;
  background-color: transparent;
}

#confirmPlayer {
  position: absolute;
  top: 85.5%;
  left: 48%;
  cursor: pointer;
}

#dismiss-error {
  cursor: pointer;
}

#confirmPlayer h1 {
  margin: 0;
}

.langOption {
  opacity: 0.5;
  /*    max-width: 8%;
        width: 8%;*/
  height: 100%;
  min-height: 10%;
  cursor: pointer;
}

.returnToHomeBtn {
  width: 40px;
  height: 40px;
}

.langSelected {
  opacity: 1;
}

#topBarContainer {
  height: 5%;
  width: 100%;
  padding: 2px;
  display: flex;
  justify-content: space-between;
}

.topBarReturnHome {
  display: flex;
  justify-content: center;
  height: 10px;
}

.topBaFlags {
  padding-left: 8px;
  width: 100%;
  text-align: center;
}

.topBar-logo {
  /*width: 50vh;*/
  background-color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
}

.topRightLogoImg {
  width: 20vh;
  height: 4.8vh;
  margin: auto auto auto 100px;
}

.topLeftLogoImg {
  width: 20vh;
  height: 4.8vh;
  margin: auto -50px auto auto;
}
.logo {
  height: 15%;
  text-align: center;
  padding: 10px;
  margin-top: 2.5vh;
  margin-bottom: 5vh;
}

.logo img {
  width: 80%;
  height: 80%;
  max-width: 400px;
  min-height: 20px;
}

.level-button-container,
.navigation-button-container,
.picker-info-container,
.credits-info-container {
  height: 25%;
  text-align: center;
}

.player-section-container,
.warning-container,
.credits-container {
  text-align: center;
}

.difficulty-error-banner-title {
  text-align: center;
  margin-top: 0% !important;
  padding-top: 0% !important;
}
.header-button {
  margin: 10px;
}

.header-button,
.level-button,
.navigation-button {
  display: inline-block;
  position: relative;
  width: 60%;
  max-width: 400px;
  cursor: pointer;
  background-size: cover;
}

.button-background {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  filter: drop-shadow(10px 10px 0 rgba(0, 0, 0, 0.25));
}
.button-play {
  width: 60%;
  height: 60%;
  image-rendering: pixelated;
  filter: drop-shadow(10px 10px 0 rgba(0, 0, 0, 0.25));
  bottom: 20%;
  margin-bottom: 0% !important;
  cursor: pointer;
  /*position: relative;*/
  /*text-align: center;*/
}
.centered {
  /*position: absolute;*/
  /*width: 100%;*/
  /*transform: translate(-50%, -50%);*/
  /* position: relative; */
  width: 100%;
  transform: translate(0%, -400%);
  /* padding-bottom: 500px; */
  z-index: 1;
}

.centered-map {
  
  width: 40vh;
  height: 3vh;
  transform: translate(0%, -350%);
  z-index: 1;
  text-align: center;
  font-size: 1.5vh;
}
.start-h1{
  width: 43vh;
  /*min-width: 329px;*/
  height: 3vh;
}
.button-background:active {
  filter: drop-shadow(5px 5px 0 rgba(0, 0, 0, 0.25));
}

.level-button-container .locked {
  pointer-events: none;
}

.level-button-container .locked img {
  opacity: 0.7;
}

.level-button .level-name {
  color: #f9c585;
  position: absolute;
  top: 4.5%;
  left: 55%;
  width: 41%;
  height: 13%;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  text-transform: uppercase;
}

.level-button .lock {
  background-image: url(../src/assets/main-menu/lock.svg);
  background-repeat: no-repeat;
  position: absolute;
  top: 22%;
  left: -5%;
  width: 40%;
  height: 100%;
  opacity: 1;
}

#main-content {
  height: 100%;
}

#infoCredits {
  height: auto;
  width: 100%;
  padding: 10px;
  background-color: #073c3e;
  color: white;
  text-align: center;
  z-index: 1;
  cursor: pointer;
  position: fixed;
  bottom: 0;
  font-size: 0.85rem;
}

#infoCredits p {
  margin: 0;
  color: white;
}

#infoCredits img {
  height: 80%;
  cursor: pointer;
}

#creditsScreen {
  height: auto;
}

#creditsScreen img {
  width: 90%;
  cursor: pointer;
  padding: 1em 0 1em 0;
}

#credits-logos-container {
  flex-direction: column;
  align-items: center;
  align-content: space-around;
  height: 50vh;
  overflow-y: scroll;
  text-align: center;
  background-color: #997058;
}

.credits-logo {
  justify-content: center;
}

#closeCredits {
  height: 20%;
  cursor: pointer;
}

table {
  border-collapse: separate;
  width: 100%;
  color: #ffffff;
  overflow: scroll;
}
td,
th {
  text-align: left;
  padding: 8px;
  border-bottom: 2px solid transparent;
}

tbody {
  border-radius: 10px;
}

th {
  background-color: #121119;
  color: #a9d7e4;
}

th:first-child {
  border-radius: 10px 0 0 10px;
  -moz-border-radius: 10px 0 0 10px;
  -webkit-border-radius: 10px 0 0 10px;
}

th:last-child {
  border-radius: 0 10px 10px 0;
  -moz-border-radius: 0 10px 10px 0;
  -webkit-border-radius: 0 10px 10px 0;
}

td:first-child {
  border-radius: 10px 0 0 10px;
  -moz-border-radius: 10px 0 0 10px;
  -webkit-border-radius: 10px 0 0 10px;
}
td:last-child {
  border-radius: 0 10px 10px 0;
  -moz-border-radius: 0 10px 10px 0;
  -webkit-border-radius: 0 10px 10px 0;
}
td {
  background-color: #121119;
}

/* Style the tab */
.tab {
  display: flex;
  height: 20%;
}

/* Style the buttons inside the tab */
.tab button {
  font-family: Pixellari, sans-serif;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
  border-radius: 20px;
  background-color: #353147;
  color: #6c7988;
  width: 25%;
  flex-grow: 1;
  margin: 10px;
}

/* Create an active/current tablink class */
.tab button.active {
  color: #ffffff;
}

/* Change background color of buttons on hover */
@media (hover: hover) {
  .tab button:hover {
    background-color: #dfdede;
    color: #6c7988;
  }
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border-top: none;
  overflow: auto;
  height: 80%;
  max-height: 100vmax;
  text-align: center;
}

.tabcontent > div {
  padding: 10px;
}

.leaderboard-container {
  text-align: center;
  margin-right: 5%;
  margin-left: 5%;
  filter: drop-shadow(10px 10px 0 rgba(0, 0, 0, 0.25));
  background-color: #262333;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  height: 40vh;
}

#sp-leaderboard > h1 {
  margin-bottom: 0;
}

.leaderboard-area-container {
  text-align: center;
}

.score-label {
  color: yellow;
}

/* Leaderboard podium */

#podium-box-lb {
  height: 60%;
  width: 30vh;
  background-image: url(../src/assets/leaderboard/podium.png);
  background-repeat: no-repeat;
  background-size: 36vh 12vh;
  background-position: bottom;
  margin: 0px auto;
}

.podium-first-lb {
  color: gold;
}

.podium-first-lb::before {
  content: "🥇";
}

.podium-second-lb {
  color: silver;
}

.podium-second-lb::before {
  content: "🥈";
}

.podium-third-lb {
  color: saddlebrown;
}

.podium-third-lb::before {
  content: "🥉";
}

.podium-number {
  font-weight: bold;
  color: white;
}

.step-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.step-container > div:first-child {
  margin-top: auto;
  text-align: center;
}

.podium-name,
.podium-date,
.podium-score {
  color: white;
  max-width: 100px;
  max-height: 20px;
  overflow:hidden;
}

.podium-date {
  font-size: 0.6em;
}

.step {
  text-align: center;
  word-wrap: break-word;
  /* background: gray; */
}

#first-step {
  height: 70%;
  /* border: 2px white solid; */
}

#second-step {
  height: 60%;
  /* border-top: 2px white solid; */
  /* border-bottom: 2px white solid;
  border-left: 2px white solid; */
}

#third-step {
  height: 40%;
  /* border-top: 2px white solid;
  border-bottom: 2px white solid;
  border-right: 2px white solid; */
}

.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 40%;
  height: 40%;
}

.lds-ellipsis-game {
  display: inline-block;
  position: relative;
  width: 40%;
  height: 40%;
}
.lds-ellipsis div,
.lds-ellipsis-game div {
  position: absolute;
  top: 50%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ffffff;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1),
.lds-ellipsis-game div:nth-child(1) {
  left: 25%;
  animation: lds-ellipsis1 0.4s infinite;
}

.lds-ellipsis div:nth-child(2),
.lds-ellipsis-game div:nth-child(2) {
  left: 50%;
  animation: lds-ellipsis2 0.8s infinite;
}
.lds-ellipsis div:nth-child(3),
.lds-ellipsis-game div:nth-child(3) {
  left: 75%;
  animation: lds-ellipsis3 0.4s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(3);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(4);
  }
  100% {
    transform: scale(0);
  }
}

@keyframes lds-ellipsis3 {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(3);
  }
  100% {
    transform: scale(0);
  }
}

#game {
  position: relative;
}

#game-spinner {
  position: absolute;
  display: none;
}
@media (min-aspect-ratio: 8/10) {
  .container {
    max-width: 500px;
    height: 100%;
    margin: 0 auto;
  }
}
@media (max-width: 920px) and (orientation: landscape) {
  .container {
    max-width: 350px;
    height: 100%;
    margin: 0 auto;
  }
}

#toggle-music {
  display: flex;
  justify-content: center;
  height: 10px;
  cursor: pointer;

}
#toggle-music img {
  width: 30px;
  height: 30px;
  padding-bottom: 1vh;
}

/*
@supports (padding: max(0px)) and (padding: env(safe-area-inset-bottom)) {
    .Button.Sticky {
        position: sticky;
        bottom: 0;
        padding:
                16px
                32px
                max(32px, env(safe-area-inset-bottom))
                32px;
    }
}*/

.play-container {
  margin-top: 1vh;
}

/* .map-container{
    margin-left: auto;
    margin-right: auto;
    margin-bottom: none;
    margin-top: none;
    width: 60vh;
    height: 100vh;
    background-image: url("../src/assets/maps/World-menu-bg.png");
    background-repeat: no-repeat;
    background-size:contain;

    
} */

#map-page {
  width: 100vw;
  height: 85vh;
  background-image: url("../src/assets/maps/World-menu-bg-2pixels.png");
  background-size: 100% 100%;
}

.map-container {
  margin: 0% auto;
  width: auto;
  max-width: 100%;
  height: 85vh;
  max-height: 85vh;
  background-image: url("../src/assets/maps/World-menu-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: inherit;
}

.levels-container {
  padding: 0% !important;
  margin: 0% !important;
  height: auto;
}

.dot-line {
  background-image: url("../src/assets/maps/World-menu-path.png");
  background-repeat: no-repeat;
  margin-left: 15px;
  height: 70%;
  background-size: 100% 100%;
}
.beachLevel {
  display: flex;
  justify-content: space-evenly;
  padding-left: 4vh;
  text-align: center;
  background-image: url("../src/assets/maps/World-menu-popup-beach.png");
  background-repeat: no-repeat;
  height: 7vh;
  width: 8vh;
  background-size: cover;
  text-align: center;
  margin-top: 1vh;
  margin-left: 16vh;
  font-size: 1.5vh;
  line-height: 7vh;
}

.mountainLevel {
  display: flex;
  justify-content: space-evenly;
  padding-left: 4vh;
  text-align: center;
  background-image: url("../src/assets/maps/World-menu-popup-mountain.png");
  background-repeat: no-repeat;
  height: 7vh;
  width: 8vh;
  background-size: cover;
  text-align: center;
  margin-top: 10.5vh;
  margin-left: -2vh;
  font-size: 1.5vh;
  line-height: 7vh;
}

.seaLevel {
  display: flex;
  justify-content: space-evenly;
  padding-left: 4vh;
  text-align: center;
  background-image: url("../src/assets/maps/World-menu-popup-sea.png");
  background-repeat: no-repeat;
  height: 7vh;
  width: 8vh;
  background-size: cover;
  text-align: center;
  margin-top: 5vh;
  margin-left: -2vh;
  font-size: 1.5vh;
  line-height: 7vh;
}
.mareLevel {
  display: flex;
  justify-content: space-evenly;
  padding-left: 4vh;
  text-align: center;
  background-image: url("../src/assets/maps/World-menu-popup-underwater.png");
  background-repeat: no-repeat;
  height: 7vh;
  width: 8vh;
  background-size: cover;
  text-align: center;
  margin-top: 12vh;
  margin-left: 35vh;
  font-size: 1.5vh;
  line-height: 7vh;
}

.up-right-cloud {
  background-image: url("../src/assets/maps/World-menu-cloud.png");
  background-repeat: no-repeat;
  height: 13vh;
  width: 15vh;
  background-size: 15vh 15vh;
  margin-left: 30vh;
}

.middle-left-cloud {
  background-image: url("../src/assets/maps/World-menu-cloud-02.png");
  background-repeat: no-repeat;
  height: 15vh;
  width: 15vh;
  background-size: 15vh 15vh;
  margin-left: 5vh;
}
.middle-right-cloud {
  background-image: url("../src/assets/maps/World-menu-cloud-02.png");
  background-repeat: no-repeat;
  height: 15vh;
  width: 15vh;
  background-size: 15vh 15vh;
  margin-left: 5vh;
}
/*.botton-left-cloud {
  background-image: url("../src/assets/maps/World-menu-cloud-03.png");
  background-repeat: no-repeat;
  height: 15vh;
  width: 15vh;
  background-size: 15vh 15vh;
  margin-top: 5vh;
  margin-left: 5vh;
}*/

.botton-left-cloud {
  position: absolute;
  background-image: url("../src/assets/maps/World-menu-cloud-03.png");
  background-repeat: no-repeat;
  height: 15vh;
  width: 15vh;
  background-size: 15vh 15vh;
  top: 0;
}

#restart-mission-btn {
  position: absolute;
  right: 20%;
  top: 0;
}

.free-mode {
  position: relative;
}

.beach-container {
  display: flex;
}
.sea-container {
  display: flex;
}

/* 
Animation person moving montain to beach
 */

.capguy {
  width: 45px;
  height: 72px; /* <--  size of a single frame*/
  margin-left: 4vh;
  margin-top: -6vh;
  background-image: url("../src/assets/maps/CH-male-menu.png"); /* <-- url to spritesheet*/
  /* margin: 0 auto;     */
  animation: walk 1s steps(7) infinite; /* <-- animation parameters, see below*/
}
.capgirl {
  width: 45px;
  height: 72px; /* <--  size of a single frame*/
  margin-left: 4vh;
  margin-top: -6vh;
  background-image: url("../src/assets/maps/CH-female-menu.png"); /* <-- url to spritesheet*/
  /* margin: 0 auto;     */
  animation: walk 1s steps(7) infinite; /* <-- animation parameters, see below*/
}

.movement {
  position: absolute;
  /* top: 10vh;
    left: 5vh; */
  justify-self: center;
  transform: translateX(0px);
  -webkit-animation: move 10s;
  animation: move 10s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}
@-webkit-keyframes walk {
  from {
    background-position: 0px;
  }
  to {
    background-position: -49px;
  } /* <-- width of spritesheet*/
}

@-moz-keyframes walk {
  from {
    background-position: 49px;
  }
  to {
    background-position: -96;
  } /* <-- width of spritesheet*/
}

@-o-keyframes walk {
  from {
    background-position: 96px;
  }
  to {
    background-position: -145px;
  } /* <-- width of spritesheet*/
}

@keyframes walk {
  from {
    background-position: 145px;
  }
  to {
    background-position: -191px;
  } /* <-- width of spritesheet*/
}
@-webkit-keyframes move {
  from {
    -webkit-transform: translateX(0vh) translateY(0vh);
  }
  to {
    -webkit-transform: translateX(0vh) translateY(0vh);
  }
}
@keyframes move {
  from {
    transform: translateX(0vh) translateY(0px);
  }
  to {
    transform: translateX(28vh) translateY(26vh);
  }
}

/* 
Animation character moving beach tosea
 */

.guy-beach-to-sea {
  width: 45px;
  height: 72px; /* <--  size of a single frame*/
  background-image: url("../src/assets/maps/CH-male-menu.png"); /* <-- url to spritesheet*/
  /* margin: 0 auto;     */
  animation: walkBeachToSea 1s steps(7) infinite; /* <-- animation parameters, see below*/
}

.girl-beach-to-sea {
  width: 45px;
  height: 72px; /* <--  size of a single frame*/
  background-image: url("../src/assets/maps/CH-female-menu.png"); /* <-- url to spritesheet*/
  /* margin: 0 auto;     */
  animation: walkBeachToSea 1s steps(7) infinite; /* <-- animation parameters, see below*/
}

.movement-beach-to-sea {
  position: absolute;
  /* top: 10vh;
    left: 5vh; */
  justify-self: center;
  transform: translateX(0px);
  -webkit-animation: moveWalkBeachToSea 10s;
  animation: moveWalkBeachToSea 10s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}
@-webkit-keyframes walkBeachToSea {
  from {
    background-position: 0px;
  }
  to {
    background-position: -49px;
  } /* <-- width of spritesheet*/
}

@-moz-keyframes walkBeachToSea {
  from {
    background-position: 49px;
  }
  to {
    background-position: -96;
  } /* <-- width of spritesheet*/
}

@-o-keyframes walkBeachToSea {
  from {
    background-position: 96px;
  }
  to {
    background-position: -145px;
  } /* <-- width of spritesheet*/
}

@keyframes walkBeachToSea {
  from {
    background-position: 145px;
  }
  to {
    background-position: -191px;
  } /* <-- width of spritesheet*/
}
@-webkit-keyframes moveWalkBeachToSea {
  from {
    -webkit-transform: translateX(0vh) translateY(0vh);
  }
  to {
    -webkit-transform: translateX(0vh) translateY(0vh);
  }
}
@keyframes moveWalkBeachToSea {
  from {
    transform: translateX(30vh) translateY(5px);
  }
  to {
    transform: translateX(5vh) translateY(19vh);
  }
}

/* 
Animation character moving sea to mare
 */

.guy-sea-to-mare {
  width: 45px;
  height: 72px; /* <--  size of a single frame*/
  background-image: url("../src/assets/maps/CH-male-menu.png"); /* <-- url to spritesheet*/
  /* margin: 0 auto;     */
  animation: walkSeaToMare 1s steps(7) infinite; /* <-- animation parameters, see below*/
}
.girl-sea-to-mare {
  width: 45px;
  height: 72px; /* <--  size of a single frame*/
  background-image: url("../src/assets/maps/CH-female-menu.png"); /* <-- url to spritesheet*/
  /* margin: 0 auto;     */
  animation: walkSeaToMare 1s steps(7) infinite; /* <-- animation parameters, see below*/
}

.movement-sea-to-mare {
  position: absolute;
  /* top: 10vh;
    left: 5vh; */
  justify-self: center;
  transform: translateX(0px);
  -webkit-animation: moveWalkSeaToMare 10s;
  animation: moveWalkSeaToMare 10s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}
@-webkit-keyframes walkSeaToMare {
  from {
    background-position: 0px;
  }
  to {
    background-position: -49px;
  } /* <-- width of spritesheet*/
}

@-moz-keyframes walkSeaToMare {
  from {
    background-position: 49px;
  }
  to {
    background-position: -96;
  } /* <-- width of spritesheet*/
}

@-o-keyframes walkSeaToMare {
  from {
    background-position: 96px;
  }
  to {
    background-position: -145px;
  } /* <-- width of spritesheet*/
}

@keyframes walkSeaToMare {
  from {
    background-position: 145px;
  }
  to {
    background-position: -191px;
  } /* <-- width of spritesheet*/
}
@-webkit-keyframes moveWalkSeaToMare {
  from {
    -webkit-transform: translateX(0vh) translateY(0vh);
  }
  to {
    -webkit-transform: translateX(0vh) translateY(0vh);
  }
}
@keyframes moveWalkSeaToMare {
  from {
    transform: translateX(4vh) translateY(5vh);
  }
  to {
    transform: translateX(30vh) translateY(27vh);
  }
}

.hidden {
  display: none;
}

.noMovement {
  position: absolute;
  /* top: 10vh;
      left: 5vh; */
  justify-self: center;
}

.opacity {
  opacity: 0.3;
}



.slider {
  margin-top: 5vh;
}

.heart-map-image {
  width: 3vh;
  margin-top: -8px;
}
.mission-score {
  font-size: 3vh;
}

.free-mode {
  margin-top: 5vh;
}

.map-header {
  /*position: absolute;*/
  display: flex;
  width: 100vw;
  height: 6vh;
  justify-content: center;
  top: 3vh;
  background-color: #fff;
  margin: 0% !important;
  padding: 0% !important;
}

.top-map-bar {
  display: flex;
  width: 40vh;
  justify-content: space-between;
}

.flex-colums {
  flex-direction: column;
  height: 3vh;
  justify-content: center;
  text-align: center;
  margin-top: 0.2vh;
  font-size: 3vh;
}

.map-button-home {
  /*margin-left: 2.5vw;*/
  width: 3vh;
  cursor: pointer;

}

.flex-between {
  display: flex;
  justify-content: space-evenly;
}
.leaderboard-home-button {
  padding-top: 2vh;
  padding-bottom: 2vh;
  min-width: 45px;
  cursor: pointer;

}

ul {
  display: flex;
  list-style: none;
  margin: 0% !important;
  padding: 0 !important;
  text-align: justify;
  justify-content: space-around;
}
li {
  display: flex;
}
input[type="radio"] {
  visibility: hidden;
}
label {
  cursor: pointer;
  width: 7vh;
  height: 4vh;
  display: flex;
  align-items: center;
  opacity: 0.5;
}
input:checked + label {
  opacity: 1;
  transform: scale(1.1);
  border: #073c3e;
  border-radius: 7%;
  background: rgba(0, 0, 0, 0.55);
  justify-content: center;
  text-align: center;
  
  /* margin-right: 2vh; */
}

.guy-move-in-place {
  width: 45px;
  height: 72px; /* <--  size of a single frame*/
  background-image: url("../src/assets/maps/CH-male-menu.png"); /* <-- url to spritesheet*/
  /* margin: 0 auto;     */
  animation: walkBeachToSea 1s steps(7) infinite; /* <-- animation parameters, see below*/
}
.girl-move-in-place {
  width: 45px;
  height: 72px; /* <--  size of a single frame*/
  background-image: url("../src/assets/maps/CH-female-menu.png"); /* <-- url to spritesheet*/
  /* margin: 0 auto;     */
  animation: walkBeachToSea 1s steps(7) infinite; /* <-- animation parameters, see below*/
}

.move-in-place {
  position: absolute;
  /* top: 10vh;
    left: 5vh; */
  justify-self: center;
  transform: translateX(0px);
  -webkit-animation: moveInPlace 10s;
  animation: moveInPlace 10s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}
@-webkit-keyframes moveInPlace {
  from {
    background-position: 0px;
  }
  to {
    background-position: 0px;
  } /* <-- width of spritesheet*/
}

@-webkit-keyframes moveInPlace {
  from {
    -webkit-transform: translateX(0vh) translateY(0vh);
  }
  to {
    -webkit-transform: translateX(0vh) translateY(0vh);
  }
}
@keyframes moveInPlace {
  from {
    transform: translateX(0px) translateY(45px);
  }
  to {
    transform: translateX(0px) translateY(45px);
  }
}

.guy-move-in-place-mission {
  width: 45px;
  height: 72px; /* <--  size of a single frame*/
  background-image: url("../src/assets/maps/CH-male-menu.png"); /* <-- url to spritesheet*/
  /* margin: 0 auto;     */
  margin: -25px -100px;
  animation: walkBeachToSea 1s steps(7) infinite; /* <-- animation parameters, see below*/
}

.girl-move-in-place-mission {
  width: 45px;
  height: 72px; /* <--  size of a single frame*/
  background-image: url("../src/assets/maps/CH-female-menu.png"); /* <-- url to spritesheet*/
  /* margin: 0 auto;     */
  margin: -25px -100px;
  animation: walkBeachToSea 1s steps(7) infinite; /* <-- animation parameters, see below*/
}

.move-in-place-mission {
  position: absolute;
  /* top: 10vh;
    left: 5vh; */
  justify-self: center;
  transform: translateX(0px);
  -webkit-animation: moveInPlace-mission 10s;
  animation: moveInPlace-mission 10s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}
@-webkit-keyframes moveInPlace-mission {
  from {
    background-position: 0px;
  }
  to {
    background-position: 0px;
  } /* <-- width of spritesheet*/
}

@-webkit-keyframes moveInPlace-mission {
  from {
    -webkit-transform: translateX(0vh) translateY(0vh);
  }
  to {
    -webkit-transform: translateX(0vh) translateY(0vh);
  }
}
@keyframes moveInPlace-mission {
  from {
    transform: translateX(40vh) translateY(45vh);
  }
  to {
    transform: translateX(40vh) translateY(45vh);
  }
}



#player-guide{
  color: #d8d8d8;
  display: none;
  padding: 8px;
  background-color: #d8d8d8;
  position: absolute;
  width: 42vh;
  height: 50vh;
  min-height: 500px;
  max-width: 500px;
  border-radius: 20px;
  border: 3px solid black;
  text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
  z-index: 1;

  
}

#player-guide-content {
  background-color: #b38f7a; 
  height: 100%;
  width: 100%;
  border: 3px solid black;
  border-radius: 10px;
}

#player-guide-info {
  height: 80%;
  margin-bottom: 5px;
}

#player-guide.show {
  display: flex;
}

#player-guide-image {
  position: absolute;
  bottom: 1.6vh;
  left: 0;
  width: 10vh;
  height: 10vh;
  max-height: 55px;
  max-width: 55px;
}

.image-guide{
  width:100%;
  border: medium dashed green;
}

.guide-container {
  display: flex;
  justify-content: space-between;
  padding-top: 1vh;
  margin: 0 auto;
  width: 95%;
}
.guide-button{
  background-color:  rgb(244, 213, 89);
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px;
  color: #333;
  cursor: pointer;
  display: inline-block;
  font-family: Inter,-apple-system,system-ui,Roboto,"Helvetica Neue",Arial,sans-serif;
  height: 44px;
  line-height: 44px;
  outline: 0;
  overflow: hidden;
  padding: 0 20px;
  pointer-events: auto;
  position: relative;
  text-align: center;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  vertical-align: top;
  white-space: nowrap;
  width: 7vw;
  min-width: 100px;
  max-width: 300px;
  z-index: 9;
}

.fixed-flex-h1 {
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  color: #371a1a7f;
  display: block;
  text-align: center;
  font-size: 1.5vh;
  margin-top: -2.5vh;
  margin-bottom: 2vh;
}
.fixed-flex-h6 {
  color: #371a1a7f;
  font-size: 1.5vh;
  margin-top: -1.5vh;
  margin-bottom: 2vh;
}




.small-button{
  width: 40%;
  height: 100%;
  image-rendering: pixelated;
  filter: drop-shadow(10px 10px 0 rgba(0, 0, 0, 0.25));
}


.star {
  align-self: center;
  height: 4vh;
}
.cup {
  /* margin-left: 1vh !important;
  margin-bottom: 0.5vh; */
}

.setting-button-container{
  background-color: rgb(71, 71, 73);
  margin-left: 1vh;
  border-radius: 7%;
  border: solid rgb(195, 195, 196);
  border-width: 2px;
  filter: drop-shadow(10px 10px 0 rgba(0, 0, 0, 0.25));
  width: 18vh;
}
.leaderboard-button-container{
  background-color: rgb(71, 71, 73);
  border-radius: 7%;
  border: solid rgb(195, 195, 196);
  border-width: 2px;
  filter: drop-shadow(10px 10px 0 rgba(0, 0, 0, 0.25));
  width: 18vh;

}

.settings-leaderboard-container{
  display: flex;
  width: 60%;
  text-align: center;
  justify-content:center;
  margin: auto;

  
}

.disable{
  opacity: 0.5;
  pointer-events: none;
}


.difficulty-label{
  font-size: 3vh;
  width: 10vh;
  margin: 0 -5px;
}

.warning-message{
  color: crimson;
}