@charset 'utf-8';

.contents_cont.main {
  padding: 0;
  position: relative;
}

.main_title {
  line-height: 130%;
}
.main_sec {
  width: 100%;
  margin: 0 auto;
  color: #fff;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
}
.inner_cont.main {
  max-width: 1632px;
  margin: 0 auto;
}

.inner_cont.main.pos_relative {
  padding-top: 330px;
}
/* .main_sec.start {
  height: 700px;
  padding: 180px 20px 50px;
  padding-bottom: 0;
  background-image: url(../img/contents/new_top.png),
    linear-gradient(rgba(20, 22, 41, 0.8), rgba(255, 255, 255, 0)),
    url(../img/contents/bg_01.jpg);
  background-position: 50% 50%;
  background-size: 404px 409px, cover, cover;
  position: relative;
} */

.main_sec.start {
  height: 820px;
  position: relative;
  display: flex;
  justify-content: center;
  text-align: center;
}

.main_sec.start .main_txt {
  font-size: 62px;
  font-weight: 700;
}

.main_sec.start .main_txt_d {
  font-size: 32px;
  font-weight: 500;
  margin-top: 24px;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn_common.main {
  width: 164px;
}
.btn_common.main a {
  color: #fff;
  font-size: 24px;
}
.main_sec.start h2 {
  font-size: 60px;
}

.user_name {
  margin-top: -100px;
  margin-bottom: 0px;
  font-size: 24px;
}

.main_top_desc {
  margin-top: 12px;
}

.main_top_desc .title {
  font-size: 28px;
  font-weight: 700;
}

.main_top_desc .desc {
  margin-top: 8px;
  font-size: 24px;
}

.main_bottom_desc {
  font-size: 18px;
  position: absolute;
  bottom: 24px;
}

/* 공지사항 */
.main_sec.notice {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: start;
  padding: 0 24px;
  background-color: #191c21;
}
.main_sec.notice p:first-child {
  width: calc(100% - 120px);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.main_sec.notice p:last-child {
  width: 100px;
  padding-left: 20px;
  white-space: nowrap;
  text-align: right;
}

.notice_con {
  display: flex;
  justify-content: start;
  width: 100%;
  gap: 16px;
}

.notice_title {
  font-weight: 500;
  font-size: 20px;
}

.notice_des {
  font-size: 20px;
  font-weight: 400;
}

/* Today's Market 마켓 */
.main_sec.market {
  padding: 72px 24px;
  background-color: #00040b;
}

.market_title {
  font-size: 40px;
  font-weight: 700;
}

.table_box.main {
  width: 100%;
  height: auto;
  min-height: 400px;
  max-height: 644px;
  overflow-y: auto;
  border-radius: 16px;
  background-color: #191c21;
  margin: 0;
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.main_table {
  width: 100%;
  border-collapse: collapse;
}

.table_con:nth-child(1) {
  border-right: 1px solid #37393c;
}

.main_table_title {
  font-size: 24px;
  font-weight: 600;
  height: 73px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main_table th {
  text-align: left;
  height: 40px;
  color: #b7b7b7;
}
.main_table thead tr {
  background-color: #2c2f35;
}
.main_table th,
.main_table td {
  padding: 0 10px;
  text-align: center;
}

.main_table td {
  height: 64px;
}
.main_table td {
  border-bottom: 1px solid #37393c;
}
.main_table tr:last-child td {
  border-bottom: none;
}
.main_purchase {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 32px;
  margin: 0 auto;
  background-color: transparent;
  border: 1px solid var(--main);
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
}

/* 하단 banner */
.main_sec.banner {
  padding: 0 24px;
  height: 278px;
  background-color: #191c21;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
}
.main_sec.banner img {
  /* width: 100%; */
  height: 100%;
  max-width: 694px;
  margin-top: 0;
  object-fit: contain;
}

.banner_txt {
  position: relative;
  z-index: 50;
}

.banner_txt h3 {
  font-size: 24px;
  font-weight: 600;
}

.banner_txt .desc1 {
  margin-top: 16px;
  font-size: 20px;
  color: #b7b7b7;
}

.banner_txt .desc2 {
  margin-top: 16px;
  font-size: 20px;
  color: #b7b7b7;
}

.banner .img_box {
  height: 278px;
  position: absolute;
  top: 0;
  right: 0;
}

/* footer */

footer.main {
  padding: 0 24px;
}

.footer_box.main {
  height: 250px;
  max-width: 1632px;
  padding: 0;
  padding-top: 128px;
}

.footer_box.main .footer_list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  flex-direction: column;
}

/* 메인페이지 수정 */
.btn_start {
  width: max-content;
  padding: 0 40px;
  font-size: 24px;
  height: 72px;
  border-radius: 8px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  margin-top: 112px;
}

@media (max-width: 1023px) {
  .main_sec.start {
    height: 614px;
  }
  .main_sec.start .main_txt {
    font-size: 32px;
  }

  .main_sec.start .main_txt_d {
    font-size: 16px;
  }

  .main_sec.notice {
    height: 54px;
  }

  .notice_title {
    font-size: 16px;
  }

  .notice_des {
    font-size: 16px;
  }

  .market_title {
    font-size: 32px;
  }

  .main_sec.market {
    padding: 56px 24px;
  }

  .table_box.main {
    grid-template-columns: repeat(1, 1fr);
    max-height: 774px;
    margin-top: 24px;
  }

  .table_con:nth-child(1) {
    border-right: none;
  }

  .table_con:nth-child(2) {
    border-top: 1px solid #37393c;
  }

  .main_table_title {
    height: 65px;
  }

  .main_table th {
    height: 38px;
  }

  .main_table td {
    height: 56px;
  }

  .main_sec.banner {
    height: 232px;
  }

  .banner_txt h3 {
    font-size: 20px;
  }

  .banner_txt .desc1 {
    font-size: 16px;
  }

  .banner_txt .desc2 {
    font-size: 16px;
  }

  .banner .img_box {
    height: 232px;
  }

  .footer_box.main {
    padding-top: 56px;
    height: 158px;
    font-size: 13px;
    margin-top: 24px;
  }

  .inner_cont.main.pos_relative {
    padding-top: 270px;
  }
  /* .btn_common.main a {
    color: #fff;
    font-size: 18px;
  }
  .main_sec.start h2 {
    font-size: 24px;
  }
  .main_sec.start .user_name {
    font-size: 18px;
  }

  .main_top_desc .title {
    font-size: 18px;
  }

  .main_top_desc .desc {
    font-size: 16px;
  }

  .main_bottom_desc {
    font-size: 14px;
  }

  .btn_start {
    font-size: 16px;
    padding: 0 16px;
    margin-top: 16px;
  } */
}
/* @media (max-width: 499px) {
  .main_sec.start {
    background-position:
      50% 90%,
      50% 50%,
      50% 50%;
    background-size:
      244px 244px,
      cover,
      cover;
  }
  .main_sec.banner img {
    height: 90px;
  }
  .main_sec.banner .inner_cont.main {
    flex-direction: column;
  }
} */

@media (max-width: 767px) {
  .main_sec.start {
    height: 528px;
  }

  .main_sec.start .main_txt {
    font-size: 28px;
    line-height: 34px;
  }

  .main_sec.start .main_txt_d {
    line-height: 26px;
    margin-top: 16px;
  }

  .inner_cont.main.pos_relative {
    padding-top: 204px;
  }

  .main_sec.notice {
    height: 43px;
    padding: 0 20px;
  }

  .notice_title {
    font-size: 14px;
  }

  .notice_des {
    font-size: 14px;
  }

  .market_title {
    font-size: 20px;
  }

  .main_sec.market {
    padding: 48px 20px;
  }

  .table_box.main {
    max-height: 718px;
    margin-top: 20px;
  }
  .table_con {
    font-size: 13px;
  }

  .table_con:nth-child(1) {
    border-right: none;
  }

  .table_con:nth-child(2) {
    border-top: 1px solid #37393c;
  }

  .main_table_title {
    height: 41px;
    font-size: 18px;
  }

  .main_table th {
    height: 30px;
  }

  .main_table td {
    height: 52px;
  }

  .main_purchase {
    font-size: 13px;
    width: 55px;
  }

  .main_sec.banner {
    height: 184px;
    padding: 0 20px;
  }

  .banner_txt h3 {
    font-size: 16px;
  }

  .banner_txt .desc1 {
    font-size: 14px;
  }

  .banner_txt .desc2 {
    font-size: 14px;
  }

  .banner .img_box {
    height: 184px;
  }

  .footer_box.main {
    padding-top: 56px;
    height: 184px;
    font-size: 12px;
    margin-top: 0;
  }

  .banner_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .img_box.sm-only {
    opacity: 40%;
  }

  .footer_item_wrap {
    flex-direction: column;
    gap: 0px;
  }

  .footer_list li.footer_line::after {
    content: none;
  }

  footer.main {
    padding: 0 20px;
  }
}

@media (max-width: 350px) {
  .main_sec.start .main_txt {
    font-size: 24px;
  }

  .main_sec.start .main_txt_d {
    font-size: 14px;
  }
}
