/*!*************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/sass-loader/dist/cjs.js!./src/index.scss ***!
  \*************************************************************************************************************************************/
@charset "UTF-8";
html {
  background-color: #503731;
  scroll-behavior: smooth;
}

body {
  width: 80%;
  max-width: 1600px;
  min-width: 900px;
  margin: 0 auto;
}

button {
  background: transparent;
  box-shadow: none;
  border: 0;
  padding: 0;
  margin: 0;
}

nav {
  background: transparent;
  box-shadow: none;
  border: 0;
  padding: 0;
  margin: 0;
}

.networking-icons-container {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  margin: 0 4vh;
  z-index: 25;
  height: 90vh;
  bottom: 5vh;
}
.networking-icons-container .networking-icon img {
  width: 4vw;
  height: 4vw;
}
.networking-icons-container .networking-icon img:hover {
  opacity: 0.8;
}
.networking-icons-container .networking-icon img:active {
  opacity: 1;
}

.landing {
  height: 100vh;
  width: 100%;
  top: 0;
  left: 0;
  background-color: #c0e9f0;
  background: linear-gradient(#a5d2da, #c0e9f0, #daf5fa);
  overflow: hidden;
}
.landing #site-title {
  position: absolute;
  display: block;
  width: 70vw;
  height: 60vh;
  top: calc(50% - 60vh/2);
  left: calc(50% - 70vw/2);
  text-align: center;
  z-index: 100;
  line-height: 450%;
  letter-spacing: 0.9rem;
  color: #8f9d72;
  user-select: none;
}
.landing #site-title img {
  width: 44vw;
  max-width: 1200px;
}
.landing .cloud-animations .cloud {
  position: absolute;
}
@keyframes slideleft {
  from {
    margin-left: 0%;
    width: 50%;
  }
  to {
    margin-left: 18%;
    width: 50%;
  }
}
@keyframes slideright {
  from {
    margin-right: 0%;
    width: 50%;
  }
  to {
    margin-right: 20%;
    width: 50%;
  }
}
.landing .cloud-animations #cloud-1 {
  width: 20vh;
  top: 0vh;
  left: 20vw;
  animation-duration: 200s;
  animation-name: slideleft;
  z-index: 4;
}
.landing .cloud-animations #cloud-2 {
  width: 10vh;
  top: 40vh;
  left: 10vw;
  z-index: 5;
  animation-duration: 120s;
  animation-name: slideleft;
}
.landing .cloud-animations #cloud-3 {
  width: 30vh;
  top: 30vh;
  right: 10vw;
  z-index: 6;
  animation-duration: 160s;
  animation-name: slideright;
}
.landing .how-to-and-play-btns-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 40vw;
  min-width: 200px;
  height: 50px;
  position: absolute;
  bottom: -1px;
  left: calc((100vw - 40vw) / 2);
  background-color: #8f9d72;
  background-image: url("../src/images/landing-btns-bg.png");
  background-size: 30vw;
  border: 2px solid #8f9d72;
  border-radius: 20px 20px 0 0;
  border-width: 2px 2px 0px 2px;
}
.landing .how-to-and-play-btns-container .landing-btn {
  width: 50%;
  height: 100%;
  background: linear-gradient(transparent, #8f9d72);
}
.landing .how-to-and-play-btns-container .landing-btn a {
  display: block;
  border: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding-top: 8px;
  font-size: 1.2rem;
  text-align: center;
  color: white;
  text-decoration: none;
  font-family: "Chau Philomene One", sans-serif;
  z-index: 20px;
}
.landing .how-to-and-play-btns-container .landing-btn #how-to-btn {
  border-radius: 20px 0 0 0;
  border-right: 2px solid #8f9d72;
  height: 100%;
}
.landing .how-to-and-play-btns-container .landing-btn #play-btn {
  border-radius: 0 20px 0 0;
  height: 100%;
}
.landing .how-to-and-play-btns-container .landing-btn a:hover {
  letter-spacing: 3px;
  cursor: pointer;
  font-size: 1.3rem;
}
.landing .how-to-and-play-btns-container .landing-btn a:active {
  opacity: 0.7;
}

