/* Cover Style */
.cover {
  position: relative;
  text-align: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0 0 0 / 50%); /* Optional: to add a dark overlay */
  z-index: 200;
}

.cover-image {
  width: 100%;
  height: auto;
  max-height: 100vh;
}

.cover-title {
  position: absolute;
  color: white;
  font-size: 3rem;
  text-align: center;
  z-index: 201;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cover-subtitle {
  font-size: 1.2rem;
  color: rgb(225 225 225);
  margin: 0.5rem 0;
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 201;
}

.cover-reference {
  font-size: 1rem;
  color: rgb(225 225 225);
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 201;
}

.cover-reference a {
  text-decoration: none;
}

.cover-reference a:hover {
  text-decoration: underline;
}

/* body style */
body {
  margin: 0;
  border-width: 0;
  box-sizing: border-box;
  height: 100vh;

  font-family: Quicksand, sans-serif;
}

h1, h2 {
  font-family: 'Shadows Into Light', cursive;
}

.map-container {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 0;
}

.map {
  height: 100%;
}

.slide-section {
  position: relative;
  z-index: 100;
  pointer-events: none;
}

.slide {
  margin-top: 90vh;
  margin-bottom: 90vh;
  margin-left: auto;
  margin-right: 2rem;
  padding: 1rem;
  box-shadow: -0.5rem 0 1rem rgba(0 0 0 / 50%);
  border: 1px solid gray;
  border-radius: 0.5rem;
  pointer-events: initial;

  width: 25rem;

  background: linear-gradient(to bottom right, rgba(255 255 255 / 80%), rgba(200 200 200 / 80%));
  color: black;
}

.slide:first-child {
  margin-top: 0;
}

.slide:last-child {
  margin-bottom: 40vh;
}

.slide-controls {
  display: flex;
  justify-content: space-around;
  align-items: center;
  column-gap: 0.5rem;

  width: 100%;
}

.slide-nav-button {
  transition: all 0.1s;

  padding: 0;
  margin: 1rem;
  width: 4rem;
  height: 3rem;
  border: 1px solid #888;
  border-radius: 0.25rem;

  background-color: #eee;
  font-size: 1.5em;
}

.slide-nav-button:hover {
  background-color: #444;
  color: #fff;
}

.slide-nav-select {
  min-width: 0;
}

.slide-image {
  max-width: 100%;
  height: 250px;
  display: block;
  margin: 1rem auto;
}
