@import url("https://fonts.googleapis.com/css2?family=DotGothic16&display=swap");

body {
  background-color: black;
  color: white;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  padding: 20px;
}

@media (max-width: 768px) {
  body {
    padding: 8px;
  }
}

@media (max-width: 576px) {
  body {
    padding: 4px;
  }
}

.top img {
  width: 100%;
}

.tab {
  width: 100%;
}

#tabcontrol {
  text-align: left;
  display: flex;
  margin-bottom: 0px;
}

#tabcontrol a {
  display: inline-block;
  border-radius: 0.75em 0.75em 0 0;
  padding: 0.5em 2em;
  margin-top: auto;
  margin: auto 1px 0 1px;
  text-decoration: none;
  color: black;
  background-color: white;
  font-weight: normal;
  font-size: 1.2em;
  position: relative;
  font-family: "DotGothic16", sans-serif;
  letter-spacing: 3px;
}

#tabcontrol a:hover {
  text-decoration: underline;
  color: rgb(212, 0, 156);
}

#tabcontrol a.active {
  text-decoration: underline;
  border-width: 1px 1px 0px 1px;
  border-style: solid;
  border-color: white;
  background-color: black;
  color: white;
  font-weight: bold;
  padding: 1em 2em;
}

#tabbody div {
  border-top: 1px solid white;
  margin-top: -1px;
  padding: 1em 0 1em 0;
  background-color: black;
  position: relative;
  z-index: 0;
}

#tabbody .body-container {
  width: 100%;
  height: auto;
  border-top: 0;
  display: flex;
}

@media (max-width: 768px) {
  #tabcontrol a {
    font-size: 0.9em;
  }
}

@media (max-width: 576px) {
  #tabcontrol a {
    font-size: 0.8em;
    padding: 0.5em 1.2em;
  }

  #tabcontrol a.active {
    padding: 1em 1.2em;
  }

  #tabbody div {
    padding: 0.5em 0 0.5em 0;
  }
}

.pillar-box {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 10%;
  padding: 0;
  margin: 0;
}

.pillar-stripe-left {
  width: 0.25rem;
  height: 20rem;
  background-color: white;
  position: relative;
  margin: 3rem 0 3rem 0;
}

.pillar-stripe-right {
  width: 0.25rem;
  height: 20rem;
  background-color: white;
  position: relative;
  margin: 3rem 0 3rem 0;
}

.l .pillar-stripe-left::before {
  content: "";
  position: absolute;
  transform: translateY(-100%);
  right: -10px;
  width: 16px;
  height: 16px;
  background-color: black;
  border: 0.25rem solid white;
  border-radius: 50%;
  top: 0;
}

.r .pillar-stripe-right::after {
  content: "";
  position: absolute;
  transform: translateY(100%);
  right: -10px;
  width: 16px;
  height: 16px;
  background-color: black;
  border: 0.25rem solid white;
  border-radius: 50%;
  bottom: 0;
}

.pillar-charcter {
  color: white;
  white-space: nowrap;
  font-size: 3rem;
  font-weight: lighter;
}

.l .pillar-charcter {
  writing-mode: vertical-lr;
  margin: 1rem 1rem 1rem 0;
}

.r .pillar-charcter {
  writing-mode: vertical-rl;
  margin: 1rem 0 1rem 1rem;
}

#tabbody .tab-container {
  width: 80%;
  min-height: 250px;
  border: 1px solid white;
  padding: 1em;
}

@media (max-width: 768px) {
  .pillar-charcter {
    font-size: 2rem;
  }

  #tabbody .tab-container {
    width: 86%;
  }

  .pillar-box {
    width: 7%;
  }

  .pillar-stripe-left {
    width: 0.2rem;
    left: -8px;
    margin: 2rem 0 2rem 0;
  }

  .pillar-stripe-right {
    width: 0.2rem;
    right: -8px;
    margin: 2rem 0 2rem 0;
  }

  .l .pillar-stripe-left::before {
    right: -7px;
    width: 12px;
    height: 12px;
    border: 0.2rem solid white;
  }

  .r .pillar-stripe-right::after {
    right: -7px;
    width: 12px;
    height: 12px;
    border: 0.2rem solid white;
  }
}