.how-to {
  width: 100%;
  background-color: #8f9d72;
  z-index: 30;
  background: linear-gradient(#8f9d72, #9c7c5b, #9c7c5b, #9c7c5b, #695042);
  border-top: 1px solid #8f9d72;
}
.how-to h1 {
  font-size: 3rem;
  font-family: "Boogaloo", cursive;
  width: 70%;
  margin: 0 auto;
  padding-top: 80px;
  color: #e7e7e7;
  text-align: center;
}
.how-to p {
  font-size: 1.3rem;
  line-height: 110%;
  font-family: "Boogaloo", cursive;
  text-align: justify;
  width: 70%;
  margin: 0 auto;
  margin-top: 30px;
  color: #3a2823;
}
.how-to p#conclude-intro {
  color: #ded2c2;
}
.how-to p:first-child {
  padding-top: 40px;
}
.how-to p:last-child {
  padding-bottom: 90px;
}
.how-to p::selection {
  background: #8f9d72;
}

.tile-type-beetle {
  background-image: url("../src/images/beetle.png");
}

.tile-type-beetle:hover::before {
  color: #8f9d72;
  font-family: "Chau Philomene One", sans-serif;
  position: relative;
  font-size: 1rem;
  top: -22px;
  letter-spacing: 2px;
  pointer-events: none;
  color: #9c2222;
  left: 18px;
  content: "beetle";
}

.tile-type-beetle:hover {
  box-shadow: 0 0 6px #9c2222 inset;
}

.tile-type-clay {
  background-image: url("../src/images/clay.png");
}

.tile-type-clay:hover {
  box-shadow: 0 0 6px #df8832 inset;
}

.tile-type-clay:hover::before {
  color: #8f9d72;
  font-family: "Chau Philomene One", sans-serif;
  position: relative;
  font-size: 1rem;
  top: -22px;
  letter-spacing: 2px;
  pointer-events: none;
  left: 12px;
  color: #f8b575;
  content: "clay";
}

.tile-type-eat {
  background-image: url("../src/images/eat.png");
}

.tile-type-eat:hover {
  box-shadow: 0 0 6px #6f8a34 inset;
}

.tile-type-eat:hover::before {
  color: #8f9d72;
  font-family: "Chau Philomene One", sans-serif;
  position: relative;
  font-size: 1rem;
  top: -22px;
  letter-spacing: 2px;
  pointer-events: none;
  color: #c0dd81;
  left: 10px;
  content: "eat";
}

.tile-type-food {
  background-color: #816249;
  background-image: url("../src/images/above.png");
}

.tile-type-food:hover {
  box-shadow: 0 0 20px rgba(246, 218, 71, 0.5) inset;
}

.tile-type-food:hover::before {
  color: #8f9d72;
  font-family: "Chau Philomene One", sans-serif;
  position: relative;
  font-size: 1rem;
  top: -22px;
  letter-spacing: 2px;
  pointer-events: none;
  color: #ffc64a;
  top: 0;
  left: 14px;
  content: "food";
}

.tile-type-gold {
  background-image: url("../src/images/gold.png");
}

.tile-type-gold:hover {
  box-shadow: 0 0 6px #ffc64a inset;
}

.tile-type-gold:hover::before {
  color: #8f9d72;
  font-family: "Chau Philomene One", sans-serif;
  position: relative;
  font-size: 1rem;
  top: -22px;
  letter-spacing: 2px;
  pointer-events: none;
  left: 13px;
  color: #ffc64a;
  content: "gold!";
}

.tile-type-mica {
  background-color: #816249;
  background-image: url("../src/images/mica.png");
}

.tile-type-nurse {
  background-image: url("../src/images/nursery.png");
}

.tile-type-nurse:hover {
  box-shadow: 0 0 6px #e7d56d inset;
}

