/* =========== UI 식별을 위한 CSS ============ */
.layout {
  /*border: 1px solid black;*/
}
section#contents.layout {
  /*height: 1500px;*/
}
/* ======================================== */
/* banner */
/* Header */
header {
  position: absolute;
  width: 100%;
  z-index: 9999;
}
header.fixed-top {
  animation-name: header;
  animation-duration: 0.5s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}
.navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.navbar > .title {
  width: fit-content;
  height: 23px;
  object-fit: contain;
}
.navbar > .title .logo {
  display: block;
  width: 80px;
  height: 30px;
  margin: 0 auto;
  background-image: url("../image/icon/lever_new_logo_w.svg");
  background-repeat: no-repeat;
  background-size: auto;
}
header.fixed-top > .container > .navbar .title .logo,
.navbar.active > .title .logo {
  background-image: url("../image/icon/lever_new_logo.svg");
  background-repeat: no-repeat;
  background-size: auto;
}
header.fixed-top > .container > .navbar .menu .center a,
header.fixed-top > .container > .navbar .menu .right li:first-child a {
  color: var(--black);
}
header > .container > .navbar .menu .center a:hover,
header > .container > .navbar .menu .right li:first-child a:hover {
  color: var(--light-periwinkle);
}
header.fixed-top > .container > .navbar .menu .center a:hover,
header.fixed-top > .container > .navbar .menu .right li:first-child a:hover {
  color: var(--cornflower);
}
.navbar .menu {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.navbar .menu a {
  font-family: NotoSansKR;
  font-size: 18px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: -0.9px;
  text-align: left;
  color: var(--white);
}
.navbar .menu .center {
  display: flex;
  justify-content: space-between;
  width: fit-content;
  margin: 0 auto;
}
.navbar .menu .center li {
  padding: 35px 25px;
  text-decoration: none;
}
.navbar .menu .right {
  display: flex;
  width: fit-content;
}
.navbar .menu .right li {
  margin: 5px;
  color: var(--greyish-brown);
}
.navbar .menu .right li:first-child {
  margin-right: 16.4px;
}
.navbar .menu > .title {
  display: none;
}
/* Header - toggle */
.toggle {
  display: none;
  width: 35px;
  height: 26px;
  z-index: 99999;
}
.toggle li {
  list-style: none;
  border-radius: 25px;
  height: 4.2px;
  background-color: var(--white);
}
header.fixed-top .toggle li {
  background-color: var(--black);
}
/* Contents */
#contents section:first-child {
  padding-top: 91px;
}
#main {
  /*height: 1012px;*/
  height: fit-content;
  position: relative;
  background-image: url("../image/main/main_BG2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}
#main::before {
  height: 100%;
  width: 100%;
  top: 0;
  position: absolute;
  content: "";
  opacity: 0.5;
  background-color: #0f0f14;
  z-index: 0;
}
#main .container {
  height: 100%;
}
#main .wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 510px;
  padding: 230px 0 156px 0;
}
#main .wrapper .content > p:first-child,
#main .wrapper .bottom > p:first-child {
  margin-bottom: 20px;
}
#main .title.lg {
  min-width: 725px;
  /*height: 88px;*/
  font-family: Roboto;
  font-size: 75px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: -3.75px;
  text-align: center;
  color: var(--white);
}
#main .content,
#main .bottom {
  opacity: 0;
}
#main.active .content {
  animation-name: swipeUp;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}
#main.active .bottom {
  animation-name: swipeUp;
  animation-duration: 1s;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
}
#main .title.sm {
  min-width: 304px;
  height: 29px;
  margin: 0 auto;
  font-family: NotoSansKR;
  font-size: 20px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: -1px;
  text-align: center;
  color: var(--white);
}
#main .title.xsm {
  width: 466px;
  height: 46px;
  font-family: NotoSansKR;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: -0.8px;
  text-align: center;
  color: var(--white);
}
#main .btn.lg {
  display: block;
  min-width: 295px;
  height: 68px;
  margin: 0 auto;
  padding: 21px 70px 22px;
  border-radius: 7px;
  background-color: var(--white);

  font-family: NotoSansKR;
  font-size: 17px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: -0.85px;
  text-align: left;
  color: var(--black);
}
#main .btn.lg:hover {
  transition: all 0.3s;
  box-shadow: 2px 2px 2px #888888;
  background-color: var(--cornflower);
  color: var(--white);
}

