@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.min.css");

@font-face {
  font-family: KranaFatA;
  src: url('../fonts/krana-fat-a.otf') format('opentype');
  font-style: normal;
}

:root {
  --color-1: #5C1812;
  --color-2: #46BEDC;
  --color-3: #FBED4F;
}

::-moz-selection {
  color: white;
  background-color: var(--color-2);
}

::selection {
  color: white;
  background-color: var(--color-2);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  font-size: 100%;
  font-weight: normal;
  box-sizing: border-box;
}

html {
  font-size: clamp(16px, 1.5vw, 18px);
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100svh;
  font-family: Pretendard, BlinkMacSystemFont, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  word-break: keep-all;
  text-rendering: optimizeSpeed;
  color: var(--color-1);
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

:lang(en) *:lang(ko),
:lang(ko) *:lang(en) {
  display: none;
}

.header {
  position: relative;
  z-index: 999;
  width: 100%;
  height: 100svh;
  background-color: var(--color-1);
}

.header a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-image: url(../images/main.jpg);
  background-size: contain;
  background-position: center;
  animation: main 2s steps(2) infinite alternate;
}

@keyframes main {
  0% {
    background-size: 20%;
  }
  25% {
    background-size: 40%;
  }
  50% {
    background-size: 60%;
  }
  75% {
    background-size: 80%;
  }
  100% {
    background-size: contain;
  }
}

.nav {
  position: sticky;
  z-index: 999;
  top: 0;
  width: 100%;
  padding: 0 1rem;
  overflow-y: hidden;
  scroll-behavior: smooth;
  font-family: KranaFatA, sans-serif;
  font-size: 1.25rem;
  letter-spacing: .025em;
  text-transform: uppercase;
  color: var(--color-1);
  background-color: white;
}

@media screen and (min-width: 900px) {
  .nav {
    padding: 0 3rem;
  }
}

.nav .container {
  max-width: 100%;
  border-bottom: 1px solid var(--color-1);
}

.nav ul {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  width: auto;
  margin: 0 -1rem;
  padding: 0 1rem;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  text-align: center;
  white-space: nowrap;
}

@media screen and (min-width: 900px) {
  .nav ul {
    margin: 0 -3rem;
    padding: 0 3rem;
  }
}

.nav ul::-webkit-scrollbar {
  display: none;
}

.nav li {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 0;
  position: relative;
  text-align: center;
}

@media screen and (max-width: 900px) {
  .nav li {
    flex: 0 0 12rem;
  }
}

.nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 0;
  padding: .625rem 0 .5rem;
}

.nav a:hover::before,
.nav a.is-active::before {
  content: '(';
  position: relative;
  top: -.05em;
  margin-right: .25em;
}

.nav a:hover::after,
.nav a.is-active::after {
  content: ')';
  position: relative;
  top: -.05em;
  margin-left: .25em;
}

.main {
  position: relative;
  min-height: 100svh;
  padding-bottom: 12rem;
  background-color: #fff;
}

.footer {
  position: relative;
  z-index: 999;
  width: 100%;
  height: 100dvh;
  background-color: white;
}

.footer .iframe {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: calc(100% - 2rem);
  height: calc(100% - 2rem);
  overflow: hidden;
  border-radius: .5rem;
}

@media screen and (min-width: 900px) {
  .footer .iframe {
    left: 3rem;
    width: calc(100% - 6rem);
  }
}

.footer .iframe::before {
  content: "";
  position: absolute;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-2);
  opacity: .25;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.footer .iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%);
}

.container {
  max-width: 50rem;
  width: auto;
  margin: 0 auto;
}

.section {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 0 1rem;
}

@media screen and (min-width: 900px) {
  .section {
    padding: 0 3rem;
  }
}

.section-header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
}

.section-title {
  font-family: KranaFatA, sans-serif;
  font-size: 10vw;
  font-weight: inherit;
  letter-spacing: .025em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-3);
}

.section-title a {
  color: transparent;
}

.is-active .section-title a {
  color: var(--color-3);
  transition: color 0s;
  transition-delay: .25s;
}

.section-title::before {
  content: '(';
  position: relative;
  top: -.05em;
  margin-right: .025em;
}

.section-title::after {
  content: ')';
  position: relative;
  top: -.05em;
  margin-left: .025em;
}

.section-main {
  position: relative;
  min-height: 100svh;
}

.section-main:target {
  scroll-margin-top: 9rem;
}

.title {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 1rem 0;
  font-size: 1.5rem;
  font-weight: inherit;
  text-transform: uppercase;
  text-align: center;
  color: white;
  background-color: var(--color-1);
  border-radius: .5rem;
}