.tile-type-nurse:hover::before {
  color: #8f9d72;
  font-family: "Chau Philomene One", sans-serif;
  position: relative;
  font-size: 1rem;
  top: -22px;
  letter-spacing: 2px;
  pointer-events: none;
  left: 8px;
  color: #e7d37b;
  content: "nursery";
}

.tile-type-sleep {
  background-image: url("../src/images/sleep.png");
}

.tile-type-sleep:hover {
  box-shadow: 0 0 10px #866e91 inset;
}

.tile-type-sleep:hover::before {
  color: #8f9d72;
  font-family: "Chau Philomene One", sans-serif;
  position: relative;
  font-size: 1rem;
  top: -22px;
  letter-spacing: 2px;
  pointer-events: none;
  left: 16px;
  color: #d4c8df;
  content: "sleep";
}

.tile-type-spider {
  background-image: url("../src/images/spider.png");
}

.tile-type-spider:hover {
  box-shadow: 0 0 6px #9c2222 inset;
}

.tile-type-spider:hover::before {
  color: #8f9d72;
  font-family: "Chau Philomene One", sans-serif;
  position: relative;
  font-size: 1rem;
  top: -22px;
  letter-spacing: 2px;
  pointer-events: none;
  left: 15px;
  color: #9c2222;
  content: "spider";
}

.tile-type-tunnel {
  background-color: #816249;
}

.tile-type-tunnel:hover {
  opacity: 0.9;
  cursor: auto;
}

.tile-type-quartz {
  background-color: #816249;
  background-image: url("../src/images/ore.png");
}

.tile-type-wood {
  background-color: #816249;
  background-image: url("../src/images/above.png");
}

.tile-type-wood:hover {
  box-shadow: 0 0 20px rgba(246, 218, 71, 0.5) inset;
}

.tile-type-wood:hover::before {
  color: #8f9d72;
  font-family: "Chau Philomene One", sans-serif;
  position: relative;
  font-size: 1rem;
  top: -22px;
  letter-spacing: 2px;
  pointer-events: none;
  color: #ffc64a;
  top: 0;
  left: 14px;
  content: "wood";
}

.tile-type-excavate {
  background-color: #816249;
  box-shadow: 0 0 1px black inset;
  background-image: url("../src/images/excavate.png");
}

.tile-type-excavate:hover {
  opacity: 0.9;
}

.tile-type-excavate:hover::before {
  color: #8f9d72;
  font-family: "Chau Philomene One", sans-serif;
  position: relative;
  font-size: 1rem;
  top: -22px;
  letter-spacing: 2px;
  pointer-events: none;
  left: 30px;
  color: #e0d3c2;
  content: "dig";
}

.tile-type-diggable {
  background-color: #503731 !important;
  background-image: url("../src/images/excavate.png");
}

.tile-type-diggable:hover {
  opacity: 0.9;
  cursor: pointer;
  box-shadow: none;
}

.tile-type-diggable:hover::before {
  color: #8f9d72;
  font-family: "Chau Philomene One", sans-serif;
  position: relative;
  font-size: 1rem;
  top: -22px;
  letter-spacing: 2px;
  pointer-events: none;
  top: 28px;
  left: 2px;
  content: "choose";
  color: #e7e7e7;
}

.grid-cell {
  line-height: 1;
  padding: 0;
  margin: 0;
  width: 10%;
  color: transparent;
  text-shadow: none;
  box-shadow: 0 0 1px black inset;
  background-size: 100%;
  height: 0;
  padding-bottom: 10%;
}

.grid-cell::selection {
  color: transparent;
  background-color: transparent;
}

.contains-ants {
  background-image: url("https://i.pinimg.com/originals/49/b0/37/49b037744bb869198500a3a9531dc40c.gif");
  background-size: 80%;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: 10px;
}

.interactive:hover {
  cursor: pointer;
}

.interactive:active {
  opacity: 0.9;
}

.non-tunnel {
  background-color: #9c7c5b;
}

