* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "greycliff-cf", sans-serif;
  color: #291b0e;
}

html {
  font-size: 20px;
}

main {
  height: 100dvh;
  width: 100%;
  background: url(/assets/images/stock.jpg) no-repeat center/cover;
  padding: 3rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
  z-index: 10;
}

.content {
  position: relative;
  z-index: 99;
  display: flex;
  align-items: center;
  background: rgba(253, 244, 220, 0.75);
  border: 2px solid #291b0e;
  backdrop-filter: blur(3px);
  border-radius: 2rem;
  padding: 1.5rem;
}

.content img {
  height: 35dvh;
  object-fit: contain;
  margin-top: -8rem;
  translate: 3rem 0;
}

.content h1 {
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.content p {
  font-size: 1.25rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6em;
}

.content a {
  text-decoration: none;
}

.content a p {
  margin-top: 0.5rem;
}

@media (width < 768px) {
  main {
    padding: 1rem;
    overflow: hidden;
  }

  .content {
    flex-direction: column-reverse;
    align-items: baseline;
    gap: 1rem;
    padding: 2rem;
    width: 90dvw;
  }

  .content article {
    /* text-align: center; */
    width: 100%;
  }

  .content img {
    height: 25dvh;
    object-fit: contain;
    margin-top: -10rem;
    translate: 2.5rem 1rem;
  }

  .content h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .content p {
    font-size: 1rem;
    line-height: 1.5em;
  }
}
