@font-face {
  font-family: "PJT Pixel";
  src: url("./assets/fonts/Bitmap.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Archivo Black";
  src: url("./assets/fonts/ArchivoBlack-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --yellow: #fffdb7;
  --pink: #e875aa;
  --blue: #96b9e8;
  --brown: #523314;
  --white: #fffefd;
  --line: #e8dfd7;
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--white);
  color: var(--brown);
  font-family: "Inter", Arial, sans-serif;
}

.farewell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(22px, 6vh, 46px) clamp(22px, 6vw, 62px) 24px;
  position: relative;
  overflow: hidden;
}

.topline {
  background: var(--brown);
  height: 7px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.brand {
  width: min(100%, 430px);
  display: flex;
  justify-content: center;
}

.pjt-logo {
  display: block;
  height: auto;
  opacity: 0.44;
  width: min(275px, 66vw);
}

.message {
  align-items: center;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  margin: 24px auto;
  max-width: 720px;
  text-align: center;
  width: 100%;
}

.enter-logo {
  height: auto;
  margin-bottom: clamp(18px, 4vh, 32px);
  object-fit: contain;
  width: clamp(116px, 24vw, 160px);
}

.label {
  color: var(--pink);
  font-family: "PJT Pixel", monospace;
  font-size: clamp(19px, 3.4vw, 25px);
  line-height: 1.3;
  margin: 0 0 16px;
}

h1 {
  color: var(--brown);
  font-family: "Archivo Black", Arial, sans-serif;
  font-size: clamp(42px, 9.2vw, 86px);
  line-height: 0.98;
  margin: 0 0 clamp(22px, 4vh, 32px);
}

.copy {
  color: #566985;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  margin: 0;
  max-width: 550px;
}

.return {
  background: var(--yellow);
  border: 3px solid var(--brown);
  border-radius: 7px;
  box-shadow: 6px 6px 0 #d7cbbd;
  color: var(--brown);
  font-family: "PJT Pixel", monospace;
  font-size: clamp(21px, 3.2vw, 28px);
  line-height: 1.32;
  margin: clamp(28px, 5vh, 42px) 0 0;
  max-width: 570px;
  padding: 18px 22px 15px;
  width: 100%;
}

.footer {
  border-top: 2px solid var(--line);
  color: #7184a0;
  display: flex;
  font-family: "PJT Pixel", monospace;
  font-size: clamp(17px, 2.4vw, 21px);
  gap: 14px;
  justify-content: center;
  padding-top: 22px;
  width: min(100%, 720px);
}

@media (max-width: 480px) {
  .farewell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .message {
    margin: 22px 0 18px;
  }

  h1 {
    font-size: clamp(38px, 11.2vw, 48px);
  }

  .return {
    box-shadow: 4px 4px 0 #d7cbbd;
    padding: 16px 16px 14px;
  }
}