@media (max-width: 576px) {
  .pillar-charcter {
    font-size: 1rem;
  }

  #tabbody .tab-container {
    width: 90%;
  }

  .pillar-box {
    width: 5%;
  }

  .pillar-stripe-left {
    width: 0.15rem;
    left: -7px;
    margin: 1rem 0 1rem 0;
  }

  .pillar-stripe-right {
    width: 0.15rem;
    right: -7px;
    margin: 1rem 0 1rem 0;
  }

  .l .pillar-stripe-left::before {
    right: -5px;
    width: 8px;
    height: 8px;
    border: 0.15rem solid white;
  }

  .r .pillar-stripe-right::after {
    right: -5px;
    width: 8px;
    height: 8px;
    border: 0.15rem solid white;
  }
}

#loading {
  width: 100vw;
  height: 100vh;
  transition: all 1s;
  background-color: black;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  -webkit-animation: load5 1.1s infinite ease;
  animation: load5 1.1s infinite ease;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.spinner {
  width: 1em;
  height: 1em;
  margin: 200px auto;
  margin-top: 300px;
  border-radius: 100%;
  animation: load5 1s infinite ease-in-out;
}

@-webkit-keyframes load5 {
  0%,
  100% {
    box-shadow: 0em -2.6em 0em 0em #ffffff,
      1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2),
      2.5em 0em 0 0em rgba(255, 255, 255, 0.2),
      1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2),
      0em 2.5em 0 0em rgba(255, 255, 255, 0.2),
      -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2),
      -2.6em 0em 0 0em rgba(255, 255, 255, 0.5),
      -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7);
  }
  12.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.7),
      1.8em -1.8em 0 0em #ffffff, 2.5em 0em 0 0em rgba(255, 255, 255, 0.2),
      1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2),
      0em 2.5em 0 0em rgba(255, 255, 255, 0.2),
      -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2),
      -2.6em 0em 0 0em rgba(255, 255, 255, 0.2),
      -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5);
  }
  25% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.5),
      1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7), 2.5em 0em 0 0em #ffffff,
      1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2),
      0em 2.5em 0 0em rgba(255, 255, 255, 0.2),
      -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2),
      -2.6em 0em 0 0em rgba(255, 255, 255, 0.2),
      -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  37.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2),
      1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5),
      2.5em 0em 0 0em rgba(255, 255, 255, 0.7), 1.75em 1.75em 0 0em #ffffff,
      0em 2.5em 0 0em rgba(255, 255, 255, 0.2),
      -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2),
      -2.6em 0em 0 0em rgba(255, 255, 255, 0.2),
      -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2),
      1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2),
      2.5em 0em 0 0em rgba(255, 255, 255, 0.5),
      1.75em 1.75em 0 0em rgba(255, 255, 255, 0.7), 0em 2.5em 0 0em #ffffff,
      -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2),
      -2.6em 0em 0 0em rgba(255, 255, 255, 0.2),
      -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  62.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2),
      1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2),
      2.5em 0em 0 0em rgba(255, 255, 255, 0.2),
      1.75em 1.75em 0 0em rgba(255, 255, 255, 0.5),
      0em 2.5em 0 0em rgba(255, 255, 255, 0.7), -1.8em 1.8em 0 0em #ffffff,
      -2.6em 0em 0 0em rgba(255, 255, 255, 0.2),
      -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  75% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2),
      1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2),
      2.5em 0em 0 0em rgba(255, 255, 255, 0.2),
      1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2),
      0em 2.5em 0 0em rgba(255, 255, 255, 0.5),
      -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.7), -2.6em 0em 0 0em #ffffff,
      -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  87.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2),
      1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2),
      2.5em 0em 0 0em rgba(255, 255, 255, 0.2),
      1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2),
      0em 2.5em 0 0em rgba(255, 255, 255, 0.2),
      -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.5),
      -2.6em 0em 0 0em rgba(255, 255, 255, 0.7), -1.8em -1.8em 0 0em #ffffff;
  }
}
@keyframes load5 {
  0%,
  100% {
    box-shadow: 0em -2.6em 0em 0em #ffffff,
      1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2),
      2.5em 0em 0 0em rgba(255, 255, 255, 0.2),
      1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2),
      0em 2.5em 0 0em rgba(255, 255, 255, 0.2),
      -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2),
      -2.6em 0em 0 0em rgba(255, 255, 255, 0.5),
      -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7);
  }
  12.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.7),
      1.8em -1.8em 0 0em #ffffff, 2.5em 0em 0 0em rgba(255, 255, 255, 0.2),
      1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2),
      0em 2.5em 0 0em rgba(255, 255, 255, 0.2),
      -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2),
      -2.6em 0em 0 0em rgba(255, 255, 255, 0.2),
      -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5);
  }
  25% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.5),
      1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7), 2.5em 0em 0 0em #ffffff,
      1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2),
      0em 2.5em 0 0em rgba(255, 255, 255, 0.2),
      -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2),
      -2.6em 0em 0 0em rgba(255, 255, 255, 0.2),
      -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  37.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2),
      1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5),
      2.5em 0em 0 0em rgba(255, 255, 255, 0.7), 1.75em 1.75em 0 0em #ffffff,
      0em 2.5em 0 0em rgba(255, 255, 255, 0.2),
      -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2),
      -2.6em 0em 0 0em rgba(255, 255, 255, 0.2),
      -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2),
      1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2),
      2.5em 0em 0 0em rgba(255, 255, 255, 0.5),
      1.75em 1.75em 0 0em rgba(255, 255, 255, 0.7), 0em 2.5em 0 0em #ffffff,
      -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2),
      -2.6em 0em 0 0em rgba(255, 255, 255, 0.2),
      -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  62.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2),
      1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2),
      2.5em 0em 0 0em rgba(255, 255, 255, 0.2),
      1.75em 1.75em 0 0em rgba(255, 255, 255, 0.5),
      0em 2.5em 0 0em rgba(255, 255, 255, 0.7), -1.8em 1.8em 0 0em #ffffff,
      -2.6em 0em 0 0em rgba(255, 255, 255, 0.2),
      -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  75% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2),
      1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2),
      2.5em 0em 0 0em rgba(255, 255, 255, 0.2),
      1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2),
      0em 2.5em 0 0em rgba(255, 255, 255, 0.5),
      -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.7), -2.6em 0em 0 0em #ffffff,
      -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  87.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2),
      1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2),
      2.5em 0em 0 0em rgba(255, 255, 255, 0.2),
      1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2),
      0em 2.5em 0 0em rgba(255, 255, 255, 0.2),
      -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.5),
      -2.6em 0em 0 0em rgba(255, 255, 255, 0.7), -1.8em -1.8em 0 0em #ffffff;
  }
}

