*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root{
  /* display */
  --display-height: calc(100vh - (8.5rem / 1.8));

  /* font */
  --Xl-header-font-size: clamp(1.5rem, 2.5vw, 3rem);
  --Xl-des-font-size: clamp(1rem, 1.5vw, 1.55rem);
  --Xl-button-font-size: clamp(0.85rem, 0.95vw, 1.85rem);

  --L-header-font-size: clamp(1.5rem, 2.25vw, 2.5rem);
  --L-des-font-size: clamp(0.75rem, 1.25vw, 1.5rem);
  --L-button-font-size: clamp(0.85rem, 0.95vw, 1.85rem);

  --M-header-font-size: clamp(1.25rem, 1.75vw, 2.25rem);
  --M-des-font-size: clamp(0.5rem, 1vw, 1.15rem);
  --M-button-font-size: clamp(0.35rem, 0.5vw, 1.5rem);

  --S-header-font-size: clamp(1rem, 1.5vw, 2rem);
  --S-des-font-size: clamp(0.35rem, 0.75vw, 0.95rem);

  --main-font: "Nanum Myeongjo", serif;
  --des-font: "Urbanist", sans-serif;

  --light-font-w: 300;
  --normal-font-w: 500;
  --bold-font-w: 700;

  /* color */
  --whiteS: whitesmoke;
  --darkBlue0: #000845;
  --darkBlue1: #030b3f;
  --darkBlue2: #00020d;
  --lightGrey0: #ededed;
  --lightGrey1: #c6c6c6;
  --lightGrey2: #a2a2a2;
  --black: #000;
  --gladient-darkblue: linear-gradient(90deg, #030b3f 40%, #010629 60%, #00020d 100%);
}

nav.navBarCon{
  /* width: 100vw; */
  width: 100%;
  height: 8.5rem;
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: var(--L-button-font-size);
  position: fixed;
  z-index: 888;
}

.navBarCon h4, i{
  color: whitesmoke;
  opacity: 0.7;
  cursor: pointer;
  transition: all .6s;
}

.navBarCon h4:hover{
  opacity: 1;
}

.topNavigation img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.allNavContainer{
  /* width: 100vw; */
  width: 100%;
  height: 100%;
}

.topNavigation{
  /* width: 100vw; */
  width: 100%;
  height: calc(8.5rem / 1.8);
  background-color: rgba(0, 0, 0, 1);
  font-family: "Expletus Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
  z-index: 222;
}

.topWrapper{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
  height: 100%;
}

.topLeftNav{
  display: flex; 
  justify-content: flex-start;
  align-items: center;
  margin-left: 5rem;
  margin-left: 5vw;
  gap: 1rem;
}

.topLeftNav .menuText{
  display: none;
}

.topLeftNav .closeText{
  display: none;
}

.NavCmd{
  width: 3.5rem;
}

.switchLan{
  display: flex;
  gap: 1rem;
}

.flagImg{
  width: 1.75rem;
  height: 1rem;
}

.topCenterNav{
  width: 3.65rem;
  height: 3.65rem;
  display: flex;
  justify-self: center;
  justify-content: center;
  align-self: center;
}

.topRightNav{
  display: flex;
  justify-self: flex-end;
  align-items: center;
  margin-right: 5rem;
  margin-right: 5vw;
  gap: 5rem;
}

.topRightNav .searchButton {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  i{
    transform: scaleX(-1)
  }
}

.bottomNavigation{
  /* width: 100vw; */
  width: 100%;
  height: calc(8.5rem / 2.2);
  background-color: rgba(1, 1, 1, 0.89);
  backdrop-filter: blur(10px); 
  transition: all 0.3s;
  z-index: 111;
}

.bottomWrapper{
  /* width: 100vw; */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottomWrapper ul{
  display: flex;
  list-style: none;
  align-items: center;
  justify-content: center;
}

.bottomWrapper ul li{
  padding: 1rem 2.5rem;
  transition: all .6s;
}

.bottomWrapper ul li a,
.bottomWrapper ul li label{
  color: whitesmoke;
  text-decoration: none;
}

.bottomWrapper ul:hover > :not(:hover){
  opacity: 0.4;
}

.bottomWrapper ul li input[type="radio"]{
  display: none;
}

nav label[for="nav"]{
  display: flex;
  margin: 0;
  padding: 0;
}

nav label[for="nav"]::after{
  content: url(../Image%20Source/Element/chevron-down-regular-24.png);
  padding: 0;
  margin: 0;
  /* border: solid red 3px; */
  width: 1rem;
  height: 1rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.bottomWrapper ul.subLink {
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 0;
  overflow: hidden;
  width: 100%;
  position: absolute;
  left: 0;
  top: calc(8.5rem / 2.2);
  background-color: rgba(1, 1, 1, 0.921);
  backdrop-filter: blur(10px) !important; 
  z-index: 999;
  /* border: solid red 3px; */
  gap: 5rem;
  transition: all .3s;

  li{
    /* border: solid red 3px;  */
    padding: 0 !important;
    height: 20vw;
    width: calc(20vw * 1.75);
    position: relative;
  }

  a{
    width: 100%;
    height: 100%;
    z-index: 1;
    position: absolute;
    bottom: 0;    
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .imgCon {
    width: 100%;
    height: 100%; 
    background-size: cover !important;
    background-position: center;
    position: relative;
    overflow: hidden;
    img{
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .imgShadow{
    top: 0;
    display: flex;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.12);
  }

  label.linkTag{
    position: absolute;
    bottom: -1rem !important;
    font-size: var(--L-header-font-size);
    z-index: 999;
  }

  .imgCon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.2) 15%,
      rgba(0, 0, 0, 0.4) 30%,
      rgba(0, 0, 0, 0.7) 50%,
      rgba(0, 0, 0, 0.85) 70%,
      rgba(0, 0, 0, 0.95) 85%,
      rgba(0, 0, 0, 1) 90%
    );
    z-index: 1;
  }
}

.bottomWrapper input[type="radio"]:checked + label + ul.subLink {
  height: calc(var(--display-height) - calc(8.5rem / 2.2)) !important;
  max-height: calc(var(--display-height) - calc(8.5rem / 2.2)) !important;
}

.bottomWrapper input[type="radio"]:checked + label::after{
  content: url(../Image%20Source/Element/chevron-up-regular-24.png);
  padding: 0;
  margin: 0;
  width: 1rem;
  height: 1rem;
  display: flex;
  justify-content: center;
  align-items: center !important;
}

.subBottomWrapper{
  display: none;
}

hr.seperator{
  width: 70vw !important;
  height: 0.1rem;
  border: none;
  opacity: 0.5;
  background-image: linear-gradient(to right, rgba(245, 245, 245, 0), whitesmoke, rgba(245, 245, 245, 0));
}

@media screen and (max-width: 1023px) {
  .menuText{
    display: flex !important;
  }
  .closeText{
    display: none !important;
  }
  .menuText.hide{
    display: none !important;
  }
  .closeText.show{
    display: flex !important;
  }
  .topNavigation .loginButton, 
  .topNavigation .LanCha,
  .topNavigation .flagImg{
    display: none;
  }
  .bottomNavigation{
    display: flex;
    visibility: hidden;
    /* width: 100vw; */
    width: 100%;
    height: 0;
    overflow: hidden;
    transition: ease-in 0.3s;
    opacity: 0.5;
  }
  .bottomNavigation.show{
    display: flex;
    visibility: visible;
    overflow: auto;
    height: calc(100vh - (8.5rem / 1.75));
    opacity: 0.9;
  }
  .bottomWrapper{
    width: 100%;
    display: flex;
    height: calc(100vh - (8.5rem / 1.65));
    justify-content: flex-start;
    justify-content: space-between;
    padding-top: 5rem;
    padding-bottom: 5rem;
    flex-direction: column;
    align-items: center;
  }
  .bottomWrapper ul{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }

  nav label[for="nav"]::after{
    content: url(../Image%20Source/Element/chevron-down-regular-24.png);
    padding: 0;
    margin: 0;
    /* border: solid red 3px; */
    width: 1rem;
    height: 1rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  nav label[for="nav"]{
    display: flex;
    justify-content: center;
  }
  
  .bottomWrapper ul.subLink {
    position: relative;
    display: flex;
    flex-direction: column !important;
    background-color: transparent !important;
    /* border: solid red 3px; */
    backdrop-filter: none !important; 
    top: 0;
    gap: 0 !important;
    .imgCon{
      display: none;
    }
    .imgCon::after{
      display: none;
    }
    .imgShadow{
      display: none;
    }
    label.linkTag{
      position: relative;
      font-size: var(--L-button-font-size);
      /* border: solid red 3px; */
      text-align: center;
    }
    li.subLinkItem{
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0;
      margin: 0;
      /* border: solid red 3px;  */
    }
  }

  .bottomWrapper input[type="radio"]:checked + label + ul.subLink {
    max-height: 10rem !important;
  }
  
  .subBottomWrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1rem;
  }
  .bottomWrapper .flagImg,
  .bottomWrapper .LanCha{
    display: flex;  
  }
}