body {
  margin: 0;
}

#hero * {
  box-sizing: border-box;
}

#hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
  display: block !important;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: flex-end;
  padding: 0 5%;
  pointer-events: none;
}

h1 {
  color: #3b281b;
  font-size: 48px;
  text-align: right;
  max-width: 500px;
  margin-bottom: 20px;
  font-family: "Playfair Display", serif;
  text-shadow: 2px 2px 10px rgb(243, 238, 238);
}

.dots {
  list-style: none;
  display: flex;
  gap: 15px;
  pointer-events: auto;
  margin-top: 20px;
}

.dot {
  width: 15px;
  height: 15px;
  border: 3px solid rgba(243, 238, 238, 0.501);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background-color: #8c6a4a;
}