@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;
}
.hide {
  display: none;
}
.show {
  display: block;
}
.text {
  opacity: 0;
}
.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';
}


/* main content */
.main-content {
  width: 100vw;
  height: 100vh;
  background: url(/images/mobile/mobile-main.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
  position: relative;
}
.main-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: black;
  opacity: .3;
}

/* products */
.main-content .text {
  position: absolute;
  top: 45%;
  left: 10%;
}
.main-content p {
  font-weight: 700;
  font-size: 6vw;
  margin-bottom: 3%;
}
.main-content h6 {
  font-weight: 100;
  font-size: 4vw;
}
.product-title {
  font-family: 'Pretendard-Regular';
  padding-top: 5%;
  padding-bottom: 5%;
  text-align: center;
  font-size: 5vw;
  font-weight: 700;
}
.product-content {
  width: 100%;
  height: 600px;
}
.product-content a {
  text-decoration: none;
  color: rgb(255, 255, 255);
}
.product-content p {
  padding-top: 5%;
  font-weight: 700;
  font-size: 14px;
}
.product-content h6 {
  padding-top: 10px;
  font-weight: 100;
  font-size: 12px;
}
.product-content p,
.product-content h6,
.product-content button {
  margin-left: 5%;
  position: relative;
}
.product-content img {
  width: 25px;
  display: none;
}
.product-content button {
  width: 25vw;
  max-width: 130px;
  height: 5vh;
  max-height: 35px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(to right, #00B4DB, #0083B0);
  color: #ffffff;
  position: absolute;
  right: 5%;
  font-size: 3vw;
  align-items: center;
  transition: width .5s;
  /* max-font-size --> use media (min-height 1200px)  */
}
.product-content button:hover {
  width: 27vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-content button:hover img {
  display: block;
}
.product-content .industrial {
  background-image: url(/images/mobile/industrial.jpg);
  background-size: cover;
  width: 100%;
  height: 25%;
  position: relative;
  border-radius: 5px 5px 0 0;
}
.product-content .industrial::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: black;
  opacity: .4;
  border-radius: 5px 5px 0 0;
}
.product-content .home-care {
  background-image: url(/images/mobile/home.jpg);
  background-size: cover;
  width: 100%;
  height: 25%;
  position: relative;
}
.product-content .home-care::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: black;
  opacity: .4;
}
.product-content .aquafarm {
  background-image: url(/images/mobile/aquafarm.jpg);
  background-size: cover;
  width: 100%;
  height: 25%;
  position: relative;
}
.product-content .aquafarm::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: black;
  opacity: .4;
}
.product-content .oxygen-water {
  background-image: url(/images/mobile/water.jpg);
  background-size: cover;
  width: 100%;
  height: 25%;
  position: relative;
  border-radius: 0 0 5px 5px;
}
.product-content .oxygen-water::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: black;
  opacity: .4;
  border-radius: 0 0 5px 5px;
}

