/* 기본 레이아웃 */

body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#body {
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100dvh;
  margin: 0;
  position: relative;
  height: min-content;
}
.fix-layout {
  box-sizing: border-box;
}
.main-bg {
  display: block;
  position: absolute;
  width: 100%;
  height: 300px;
  left: 0px;
  bottom: 0px;
  background: url(/img/main/2.png);
  background-repeat: no-repeat;
  background-position: center 70%;
  pointer-events: none;
}
#body .fix-layout {
  max-width: 808px;
  width: 808px;
  height: fit-content !important;
  background: #ffffff !important;
  border-radius: 15px;
  border: none;
  margin: 0 !important;
}
#body > .fix-layout {
  min-height: 604px;
  border: 1px solid #a7a7a7 !important;
}
#body .fix-layout * {
  color: inherit !important;
}

#header .fix-layout {
  box-shadow: none;
  border: none;
  width: 100% !important;
  overflow: visible;
}

#header {
  position: relative;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  align-self: flex-end;
  padding: 0;
  overflow: visible;
  padding: 0;
  margin-right: 24px;
  width: fit-content;
}
#header #gnb {
  position: relative;
  top: auto;
  transform: none;
}
#header img {
  filter: grayscale(1);
}
#header .menu-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}
#header .menu-group li {
  min-width: 22px;
  flex-shrink: 0;
}

#admin_gnb {
  position: absolute;
  bottom: -50px !important;
  right: 0px;
  top: auto;
  /* transition-duration: 1s;
  opacity: 0; */
}

#main_body {
  max-width: none;
  width: 100%;
  position: relative;
}
#main_body.main {
  min-height: 0px;
  overflow: hidden;
  padding: 0;
  margin: 20px 0;
}
#main_body.banner {
  transform: none;
  padding: 0;
  height: calc-size(fit-content, size * 0.8);
}
#main_body.banner .only-pc,
#main_body.banner .not-pc {
  transform-origin: top left;
  transform: scale(0.8);
}
#main_body.banner .only-pc p,
#main_body.banner .not-pc p {
  white-space: nowrap;
}
.main-img {
  text-align: center;
  height: calc-size(fit-content, size * 0.8);
}
.main-img img {
  transform: scale(0.8);
  transform-origin: top center;
  margin-bottom: 24px;
}

.bgm-player {
  text-align: center;
  position: relative;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
}

.bgm-player *,
#admin_gnb * {
  color: #a6a6a6 !important;
}

.ui-paging {
  position: absolute;
  bottom: -54px !important;
  left: 50%;
  top: auto;
}

.pg_wrap {
  position: relative;
  bottom: 0px;
}
.pg_wrap a::before {
  color: #333333;
}

@media (max-width: 1000px) {
  #header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }
  #header #gnb {
    position: fixed;
    top: 0;
    height: fit-content;
  }
  #header #gnb .menu-group {
    justify-content: space-between;
  }
  .bgm-player {
    transform: translate(-100%, 14px);
  }
}

@media (max-width: calc(1050px)) {
  #header {
    left: auto;
    right: 0;
    padding-right: 0;
  }
}
