:root {
  --page-background: #fcf8ef;
  --ink: #353030;
  --link: #eb5757;
}

html {
  box-sizing: border-box;
  min-height: 100%;
  background: var(--page-background);
}

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

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--page-background);
  color: var(--ink);
  font-family: "Kalam", cursive;
  font-weight: 700;
}

.page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}

.content {
  display: flex;
  width: 100%;
  flex: 1 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(44px, 8vh, 84px) 24px 18px;
  text-align: center;
}

.logo {
  display: block;
  width: min(72vw, 360px);
  height: auto;
  object-fit: contain;
}

.text {
  width: min(100%, 650px);
  margin-top: 40px;
  color: var(--ink);
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.18;
}

.text p {
  margin: 0;
}

.text a {
  color: var(--link);
  text-decoration-line: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.09em;
  transition: opacity 160ms ease;
}

.text a:hover {
  opacity: 0.76;
}

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

.illustration-wrap {
  width: min(100%, 720px);
  flex: 0 0 auto;
  margin-top: auto;
}

.illustration {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
}

@media (max-width: 640px) {
  .content {
    justify-content: flex-start;
    padding-top: 42px;
  }

  .text {
    font-size: clamp(18px, 5vw, 22px);
  }

  .illustration-wrap {
    width: min(152vw, 720px);
    max-width: none;
    transform: translateX(2%);
  }
}

@media (min-width: 1000px) {
  .content {
    padding-top: 62px;
  }

  .illustration-wrap {
    width: min(68vw, 720px);
  }
}
