@font-face {
  font-family: "alagard";
  src: url("https://robinhoodhistory.neocities.org/9-fonts/alagard.ttf") format("truetype");
}

@font-face {
  font-family: "GothicPixels";
  src: url("https://robinhoodhistory.neocities.org/9-fonts/GothicPixels.ttf") format("truetype");
}

body {
  background-color: #EBD9A9;
  margin: 3em 0;
  font-family: "alagard", auto;
  font-size: 22px;
  cursor: url(https://robinhoodhistory.neocities.org/1-images/cursor-classic.png), pointer;
}

a:not(.location) {
  cursor: url(https://robinhoodhistory.neocities.org/1-images/cursor-link.png), pointer;
  text-decoration: underline;
  color: #1D5221;
}

.heading {
  font-size: 2rem;
  color: #880910;
  font-family: "GothicPixels", auto;
  text-align: center;
}

.row {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.column {
  padding: 10px;
}

.left, .right {
  width: 25%;
  text-align: center;
  background-color: #EBD9A9;
}

.middle {
  width: 50%;
  display: flex;
  justify-content: center;
}

/*MAP STUFF*/
.map-container {
  background: url(https://robinhoodhistory.neocities.org/1-images/map-img.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  aspect-ratio: 2058/1653;
  border: 2px solid black;
  position: relative;
  cursor: url(https://robinhoodhistory.neocities.org/1-images/cursor-classic.png), pointer;
}

.location {
  position: absolute;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
  z-index: 20;
  display: inline-block;
  width: auto;
  height: auto;
  pointer-events: none;
}

.location img {
  width: 20%;
  max-width: none;
  height: auto;
  pointer-events: auto;
}

.location:hover {
  cursor: url(https://robinhoodhistory.neocities.org/1-images/cursor-enter.png), pointer;
}

.location:hover img {
  transform: rotate(3deg);
}

.castle {
  top: 2.7%;
  left: 26%;
}

.castle img {
  width: 48%;
}

.town {
  top: 38%;
  left: 61%;
}

.town img {
  width: 40%;
}

.guards {
  top: 49.4%;
  left: 20.8%;
}

.guards img {
  width: 35%;
}

.between {
  top: 62.7%;
  left: 9.96%;
}

.between img {
  width: 35%;
}

.heaven {
  top: 0%;
  left: 50.5%;
}

.heaven img {
  width: 50%;
}

.grave {
  top: 55.7%;
  left: 60.7%;
}

.grave img {
  width: 50%;
}

.text {
  position: absolute;
  bottom: 20px;
  left: 30%;
  transform: translateX(-50%);
  opacity: 0;
  font-size: 1.0rem;
  font-family: "alagard", auto;
  color: #1D5221;
  filter: drop-shadow(1px 1px 0 white) drop-shadow(-1px 1px 0 white) drop-shadow(1px -1px 0 white) drop-shadow(-1px -1px 0 white);
  text-transform: uppercase;
  transition: opacity 0.2s ease;
  z-index: 100;
  white-space: normal;
  text-align: center;
  max-width: 25%;
}

.location:hover .text {
  opacity: 1;
}

/*TEXT STUFF*/
.scroll-container {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: auto;
  cursor: url(https://robinhoodhistory.neocities.org/1-images/cursor-classic.png), pointer;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.scroll-container img {
  width: auto;
  max-width: 160%;
  height: 100%;
  object-fit: cover;
}

.left-scroll .right-scroll {
  width: 80%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.scroll-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "alagard", auto;
  color: black;
  font-size: 15px;
  z-index: 10;
  white-space: normal;
  max-width: 150%;
  padding: 10px;
  min-height: 10%;
  max-height: 75%;
  overflow-y: scroll;
  overflow-x: hidden;
  box-sizing: border-box;
}
