@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;800&display=swap');

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background-image: url('/assets/0.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  backdrop-filter: brightness(60%);
  padding: 50px 0;
}

h1 {
  font-size: 70px;
}

h2 {
  font-size: 50px;
  letter-spacing: 10px;
  margin-bottom: 25px;
}

h1,
h2 {
  color: #fffcff;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  z-index: 1;
}

section {
  display: grid;
  place-items: center;
}

.carousel {
  width: 80%;
  height: 80vh;
  border-radius: 10px;
  overflow: hidden;
  margin-inline: 20px;
  position: relative;
}

.carousel > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: 200ms opacity ease-in-out;
  transition-delay: 200ms;
}

.slide > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide[data-active] {
  opacity: 1;
  z-index: 1;
  transition-delay: 0ms;
}

.carousel-button {
  position: absolute;
  z-index: 2;
  background: none;
  border: none;
  font-size: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  border-radius: 0.25rem;
  padding: 0.5rem;
  background-color: rgba(0, 0, 0, 0.7);
}

.carousel-button:hover,
.carousel-button:focus {
  color: white;
  background-color: rgba(0, 0, 0, 0.2);
}

.carousel-button:focus {
  outline: 1px solid #333;
}

.carousel-button.prev {
  left: 1rem;
}

.carousel-button.next {
  right: 1rem;
}

.copy-right {
  margin-top: 20px;
  font-size: 12px;
  color: white;
}

@media screen and (max-width: 900px) {
  h1 {
    font-size: 50px;
  }
  h2 {
    font-size: 30px;
  }
}
