@font-face {
  font-family: 'nimbus';
  src: url('./font/nimbus-sans-extd-bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

*,
*::before,
*::after {

  box-sizing: border-box;
  letter-spacing: -0.02em;

}

.visually-hidden {

  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;

}

html {

  scroll-behavior: smooth;

}

section {

  scroll-margin-top: 80px;

}

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


/*  */ /*  */ /*  */ /*  */ /*  */
/*  */ /* --- HEADER --- */ /*  */
/*  */ /*  */ /*  */ /*  */ /*  */

.header {

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: transparent;
  z-index: 100;
  transition: background-color 0.3s ease;

}

.header.scrolled {

  background: #fff;

}

.header-inner {

  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;

}

.header-logo img {

  display: block;
  width: 80px;
  height: auto;
  filter: none;
  transition: filter 0.3s ease;
  opacity: 1;

}

.header-logo img.dark {

  filter: brightness(0);
  opacity: 1;

}

.menu-button {

  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;

}

.menu-button span {

  display: block;
  width: 22px;
  height: 2px;
  background: #000;
  transition: background-color 0.3s ease;

}

.header.scrolled .menu-button span {

  background: #000;

}

.nav {

  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100vh;
  padding: 100px 50px;
  box-sizing: border-box;
  background: #fff;
  z-index: 101;
  display: flex;
  flex-direction: column;
  gap: 25px;
  transform: translateX(100%);
  transition: transform 0.4s ease;

}

.nav.active {

  transform: translateX(0);

}

.nav a {

  color: #000;
  text-decoration: none;
  font-family: 'nimbus', "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  font-weight: 700;
  font-size: 24px;

}

.nav-close {

  position: absolute;
  top: 25px;
  right: 30px;
  border: 0;
  background: none;
  font-size: 32px;
  cursor: pointer;

}

.nav-overlay {

  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;

}

.nav-overlay.active {

  opacity: 1;
  visibility: visible;

}


/*  */ /*  */ /*  */ /*  */ /*  */
/*  */ /* --- BANNER --- */ /*  */
/*  */ /*  */ /*  */ /*  */ /*  */

.top-banner {

  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;

}

.top-banner::before {

  content: "";
  position: absolute;
  inset: -10%;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("./images/banner.webp");
  transform: translate3d(0, var(--banner-parallax, 0px), 0);
  z-index: 0;

  will-change: transform;

}

.banner-content {

  position: relative;
  width: 100%;
  height: 100%;

}

.banner-bg {

  position: absolute;
  /* blur 때문에 가장자리가 비지 않도록 */
  inset: -30px;
  z-index: 1;
  pointer-events: none;
  background:
    url("./images/grain.png") repeat,
    rgba(255, 255, 255, 0.08);
  background-size:
    180px 180px,
    auto;
  backdrop-filter: blur(11px);

}

.banner-svg {

  position: absolute;
  width: 25rem;
  height: auto;
  display: block;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;

}

.sticker {

  position: absolute;
  width: 130px;
  height: auto;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  z-index: 2;

  backface-visibility: hidden;
  transform-origin: center;
  will-change: transform;

  transition: transform 0.2s ease;

}


@media (hover: hover) and (pointer: fine) {

  .sticker:hover {

    transform: scale(1.05) !important;

  }

}

.sticker.is-repositioning {

  transition: left 0.4s ease, top 0.4s ease;

}

.sticker:active {

  cursor: grabbing;

}


/*  */ /*  */ /*  */ /*  */ /*  */
/*  */ /* --- MARQUEE --- */ /*  */
/*  */ /*  */ /*  */ /*  */ /*  */

.ticker {

  width: 100%;
  height: 40px;
  overflow: hidden;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;

}

.ticker-track {

  display: flex;
  width: max-content;
  will-change: transform;

}

.ticker-content {

  flex-shrink: 0;
  white-space: nowrap;
  padding-right: 0px;
  font-family: 'nimbus', sans-serif;
  font-size: 1.2rem;
  transform: translateY(2px);

}


/*  */ /*  */ /*  */ /*  */ /*  */
/*  */ /* --- ARTICLE --- */ /*  */
/*  */ /*  */ /*  */ /*  */ /*  */

p {

  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 120%;

}

h2 {

  font-family: 'nimbus', "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  font-weight: 700;
  font-size: 2.4286rem;

}

h3 {

  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  font-weight: 600;
  font-size: 1.1429rem;
  line-height: 120%;

}

body {

  min-height: 100vh;
  margin: 0;

}

.container {

  width: 100%;
  padding: 0px 15px;

}

.list {

  padding: 60px 0;

}

.list a {

  display: block;
  overflow: hidden;

}

.list a img {

  display: block;
  width: 100%;
  transition: transform 0.4s ease;

}

.list a:hover img {

  transform: scale(1.02);

}

.video-section {

  background-color: #000;
  color: #fff;

}

.grid {

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;

}

.grid .card {

  display: block;
  width: 100%;
  margin-top: 16px;

}

.grid .card img {

  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 0.6rem;

}

.editor-name {

  color: #818181;
  font-weight: 600;
  font-size: 0.75rem;
  margin-top: 0.4rem;

}

.video-scroll {

  display: flex;
  gap: 15px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-top: 40px;

}

.video-scroll::-webkit-scrollbar {

  display: none;

}

.video-card {

  flex: 0 0 360px;
  max-width: 360px;
  scroll-snap-align: start;
  color: inherit;
  text-decoration: none;

}

.video-card img {

  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 0.8rem;
  object-position: center 40%;

}

.section-title {

  display: flex;
  align-items: center;
  justify-content: space-between;

}

.slider-button {

  display: flex;
  gap: 8px;

}

.slider-button button {

  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  color: #fff;
  width: 35px;
  height: 35px;
  padding: 0;
  border: 1px solid #fff;
  background: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;

}

.about-button {

  display: flex;
  justify-content: center;
  align-items: center;

}

.about-button a {

  display: block;
  outline: 2px solid #000;
  width: 200px;
  height: 50px;
  line-height: 55px;
  text-align: center;
  font-family: 'nimbus', "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  font-weight: 700;
  font-size: 1.1429rem;
  transition: transform 0.4s ease;

}

.about-button a:hover {

  transform: scale(1.05);

}


/*  */ /*  */ /*  */ /*  */ /*  */
/*  */ /* --- FOOTER --- */ /*  */
/*  */ /*  */ /*  */ /*  */ /*  */

.footer {

  background-color: #000;
  color: #fff;
  margin-top: 30px;
  padding: 60px 0;

}

.footer-info {

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

}

.footer-links {

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;

}

.footer-links a:last-child {
  margin-left: 0;
}

@media (max-width: 779px) {
  .footer-links {
    flex-wrap: wrap;
    max-width: 250px;
    row-gap: 15px;
  }

  /* .footer-links a:last-child {
    flex-basis: 100%;
    justify-content: center;
  } */
}

.footer-links a {

  display: flex;
  align-items: center;

}

.footer-links a:nth-child(3) {

    transform: translateY(2px);

}

.footer-links img {

  display: block;
  width: 20px;
  height: 20px;

}

.footer-logo {

  display: block;
  width: 10rem;
  height: auto;
  margin-bottom: 1rem;

}

.newtype {
  
  font-family: 'nimbus', "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  font-weight: 300;
  font-size: 0.6rem;

}

.footer-info p {

  margin-bottom: 2rem;

}

.mailto {

  font-family: 'nimbus', "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  font-weight: 300;
  font-size: 1rem;

}


/*  */ /*  */ /*  */ /*  */ /*  */ /*  */
/*  */ /* --- MEDIA QUERY --- */ /*  */
/*  */ /*  */ /*  */ /*  */ /*  */ /*  */

/* TABLET */
@media (min-width: 780px) {

  .top-banner {
    height: 720px;
  }

  .banner-bg {

    /* background: url("./images/main.png") center 30% / cover no-repeat; */
    background-size: cover;
    height: 1200px;

  }

  .banner-svg {

    position: absolute;
    width: 40rem;
    height: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;

  }

  .sticker {

    width: 200px;

  }

  .container {

    width: 100%;
    padding: 0 2.4rem;

  }

  .grid {

    grid-template-columns: repeat(3, 1fr);

  }

  h2 {

  font-size: 3.6rem;

  }

  .footer-info {

    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: start;
    text-align: left;

  }

  .footer-logo {

    grid-column: 1;
    grid-row: 1;
    width: 120px;
    margin: 0 0 10px;

  }

  .footer-info p {

    grid-column: 1;
    grid-row: 2;
    margin: 0;

  }

  .footer-links {

    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
    margin: 0;

  }

}

/* PC SMALL */
@media (min-width:1200px) {

  .container {

  width: 100%;
  padding: 0 8rem;

  }

  .header-logo img {

    display: block;
    width: 120px;
    height: auto;

  }

  .grid {

    grid-template-columns: repeat(4, 1fr);

  }

}

/* PC */
@media (min-width:1500px) {

  .container {

  width: 100%;
  padding: 0 10rem;

  }

}