@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: 'S-CoreDream-5Medium';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-5Medium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'ChosunSm';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@1.1/ChosunSm.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'ChosunKm';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@1.0/ChosunKm.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'S-CoreDream-6Bold';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-6Bold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}


html, body {
  position: relative;
  height: 100%;
}
.nav-up {
  top: -120px; /* move the header out of view when user scrolls down */
  transition: top 0.3s;
}

.nav-down {
  top: 0; /* move the header back into view when user scrolls up */
  transition: top 0.3s;
}

a.my-link-class:link {
  color: #252525;
}

.box-height {
  height: 87.5% !important;
  margin-top: 6.25% !important;
}

.nav-tp {
  background-color: rgba(255, 255, 255, 0.8);
}

.item-white {
  color: black !important;
  z-index: 1000 !important;
}

.item-black {
  color: rgb(0, 0, 0) !important;
  z-index: 100 !important;
}


body {
  margin: 0;
  padding: 0;
  /* overflow: hidden; */
}

ul {
  list-style: none;
  color: rgb(55, 55, 55);
}

a {
  text-decoration: none;
  outline: none;
  color: rgb(55, 55, 55);
}

a:link {
  color: rgb(55, 55, 55);
}

header {
  z-index: 100;
  width: 100%;
  top: 0;
  font-family: 'Pretendard-Regular';
  align-items: center;
  height: 80px;
  transition: top 0.2s ease-in-out;
}

header > .inner {
  display: flex;
  margin-top: 35px;
}
.logo {
  width: 10%;
  min-width: 150px;
  max-width: 180px;
  justify-content: center;
}

.logo img {
  margin-left: 20%;
  justify-content: center;
  width: 100%;
}

.menu {
  display: flex;
  width: 60%;
  list-style: none;
  justify-content: center;
  margin-left: 5%;
  margin-top: 17.5px;
  z-index: 100;
}

.item {
  width: 60%;
  margin-left: 5%;
}
 
.item_name {
  font-family: 'S-CoreDream-6Bold';
  font-size: 16px;
  cursor: pointer;
}

.item .item_name  a {
  color: black;
}

@keyframes fadeInLeft{
  0% { opacity: 0; transform: translateX(-25%);}
  100% { opacity: 1; transform: translateX(0);}
}

.item:hover .item_name a {
  color: rgb(0, 183, 255);
  transition: .5s;
}

.item:hover .item_name ~ .contents_menu {
  animation: fadeInLeft 0.4s ease forwards;
  display: block;

}

.contents_menu {
  font-family: 'S-CoreDream-5Medium';
  font-size: 14px;
  margin-top: 5%;
  display: none;
}

.contents_menu .inner_cont > li > ul > li {
  margin-top: 15%;
  margin-bottom: 15px;
}
.contents_menu > ul > li a {
  position: relative;
  color: black;
}

.lang {
  font-family: 'S-CoreDream-6Bold';
  display: flex;
  margin-top: 17.5px;
  position: absolute;
  right: 5%;
  flex-grow: 1;
}
.lang > li {
  font-size: 16px;
  margin-left: 12px;
}
.lang > li a {
  color: #ffffff;
  color: rgb(55, 55, 55);
}

/* header area ends */


/* Responsive */
@media all and (min-width:1024px) and (max-width:1279px) {
  header {
    height: 100px;
  }
  .logo img {
    width: 120%;
  }
  .item_name {
    font-size: 18px;
  }
  .contents_menu {
    font-size: 16px;
  }
  /* Additional styles here */
}


@media all and (min-width:768px) and (max-width:1023px) {
  header {
    height: 70px;
  }
  .logo img {
    width: 80%;
  }
  .item_name {
    font-size: 14px;
  }
  .contents_menu {
    font-size: 12px;
  }
  /* Additional styles here */
}
@media all and (min-width:480px) and (max-width:767px) {
  header {
    height: 60px;
  }
  .logo img {
    width: 70%;
  }
  .menu, .item, .lang {
    display: none; /* Hide for hamburger menu */
  }
  /* Additional styles here */
}
@media all and (max-width:479px) {
  header {
    height: 50px;
  }
  .logo img {
    width: 60%;
  }
  .menu, .item, .lang {
    display: none; /* Hide for hamburger menu */
  }
  /* Additional styles here */
}


.hamburger-menu {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  height: 25px;
  width: 35px;
  position: absolute;
  top: 0; /* Adjust as needed for vertical alignment */
  right: 20px; /* Adjust as needed for horizontal alignment */
  z-index: 1001; /* Above the full-screen menu */
}

.hamburger-menu .bar {
  height: 3px;
  width: 100%;
  background-color: #333;
}

@media all and (max-width:767px) {
  .hamburger-menu {
    display: flex;
  }

  .menu {
    display: none; /* Hide the regular menu */
  }
}

.menu.show {
  display: flex;
  flex-direction: column;
  position: fixed; /* Ensures the menu covers the whole viewport */
  background-color: rgba(255, 255, 255, 1); /* Semi-transparent black background */
  width: 100%;
  height: 100%; /* Full height to cover the entire screen */
  top: 40px;
  left: -5%;
  z-index: 100000; /* High z-index to be on top */
  justify-content: center; /* Centers content vertically */
  align-items: center; /* Centers content horizontally */
}

@media all and (max-width:767px) {
  .menu.show .item {
    display: block;
    text-align: center;
    padding: 15px 0; /* Adjust as needed */
  }
}
