@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Fira+Code:wght@400;500&family=EB+Garamond:ital,wght@0,400;1,400&display=swap");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
}

body {
  line-height: 1.5;
  min-height: 100%;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

* {
  text-align: center;
}

body {
  padding: 2rem;
  background: radial-gradient(circle at center, #8f5c27 0%, #7f1f1f 100%);
  color: #eee;
  font-family: "EB Garamond", serif;
  display: grid;
  min-width: min-content;
}

main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
  align-items: center;
  justify-content: center;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  color: #3c008b;
  letter-spacing: 0.2rem;
}

h1 {
  font-size: clamp(2.5rem, 10vw, 4.5rem);
  letter-spacing: 0.8rem;
  margin-bottom: 2rem;
  line-height: 1.4;
}

p {
  line-height: 1.9;
  font-size: 1.2rem;
  color: #b5b5b5;
  max-width: 650px;
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

blockquote {
  padding: 1rem 2rem;
  border-left: 3px solid #7000ff;
  background: rgba(0, 0, 0, 0.2);
  font-style: italic;
  color: #eee;
  max-width: 600px;
  margin: 2rem 0;
  font-size: 1.5rem;
}

pre {
  text-align: left;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 420px;
}

label {
  font-family: "Cinzel", serif;
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
  color: #b5b5b5;
  text-transform: uppercase;
}

input {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #222;
  padding: 0.8rem;
  color: #ffd700;
  font-family: "Fira Code", monospace;
  transition: all 0.1s ease;
  font-size: 1.4rem;
  letter-spacing: 0.3rem;
}
input:focus {
  outline: none;
  border-color: #7000ff;
  box-shadow: 0 0 15px rgba(112, 0, 255, 0.3);
}

button {
  background: #7000ff;
  color: white;
  border: none;
  padding: 1rem 2rem;
  cursor: pointer;
  text-transform: uppercase;
  font-family: "Cinzel", serif;
  font-weight: bold;
  letter-spacing: 0.15rem;
  transition: all 0.1s ease;
}
button:hover {
  filter: brightness(1.2);
  transform: scale(1.02);
}
button:active {
  transform: scale(1);
}
button#cry {
  width: 420px;
}

.pilgrim form {
  margin-top: 2rem;
}

.door .failed {
  animation: shake 0.4s ease-in-out;
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-10px);
  }
  75% {
    transform: translateX(10px);
  }
}
.shelter form {
  display: flex;
  flex-direction: column;
}
.shelter form span {
  font-size: 3rem;
}
.shelter form .actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.heaven button {
  margin-top: 2rem;
  margin-bottom: 1rem;
}