/* -------------------------------------------------------- */
body {
  padding: 1% 0%;
  background-color: rgb(170, 187, 204, 0.05);
  color: rgb(52, 58, 64);
  overflow: hidden;
}
#outer_container {
  background-color: #ffffff;
  box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
  border: solid 4px rgba(255, 227, 164);
  border-radius: 4px;
  max-width: 1280px;
  position: relative;
}

/* -------------- Header ------------------------------------------ */
#header {
  background-color: rgba(255, 227, 164);
}
#controls a {
  display: inline-block;
}
#controls a i {
  color: rgb(52, 58, 64);
}

/* -------------- Main ------------------------------------------ */
#main {
  max-width: 1280px;
}
#canvas_container {
  height: auto;
  padding: 2% 4%;
  overflow: hidden;
}
#inner_container {
  /* height: 55%; */
  overflow-y: auto;
}
#inner_container img {
  box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  max-width: 100%;
  height: auto;
}
ol li {
  margin: 10px;
}

/* -------------------------------------------------------- */
.btn-move-down:active {
  transform: translateY(4px);
  transition: 0.3s;
}
.text-just {
  text-align: justify;
}

/* -------------- Scroll Bars ------------------------------------------ */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: #f5f5f5;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: rgb(109, 117, 125, 0.7);
}
::-webkit-scrollbar-thumb:hover {
  background-color: rgb(109, 117, 125, 0.8);
}
::-webkit-scrollbar-thumb:active {
  background-color: rgb(109, 117, 125);
}

/*
* {
	font-size: calc(0.7vmin + 0.04rem);
}
*/
/* -------------------------------------------------------- */

#image-container {
  position: absolute;
  height: 85%;
  width: 65%;
  left: 18%;
  top: 13%;
  background-image: url("../../resources/Εννοιολογικός.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.region {
  border-radius: 10px;
  position: absolute;
  font-size: 0.00001px !important;
  display: flex;
  justify-content: center;
  align-items: center;
}
.region img {
  width: 50%;
  height: auto !important;
  box-shadow: none !important;
  mix-blend-mode: multiply;
}

#one {
  width: 30%;
  height: 7%;
  top: 46%;
  left: 12%;
}
#two {
  width: 29%;
  height: 7%;
  top: 79%;
  left: 12%;
}
#three {
  width: 22%;
  height: 7%;
  top: 29%;
  left: 58%;
}
#four {
  width: 21%;
  height: 7%;
  top: 60%;
  left: 53%;
}
/*
#five {
  width: 10%;
  height: 10%;
  top: 75%;
  left: 45%;
}
#peloponnese {
  width: 18%;
  height: 20%;
  top: 50%;
  left: 23%;
}
#sporades {
  width: 16%;
  height: 10%;
  top: 35%;
  left: 45%;
}
#rhoades {
  height: 8%;
  width: 7%;
  top: 69%;
  left: 90%;
}
#crete {
  height: 6%;
  width: 31%;
  top: 83%;
  left: 45%;
}
#ionian {
  left: 1%;
  height: 35%;
  width: 15%;
  top: 25%;
}
*/
#animals-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
#animals-container img {
  box-shadow: none !important;
  width: 60%;
}
#image-container img {
  height: 5%;
}
#left-animals,
#right-animals {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 100%;
}
#left-animals {
  align-items: start;
  width: 22%;
  height: 100%;
}
#right-animals {
  align-items: end;
  width: 22%;
  height: 100%;
}
#left-animals:hover,
#right-animals:hover {
  cursor: pointer;
}
/* -------------- Message ------------------------------------------ */
#message {
  position: absolute;
  top: 50%;
  width: 100%;
  left: 0;
  text-align: center;
  color: green;
  transform: scale(0);
  transition: 1s;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-3px);
  }
  50% {
    transform: translateX(3px);
  }
  75% {
    transform: translateX(-3px);
  }
  100% {
    transform: translateX(0);
  }
}

#confettis {
  overflow: hidden;
  position: absolute;
  height: 70%;
  width: 95%;
  z-index: -1;
  top: 0;
}

.confetti {
  left: 50%;
  width: 16px;
  height: 16px;
  position: absolute;
  transform-origin: left top;
  animation: confetti 5s ease-in-out -2s infinite;
  display: none;
}

