@font-face {
  font-family: 'Pretendard-Regular';
  src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Pretendard-Thin';
  src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
}
@font-face {
 font-family: 'NanumBarunGothic';
 font-style: normal;
 font-weight: 400;
 src: url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWeb.eot');
 src: url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWeb.eot?#iefix') format('embedded-opentype'), url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWeb.woff') format('woff'), url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWeb.ttf') format('truetype');
}

@font-face {
 font-family: 'NanumBarunGothic';
 font-style: normal;
 font-weight: 700;
 src: url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebBold.eot');
 src: url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebBold.eot?#iefix') format('embedded-opentype'), url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebBold.woff') format('woff'), url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebBold.ttf') format('truetype')
}

@font-face {
 font-family: 'NanumBarunGothic';
 font-style: normal;
 font-weight: 300;
 src: url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebLight.eot');
 src: url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebLight.eot?#iefix') format('embedded-opentype'), url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebLight.woff') format('woff'), url('//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebLight.ttf') format('truetype');
}

.nanumbarungothic * {
 font-family: 'NanumBarunGothic', sans-serif;
}
@font-face {
  font-family: 'Pretendard-ExtraBold';
  src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
}

/* nav + menu */
.container {
  width: 100%;
  padding-left: 8%;
  padding-right: 8%;
  box-sizing: border-box;
  z-index: 1;
  overflow: visible;
  position: fixed;
  background-color: transparent;
  font-family: 'Pretendard-Regular';
}
.navibar {
  width: 100%;
  display: flex;
  align-items: center;
}
.logo-icon {
  width: 80px;
  cursor: pointer;
  margin: 30px 0;
}
.menu-icon {
  width: 25px;
  cursor: pointer;
  display: none;
}
nav {
  flex: 1;
  text-align: right;
  z-index: 1;
}
nav ul li {
  list-style: none;
  display: inline-block;
  margin-right: 30px;
}
nav ul li a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-size: 14px;
  font-family: 'Pretendard-Thin';
}
#company, #product, #technology, #solution, #media {
  position: relative;
  margin-bottom: 5%;
}

#sub-company {
  display: none;
  position: absolute;
  top: 8vh; 
  background: transparent;
}
#sub-company > li{ 
  padding-top: 0;
  padding-bottom: 0;
}
#sub-product {
  display: none;
  position: absolute;
  top: 8vh;
  background: transparent;
}
#sub-product > li{ 
  padding-top: 0;
  padding-bottom: 0;
}
#sub-technology {
  display: none;
  position:  absolute;
  top: 8vh;
  background: transparent;
}
#sub-technology > li{ 
  padding-top: 0;
  padding-bottom: 0;
}
#sub-solution {
  display: none;
  position:  absolute;
  top: 8vh;
  background: transparent;
}
#sub-solution > li{ 
  padding-top: 0;
  padding-bottom: 0;
}
#sub-media {
  display: none;
  position:  absolute;
  top: 8vh;
  padding-bottom: 5%;
  background: transparent;
}
#sub-media > li{ 
  padding-top: 0;
  padding-bottom: 0;
}
@media only screen and (min-width: 1px) {
  nav ul {
    width: 100%;
    background-image: linear-gradient(315deg, #03e5b7 0%, #037ade 74%);
    position: absolute;
    top: 75px;
    right: 0;
    text-align: center;
  }
  nav ul li {
    display: block;
    padding-top: 5%;
    padding-bottom: 10px;
    font-family: 'Roboto', sans-serif;
    width: 100%;
    font-size: 24px;
    font-weight: 700;
    color: rgb(255, 255, 255);
    text-align: left;
    padding-left: 8%;
    box-sizing: border-box;
  }
  nav ul li a {
    color: rgb(255, 255, 255);
    font-size: 16px;
    font-weight: 700;
  }
  #menuList {
    box-sizing: border-box;
    overflow: scroll;
    position: fixed;
    height: calc(100vh - 75px);
  }
  .menu-icon {
    display: block;
  }
  #menuList > li:nth-child(1) {
    height: 200px;
  }
  #menuList > li:nth-child(2) {
    height: 170px;
  }
  #menuList > li:nth-child(3) {
    height: 180px;
  }
  #menuList > li:nth-child(4) {
    height: 150px;
  }
  #menuList > li:nth-child(5) {
    height: 70px;
  }
}
@media only screen and (max-width: 500px) {

  nav ul li a {
    color: rgb(255, 255, 255);
    font-size: 18px;
    font-weight: 700;
  }
  .menu-icon {
    display: block;
  }
}
@media only screen and (min-width: 768px) and (min-height: 1024px) {
  #sub-company {
    top: 8vh;
  }
  #sub-product {
    top: 8vh;
  }
  #sub-technology {
    top: 8vh;
  }
  #sub-solution {
    top: 8vh;
  }
  #sub-media {
    top: 8vh;
  }
}

@media only screen and (min-width:1000px) {
  nav ul {
    top: 105px;
  }
  nav ul li {
    font-size: 34px;
    padding-top: 50px;
  }
  nav ul li a {
    font-size: 26px;
  }
  .logo-icon {
    width: 140px;
  }
  .menu-icon {
    width: 40px;
  }
  #sub-company {
    top: 8vh;
  }
  #sub-product {
    top: 8vh;
  }
  #sub-technology {
    top: 8vh;
  }
  #sub-solution {
    top: 8vh;
  }
  #sub-media {
    top: 8vh;
  }
  #menuList > li:nth-child(1) {
    height: 270px;
  }
  #menuList > li:nth-child(2) {
    height: 270px;
  }
  #menuList > li:nth-child(3) {
    height: 230px;
  }
  #menuList > li:nth-child(4) {
    height: 230px;
  }
  #menuList > li:nth-child(5) {
    height: 150px;
  }
}


/* Horizontal */
@media only screen and (min-width: 568px) and (max-width: 812px) and (max-height: 414px) {
  #sub-company {
    top: 18vh;
  }
  #sub-product {
    top: 18vh;
  }
  #sub-technology {
    top: 18vh;
  }
  #sub-solution {
    top: 18vh;
  }
  #sub-media {
    top: 18vh;
  }
}
@media only screen and (min-width: 1024px) and (max-height: 768px) {
  #sub-company {
    top: 14vh;
  }
  #sub-product {
    top: 14vh;
  }
  #sub-technology {
    top: 14vh;
  }
  #sub-solution {
    top: 14vh;
  }
  #sub-media {
    top: 14vh;
  }
}
@media only screen and (min-width: 1366px) and (max-height: 1024px) {
  #sub-company {
    top: 10vh;
  }
  #sub-product {
    top: 10vh;
  }
  #sub-technology {
    top: 10vh;
  }
  #sub-solution {
    top: 10vh;
  }
  #sub-media {
    top: 10vh;
  }
}