:root {
  --brand: #3d6f9e;
  --hill-back: #36638f;
  --hill-front: #2c5479;
  --text: #fff;
  --text-soft: rgba(255, 255, 255, 0.88);
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #2d5580;
    --hill-back: #284c73;
    --hill-front: #203f60;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem 9rem;
  background: var(--brand);
  color: var(--text);
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  text-align: center;
  overflow-x: hidden;
}

main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 36rem;
}

.tent {
  width: 7.5rem;
  margin-bottom: 1rem;
  fill: none;
  stroke: var(--text);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tent .door {
  fill: rgba(255, 255, 255, 0.18);
}

.tent .flag {
  transform-origin: 60px 11px;
  animation: wave 2.4s ease-in-out infinite;
}

.tent .star {
  stroke-width: 3;
  opacity: 0.8;
  animation: twinkle 3s ease-in-out infinite;
}

.tent .star + .star {
  animation-delay: 1.5s;
}

h1 {
  margin: 0 0 1rem;
  font-family: "Nunito", "Open Sans", sans-serif;
  font-size: clamp(2rem, 7vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
}

p {
  margin: 0 0 1.5rem;
  color: var(--text-soft);
}

.info {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  text-align: left;
}

.info h2 {
  margin: 0 0 0.75rem;
  font-family: "Nunito", "Open Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.info p {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.info p:last-child {
  margin-bottom: 0;
}

.contact {
  margin-top: 2rem;
  font-size: 1rem;
}

.contact a {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--brand);
  font-family: "Nunito", "Open Sans", sans-serif;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact a:hover,
.contact a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.contact a:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
}

.hills {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 8rem;
}

.hill-back {
  fill: var(--hill-back);
}

.hill-front {
  fill: var(--hill-front);
}

@keyframes wave {
  50% {
    transform: skewY(-8deg) scaleX(0.9);
  }
}

@keyframes twinkle {
  50% {
    opacity: 0.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tent .flag,
  .tent .star {
    animation: none;
  }
}
