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

  font-family: sans-serif;
}

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

.map {
  height: 100%;
}

.slide-section {
  position: relative;
  margin-top: -30vh;
  z-index: 100;
  pointer-events: none;
  border-bottom: 1px solid rgb(0 0 0 / 10%);
}

.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.3rem;
  pointer-events: initial;

  width: 25rem;

  background-color: white;
  color: black;
}

.slide-centered {
  margin-top: 90vh;
  margin-bottom: 90vh;
  margin-left: auto;
  margin-right: auto;
  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: 90vh;

  background-color: white;
  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%;
}

.overlay-text {
  position: absolute;
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  background-color: #000; 
  color: #fff; 
  padding: 10px 20px; 
  font-size: 20px; 
  text-align: center;
}

.photo-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; 
  width: 100vw; 
  overflow: hidden;
  color: gray;
}

.photo-slide-container {
  display: flex;
  width: 100%;
  height: 100%; 
}

.slide-image-container {
  flex: 1; 
  height: 100%;
}

.photo-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-slide-text-container {
  flex: 1; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: auto;
  margin-right: 2rem;
  padding: 1rem;
  background-color: #3A3B3C;
  color: #fff7f7;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  padding-right: 20px;
  padding-left: 20px;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  padding-right: 20px;
  padding-left: 20px;
}

 p {
  font-size: 1.2rem;
  padding-right: 20px;
  padding-left: 20px;
}

.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;
}