.verify-excavation {
  display: block;
  position: relative;
  width: 300px;
  border: 1px solid #5c7253;
  pointer-events: none;
  background-color: #8f9d72;
  font-size: 0.9rem;
  color: #e7e7e7;
  border-radius: 5px 5px 0px 0px;
  padding: 10px 5px;
}

.confirm-btn {
  color: #e7e7e7;
  width: 300px;
  background-color: #8f9d72;
  border: 1px solid #5c7253;
  font-size: 1rem;
  padding: 10px 5px;
}

.confirm-btn:hover {
  cursor: pointer;
}

.cancel-btn {
  color: #e7e7e7;
  position: absolute;
  margin-top: 40px;
  margin-left: -300px;
  width: 300px;
  background-color: #8f9d72;
  border: 1px solid #5c7253;
  font-size: 1rem;
  border-radius: 0 0 5px 5px;
  padding: 10px 5px;
}

.cancel-btn:hover {
  cursor: pointer;
}

.hidden-from-player {
  visibility: hidden;
}

.grid-window {
  position: absolute;
  max-height: 900px;
  width: 80%;
  left: calc(20% / 2);
  background-color: #503731;
  background: linear-gradient(#664d41, #503731);
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  border-radius: 10px;
  bottom: 20px;
  height: 90%;
}
.grid-window .resource-bar {
  position: sticky;
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  user-select: none;
  border-bottom: 1px solid #503731;
  background-color: #695042;
  color: #aab98c;
}
.grid-window .resource-bar .resource-display {
  width: calc(100% / 5);
  height: 100%;
  font-family: "Chau Philomene One", sans-serif;
  font-size: 1rem;
  letter-spacing: 2px;
  margin: 0;
  border: 0;
  padding: 5px 4px 3px 16px;
  border: 1px solid #8f6c4a;
  border-bottom: none;
}
.grid-window .resource-bar .resource-display p {
  position: absolute;
  height: 20px;
  margin-top: -1.1rem;
  margin-left: 70px;
  font-family: "Medula One", cursive;
  font-size: 1.2rem;
  letter-spacing: 2px;
  padding-right: 17px;
}

.grid-container {
  height: calc(100% - 30px);
  width: 100%;
  overflow-y: scroll;
  white-space: nowrap;
  color: black;
}

.grid {
  margin-top: 1px;
  width: 100%;
  font-weight: bold;
  text-shadow: 1px 1px 0 white, 1px -1px 0 white, -1px 1px 0 white, -1px -1px 0 white;
  overflow-x: hidden;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  background: linear-gradient(transparent, #3a2823, black);
}

.resource-summary-modal {
  position: absolute;
  z-index: 100;
  width: 98%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(94, 83, 73, 0.3);
}

.resource-summary-modal-content {
  background-color: #664d41;
  height: 76%;
  width: 60%;
  margin: 10% auto;
  border-radius: 20px;
  overflow: auto;
  border: 1px solid #503731;
  display: block;
  padding: 15px;
  font-size: 1.4rem;
  letter-spacing: 0.1rem;
  font-family: "Boogaloo", cursive;
  color: white;
}

.ants-list-modal {
  position: absolute;
  z-index: 100;
  width: 98%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(94, 83, 73, 0.3);
}

.ants-list-modal-content {
  background-color: #664d41;
  height: 76%;
  width: 60%;
  margin: 10% auto;
  border-radius: 20px;
  overflow: auto;
  border: 1px solid #503731;
  width: 80%;
  height: 60%;
  margin: 16% auto;
  overflow: hidden;
  border: 1px solid #503731;
}
.ants-list-modal-content #ants-list {
  overflow: auto;
  color: #e7e7e7;
  height: 100%;
  position: relative;
}
.ants-list-modal-content #ants-list .ants-list-item {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  border: 1px solid #503731;
  line-height: 70%;
  background-color: #695042;
  position: relative;
  z-index: 1;
  flex-wrap: nowrap;
}
.ants-list-modal-content #ants-list .ants-list-item .ants-list-item-column .ants-list-property-value {
  font-family: "Chau Philomene One", sans-serif;
  font-size: 1rem;
}
.ants-list-modal-content #ants-list .ants-list-item .ants-list-property-name {
  font-family: "Chau Philomene One", sans-serif;
  color: white;
  font-size: 1.5rem;
  font-variant: small-caps;
  cursor: auto;
  user-select: none;
}
.ants-list-modal-content #ants-list .ants-list-item:hover {
  color: #ebc599;
  cursor: pointer;
}
.ants-list-modal-content #ants-list .ants-list-under-item {
  display: none;
  font-size: 1rem;
  text-transform: uppercase;
  padding-left: 7px;
}
.ants-list-modal-content #ants-list .ants-list-under-item #under-pre-form {
  display: inline-block;
  font-family: "Kanit", sans-serif;
  font-size: 1rem;
  margin: 0 15px;
  word-spacing: 3px;
}
.ants-list-modal-content #ants-list .ants-list-under-item #assign-task-form {
  display: inline-block;
  margin-left: 40px;
  overflow: hidden;
}
.ants-list-modal-content #ants-list .ants-list-under-item #assign-task-form select {
  width: 200px;
  height: 46px;
  font-size: 1rem;
  color: #e7e7e7;
  background-color: #503731;
  text-transform: uppercase;
  font-family: "Kanit", sans-serif;
  margin: 0 5px;
  cursor: pointer;
}
.ants-list-modal-content #ants-list .ants-list-under-item #assign-task-form label {
  display: inline-block;
  width: 50px;
  height: 30px;
  margin-top: 8px;
  margin-right: 5px;
  font-size: 1rem;
  text-transform: uppercase;
  font-family: "Kanit", sans-serif;
}
.ants-list-modal-content #ants-list .ants-list-under-item #assign-task-form input {
  background-color: #503731;
  color: #e7e7e7;
  height: 30px;
  text-transform: uppercase;
  font-family: "Kanit", sans-serif;
  margin-left: 10px;
  box-shadow: none;
  text-shadow: none;
  border-radius: 5px;
  border: none;
  font-size: 1rem;
  letter-spacing: 2px;
  cursor: pointer;
}
.ants-list-modal-content #ants-list .ants-list-under-item #assign-task-form input:hover {
  opacity: 0.9;
}
.ants-list-modal-content .blinker {
  display: block;
  width: 10px;
  height: 10px;
}
.ants-list-modal-content #choose-ant-blinker::after {
  position: absolute;
  font-size: 1.5rem;
  text-align: center;
  width: 78%;
  cursor: pointer;
  pointer-events: none;
  text-transform: uppercase;
  font-family: "Boogaloo", cursive;
  color: #f6efdd;
  padding: 10px 5px;
  border-radius: 20px;
  margin-top: -70px;
  content: "▲ choose an ant in this list ▲";
  animation: blink 2s linear infinite;
}

