/* --------------------- Body & Map Layout --------------------- */
body {
  height: 100vh;
  width: 100vw;
  margin: 0;
  background-image: url("images/cafeteria.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  cursor: url("images/cursors.png") 40 50, auto;
}

/* Top / Middle / Bottom sections */
.top,
.middle,
.bottom {
  display: flex;
  width: 100%;
  opacity: 25%;
}

.top,
.middle,
.bottom {
  height: calc(100% / 3);
}

.box {
  height: 100%;
  width: 25%;
}

.green {
  background-color: #008d24;
}
.blue {
  background-color: #0b69c0;
}
.purple {
  background-color: #3a246d;
}
.red {
  background-color: #ca1b22;
}
.orange {
  background-color: orangered;
}
.dark-grey {
  background-color: #a9a9a9;
}

/* Responsive layout */
@media only screen and (max-width: 600px) {
  .middle {
    height: 80%;
    display: block;
  }
  .box {
    height: 25%;
    width: 100%;
  }
  .top {
    height: 10%;
  }
  .bottom {
    height: 10%;
  }
}

/* --------------------- Modal --------------------- */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* dark overlay */
  z-index: 10;
}

.modal-body {
  width: 100%;
  height: 100%;
  position: relative; /* absolute boxes align correctly */
  background-image: url("images/map.png");
  background-size: cover;
  background-position: center;
}

/* Close button */
.close {
  position: fixed; /* stays in top-right of viewport */
  top: 20px;
  right: 20px;
  font-size: 50px;
  font-weight: bold;
  color: #aaaaaa;
  cursor: pointer;
  z-index: 11; /* above modal body */
}

.close:hover,
.close:focus {
  color: #000;
}

/* --------------------- Screen Text --------------------- */

h2 {
  font-size: 60px;
  color: white;
  -webkit-text-stroke: 2px black;
  font-family: Arial, Helvetica, sans-serif;
}
.modal2 {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 19;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.red-text {
  color: red;
  -webkit-text-stroke: 2px black;
}

/* --------------------- Individual Boxes --------------------- */
.pointer {
  cursor: pointer;
}
/* Cafeteria */
.cafeteria {
  width: 350px;
  height: 365px;
  position: absolute;
  top: 100px;
  left: 840px;
  background: rgba(255, 255, 0, 0.15);
  border: 2px solid yellow;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: yellow;
  cursor: pointer;
  transition: 0.25s ease;
}

/* Reactor */
.reactor {
  width: 150px;
  height: 300px;
  position: absolute;
  top: 350px;
  left: 170px;
  background: rgba(255, 255, 0, 0.15);
  border: 2px solid yellow;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: yellow;
  cursor: pointer;
  transition: 0.25s ease;
}

/* Oxygen */
.oxygen {
  width: 120px;
  height: 120px;
  position: absolute;
  top: 400px;
  left: 1210px;
  background: rgba(255, 255, 0, 0.15);
  border: 2px solid yellow;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: yellow;
  cursor: pointer;
  transition: 0.25s ease;
}

/* Admin */
.admin {
  width: 170px;
  height: 170px;
  position: absolute;
  top: 550px;
  left: 1110px;

  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: yellow;
  cursor: pointer;
  transition: 0.25s ease;
}

/* Electrical */
.electrical {
  width: 200px;
  height: 200px;
  position: absolute;
  top: 600px;
  left: 640px;
  background: rgba(255, 255, 0, 0.15);
  border: 2px solid yellow;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: yellow;
  cursor: pointer;
  transition: 0.25s ease;
}

/* Weapons */
.weapons {
  width: 175px;
  height: 200px;
  position: absolute;
  top: 175px;
  left: 1300px;
  background: rgba(255, 255, 0, 0.15);
  border: 2px solid yellow;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: yellow;
  cursor: pointer;
  transition: 0.25s ease;
}
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */

.plus-sized {
  transform: scale(1.5);
}

.plus-sized-3 {
  transform: scale(3);
}

.plus-sized-5 {
  transform: scale(5);
}

.videomodal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 18;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0);
  justify-content: center;
  align-items: center;
  text-align: center;
}
