/* Font: https://www.cssfontstack.com/Andale-Mono */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
html {
  font-family: "Andale Mono", AndaleMono, monospace, "Noto Sans Korean";
  margin: 0 1em 1em 1em;
  padding: 0;
  background-color: #fffef2;
  color: rgb(37, 37, 37);
}

.header-nav {
  position: fixed;
  top: 0;
  right: 0;
  padding: 1em 2em 0 0;
}

.header {
  text-align: right;
}

.header a {
  text-decoration: none;
}

.logo {
  color: rgb(0, 51, 160);
  font-size: 9px;
  line-height: 10px;
}

.logo:hover {
  color: rgb(78, 135, 61);
}

.nav {
  text-align: right;
}

.nav ul {
  list-style-type: none;
  padding: 0;
}

.nav ul li a {
  text-decoration: none;
  color: rgb(0, 51, 160);
  font-weight: bold;
  line-height: 1.5;
}

.nav ul li a:hover {
  color: rgb(78, 135, 61);
}

.content {
  padding: 9em 220px 3em 0;
}

.content ul li a {
  color: rgb(37, 37, 37);
}

.gallery {
  column-count: 2;
  column-gap: 1em;
}

.gallery-item {
  display: inline-block;
  margin: 0 0 1em;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: flex;
  user-select: none;
  pointer-events: none;
}

footer {
  color: rgb(0, 51, 160);
  text-align: right;
  position: fixed;
  right: 2em;
  bottom: 0.5em;
  width: 100%;
}

footer p {
  font-size: 11px;
}

h1 {
  font-family: "Andale Mono", AndaleMono, monospace;
  font-size: 24px;
  font-style: normal;
  font-variant: normal;
  font-weight: 700;
  line-height: 26.4px;
}

h2 {
  font-family: "Andale Mono", AndaleMono, monospace;
  font-size: 19px;
  font-style: normal;
  font-variant: normal;
  font-weight: 700;
  line-height: 21.4px;
}

h3 {
  font-family: "Andale Mono", AndaleMono, monospace;
  font-size: 14px;
  font-style: normal;
  font-variant: normal;
  font-weight: 700;
  line-height: 15.4px;
}

p {
  font-family: "Andale Mono", AndaleMono, monospace;
  font-size: 14px;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  line-height: 20px;
}

blockquote {
  font-family: "Andale Mono", AndaleMono, monospace;
  font-size: 17.5px;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  line-height: 25px;
}

pre {
  font-family: "Andale Mono", AndaleMono, monospace;
  font-size: 13px;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  line-height: 18.57143px;
}

@font-face {
  font-family: "Noto Sans Korean";
  src:
    url("fonts/NotoSans-DemiLight.woff2") format("woff2"),
    url("fonts/NotoSans-DemiLight.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  unicode-range: U+AC00-D7A3;
}

/* Mobile styles */
@media (max-width: 600px) {
  body,
  html {
    margin: 0 0.5em 2em 0.5em;
    padding: 0;
  }

  .header-nav {
    position: fixed;
    padding: 1em 1em 0 0;
    text-align: center;
  }

  .header {
    text-align: center;
  }

  .logo {
    font-size: 6px;
    line-height: 6px;
  }

  .nav {
    text-align: right;
  }

  .nav ul {
    padding: 0;
  }

  .nav ul li a {
    font-size: 11px;
  }

  .content {
    padding: 6em 85px 2em 0;
  }

  .content ul li a {
    color: rgb(37, 37, 37);
  }

  .gallery {
    column-count: 1;
  }

  .gallery-item {
    display: inline-block;
    margin: 0 0 0 0;
  }

  .gallery-item img {
    width: 100%;
    height: 100%;
    display: flex;
  }

  footer {
    text-align: center;
  }

  footer p {
    font-size: 11px;
    text-align: center;
  }

  h1 {
    font-size: 18px; /* Reduced font size for h1 */
    line-height: 20px; /* Adjusted line height for h1 */
  }

  h2 {
    font-size: 14px; /* Reduced font size for h2 */
    line-height: 16px; /* Adjusted line height for h2 */
  }

  h3 {
    font-size: 11px; /* Reduced font size for h3 */
    line-height: 12px; /* Adjusted line height for h3 */
  }

  p {
    font-size: 11px; /* Reduced font size for p */
  }

  a {
    font-size: 11px; /* Reduced font size for p */
  }

  ul {
    padding-left: 1em; /* Reduced padding before bullet points */
  }

  ul li {
    margin-left: 0.5em; /* Reduced margin before bullet points */
  }

  blockquote {
    font-size: 14px;
  }

  pre {
    font-size: 11px;
  }
}
