@charset "UTF-8";

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.woff2") format("woff2"),
       url("../fonts/Roboto-Regular.woff") format("woff");
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("../fonts/NotoSansKR-Regular.woff2") format("woff2"),
       url("../fonts/NotoSansKR-Regular.woff") format("woff");
}

html,
body,
* {
  margin: 0;
  padding: 0;
  line-height: 0;
  font-family: "Roboto";
}

body {
  background-color: transparent;
  font-size: 16px;
  font-weight: SemiBold 600;
  letter-spacing: 0.5px;
  word-spacing: 1px;
  min-width: 375px;
}

div.wrap {
  display: flex;
  flex-wrap: wrap;
  align-self: flex-start;
  min-width: 350px;
  height: 100%;
  margin: 0 auto;
  padding: 10px
}

.container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

header {
  display: flex;
  width: 100%;
  height: 100%;
  padding-bottom: 1rem;
  flex-direction: column;
  padding-top: 10px;
}

header > a {
  width: fit-content;
}

img.logo_img {
  height: 75px;
  width: 75px;
  position: relative;
  top: 10px;
  left: 0px;
  bottom: 0px;
}

h1 {
  color: #28518a;
  font-family: Roboto;
  font-size: xx-large;
  padding-left: 1rem;
  margin-top: 3rem;
}

header > nav {
  position: relative;
  z-index: 99;
  width: fit-content;
  height: fit-content;
  top: 0;
  margin-left: auto;
  line-height: 100%;
  margin-right: 1rem;
}

header > nav > ul {
  list-style: none;
}

header > nav > ul:first-of-type {
  visibility: hidden;
}

span.mobile_nav {
  position: relative;
  display: none;
  cursor: pointer;
  color: black;
}

ul.mobile_nav {
  display: none;
}

@media only screen and (max-width: 850px) {
  span.mobile_nav {
    display: block;
    margin-left: auto;
    cursor: pointer;
    margin: -50px 0px -10px 0;
    font-size: xx-large;
  }

  ul.mobile_nav {
    position: absolute;
    z-index: 99;
    width: fit-content;
    min-width: 180px;
    max-width: 250px;
    height: fit-content;
    cursor: pointer;
    background-color: white;
    border: rgb(230, 230, 230) solid thin;
    padding: 20px;
    margin: 20px 0 0 -130px;
    right: 0;
  }

  ul.mobile_nav > li {
    display: block;
    width: 100%;
    max-width: 200px;
    height: fit-content;
    margin-top: 20px;
    padding: 10px;
    white-space: normal;
    word-break: keep-all;
    line-height: 1.4;
  }

  ul.mobile_nav > li:first-child {
    margin-top: 0;
    padding: 10px;
  }

  ul.mobile_nav > li > a {
    white-space: normal;
    word-break: keep-all;
    display: block;
    width: 100%;
    max-width: 100%;
  }

  header > nav > ul:first-of-type {
    display: none;
  }
}

header > nav > ul > li {
  width: fit-content;
  display: inline-block;
  padding-right: 20px;
}

header > nav > ul > li:last-child {
  width: fit-content;
  display: inline-block;
  padding-right: 0;
}

header > nav > ul > li > a {
  font-size: 0.9rem;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
}

header > nav > ul > li > a:hover {
  text-decoration: underline;
}

h2 {
  margin-top: 2rem;
  width: fit-content;
  min-width: 200px;
  height: fit-content;
  line-height: 100%;
  text-transform: uppercase;
  font-size: x-large;
  letter-spacing: 1px;
}

main {
  width: 100%;
  height: auto;
  min-height: calc(100% - 220px);
}

button {
  animation: pulse 1s infinite;
  text-transform: uppercase;
}

button:disabled {
  background-color: #6e6e6e;
  color: white;
  cursor: not-allowed;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  /*
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
    */
}

footer {
  display: flex;
  width: 100%;
  height: 60px;
  padding-bottom: 28px;
}

footer > p {
  text-align: center;
  margin: auto;
  color: black;
  font-size: 0.9rem;
  line-height: 1.4rem;
  padding-top: 1.2rem;
  display: list-item;
  list-style: none;
}

h1.main_site {
  cursor: pointer;
}