.content {
  --gap: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.content:lang(ko) {
  line-height: 1.625;
}

.content:lang(en) {
  line-height: 1.375;
}

.content.is-large {
  font-size: 1.125rem;
}

@media screen and (min-width: 600px) {
  .content.is-large {
    font-size: 1.5rem;
  }
}

.content > *:not(:last-child) {
  margin-bottom: var(--gap);
}

.content a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.content a:hover {
  margin: -.125em -.5em;
  padding: .125em .5em;
  color: white;
  background-color: var(--color-1);
  border-radius: .25rem;
}

.content h1 {
  font-weight: 700;
}

.content strong {
  font-weight: 700;
}

.content mark {
  background-color: #46BEDC50;
}

.language {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: .5rem;
  position: fixed;
  z-index: 999;
  bottom: .5rem;
  right: .5rem;
  width: calc(100% - 1rem);
  transition: bottom .5s;
  cursor: pointer;
}

.language.is-hidden {
  bottom: -5rem;
}

.language-message {
  display: block;
  max-width: 30rem;
  padding: .375em .875em;
  font-size: 1rem;
  color: white;
  background-color: var(--color-1);
  border-radius: .375rem;
}

.language-image {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
}

.list {
  list-style: none;
  position: relative;
  z-index: 222;
  margin-top: -.5rem;
}

.list li {
  display: flex;
  align-items: center;
  padding: .5rem 0;
}

.list li:not(:last-child) {
  border-bottom: 1px solid var(--color-1);
}

.list li div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  flex: 1 1 0;
  width: 100%;
}

.list li div:nth-child(1) {
  flex: 0 0 50%;
}

.list li div:nth-child(2),
.list li div:nth-child(3) {
  justify-content: flex-end;
}

@media screen and (max-width: 600px) {
  .list li div:nth-child(1) {
    flex: 0 0 65%;
  }

  .list li div:nth-child(3) {
    display: none;
  }
}

.list a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 1.5rem;
  height: 1.5rem;
  font-size: .875rem;
  color: white;
  background-color: var(--color-1);
  border-radius: .25rem;
}

@media screen and (min-width: 600px) {
  .list a {
    opacity: 0;
  }

  .list li:hover a {
    opacity: 1;
  }
}

.list-title {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 111;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  font-family: KranaFatA, sans-serif;
  font-size: 10vw;
  letter-spacing: .025em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--color-2);
  pointer-events: none;
}

.list-title::before {
  content: "(";
  position: relative;
  top: -.05em;
  margin-right: .025em;
}

.list-title::after {
  content: ")";
  position: relative;
  top: -.05em;
  margin-left: .025em;
}

.table {
  list-style: none;
}

.table li {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 0;
}

.table li div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  flex: 1 1 0;
  width: 100%;
}

.details[open] {
  padding-bottom: 1rem;
}

.details:not(:last-child) {
  border-bottom: 1px solid var(--color-1);
}

.summary {
  list-style: none;
  padding: .5rem 0;
}

.summary::marker,
.summary::-webkit-details-marker {
  display: none;
}

.iframe {
  position: relative;
  overflow: hidden;
  border-radius: .5rem;
}

.iframe::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-1);
  
  opacity: .25;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.iframe iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  filter: grayscale(100%);
  
}

.columns {
  --gap: 1.5rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}

.columns:not(:last-child) {
  margin-bottom: var(--gap);
}

.column {
  display: block;
  grid-column: span 12;
}

.column.is-4-12 {
  grid-column: span 4;
}

.column.is-6-12 {
  grid-column: span 6;
}

.column.is-8-12 {
  grid-column: span 8;
}

@media screen and (min-width: 600px) {
  .column.is-4-12-600 {
    grid-column: span 4;
  }

  .column.is-6-12-600 {
    grid-column: span 6;
  }

  .column.is-8-12-600 {
    grid-column: span 8;
  }

  .column > .column-sticky {
    position: sticky;
    top: 6rem;
  }
}

@media screen and (min-width: 900px) {
  .column.is-4-12-900 {
    grid-column: span 4;
  }

  .column.is-6-12-900 {
    grid-column: span 6;
  }

  .column.is-8-12-900 {
    grid-column: span 8;
  }
}

video {
  display: block;
  width: 100%;
  border-radius: .5rem;
}

.article-header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  font-family: KranaFatA, sans-serif;
  line-height: 1.125;
  letter-spacing: .025em;
  background-color: var(--color-1);
  padding: 1rem;
}

.article-header h1 {
  font-size: 3rem;
  text-align: center;
  color: var(--color-2);
}

.article-header h2 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  padding: 1rem;
  font-size: 1.5rem;
  text-align: right;
  color: var(--color-3);

}

hr {
  border: 0;
  border-top: 1px solid var(--color-1);
  margin-bottom: 1.5rem;
}

.swiper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: .5rem;
}

.swiper-slide-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 1;
  padding: 1.5rem;
  background-color: var(--color-1);
}

.swiper-slide-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
}

.swiper-pagination {
  background-color: var(--color-3);
}

.box {
  margin-top: 3rem;
  padding: 1.5rem;
  color: var(--color-1);
  background-image: linear-gradient(to right, var(--color-3), var(--color-2));
  border-radius: .5rem;
}