/* PC , 테블릿 가로 (해상도 768px ~ 1024px )*/
@media all and (max-width: 1024px) {
  /*  test layout  */
  section#contents.layout {
    /*background-color: lightskyblue;*/
  }

  .mobile {
    display: block;
  }

  .desktop {
    display: none;
  }

  /* header: Start */
  header.fixed-top {
    animation-name: unset;
  }

  header .container {
    width: 101%;
  }

  header.fixed-top .navbar.deactive .title {
    animation-name: header;
    animation-duration: 0.7s;
    animation-fill-mode: forwards;
  }

  header .container .navbar {
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 130vh;
  }

  header .container .navbar.deactive {
    animation-name: navbar;
    animation-duration: 0.7s;
    animation-fill-mode: forwards;
  }

  /* header - navbar */
  .navbar > .title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 95%;
    padding: 22.4px;
  }

  .navbar .menu {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    padding-top: 65px;
  }

  .navbar .menu a {
    font-family: NotoSansKR;
    font-size: 30px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -1.5px;
    text-align: left;
    color: var(--black);
  }

  .navbar .title {
    z-index: 9999;
  }

  .navbar > .title .logo {
    margin: 0 0 0 25px;
  }
  /*.navbar:hover {*/
  /*  background: var(--white);*/
  /*}*/
  .navbar .menu.active {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    animation-duration: 0.5s;
    animation-timing-function: ease-in-out;
    animation-name: slideHeader;
    background: var(--white);
    height: 100%;
  }

  .navbar .menu.deactive {
    display: flex;
    flex-direction: column;
    animation-duration: 0.5s;
    animation-timing-function: ease-in-out;
    animation-name: slideHeader;
    animation-fill-mode: forwards;
    animation-direction: reverse;
    background: var(--white);
    height: 100%;
  }

  .navbar .menu > .title {
    width: 100%;
  }

  .navbar .menu > .title li {
    padding: 35px 15px;
    color: var(--black);
  }

  .navbar .menu .center {
    flex-direction: column;
    align-items: start;
    width: 100%;
  }

  .navbar .menu .center a {
    width: 100%;
  }

  .navbar .menu .right {
    width: 100%;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0;
  }
  .navbar .menu .right li {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    border-top: 1px solid var(--light-periwinkle);
  }
  .navbar .menu .right li:first-child {
    margin-right: 0;
    border-right: 1px solid var(--light-periwinkle);
    background-color: var(--white);
  }
  .navbar .menu .right li > a {
    width: 100%;
    text-align: center;
    border-radius: 0;
    padding: 18px 61.7px;
    font-size: 16px;
    letter-spacing: -0.9px;
  }

  .navbar .menu .right li:last-child > a {
    color: var(--white);
  }
  /* header - toggle(Mobile) */
  .toggle {
    display: flex;
    position: absolute;
    right: 0;
    margin: 20px 30px 0 0;
    flex-direction: column;
    justify-content: space-between;
  }

  .toggle > li {
    height: 4px;
  }

  .toggle.active > li {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 50%;
    background-color: var(--greyish-brown);
  }

  .toggle.deactive > li {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 50%;
  }

  .toggle.active li:nth-child(1) {
    animation-duration: 0.7s;
    animation-name: rotate;
    animation-fill-mode: forwards;
  }

  .toggle.deactive li:nth-child(1) {
    animation-duration: 0.7s;
    animation-name: rotate;
    animation-direction: reverse;
    animation-fill-mode: forwards;
  }

  .toggle.active li:nth-child(2) {
    animation-duration: 0.7s;
    animation-name: showElement;
    animation-direction: reverse;
    animation-fill-mode: forwards;
  }

  .toggle.deactive li:nth-child(2) {
    animation-duration: 0.7s;
    animation-name: showElement;
    animation-fill-mode: forwards;
  }

  .toggle.active li:nth-child(3) {
    animation-duration: 0.7s;
    animation-name: rotate-reverse;
    animation-fill-mode: forwards;
  }

  .toggle.deactive li:nth-child(3) {
    animation-duration: 0.7s;
    animation-name: rotate-reverse;
    animation-direction: reverse;
    animation-fill-mode: forwards;
  }

  /* header: End */
  /* Contents */
  #contents section:first-child {
    padding-top: 65px;
  }
  #main .container {
    padding-bottom: 10px;
  }
  .additional {
    bottom: 0;
  }

  #main .title.lg {
    /*height: 134px;*/
    font-size: 57px;
    font-weight: bold;
    letter-spacing: -1.71px;
    text-align: center;
    color: var(--white);
  }
}
/* PC , 모바일 기기 (해상도 ~ 768px)*/
@media all and (max-width: 768px) {
  /*  test layout: START  */
  section#contents.layout {
    /*background-color: orange;*/
  }

  /*  test layout: END  */
  .container {
    width: 99vw;
  }
  /* banner */
  .banenr__content > p {
    font-size: 17px;
  }
  /* header */

  .header .container {
    width: 100%;
  }

  /* main */
  #main {
    height: fit-content;
    min-height: 444px;
  }

  #main .wrapper {
    padding: 135px 0 60px 0;
  }

  #main .title.lg {
    max-width: 326px;
    min-width: unset;
    /*height: 134px;*/
    font-size: 49px;
    font-weight: bold;
    letter-spacing: -1.71px;
    text-align: center;
    color: var(--white);
  }

  #main .title.xsm {
    min-width: 284px;
    height: 52px;
    margin: 173px 26px 26px 25px;
    font-size: 18px;
    letter-spacing: -0.9px;
    text-align: center;
    color: var(--white);
  }
}
