:root {
  --paper: #ffd1ad;
  --ink: #6b5360;
  --ink-soft: rgba(107, 83, 96, 0.18);
  --leaf: #7dbb64;
  --leaf-dark: #4f8c49;
  --cream: #fff6ec;
  --shadow: rgba(107, 83, 96, 0.18);
  font-family: "Segoe Print", "Comic Sans MS", "Bradley Hand ITC", cursive;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.construction-page {
  position: relative;
  display: grid;
  min-height: 100dvh;
  place-items: center;
  overflow: hidden;
  padding: clamp(24px, 5vw, 72px);
}

.message-board {
  position: absolute;
  left: 50%;
  top: clamp(92px, 18vh, 170px);
  width: min(760px, calc(100% - 32px));
  transform: translateX(-50%);
  text-align: center;
}

.top-note {
  margin: 0 0 18px;
  font-size: clamp(2.8rem, 6vw, 5.1rem);
  line-height: 1.05;
}

h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0;
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.1;
}

.warning-mark {
  position: relative;
  display: inline-block;
  width: clamp(38px, 5vw, 58px);
  height: clamp(32px, 4.5vw, 52px);
}

.warning-mark::before {
  position: absolute;
  inset: 3px 0 0;
  transform: rotate(-2deg);
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  content: "";
}

.warning-mark::after {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 3px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 25px 0 var(--ink);
  content: "";
}

.contact-card {
  position: absolute;
  left: 50%;
  bottom: clamp(84px, 12vh, 118px);
  width: min(560px, calc(100% - 32px));
  transform: translateX(-50%);
  text-align: center;
}

.contact-card h2 {
  margin: 0 0 22px;
  font-size: clamp(4.1rem, 9vw, 8.6rem);
  font-weight: 500;
  line-height: 0.92;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.social-row a {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.social-row a:hover {
  transform: translateY(-4px) rotate(-3deg);
}

.mail-icon,
.youtube-icon,
.instagram-icon,
.x-icon,
.music-icon {
  position: relative;
  display: block;
  width: 34px;
  height: 28px;
}

.mail-icon {
  border: 5px solid var(--ink);
  border-radius: 6px;
}

.mail-icon::before,
.mail-icon::after {
  position: absolute;
  top: 4px;
  width: 18px;
  height: 5px;
  background: var(--ink);
  content: "";
}

.mail-icon::before {
  left: 1px;
  transform: rotate(30deg);
}

.mail-icon::after {
  right: 1px;
  transform: rotate(-30deg);
}

.youtube-icon {
  width: 42px;
  height: 30px;
  border-radius: 9px;
  background: var(--ink);
}

.youtube-icon::before {
  position: absolute;
  left: 16px;
  top: 7px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--paper);
  content: "";
}

.instagram-icon {
  width: 35px;
  height: 35px;
  border: 5px solid var(--ink);
  border-radius: 10px;
}

.instagram-icon::before {
  position: absolute;
  left: 7px;
  top: 7px;
  width: 11px;
  height: 11px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  content: "";
}

.instagram-icon::after {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
  content: "";
}

.x-icon::before,
.x-icon::after {
  position: absolute;
  left: 15px;
  top: -2px;
  width: 6px;
  height: 38px;
  border-radius: 999px;
  background: var(--ink);
  content: "";
}

.x-icon::before {
  transform: rotate(42deg);
}

.x-icon::after {
  transform: rotate(-42deg);
}

.music-icon {
  width: 34px;
  height: 38px;
}

.music-icon::before {
  position: absolute;
  left: 16px;
  top: 0;
  width: 7px;
  height: 30px;
  border-radius: 999px;
  background: var(--ink);
  content: "";
}

.music-icon::after {
  position: absolute;
  left: 2px;
  bottom: 0;
  width: 20px;
  height: 15px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 16px -18px 0 -4px var(--ink);
  content: "";
}

.doodle {
  position: absolute;
  width: 96px;
  height: 96px;
  opacity: 0.95;
}

.doodle-left {
  left: clamp(42px, 7vw, 118px);
  top: 43%;
}

.doodle-right {
  right: clamp(42px, 7vw, 112px);
  bottom: clamp(44px, 7vw, 80px);
}

.doodle-face {
  position: absolute;
  left: 18px;
  top: 14px;
  width: 58px;
  height: 52px;
  border: 3px solid var(--ink);
  border-radius: 48% 48% 42% 42%;
  background: var(--cream);
  box-shadow: 0 8px 0 var(--shadow);
}

.doodle-face::before,
.doodle-face::after {
  position: absolute;
  top: 17px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 10px 0 -4px #e68c94;
  content: "";
}

.doodle-face::before {
  left: 14px;
}

.doodle-face::after {
  right: 14px;
}

.doodle-book {
  position: absolute;
  left: 14px;
  bottom: 10px;
  width: 64px;
  height: 26px;
  transform: rotate(-4deg);
  border: 3px solid var(--ink);
  border-radius: 7px;
  background: #b7da7f;
}

.doodle-book::before,
.doodle-book::after {
  position: absolute;
  top: -8px;
  width: 22px;
  height: 18px;
  border-radius: 70% 0 70% 0;
  background: var(--leaf);
  content: "";
}

.doodle-book::before {
  left: -18px;
  transform: rotate(-30deg);
}

.doodle-book::after {
  right: -18px;
  transform: rotate(120deg);
}

@media (max-width: 760px) {
  .construction-page {
    min-height: 100svh;
  }

  .message-board {
    top: 86px;
  }

  h1 {
    flex-wrap: wrap;
  }

  .contact-card {
    bottom: 92px;
  }

  .doodle {
    width: 72px;
    height: 72px;
    transform: scale(0.76);
    transform-origin: center;
  }

  .doodle-left {
    left: 12px;
    top: 46%;
  }

  .doodle-right {
    right: 12px;
    bottom: 12px;
  }
}
