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

body {
  -ms-overflow-style: none;
  overflow-x: hidden;
}

/* ::-webkit-scrollbar {
  display: none;
} */

/*특정 부분 스크롤바 없애기*/

#product {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0c2781;
}

.product-gnb {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 90px;
  margin-bottom: -90px;
}

.product-gnb .main-title {
  width: 100%;
  margin: auto;
  display: flex;
}

.product-gnb .main-title > div {
  width: 50%;
  /* height: 100vh; */
  margin: auto;
}

.product-gnb .pro-main-txt {
  display: block;
  color: #fff;
  opacity: 0.5;

  &:hover {
    opacity: 1;
  }
}

.product-gnb .pro-main-txt h4 {
  font-size: 96rem;
  font-weight: 500;
  text-align: center;
}

.product-gnb .pro-main-txt h4 a {
  display: block;
  color: #fff;
}

.product-gnb .sub-txt {
  height: fit-content !important;
  color: #879ad9;
  display: flex;
  transform: translateY(-29px);
  text-align: center;
}

.product-gnb .sub-txt img {
  width: 200px;
  height: 140px;
}

.product-gnb .pro-main-txt:first-child h4 {
  text-align: right;
  transform: translateX(15px);
}

.product-gnb .pro-main-txt:last-child h4 {
  text-align: left;
  transform: translateX(-12px);
}

#leftBar {
  width: 100%;
  height: 1px;
  margin-top: auto;
  background-color: transparent;
  transform: translate(5px, -5px);
  direction: rtl;
}

#rightBar {
  width: 100%;
  height: 1px;
  margin-top: auto;
  background-color: transparent;
  transform: translate(-3px, -5px);
}

#leftBar-item {
  width: 0px;
  background-color: #879ad9;
  height: 100%;
  transition: width 0.5s;
  direction: rtl;
}

#rightBar-item {
  width: 0px;
  background-color: #879ad9;
  height: 100%;
  transition: width 0.5s;
}

.product-gnb .sub-desc {
  color: #879ad9;
  text-align: center;
  font-family: SUIT;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  max-width: 1000px;
  margin: auto;
}

@media (max-width: 1280px) {
  #product .product-gnb {
    gap: 24px;
  }

  #product .product-gnb .main-title {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }

  #product .product-gnb .main-title > div {
    width: 100%;
    /* height: 20vh; */
  }

  #product .product-gnb .pro-main-txt h4 {
    text-align: center;
    transform: translateX(0);

    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .product-gnb .sub-txt {
    text-align: center;
    transform: translateY(0);
  }

  .product-gnb .sub-txt img {
    width: 150px;
    height: 100px;
  }

  .product-gnb .sub-desc {
    padding: 0 32px;
  }
}

@media (max-width: 768px) {
  html {
    overflow: auto;
  }

  .genaviMain .main-txt {
    font-size: 56rem;
    font-weight: 500;
  }

  .genaviMain .sub-txt {
    /* display: block; */
    font-size: 24rem;
    line-height: 32px;
    text-align: center;
    /* margin: 0; */
    transform: translateY(0);
  }

  .product-gnb .pro-main-txt h4 {
    font-size: 56rem;
  }

  .product-gnb .sub-txt img {
    width: 120px;
    height: 80px;
  }

  .product-gnb .sub-desc {
    padding: 0 32px;
    font-size: 16px;
    line-height: 24px;
  }
}
