/* -------------------------------------------------------- */
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-radius: 4px;
  max-width: 1280px;
  position: relative;
}

header {
  position: relative;
  border-bottom: 1px solid #ddd;
  z-index: 10;
}

#controls a {
  display: inline-block;
}
#controls a i {
  color: rgb(52, 58, 64);
}

/* -------------- Main ------------------------------------------ */
#main {
  max-width: 1280px;
}
#canvas_container {
  height: auto;
  padding: 0% 4% 2%;
}
#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;
  /*margin: 20px 0px;*/
}
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);
}
*/

#container_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

#canvas {
  position: absolute;
  z-index: 0;
  top: 0;
}

.animals-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  z-index: 1;
}

.animals-container img {
  cursor: pointer;
  width: 20%;
}

#food {
  list-style: none;
  width: 40%;
  height: 95%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding:0;
  margin:0;
}

#food li {
  position: relative;
  padding: 1px 5px;
  width: 100%;
  text-align: center;
  z-index: 2;
  pointer-events: none;
  border-radius: 5px;
  background-color: white;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.selectable {
  pointer-events: auto !important;
  cursor: pointer;
}

.selectable:hover {
  transform: scale(1.1);
  box-shadow: 0px 0px 4px 0px rgb(0, 0, 0);
}

.shake {
  animation: shake 0.5s ease-in-out;
}

.disabled {
  pointer-events: none !important;
  opacity: 0.5;
  border: 2px dashed green !important;
}
#message {
  position: absolute;
  width: 0;
  height: 0;
  text-indent: -9999px;
}
@keyframes shake {
  10%,
  50%,
  90% {
    transform: translate(-2px, 0);
  }
  20%,
  60%,
  100% {
    transform: translate(2px, 0);
  }
}

.mobile .animals-container img {
  cursor: pointer;
  width: 60%;
}

@keyframes flash {
  0% {
    border-color: white;
  }
  50% {
    border-color: black;
  }
}
.flash {
  animation: flash 1s infinite;
}
