@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic:wght@400;700;800&family=Noto+Sans:ital,wght@0,400;0,800;1,400;1,800&display=swap');

/* MEDIA QUERIES */

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

@media (max-width: 1200px) {
  html {
    font-size: 16px;
  }
}

@media only screen and (max-width: 900px) {
  .container {
    flex-direction: column;
    gap: 1rem !important;
  }
  .container div:first-child {
    height: fit-content !important;
    width: 100%;
  }
  .container main {
    padding-top: 0;
  }

  .container nav {
    flex-direction: row;
  }
  .container nav > a {
    flex-grow: 1;
    border-bottom: 1px solid rgba(0, 0, 0, .3) !important;
  }

  .dropdown {
    position: absolute;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;

    display: flex;
    flex-direction: column;
    z-index: 1;
  }
}

/* BASIC */

:root {
  --mainbg: #0e1b2e;
  --highlight: #e2ebee;
  --lightgray: rgba(0, 0, 0, .7);

  --nkblue: #11387f;
  --mediumlarge: #0e5432;
  --synchro: #a45024;
}

body {
  font-family: 'Nanum Gothic', 'Noto Sans', sans-serif;

  margin: 0;
  padding: 3rem;
  padding-bottom: 0;
  padding-left: 4rem;
  padding-right: 4rem;
  line-height: 1.5em;
  height: 100vh;
  height: 100dvh;
  box-sizing: border-box;
  color: var(--lightgray);

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

  gap: 3rem;
}

h1, h2, h4, h6 {
  line-height: 1.2em;
  margin: 0;
}
h1 {
  font-size: 3.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
h2 {
  font-size: 1.5rem;
  font-weight: bold;
}
h4, h5 {
  color: var(--nkblue);
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
}
h6 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

h2, h6 {
  color: var(--lightgray);
}

.reflect {
  -webkit-box-reflect: below -20px linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,.5) 200%);
}

header {
  display: flex;
  width: 100%;
}
header img {
  height: 2.5rem;
}

footer {
  text-align: center;
  font-size: .9rem;
  background: var(--mainbg);
  padding-bottom: 1.5rem;
  padding-top: 1.5rem;
  padding-left: 4rem;
  padding-right: 4rem;
  color: rgba(255,255,255, .8);
  position: relative;
  width: 100%;
}

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

.center {
  height: 100%;
  align-items: center;
}

.flex {
  display: flex;
}
.gap {
  gap: .5rem;
}
.column {
  flex-direction: column;
}

a.button {
  font-family: inherit;
  color: inherit;
  background: inherit;
  font-size: inherit;
  border: 1px solid white;
  cursor: pointer;
  padding: .75rem;
  padding-left: 1rem;
  padding-right: 1rem;
  text-decoration: none;
  transition: background 150ms;
  white-space: nowrap;
}

button:hover, a.button:hover {
  background: var(--highlight);
}

.download {
  border-radius: 5px;
  padding: 7px !important;
  padding-left: .75rem !important;
  padding-right: .75rem !important;
  font-size: .9em !important;
  width: fit-content;
  background: black !important;
  color: white !important;
  margin: auto;
  white-space: nowrap;
  font-weight: 900 !important;
}
.download:hover {
  background: var(--nkblue) !important;
  color: white !important;
}

nav,
nav > div {
  min-width: 10rem;
  color: black;
  display: flex;
  flex-direction: column;
  text-align: center;
}
nav a.button {
  background: white;
  position: relative;
  border: none;
  border-top: 1px solid;
  border-color: rgba(0, 0, 0, .3);
  line-height: 1.1em;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  font-size: 1.2rem;
  font-weight: bold;
}

nav a.button:last-child {
  border-bottom: 1px solid;
  border-color: rgba(0, 0, 0, .3);
}

/* SUBPAGE */

main {
  /* padding-top: 10rem; */
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  word-break: keep-all;

  overflow: scroll;
  overflow-x: hidden;
  overflow-y: scroll;
}

img {
  object-fit: contain;
}

.background {
  position: absolute;
  top: 0;
  right: 0%;
  width: 75%;
  height: 100%;
  z-index: -10;
  pointer-events: none;
  opacity: .25;
}

ol {
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 20rem;

  counter-reset: main-counter;
}
ol li {
  counter-increment: main-counter;
  display: flex;
  margin-bottom: 1rem;
  font-size: inherit;
}
ol li::before {
  content: counter(main-counter);
  background: black;
  color: white;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  margin-right: .5rem;
  font-size: .8rem;
}