.news-content {
  margin-top: 5%;
  width: 100%;
  height: 35vh;
  background-color: rgb(241, 241, 241);
}
.news-content h1 {
  font-family: 'Pretendard-Regular';
  font-size: 3vw;
  font-weight: 700;
  padding-top: 3%;
  padding-bottom: 1%;
  text-align: center;
}
.news-content h6 {
  font-family: 'Pretendard-Regular';
  font-size: 1.5vw;
  text-align: center;
}
.swiper {
  margin-top: 3%;
  width: 100%;
  height: 75%;
  z-index: 0 !important;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: .5%;
}
.swiper-slide > a {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}
.swiper-slide .img_cont {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  position: relative;
}
.swiper-slide img {
  display: block;
  width: 95%;
  height: 100%;
  border-radius: 10px;
  object-fit: fill;
}
.swiper-slide .img_cont .title_box {
  text-align: left;
  font-weight: 700;
  position: absolute;
  color: #ffffff;
  top: 45%;
  left: 8%;
}
.swiper-slide .img_cont .category {
  font-family: 'Pretendard-thin' !important;
  font-size: 1px;
  border: 1.5px solid white;
  border-radius: 10px;
  width: 35px;
  padding: 1px 1px 1px 4%;
  margin-bottom: 5%;
}
.swiper-slide .img_cont .desc {
  font-family: 'Pretendard-ExtraBold';
  font-size: 12px;
  margin-bottom: 5%;
}
.swiper-slide .img_cont .date {
  font-family: 'Pretendard-thin' !important;
  font-size: 8px;
}
#company, #product, #technology, #solution, #media {
  position: relative;
  margin-bottom: 5%;
}
#sub-company {
  display: none;
  position: absolute;
  top: 17%;
  background: transparent;
}
#sub-company > li{ 
  padding-top: 0;
  padding-bottom: 0;
}
#sub-product {
  display: none;
  position: absolute;
  top: 19.5%;
  background: transparent;
}
#sub-product > li{ 
  padding-top: 0;
  padding-bottom: 0;
}
#sub-technology {
  display: none;
  position:  absolute;
  top: 18%;
  background: transparent;
}
#sub-technology > li{ 
  padding-top: 0;
  padding-bottom: 0;
}
#sub-solution {
  display: none;
  position:  absolute;
  top: 20%;
  background: transparent;
}
#sub-solution > li{ 
  padding-top: 0;
  padding-bottom: 0;
}
#sub-media {
  display: none;
  position:  absolute;
  top: 35%;
  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: 10px;
    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: 240px;
  }
  #menuList > li:nth-child(2) {
    height: 170px;
  }
  #menuList > li:nth-child(3) {
    height: 200px;
  }
  #menuList > li:nth-child(4) {
    height: 170px;
  }
  #menuList > li:nth-child(5) {
    height: 90px;
  }
}

@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;
  }
  .product-title {
    font-size: 14px;  
  }
  .main-content p {
    font-weight: 700;
    font-size: 6.5vw;
  }
  .main-content h6 {
    font-weight: 100;
    font-size: 4vw;
  }
  .news-content h1{
    font-size: 4vw;
  }
}
@media only screen and (min-width: 600px) {
  .product-title {
    font-size: 18px;
  }
  .product-content button {
    height: 9vh;
    font-size: 14px;
  }
  .news-content {
    height: 80vh;
  }
}
@media only screen and (min-width: 768px) {
  .news-content {
    height: 400px;
  }
  .swiper-slide .img_cont .category {
    font-size: 10px;
    width: 35px;
    padding: 1px 1px 1px 4%;
    margin-bottom: 5%;
  }
  .swiper-slide .img_cont .desc {
    font-family: 'Pretendard-ExtraBold';
    font-size: 16px;
  }
  .swiper-slide .img_cont .date {
    font-family: 'Pretendard-thin' !important;
    font-size: 12px;
  }
}
@media only screen and (min-width:1000px) {
  nav ul {
    top: 105px;
  }
  nav ul li {
    font-size: 34px;
  }
  nav ul li a {
    font-size: 26px;
  }
  .logo-icon {
    width: 140px;
  }
  .menu-icon {
    width: 40px;
  }
  #sub-company {
    top: 22%;
  }
  #sub-product {
    top: 25%;
  }
  #sub-technology {
    top: 25%;
  }
  #sub-solution {
    top: 25%;
  }
  #sub-media {
    top: 45%;
  }
  .main-content p {
    font-weight: 700;
    font-size: 56px;
  }
  .main-content h6 {
    font-weight: 100;
    font-size: 28px;
  }
  .product-content p {
    padding-top: 5%;
    font-weight: 700;
    font-size: 26px;
  }
  .product-content h6 {
    font-size: 20px;
  }
  .product-title {
    font-size: 28px;
  }
  
  .product-content button {
    position: absolute;
    right: 5%;
    font-size: 18px;
    align-items: center;
    transition: width .5s;
    /* max-font-size --> use media (min-height 1200px)  */
  }
  .product-content {
    height: 850px;
  }
  .product-content .home-care { 
    background-position-y: 30%;
  }
  .product-content .oxygen-water { 
    background-position-y: 10%;
  }
  .news-content {
    height: 500px;
  }
  
  .news-content h1{
    font-size: 28px;
  }
  .swiper-slide .img_cont .category {
    font-size: 16px;
    width: 60px;
    padding: 1px 1px 4px 4%;
    margin-bottom: 5%;
  }
  .swiper-slide .img_cont .desc {
    font-family: 'Pretendard-ExtraBold';
    font-size: 24px;
  }
  .swiper-slide .img_cont .date {
    font-family: 'Pretendard-thin' !important;
    font-size: 16px;
  } 
}