@font-face {
  font-family: "Source Serif Pro";
  src: url("fonts/SourceSerifPro-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

html, body {
  background: #000;
  color: #fff;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 44rem;
  padding: 5vh 1.25rem 7vh;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sign {
  width: min(22.5rem, 84vw);
  height: auto;
  display: block;
  margin-bottom: 4.75vh;
  filter:
    drop-shadow(0 6px 10px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 28px rgba(240, 214, 12, 0.16));
}

.photo {
  width: min(32.5rem, 90vw);
  height: auto;
  display: block;
}

.quote {
  margin-top: 4.25vh;
  font-family: "Source Serif Pro", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: clamp(1.35rem, 4.2vw, 1.85rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #f2f2f2;
  text-align: center;
  line-height: 1.35;
}

@media (max-height: 740px) {
  main {
    padding: 3.5vh 1.1rem 5vh;
  }
  .sign {
    width: min(18rem, 72vw);
    margin-bottom: 3.25vh;
  }
  .photo {
    width: min(26rem, 78vw);
    max-height: 52vh;
    object-fit: contain;
  }
  .quote {
    margin-top: 3vh;
  }
}
