@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;200;300;400;500;600;700;800;900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url("https://use.typekit.net/ipm5esh.css");
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;
  list-style: none;
}

*::selection {
  background-color: #E8642B;
}

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

:root {
  --vh: 1vh;
}

@supports (height: 1svh) {
  :root {
    --vh: 1svh;
  }
}

html {
  background-color: #f5f5f5;
  width: 100%;
  overflow-x: clip;
}

body {
  min-width: 0;
  background-color: #f5f5f5;
  overflow-x: clip;
}

::-webkit-scrollbar {
  width: 0px;
}

* {
  cursor: none;
}

.cursor {
  top: -300px;
  left: -300px;
  position: fixed;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: white;
  mix-blend-mode: difference;
  pointer-events: none;
  transform: translateX(-50%) translateY(-50%);
  z-index: 601;
  transition: width .1s, height .1s, background-color 1s;
}

.need-to-cursor-big {
  width: 50px;
  height: 50px;
}

@media screen and (max-width: 1024px) {
  * {
    cursor: auto;
  }

  .cursor,
  .need-to-cursor-big {
    display: none;
  }
}

.progress {
  background-color: #F5F5F5;
  color: #0d0d0d;
  height: 100%;
  position: fixed;
  width: 100%;
  z-index: 300;
}

.progress-content {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  z-index: 300;
}

.progress-text {
  font-family: "aktiv-grotesk", sans-serif;
  font-size: 15px;
  color: #0d0d0d;
}

.progress-bar {
  background-color: #E8642B;
  width: 190px;
  height: 3px;
}

.header {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100px;
  z-index: 101;
  padding: 0 30px;
}

.header-logobox {
  z-index: 300;
}

.header-logobox > a {
  vertical-align: middle;
  padding: 3px;
  z-index: 300;
  display: flex;
  align-items: center;
}

.header-logobox > a > img {
  width: 90px;
}

.header-menubox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 30px;
  width: 80px;
  position: relative;
  z-index: 201;
}

.header-menu-en {
  display: flex;
  align-items: center;
  height: 30px;
  font-family: "aktiv-grotesk", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #0d0d0d;
  transition: .3s;
}

.header-menubox:hover > .header-menu-en {
  font-size: 1.3rem;
  transition: .5s;
}

.header-menu-dot {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 30px;
  width: 30px;
}

.menu-first,
.menu-second,
.menu-third {
  height: 5px;
  width: 5px;
  background-color: #0d0d0d;
  border-radius: 100%;
  z-index: 200;
  transition: all 1s;
}

.menu-second {
  z-index: 199;
  transition: all .3s;
}

.header-menubox:hover > .header-menu-dot > .menu-first,
.header-menubox:hover > .header-menu-dot > .menu-third {
  display: none;
}

.header-menubox:hover > .header-menu-dot > .menu-second {
  width: 25px;
  height: 25px;
  border-radius: 100%;
}

.scale {
  scale: 1000;
  background-color: #F5F5F5;
  transition: scale 1s ease-in-out;
}

.menuSelector {
  color: #0d0d0d;
  display: flex;
  position: fixed;
  opacity: 0;
  top: -100%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 200;
}

.opacity {
  top: 45%;
  opacity: 100;
  transition:
    top .1s,
    opacity 2s ease-in-out;
}

.menuSelectorWrapper {
  display: none;
  flex-direction: column;
  font-family: "aktiv-grotesk", sans-serif;
  font-weight: 700;
  justify-content: center;
  align-items: start;
  margin-top: 5vh;
  font-size: 3.5rem;
  z-index: 100;
}

.menuSelectorWrapper div:hover {
  text-decoration: underline;
  font-size: 4rem;
  transition:
    all 0s,
    font-size .5s;
}

.displayFlex {
  display: flex;
}

.main {
  width: 100%;
  min-width: 0;
}

.hyundaicard {
  position: relative;
  width: 100%;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 80px;
  background-color: #f5f5f5;
  overflow: visible;
}

.hyundaicard-hero {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  aspect-ratio: 1920 / 1080;
  overflow: hidden;
}

.hyundaicard-hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hyundaicard-inner {
  width: 100%;
  padding: 0 180px;
  box-sizing: border-box;
}

.hyundaicard-embed {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: transparent;
}

.hyundaicard-embed iframe {
  position: absolute;
  top: -1px;
  left: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  border: 0;
}

