*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  font-size: 100%;
  font-weight: normal;
  box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) { 
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

html {
  font-size: 16px;
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: no-preference) {
  html:focus-within {
    scroll-behavior: auto;
  }
}

body {
  position: relative;
  min-height: 100svh;
  font-family: Pretendard, BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  word-break: keep-all;
  text-rendering: optimizeSpeed;
  cursor: default;
}

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

a:not([class]) {
  text-decoration-skip-ink: auto;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
  display: block;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

iframe {
  display: block;
  border: 0;
}

ul[class],
ol[class] {
  list-style: none;
}

code,
pre,
kbd,
samp {
  -moz-osx-font-smoothing: auto;
  -webkit-font-smoothing: auto;
  font-family: monospace;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

td:not([align]),
th:not([align]) {
  text-align: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
  cursor: pointer;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

textarea {
  resize: none;
}

textarea:not([rows]) {
  min-height: 10rem;
}

:target {
  scroll-margin-top: 10rem;
}

[hidden] {
  display: none !important;
}

#asdf {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: black;
  background-color: lemonchiffon;
}

.header {
  flex: 0 0 auto;
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid black;
}

.header button {
  appearance: none;
  position: absolute;
  top: 0;
  right: 0;
  padding: 1rem;
  font: inherit;
  background-color: transparent;
  border: 0;
  border-radius: 0;
}

.form.is-hidden {
  display: none;
}

.header a {
  position: absolute;
  top: 0;
  left: 0;
  padding: 1rem;
  font: inherit;
  background-color: transparent;
  border: 0;
  border-radius: 0;
}

.form {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: lemonchiffon;
}

.form-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 2rem);
  max-width: 30rem;
}

.field:not(:last-child) {
  margin-bottom: 1rem;
}

.label {
  display: block;
  margin-bottom: .5rem;
}

.input {
  width: 100%;
  padding: .5rem;
}

.main {
  flex: 1 1 auto;
  overflow: auto;
}

.list {
  display: flex;
  flex-wrap: wrap;
}

.list .item {
  width: 100%;
  aspect-ratio: 1;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1rem;
}

@media (min-width: 900px) {
  .list .item {
    width: 25%;
  }

  .list .item:nth-child(4n) {
    border-right: 0;
  }
}

.item > *:not(:last-child) {
  margin-bottom: 1rem;
}

.input {
  appearance: none;
  display: block;
  width: 100%;
  padding: 1rem;
  background-color: transparent;
  border: 1px solid black;
  border-radius: 0;
  outline: 0;
}

.button {
  appearance: none;
  display: block;
  width: 100%;
  padding: 1rem;
  font: inherit;
  text-align: center;
  background-color: transparent;
  border: 1px solid black;
  border-radius: 3em;
  outline: 0;
}

.buttons {
  display: flex;
  gap: 1rem;
}

.buttons .button {
  flex: 1 1 auto;
}