:root {
  --font-main: "Aboreto", system-ui;
  --dark-green: #1f2a24;
  --dark-burgundy: #4a0d16;
  --terracotta: #9b4a2f;
  --gold: #f9c22e;
  --cream: #e7ddcf;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: var(--terracotta);
  background-image: url("Images/background.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transform: translateZ(0);
  z-index: -1;
}
body {
  background-color: var(--terracotta);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-main);
  color: var(--cream);
}
.enter-screen {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: var(--font-main);
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 100;
}
.banner {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  margin-top: -9px;
}

.banner img {
  width: auto;
  transform-origin: top center;
  user-select: none;
}
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.names {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.25em;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow:
    0px 0px 20px rgba(0, 0, 0, 1),
    0px 2px 4px rgba(0, 0, 0, 1);
}
.and {
  font-size: clamp(1.2rem, 4vw, 2rem);
  letter-spacing: 0.4em;
  display: block;
  margin: 0.2em 0;
}

.details {
  font-size: clamp(1.2rem, 4vw, 2rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 1.5rem;
  line-height: 1.8;
  text-shadow:
    0px 0px 20px rgba(0, 0, 0, 1),
    0px 2px 4px rgba(0, 0, 0, 1);
}

.tagline {
  margin-top: 2.5rem;
  font-size: clamp(0.9em, 2vw, 1.1rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  line-height: 2;
  text-shadow:
    0px 0px 20px rgba(0, 0, 0, 1),
    0px 2px 4px rgba(0, 0, 0, 1);
}

.tagline span {
  display: block;
  text-shadow:
    0px 0px 20px rgba(0, 0, 0, 1),
    0px 2px 4px rgba(0, 0, 0, 1);
}

.label {
  font-weight: 400;
  display: block;
  text-shadow:
    0px 0px 20px rgba(0, 0, 0, 1),
    0px 2px 4px rgba(0, 0, 0, 1);
}

@keyframes sway {
  0% {
    transform: rotate(0deg) skewX(0deg) translateY(0px);
  }
  25% {
    transform: rotate(2deg) skewX(-3deg) translateY(-4px);
  }
  50% {
    transform: rotate(4deg) skewX(2deg) translateY(-2px);
  }
  75% {
    transform: rotate(1deg) skewX(-2deg) translateY(-5px);
  }
  100% {
    transform: rotate(0deg) skewX(0deg) translateY(0px);
  }
}

.banner img:nth-child(1) {
  animation: sway 4.8s ease-in-out infinite;
  animation-play-state: paused;
}
.banner img:nth-child(2) {
  animation: sway 4.2s ease-in-out infinite 0.3s;
  animation-play-state: paused;
}
.banner img:nth-child(3) {
  animation: sway 5.2s ease-in-out infinite 0.6s;
  animation-play-state: paused;
}
.banner img:nth-child(4) {
  animation: sway 4.5s ease-in-out infinite 0.1s;
  animation-play-state: paused;
}
.banner img:nth-child(5) {
  animation: sway 6.5s ease-in-out infinite 0.5s;
  animation-play-state: paused;
}
.banner img:nth-child(6) {
  animation: sway 4.9s ease-in-out infinite 0.2s;
  animation-play-state: paused;
}
.banner img:nth-child(7) {
  animation: sway 4.7s ease-in-out infinite 0.4s;
  animation-play-state: paused;
}
.banner img:nth-child(8) {
  animation: sway 4.3s ease-in-out infinite 0.7s;
  animation-play-state: paused;
}
.banner img:nth-child(9) {
  animation: sway 5s ease-in-out infinite 0.9s;
  animation-play-state: paused;
}
.lang-switcher {
  display: flex;
  gap: 0.5rem;
  padding-bottom: 0.8rem;
}

.lang-switcher button {
  background: transparent;
  border: 1px solid var(--cream);
  color: var(--cream);
  font-family: var(--font-main);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.lang-switcher button.active {
  background: var(--cream);
  color: var(--dark-green);
  opacity: 1;
}

.lang-switcher button:focus,
.lang-switcher button:focus-visible {
  outline: none;
}

@media (hover: hover) {
  .lang-switcher button:hover {
    background: var(--cream);
    color: var(--dark-green);
    opacity: 1;
  }
}
