@font-face {
  font-family: "Pretendard";
  src: url("/pretendard.woff2");
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  padding: 0;
  background: #1f2023;
  color: #fff;
  font-family: "Pretendard", system-ui, --apple-system, sans-serif;
}

body, main {
  display: grid;
  justify-items: center;
  padding: 1rem;
}

main {
  padding-top: 0;
  max-width: 1000px;
}

h1, p {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  justify-self: center;
}

header {
  display: flex;
  flex-wrap: wrap;
  place-content: center;
}

section {
  color: #ffffffc8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0.2rem 0;
}

label {
  font-size: 120%;
  display: block;
  margin: 0.5rem 0;
}

input, textarea {
  width: 100%;
}

input, textarea, button {
  background: inherit;
  color: inherit;
  font-family: inherit;
  padding: 0.5rem;
  border: solid 0.02rem #fff;
}

textarea {
  resize: none;
  height: 100%;
}

button {
  display: flex;
  justify-self: center;
  margin-top: 0.5rem;
  padding: 0.8rem 1rem;
  border-radius: 0.5rem;
}