@font-face {
  font-family: "Devina Garden";
  src: url("devina-garden.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

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

body {
  background: #f9f8f7;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
    sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

main {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 58px;
  justify-content: center;
}

img {
  width: min(275px, 70vw);
  height: auto;
  display: block;
}

h1 {
  color: #000;
  font-family: "Devina Garden", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
  font-size: 128px;
  font-style: normal;
  font-weight: 400;
  line-height: 102px;
  margin: 0;
}

@media (max-width: 1024px) {
  main {
    gap: 40px;
  }
  img {
    width: min(210px, 40vw);
  }
  h1 {
    font-size: 96px;
    line-height: 76px;
  }
}

@media (max-width: 768px) {
  main {
    flex-direction: column;
  }
  h1 {
    text-align: center;
  }
}