.hyundaicard-embed--landscape {
  width: 100%;
  height: auto;
  padding-top: 0;
  aspect-ratio: 16 / 9;
}

.hyundaicard-embed--portrait {
  width: 420px;
  height: auto;
  padding-top: 0;
  aspect-ratio: 9 / 16;
}

.hyundaicard-info {
  margin-top: 100px;
}

.hyundaicard-info h3,
.hyundaicard-extra h3 {
  margin: 0;
  color: #0d0d0d;
  font-family: "Pretendard", sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 75px;
  word-break: keep-all;
}

.hyundaicard-info-meta {
  margin: 30px 0 0;
  color: #0d0d0d;
  font-family: "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.5;
  word-break: keep-all;
}

.hyundaicard-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.hyundaicard-card {
  width: 420px;
  height: auto;
  padding: 45px 40px;
  box-sizing: border-box;
  border: 1px solid #d3d3d3;
  border-radius: 12px;
  background: #e9e7e7;
}

.hyundaicard-card p,
.hyundaicard-card h4 {
  font-family: "Pretendard", sans-serif;
  word-break: keep-all;
  white-space: normal;
}

.hyundaicard-card > p:first-child {
  margin: 0;
  color: #626262;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
}

.hyundaicard-card h4 {
  margin: 0;
  color: #2d2d2d;
  font-weight: 600;
  font-size: 32px;
  line-height: 42px;
}

.hyundaicard-card > p:last-child {
  margin: 30px 0 0;
  color: #2d2d2d;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
}

.hyundaicard-extra {
  margin-top: 100px;
}

.hyundaicard-extra-videos {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 30px;
  margin-top: 20px;
}

.hyundaicard-video {
  flex: 0 0 calc((100% - 60px) / 3);
  width: calc((100% - 60px) / 3);
  min-width: 0;
}

.hyundaicard-video h4 {
  margin: 0 0 20px;
  color: #0d0d0d;
  font-family: "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 40px;
  word-break: keep-all;
}

.footer {
  display: flex;
  height: 10vh;
  position: relative;
  width: 100%;
  background-color: #f5f5f5;
  z-index: 100;
}

.footer > .footer-infBox {
  display: flex;
  flex-direction: column;
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 300;
  font-size: .6rem;
  margin-bottom: 3vh;
  margin-left: calc(2vw + 10px);
  color: #0d0d0d;
}

.footer > .footer-infBox > .web-inf {
  display: flex;
}

@media screen and (min-width: 767px) {
  .hyundaicard {
    width: max(1920px, 100%);
    zoom: min(1, 100vw / 1920px);
  }

  .hyundaicard-inner {
    width: 1920px;
    margin-inline: auto;
  }
}

@media screen and (max-width: 766px) {
  .hyundaicard {
    padding-top: 0;
    padding-bottom: 60px;
  }

  .hyundaicard-inner {
    padding: 0 24px;
  }

  .hyundaicard-info,
  .hyundaicard-extra {
    margin-top: 48px;
  }

  .hyundaicard-info h3,
  .hyundaicard-extra h3 {
    font-size: 24px;
    line-height: 34px;
  }

  .hyundaicard-info-meta {
    margin-top: 16px;
    font-size: 14px;
  }

  .hyundaicard-cards {
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
  }

  .hyundaicard-card {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 28px 24px;
  }

  .hyundaicard-card > p:first-child {
    font-size: 14px;
    line-height: 20px;
  }

  .hyundaicard-card h4 {
    font-size: 22px;
    line-height: 30px;
  }

  .hyundaicard-card > p:last-child {
    margin-top: 16px;
    font-size: 14px;
    line-height: 22px;
  }

  .hyundaicard-embed--portrait {
    width: min(100%, 320px);
    height: auto;
    padding-top: 0;
    aspect-ratio: 9 / 16;
  }

  .hyundaicard-extra-videos {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    margin-top: 20px;
  }

  .hyundaicard-video {
    flex: none;
    width: 100%;
  }

  .hyundaicard-video h4 {
    margin-bottom: 12px;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
  }

  .footer {
    height: calc(var(--vh, 1svh) * 10);
  }

  .menuSelectorWrapper {
    margin-top: calc(var(--vh, 1svh) * 5);
    font-size: 2.4rem;
  }
}

@media screen and (max-width: 430px) {
  .header {
    width: 100%;
    height: 12%;
  }
}
