body {
  font-family: Pretendard;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
#container {
  height: calc(100vh - 2.9vw - 30px);
  overflow-y: auto;
}
#container::-webkit-scrollbar {
  display: none;
}

#red-area {
  background-color: #f83e48;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
}
#mid-area {
  background-color: #ffffff;
  width: 150%;
  height: 100%;
  position: absolute;
  right: -150%;
  transform: skew(-16deg);
  z-index: 1;
  transition: 0.5s;
}
#blue-area {
  background-color: #1dc1dd;
  width: 150%;
  height: 100%;
  position: absolute;
  z-index: 1;
  right: -100%;
  transform: skew(-16deg);
  overflow: hidden;
  transition: 0.5s;
}
#blue-area:hover {
  transition: 0.5s;
}
.maintxt {
  font-size: 128px;
  font-weight: 900;
  -webkit-text-stroke: 1px white;
  cursor: pointer;
}
#red-txt {
  color: #f83e48;
}
#blue-txt {
  transform: skew(16deg);
  color: #1dc1dd;
}
.txtline {
  width: 100%;
  display: flex;
  white-space: nowrap;
}
.txtline div {
  padding-inline: 10px;
}
#red-txt .txtline div {
  animation: loopText1 60s linear infinite;
  animation-delay: -60s;
}
#red-txt .txtline div:nth-child(2) {
  animation: loopText2 60s linear infinite;
  animation-delay: -30s;
}
@keyframes loopText1 {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
@keyframes loopText2 {
  0% {
    transform: translateX(-200%);
  }
  100% {
    transform: translateX(0%);
  }
}
#blue-txt .txtline div {
  animation: loopText3 60s linear infinite;
  animation-delay: -60s;
}
#blue-txt .txtline div:nth-child(2) {
  animation: loopText4 60s linear infinite;
  animation-delay: -30s;
  transform: translateX(-200%);
}
@keyframes loopText3 {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
@keyframes loopText4 {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-200%);
  }
}
.txtline div span:hover {
  color: white;
  transition: 0.4s;
}
.after .maintxt {
  display: none;
}
#top-nav {
  background-color: #1b1b1b;
  font-size: calc(2.9vw - 10px);
  color: white;
  font-weight: 700;
  transition: 0.5s;
  opacity: 0;
  padding-inline: 32px;
  position: sticky;
  z-index: 999;
  top: 0;
}
.top-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1920px;
  margin: auto;
}
.category {
  font-size: calc(2.9vw - 10px);
  color: white;
  font-weight: 700;
  transition: 0.5s;
  opacity: 0;
  padding-inline: 20px;
  opacity: 1;
  margin-block: 1px;
  cursor: pointer;
  text-shadow: rgba(27, 27, 27, 0.8) 0 0 3px;
  background: rgba(27, 27, 27, 0.7);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.category:hover {
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #1b1b1b;
  text-shadow: rgba(255, 255, 255, 0.5) 0 0 3px;
  & .red-team {
    color: #d52d45;
  }
  & .blue-team {
    color: #0e739f;
  }
}
.category div {
  width: 100%;
  padding: 10px 12px;
}
.category-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1920px;
  margin: auto;
}
.nav-content {
  padding: 10px 12px;
}
.btn {
  cursor: pointer;
}

#title {
  display: flex;
  width: 60%;
  justify-content: space-evenly;
  align-items: center;
}
#title div,
.category-teams div {
  width: 100%;
  padding-inline: 12px;
}
#Rtitle,
.red-team {
  color: #f83e48;
  text-align: right;
}
#Btitle,
.blue-team {
  color: #1dc1dd;
}
#Mtitle,
#mid-text {
  text-align: center;
  max-width: calc((2.9vw - 10px) * 3);
}
.info {
  font-size: calc(2.9vw - 20px);
}
.arrow {
  color: gray;
  transition: 0.2s;
}
.arrow:hover {
  color: white;
  transition: 0.2s;
}

