:root {
  --heading-lg-pc: 4rem;
  --heading-md-pc: 2rem;
  --heading-sm-pc: 1.375rem;

  --heading-lg-mo: 2rem;
  --heading-sm-mo: 1.125rem;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 16px !important;
}

body {
  position: relative;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2.5rem;
  position: fixed;
  top: -7.5rem;
  width: 100%;
  height: 6rem;
  background: rgba(12, 12, 12, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  transition: all 0.3s ease-in-out;
}

.main-header.show {
  top: 0;
}

header .menu-icon {
  display: none;
  cursor: pointer;
}

ul li {
  list-style: none;
}

a {
  text-decoration: none;
}

iframe {
  border: none;
}

.header-logo {
  width: 8.04875rem;
  height: 2.5rem;
}

header ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-family: "Pretendard";
  font-size: 1.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: 130%; /* 2.275rem */
  letter-spacing: -0.0175rem;
}

header ul li a.active {
  color: rgba(255, 255, 255, 1);
  font-family: "Pretendard";
  font-size: 1.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: 130%; /* 2.275rem */
  letter-spacing: -0.0175rem;
}

header .horizontal-menu ul {
  display: flex;
  gap: 4rem;
}

header .horizontal-menu ul li a.active,
.vertical-menu.active ul li a.active {
  color: #fff;
  font-weight: 700;
}

.vertical-menu {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 100%;
  background-color: #6464fa;
  z-index: 999;
  transition: left 0.3s ease-in-out;
}

.vertical-menu.active {
  left: 0;
}

.vertical-menu .close-icon {
  width: 2rem;
  height: 2rem;
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  cursor: pointer;
}

.vertical-menu ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 3rem;
}

.vertical-menu ul li a {
  font-size: var(--heading-lg-mo);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 2.4rem */
  letter-spacing: -0.04rem;
}

.works-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 7.5rem;
}

.works-container .title-container {
  color: #ffff;
  width: 100%;
  height: 13.25rem;
  position: relative;
  align-self: flex-start;
  display: flex;
  padding: 3rem 10rem;
}

.works-container .title-container .title {
  font-size: var(--heading-lg-pc);
  font-family: "Pretendard";
  font-weight: 700;
  width: fit-content;
  display: inline-flex;
  align-self: flex-start;
  line-height: 120%;
}

.works-container .title-container .sub-text {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 0.75rem;
}

.works-container .title-container .sub-text .top {
  font-size: var(--heading-md-pc);
  font-family: "Pretendard";
  font-weight: 600;
  line-height: 130%;
}

.works-container .title-container .sub-text .bottom {
  font-size: var(--heading-sm-pc);
  font-family: "Pretendard";
  font-weight: 400;
  line-height: 140%;
}

.works-container .work-list-container {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 2.5rem 10rem 5rem 10rem;
}

.works-container .work-list-container .work-list {
  color: #fff;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2.5rem;
  width: 100%;
}

.works-container .work-list-container .work-list .work {
  max-width: 37.5rem;
  min-width: 13rem;
  display: flex;
  flex-direction: column;
  width: 100%;
  cursor: pointer;
}

.tooltip {
  width: 7.9375rem;
  height: 4.625rem;
  position: fixed;
  background-color: #6464fa;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s, top 0.1s ease, left 0.1s ease;
  font-family: "Pretendard";
  font-weight: 600;
  font-size: var(--heading-md-pc);
  letter-spacing: -0.02rem;
}

@media (min-width: 1024px) {
  .works-container .work-list-container .work-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* @media (min-width: 1920px) {
  .works-container .work-list-container .work-list {
    grid-template-columns: repeat(3, 1fr);
  }
} */

.works-container .work-list-container .work-list .work .work-image {
  width: 100%;
  aspect-ratio: 5 / 6;
  border-radius: 1rem;
  transition: all 0.2s;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
  transform-style: preserve-3d;
}

.works-container .work-list-container .work-list .work .work-image:hover {
  transform: translate3d(0px, 0px, 0px) scale3d(.95, .95, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
}

.works-container .work-list-container .work-list .work .work-sponsor {
  font-size: var(--heading-sm-pc);
  font-family: "Pretendard";
  font-weight: 700;
  line-height: 140%;
  margin-top: 1.25rem;
}

.works-container .work-list-container .work-list .work .work-title {
  font-size: var(--heading-sm-pc);
  font-family: "Pretendard";
  font-weight: 400;
  line-height: 140%;
}

.works-embed-notion {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 999;
  background-color: #fff;
  transition: left 0.3s ease-in-out;
  overflow: hidden;
}

.works-embed-notion.active {
  left: 0;
}

.works-embed-notion .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.75rem;
  height: 4rem;
}

.works-embed-notion .header .logo,
.works-embed-notion .header .logo a,
.works-embed-notion .header .logo svg {
  width: 8.04875rem;
  height: 2.5rem;
}

.works-embed-notion .header .logo .animate {
  stroke-width: 32;
  stroke: #6464fa;
  stroke-dasharray: 1000;
}

.works-embed-notion .header .logo:hover .animate {
  animation: dash 1s cubic-bezier(0.69, 0.26, 0.49, 0.99) forwards;
}

@keyframes dash {
  from {
    stroke-dashoffset: -1000;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.works-embed-notion .header .close-icon {
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
}

.works-embed-notion iframe {
  width: 100%;
  height: calc(100% - 4.5rem);
}

/* 반응형 */

@media (min-width: 1441px) {
  .works-container .title-container .sub-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 1440px) {
  .works-container .title-container {
    flex-direction: column;
    gap: 3.75rem;
    height: 21.8125rem;
  }
}

@media (max-width: 1024px) {
  .works-container .title-container {
    height: 10.8125rem;
  }

  .works-container .title-container .sub-text {
    display: none;
  }
}

@media (max-width: 768px) {
  .main-header,
  header {
    height: 4rem;
    padding: 0 1.25rem;
  }

  .works-embed-notion .header .logo,
  .works-embed-notion .header .logo a,
  .works-embed-notion .header .logo svg {
    width: 4rem;
    height: 1.75rem;
  }

  header .horizontal-menu {
    display: none;
  }

  header .menu-icon,
  .works-embed-notion .header .close-icon {
    display: flex;
    width: 2rem;
    height: 2rem;
  }

  .works-container {
    padding-top: 4rem;
  }

  .works-container .title-container {
    padding: 1.5rem 2.5rem;
    height: 5.375rem;
  }

  .works-container .title-container .title {
    font-size: var(--heading-lg-mo);
  }

  .works-container .work-list-container {
    padding: 1.25rem 2.5rem 2.5rem 2.5rem;
  }

  .works-container .work-list-container .work-list .work .work-sponsor,
  .works-container .work-list-container .work-list .work .work-title {
    font-size: var(--heading-sm-mo);
  }

  .works-embed-notion .header {
    padding: 0 1rem;
    height: 3.5rem;
  }

  .works-embed-notion iframe {
    height: calc(100% - 3.5rem);
  }
}