.hidden {
  visibility: hidden;
}

.game-stats-modal {
  position: absolute;
  z-index: 100;
  width: 98%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(94, 83, 73, 0.3);
}

.game-stats-modal-content {
  background-color: #664d41;
  height: 76%;
  width: 60%;
  margin: 10% auto;
  border-radius: 20px;
  overflow: auto;
  border: 1px solid #503731;
  display: block;
  padding: 15px;
  font-size: 1.4rem;
  letter-spacing: 0.1rem;
  font-family: "Boogaloo", cursive;
  color: white;
}

.ensure-display-none-if-model-inactive {
  display: none;
}

.grid-section {
  height: 100vh;
  width: 100%;
  background-color: #695042;
  position: relative;
}

.back-to-how-to-container {
  height: 7%;
  min-height: 40px;
  width: 30%;
  margin: 0 auto;
  text-align: center;
  padding-top: 4px;
}
.back-to-how-to-container a {
  text-decoration: none;
  color: #e7e7e7;
  display: block;
  font-size: 1.1rem;
  text-transform: uppercase;
  font-family: "Boogaloo", cursive;
  letter-spacing: 3px;
  padding: 5px;
  cursor: pointer;
}
.back-to-how-to-container a:hover {
  letter-spacing: 4px;
  color: white;
}
.back-to-how-to-container a:active {
  color: #e7e7e7;
}