#loading p {
  text-align: center;
  color: #ffffff;
  font-size: 24px;
}

@keyframes blinking {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.blink {
  animation: blinking 0.3s ease-in-out infinite alternate;
}

.loaded {
  opacity: 0;
  visibility: hidden;
}

.aboutTVC {
  width: 100%;
}

.TVC-image img {
  width: 100%;
}

.project-index {
  display: flex;
  justify-content: space-around;
}

.project-index h2 {
  font-family: "DotGothic16", sans-serif;
  letter-spacing: 1px;
  font-size: 32px;
}

#tabbody div.project-index {
  border: none;
}

.project-explanation {
  text-align: center;
  margin-top: 0;
  font-size: 20px;
  font-family: "DotGothic16", sans-serif;
}

@media (max-width: 770px) {
  .project-index {
    display: grid;
  }

  .project-index h2 {
    font-size: 24px;
    margin: 8px;
  }
}

@media (max-width: 576px) {
  .project-index h2 {
    font-size: 20px;
    margin: 4px;
  }

  .project-explanation {
    font-size: 16px;
  }
}

.card-container h1 {
  margin-top: 20px;
}

:root {
  --line: #b9b9b9;
}

* {
  box-sizing: border-box;
}

.tree .node + .node {
  margin-top: 20px;
}

.tree ul {
  position: relative;
  margin: 0 0 0 1.25rem;
  padding: 0 0 0 1rem;
  list-style: none;
}

.tree ul::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 0;
  border-left: 2px solid var(--line);
}