.text-box {
  max-width: 960px;
  font-size: 20px;
  font-weight: 500;
  margin: auto;
  padding: 0 36px;
  line-height: 1.7;
  overflow-y: auto;
  max-height: calc(100% - 2.9vw - 20px);
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.text-box::-webkit-scrollbar {
  display: none;
}
.mark {
  background-color: #1b1b1b;
  color: white;
  padding-inline: 2px;
  text-decoration: none;
  cursor: pointer;
  mix-blend-mode: multiply;
}
.mark:hover,
#bottom-prev-btn:hover {
  background-color: #ababab;
  color: #1b1b1b;
  mix-blend-mode: luminosity;
}

/*팝업 관련*/
.popup-contain-box {
  position: relative;
}
.popup-wrap {
  background-color: #1b1b1b;
  font-size: 16px;
  color: #f1f1f1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: absolute;
  width: 180px;
  display: none;
  z-index: 1;
}
.popup-txt {
  line-height: 1.2;
  font-weight: 400;
  text-align: left;
}
.popup-btns {
  display: flex;
  justify-content: space-between;
}
.popup-link {
  color: #1dc1dd;
  text-decoration: none;
}
.popup-close {
  color: #999;
  cursor: pointer;
}
.show-popup {
  display: flex;
  left: 0;
}

.text-bottom {
  text-align: right;
  max-width: 960px;
  font-size: 20px;
  font-weight: 500;
  margin: auto;
  padding-block: 36px 120px;
}
.text-bottom-prev {
  text-align: left;
}
.bottom-next-btn,
#bottom-prev-btn {
  mix-blend-mode: normal;
}
.text-info {
  font-size: 16px;
  text-align: right;
}
.text-info > span {
  display: block;
}
.table {
  border-bottom: 1px solid #1b1b1b;
  cursor: pointer;
  color: #1b1b1baa;
}
.table:hover {
  background-color: white;
  color: #1b1b1b;
}
.table-container {
  display: flex;
  align-items: center;
  max-width: 1920px;
  margin: auto;
}
.table div {
  width: 100%;
  text-align: center;
  font-size: calc(2.9vw + 10px);
  font-weight: 600;
  padding: 6px 0;
}
.total {
  color: #1b1b1b;
  border-bottom: 2px solid #1b1b1b;
}
.selected {
  background-color: white;
  color: #1b1b1b;
}

#bottom {
  position: absolute;
  bottom: 0;
  background-color: white;
  color: #1b1b1b;
  font-size: calc(2.9vw + 10px);
  font-weight: 700;
  width: 100%;
  padding: 4px 12px;
  text-align: center;
  border-top: 1px solid #1b1b1b;
  opacity: 0;
}
.bottom-line {
  width: 100%;
  display: flex;
  white-space: nowrap;
}
.bottom-line div {
  animation: loopText3 60s linear infinite;
  animation-delay: -60s;
}
.bottom-line div:nth-child(2) {
  animation: loopText4 60s linear infinite;
  animation-delay: -30s;
  transform: translateX(-200%);
}
.bottom-txt {
  padding: 0 2em;
}
.bottom-click #bottom {
  transition: 0.2s;
  cursor: pointer;
}
.bottom-click #bottom:hover {
  background-color: #1b1b1b;
  color: white;
  transition: 0.2s;
}

.page {
  opacity: 0;
  transition: 0.2s;
}
#categories {
  transition: 0.2s;
}
.content-page {
  opacity: 0;
  display: none;
  transition: 0.2s;
}
/* 진실 페이지 표 */
.truth-table {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
}
.first-col {
  width: 30%;
  text-align: left;
}
.truth-table tr {
  border-block: 1px solid #1b1b1b;
}
.truth-table tr:nth-last-child(1) {
  border-bottom: 2px solid #1b1b1b;
}
.truth-table thead {
  border-block: 2px solid #1b1b1b;
}
.tr-total {
  border-top: 2px solid #1b1b1b !important;
}
@media screen and (max-width: 980px) {
  #top-nav,
  .category {
    font-size: 18px;
  }
  #Mtitle,
  #mid-text {
    max-width: 32px;
  }
}
@media screen and (max-width: 1242px) {
  .info {
    font-size: 16px;
  }
}