.game-speed {
  position: absolute;
  margin: auto;
  border: 2px solid #503731;
  background-color: #816249;
  color: #ded2c2;
  width: 40%;
  left: 30%;
  top: 35%;
  padding: 20px;
  border-radius: 10px;
  z-index: 500;
  font-size: 1.5rem;
  font-family: "Chau Philomene One", sans-serif;
  letter-spacing: 1px;
}
.game-speed .speed-btns-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
.game-speed .speed-btns-wrapper .speed-btns {
  text-transform: uppercase;
  font-family: "Boogaloo", cursive;
  background-color: #9c7c5b;
  border: 1px solid #9c7c5b;
  margin-top: 20px;
  font-size: 1.8rem;
  padding: 10px;
  letter-spacing: 2px;
  border-radius: 5px;
}
.game-speed .speed-btns-wrapper .speed-btns:hover {
  cursor: pointer;
  opacity: 0.9;
  border: 1px solid #503731;
}
.game-speed .speed-btns-wrapper .speed-btns:active {
  opacity: 1;
}

.game-icons-container {
  position: absolute;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  margin: 0 4vh;
  z-index: 20;
  bottom: 0;
  height: 90vh;
}
.game-icons-container .game-icon::before {
  color: #e7e7e7;
  font-family: "Chau Philomene One", sans-serif;
  text-transform: uppercase;
  position: absolute;
  font-size: 0.8rem;
  letter-spacing: 1px;
  content: attr(title);
  z-index: 50;
  right: 0;
  margin-top: -2.3rem;
  text-align: right;
  opacity: 0.5;
}
.game-icons-container .game-icon:hover::before {
  opacity: 1;
  cursor: pointer;
}
.game-icons-container img {
  width: 4vw;
  height: 4vw;
}
.game-icons-container img:hover {
  cursor: pointer;
}
.game-icons-container img:active {
  opacity: 1;
}
.game-icons-container #build-mode {
  border-radius: 6px;
  background-color: #e2d9d1;
  box-shadow: 0 0 3px #503731 inset;
  border: 1px solid #503731;
}
.game-icons-container #assign-task-prompt {
  position: absolute;
  margin-left: 40px;
  margin-top: -30px;
  width: 200%;
  height: auto;
  user-select: none;
  animation: blink 1s infinite;
}
@keyframes blink {
  50% {
    opacity: 0.5;
  }
}

.close-info {
  float: right;
  opacity: 0.9;
  font-size: 1.5rem;
  color: #ded2c2;
}
.close-info:hover {
  cursor: pointer;
  opacity: 1;
}

.tile-info-hidden {
  display: none;
}

.tile-info {
  display: block;
  position: absolute;
  width: 40%;
  height: 70%;
  margin-left: 30%;
  margin-top: 5%;
  padding: 0.6rem;
  overflow: auto;
  border-radius: 1rem;
  background-color: #695042;
  border: 1px solid #816249;
  opacity: 0.95;
}
.tile-info h1 {
  width: 100%;
  margin-top: 0.3rem;
  text-align: center;
  font-family: "Boogaloo", cursive;
  text-transform: uppercase;
  font-size: 2rem;
  letter-spacing: 0.15rem;
}
.tile-info p {
  padding-top: 0.4rem;
  white-space: normal;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
  line-height: 140%;
  font-size: 1.1rem;
  text-shadow: none;
  color: #ded2c2;
}

#clay-info h1 {
  color: #df8832;
}

#battle-info h1 {
  color: #9c2222;
}

#nursery-info h1 {
  color: #e7d37b;
}

#eat-info h1 {
  color: #c0dd81;
}

#sleep-info h1 {
  color: #d4c8df;
}

#food-info h1 {
  color: #9fbd60;
}

#wood-info h1 {
  color: #df8d6d;
}

#gold-info h1 {
  color: #ffc64a;
}