.tree li {
  position: relative;
  padding-left: 0.5rem;
  margin: 1rem 0;
}

.tree li::before {
  content: "";
  position: absolute;
  left: -0.75rem;
  top: 0.85em;
  width: 0.75rem;
  border-top: 2px solid var(--line);
}

.tree a {
  text-decoration: none;
  color: inherit;
  font-size: 24px;
}

.tree a:hover {
  color: #000;
  background-color: #fff;
}

.card-container h1 {
  font-family: "DotGothic16", sans-serif;
  letter-spacing: 1px;
}

.node h2 {
  font-size: 28px;
  font-family: "DotGothic16", sans-serif;
  letter-spacing: 3px;
  margin: 0 0 8px;
}

.node li {
  border-bottom: 1px solid #ffffff;
  width: 90%;
  font-family: "DotGothic16", sans-serif;
}

#tabbody div.node {
  border: none;
  padding: 0;
}

#tabbody div.card-container {
  display: grid;
  border: none;
}

#tabbody div.card {
  border: 1px solid #ffffff;
  margin-bottom: 50px;
  display: flex;
}

#tabbody div.card-image {
  border-top: none;
  margin-right: 10px;
  padding-right: 10px;
  padding-left: 10px;
  border-right: 1px solid #ffffff;
  flex: 3;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

#tabbody div.card-content {
  border-top: none;
  padding-top: 0;
  padding-left: 10px;
  padding-right: 10px;
  flex: 7;
  box-sizing: border-box;
}

.card-content h2 {
  margin: 0 0 10px;
  font-size: 32px;
  font-family: "DotGothic16", sans-serif;
  letter-spacing: 3px;
}

.card-content p {
  font-size: 22px;
  margin-bottom: 0px;
  line-height: 200%;
  letter-spacing: 1px;
  font-family: "DotGothic16", sans-serif;
  font-weight: 400;
  font-style: normal;
}

@media (max-width: 1024px) {
  .card-content h2 {
    font-size: 28px;
  }

  .card-content p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .card-content h2 {
    font-size: 24px;
  }

  .card-content p {
    font-size: 16px;
  }

  .node h2 {
    font-size: 24px;
    margin: 0 0 6px;
  }

  .tree a {
    font-size: 20px;
  }

  .tree li {
    margin: 0.5rem 0;
  }

  .card-container h1 {
    font-size: 26px;
  }
}

@media (max-width: 576px) {
  .card-content h2 {
    font-size: 20px;
  }

  .card-content p {
    font-size: 14px;
  }

  #tabbody div.card {
    display: grid;
  }

  #tabbody div.card-image {
    border-right: none;
    margin-right: 0;
  }

  .node h2 {
    font-size: 20px;
    margin: 0 0 4px;
  }

  .tree a {
    font-size: 16px;
  }

  .tree li {
    margin: 0.2rem 0;
  }

  .card-container h1 {
    font-size: 22px;
  }
}

.story-title {
  text-align: center;
  text-shadow: 5px 5px 4px #00ffe1;
}

.live-story p {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  color: rgb(255, 255, 255);
  text-shadow: 5px 5px 4px #00ffe1;
  margin-top: 0px;
  margin-bottom: 0px;
}

.live-story {
  margin-bottom: 50px;
}

#tabbody div.live-story {
  border-top: none;
}

@media (max-width: 768px) {
  .story-title {
    font-size: 26px;
  }

  .live-story p {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .story-title {
    font-size: 22px;
  }

  .live-story p {
    font-size: 18px;
  }
}

.dot-all {
  width: 70%;
  margin: 0 15% 0 15%;
}

.caution {
  width: 100%;
  margin-bottom: 50px;
}

.caution-ticket {
  width: 100%;
}

footer {
  width: 100%;
  height: auto;
  text-align: center;
}

footer h2 {
  font-family: "DotGothic16", sans-serif;
  font-size: 2em;
}

.link img {
  width: 25%;
  object-fit: cover;
  background-color: #ffffff;
}

@media (max-width: 768px) {
  footer h2 {
    margin-top: 0;
    font-size: 1.5em;
  }
}

@media (max-width: 576px) {
  footer h2 {
    margin-top: 0;
    font-size: 1em;
  }
}