.confetti:nth-child(1) {
  left: 10%;
  animation-delay: 0;
  background-color: #fc0120;
}

.confetti:nth-child(2) {
  left: 20%;
  animation-delay: -5s;
  background-color: #8257e6;
}

.confetti:nth-child(3) {
  left: 30%;
  animation-delay: -3s;
  background-color: #ffbf4d;
}

.confetti:nth-child(4) {
  left: 40%;
  animation-delay: -2.5s;
  background-color: #fe5d7a;
}

.confetti:nth-child(5) {
  left: 50%;
  animation-delay: -4s;
  background-color: #45ec9c;
}

.confetti:nth-child(6) {
  left: 60%;
  animation-delay: -6s;
  background-color: #f6e327;
}

.confetti:nth-child(7) {
  left: 70%;
  animation-delay: -1.5s;
  background-color: #f769ce;
}

.confetti:nth-child(8) {
  left: 80%;
  animation-delay: -2s;
  background-color: #007de7;
}

.confetti:nth-child(9) {
  left: 90%;
  animation-delay: -3.5s;
  background-color: #63b4fc;
}

.confetti:nth-child(10) {
  left: 100%;
  animation-delay: -2.5s;
  background-color: #f9c4ea;
}

@keyframes confetti {
  0% {
    transform: rotateZ(15deg) rotateY(0deg) translate(0, 0);
  }
  25% {
    transform: rotateZ(5deg) rotateY(360deg) translate(-5vw, 20vh);
  }
  50% {
    transform: rotateZ(15deg) rotateY(720deg) translate(5vw, 60vh);
  }
  75% {
    transform: rotateZ(5deg) rotateY(1080deg) translate(-10vw, 80vh);
  }
  100% {
    transform: rotateZ(15deg) rotateY(1440deg) translate(10vw, 110vh);
  }
}
/* -------------- Mobile ------------------------------------------ */
.mobile #image-container {
  top: 10% !important;
  left: 0 !important;
  width: 100% !important;
  height: 50% !important;
  background-position: top;
}
.mobile .region img {
  max-height: 100%;
  width: auto;
  box-shadow: none !important;
  mix-blend-mode: multiply;
}
/* Styles with halved height attribute and .mobile class */
.mobile #one {
  width: 25% !important;
  height: 3% !important;
  top: 3% !important;
  left: 49% !important;
}
.mobile #two {
  width: 28% !important;
  height: 7% !important; /* 14% halved */
  top: 4% !important; /* Decreased by 24% */
  left: 20% !important;
}
.mobile #three {
  width: 10% !important;
  height: 7% !important; /* 14% halved */
  top: 11% !important; /* Decreased by 24% */
  left: 12% !important;
}
.mobile #four {
  width: 15% !important;
  height: 5% !important; /* 9.5% halved */
  top: 13% !important; /* Decreased by 24% */
  left: 24% !important;
}
/*
.mobile #five {
  width: 28% !important;
  height: 4% !important; 
  top: 22% !important; 
  left: 27% !important;
.mobile #peloponnese {
  width: 18% !important;
  height: 10% !important; 
  top: 26% !important;
  left: 23% !important;
}
.mobile #sporades {
  width: 16% !important;
  height: 3% !important;
  top: 18% !important; 
  left: 45% !important;
  transform: rotate(20deg) !important;
}
.mobile #rhoades {
  height: 4% !important; 
  width: 7% !important; 
  top: 37% !important; 
  left: 90% !important;
}
.mobile #crete {
  height: 4% !important; 
  width: 30% !important; 
  top: 44% !important;
  left: 45% !important;
}
.mobile #ionian {
  left: 1% !important;
  height: 17.5% !important; 
  width: 13% !important; 
  top: 14% !important; 
  transform: rotate(-20deg) !important;
}
*/
.mobile #child {
  width: 5% !important; /* 10% halved */
}
.mobile #animals-container {
  position: absolute;
  width: 22% !important;
  height: auto;
  left: 2%;
  top: 60%;
  display: flex;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center;
}
.mobile .side {
  display: flex;
  flex-direction: row !important;
  align-items: flex-start !important;
  height: 50% !important;
  width: 100% !important;
}
.mobile .side img {
  aspect-ratio: auto !important;
  width: auto !important; /* Adjust as needed */
  height: 50% !important; /* Adjust as needed */
}
