@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.min.css");

:root {
  --color-1: #545454;
  --color-2: #93B874;
  --color-3: #F3F3F3;
  --color-4: gainsboro;
}

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

html {
  font-size: 16px;
}

body {
  font-family: "Pretendard", sans-serif;
  font-size: 1rem;
  word-break: keep-all;
  color: var(--color-1);
  background-color: var(--color-3);
  cursor: default;
}

a {
  text-decoration: none;
  color: var(--color-2);
  cursor: pointer;
}

.header {
  flex: 0 0 auto;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--color-1);
  background-color: var(--color-2);
}

.search-input {
  appearance: none;
  display: block;
  position: sticky;
  z-index: 999;
  top: 0;
  width: 100%;
  padding: 1rem 1.5rem;
  overflow: hidden;
  font: inherit;
  font-weight: 700;
  text-align: center;
  color: var(--color-2);
  background-color: var(--color-1);
  border: 0;
  border-radius: 0;
  outline: 0;
}

.search-input::placeholder {
  color: var(--color-2);
}

.main {
  flex: 1 1 auto;
  padding: 1rem;
}

.footer {
  flex: 0 0 auto;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--color-1);
  background-color: var(--color-3);
}

.container {
  max-width: 40rem;
  margin: 0 auto;
}

.article {
  position: relative;
  line-height: 1.625;
  background-color: white;
  border: 1px solid var(--color-4);
  border-radius: .5rem;
}

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

.article summary {
  list-style: none;
  padding: 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.article summary::-webkit-details-marker {
  display: none;
}

.article[open] {
  scroll-margin-top: 3rem;
}

.article[open] summary {
  border-bottom: 1px solid var(--color-4);
}

.article ol {
  padding: 1.5rem 1.5rem 1.5rem 3rem;
}