:root {
  font-size: 16px;
}

@font-face {
  font-display: swap;
  font-family: 'Nanum Gothic';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/nanum-gothic-v23-latin-regular.eot');
  src: url('../fonts/nanum-gothic-v23-latin-regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/nanum-gothic-v23-latin-regular.woff2') format('woff2'),
    url('../fonts/nanum-gothic-v23-latin-regular.woff') format('woff'),
    url('../fonts/nanum-gothic-v23-latin-regular.ttf') format('truetype'),
    url('../fonts/nanum-gothic-v23-latin-regular.svg#NanumGothic') format('svg');
}

@font-face {
  font-display: swap;
  font-family: 'Nanum Gothic';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/nanum-gothic-v23-latin-700.eot');
  src: url('../fonts/nanum-gothic-v23-latin-700.eot?#iefix') format('embedded-opentype'),
    url('../fonts/nanum-gothic-v23-latin-700.woff2') format('woff2'),
    url('../fonts/nanum-gothic-v23-latin-700.woff') format('woff'),
    url('../fonts/nanum-gothic-v23-latin-700.ttf') format('truetype'),
    url('../fonts/nanum-gothic-v23-latin-700.svg#NanumGothic') format('svg');
}

@font-face {
  font-display: swap;
  font-family: 'Nanum Gothic';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/nanum-gothic-v23-latin-800.eot');
  src: url('../fonts/nanum-gothic-v23-latin-800.eot?#iefix') format('embedded-opentype'),
    url('../fonts/nanum-gothic-v23-latin-800.woff2') format('woff2'),
    url('../fonts/nanum-gothic-v23-latin-800.woff') format('woff'),
    url('../fonts/nanum-gothic-v23-latin-800.ttf') format('truetype'),
    url('../fonts/nanum-gothic-v23-latin-800.svg#NanumGothic') format('svg');
}




* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-size: 16px;
  line-height: 20px;
  font-family: 'Nanum Gothic', sans-serif;
  color: #000;
  font-weight: 400;
}

#wrapper {
  position: relative;
  max-width: 360px;
  margin: 16px auto;
  border: 1px solid #777;
  padding: 50px 16px;
  overflow: hidden;
  background-color: #fff;
  text-align: center;
}

h1 {
  margin: 9px 0 6px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

h2 {
  margin: 16px 0;
  font-size: 16px;
  line-height: 20px;
  font-weight: 800;
}

h3 {
  margin: 0 0 24px 0;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 800;
}

p:not(:last-of-type) {
  margin-bottom: 16px;
}

header {
  padding: 0 0 16px;
}

article {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}

footer {
  font-weight: 800;
  margin: 16px 50px 0;
  margin-top: 16px;
  border-top: 1px solid #000;
  padding-top: 16px;
  line-height: 1.5;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

:is(a:link, a:visited, a:hover, a:active) {
  color: #00346C;
  text-decoration: none;
  white-space: nowrap;
}

strong {
  font-weight: 800;
}

@media all and (max-width:360px) {
  #wrapper {
    margin: 0;
    padding: 16px;
    border: none;
  }

  :is(p, ul) {
    hyphens: auto;
    text-wrap: pretty;
  }

  br:not(footer br) {
    display: none;
  }
}