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

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
menu,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
main,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
  display: block;
}
/* HTML5 hidden-attribute fix for newer browsers */

*[hidden] {
  display: none;
}

body {
  line-height: 1;
}

menu,
ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

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

* {
  box-sizing: border-box;
}

html {
  /* 기본적으로 적용될 글자 색상 지정 가능 - 기본은 black */
  color: #212121;
  /* 기본적으로 적용될 폰트 지정 가능 - 기본은 브라우저에 따라 달라짐 */
  font-family: Pretendard;
}

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

input,
button {
  outline: none;
  border: none;
  background-color: transparent;
}

button {
  margin: 0;
  padding: 0;

  color: #212121;
  cursor: pointer;
}

html {
  height: 100%;
  overflow-y: hidden;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;

  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

main {
  flex: 1;

  /* header 높이 */
  margin-top: 65px;
  width: 100%;
}

section.section-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  /* FIXME: 1) 각 section의 위아래 padding을 고정합니다. 188을 원하는 숫자로 바꾸시면 됩니다. */
  padding-top: 188px;
  padding-bottom: 188px;

  width: 100%;
}

section.section-container > div {
  /* FIXME: 2) 각 section의 내용물의 최대 너비를 지정합니다. 1200을 원하는 숫자로 변경하시면 됩니다. */
  max-width: 1200px;
  width: 100%;
}

div.toast {
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease-in-out;

  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 74px;

  display: flex;
  align-items: center;

  border-radius: 8px;
  padding: 12px 16px;
  background-color: #2e3032;

  width: 300px;
}

div.toast.--copied {
  bottom: 74px;
}

div.toast.--exceed-limit-number {
  bottom: 50px;
}

span.toast__text {
  color: var(--white, #fff);
  /* Body4/14/regular */
  font-size: 14px;
  font-family: Pretendard;
  font-style: normal;
  font-weight: 400;
  line-height: 21px;
}

@media screen and (max-width: 1024px) {
  body {
    max-width: 414px;

    margin: 0 auto;
  }

  main {
    margin-top: 64px;
  }

  section.section-container {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  section.section-container > div {
    max-width: unset;
    width: 100%;
  }
}
