/* 마크x 랜딩페이지 메인 스타일 코드 */

/* sss 랜딩페이지 seciton1 스타일 코드 */

/* 섹션1 스타일 */
.section_1 {
  width: 100%;

  background-image: url("/img/markx_landing/markx_main_back.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* height: 1080px; */
}

.section_1_article {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  /* 기본적으로 모든 요소 사이에 20px의 간격을 줌 */
  gap: 20px;
  padding-top: 296px;
  padding-bottom: 160px;
}

.markx_title {
  color: #313743;
  text-align: center;
  font-family: Poppins;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 36px; /* 100% */
}
.section_1_title {
  color: #313743;
  text-align: center;
  font-family: Pretendard;
  font-size: 56px;
  font-style: normal;
  font-weight: 700;
  line-height: 56px; /* 100% */
  letter-spacing: -1.68px;
}
.markx_pink_text {
  background: linear-gradient(90deg, #e64e85 0%, #e67324 50%, #c7e640 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section_1_text {
  padding-top: 8px;
  color: #434d62;
  text-align: center;
  font-family: Pretendard;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5; /* 100% */
  letter-spacing: -0.6px;
}

/* 버튼 부분 */
.btn_container {
  padding-top: 20px;
  display: flex;
  gap: 24px;
  align-items: center;
}

.section1_btn {
  /* 버튼 기본 스타일 제거 */
  border: none;
  outline: none;
  background: none;
  box-shadow: none;

  cursor: pointer;
  padding: 20px 0px;
  width: 205px;
  /* height: 60px; */
  flex-shrink: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #ff5694 0%, #ff8028 50%, #ddff47 100%);
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);

  /* 버튼 속 글자 스타일  */
  color: #fff;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  font-family: Pretendard;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px; /* 100% */
  letter-spacing: -0.6px;
}

.contact_btn {
  background: #ff5694;
  width: 168px;
}

.service_box_container {
  padding-top: 172px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.service_box_container > span {
  color: #434d62;
  text-align: center;
  font-family: Pretendard;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px; /* 100% */
  letter-spacing: -0.72px;
}
.service_box_btn {
  width: 800px;
  height: 84px;
  flex-shrink: 0;
  /* border-radius: 43px; */
  border: 2px solid #ff5694;
  background: #fff;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* 버튼 속 글자 */
.service_box_btn_text {
  text-align: center;
  font-family: Pretendard;
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px; /* 100% */
  letter-spacing: -0.84px;
  background: linear-gradient(90deg, #e64e85 0%, #e67324 50%, #c7e640 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 3d 애니메이션 부분 */
:root {
  --size-x: 600px;
  --size-y: 80px;
  --depth: 80px;
}

.scene {
  width: var(--size-x);
  height: var(--size-y);
  perspective: 1200px;
  margin-top: 20px;
  position: relative;
}

.cube {
  width: var(--size-x);
  height: var(--size-y);
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(0deg);
  transition: transform 1s ease;
}

.cube .service_box_btn {
  position: absolute;
  box-sizing: border-box;
  width: var(--size-x);
  height: var(--size-y);
  /* border-radius: 43px; */
  border: 2px solid #ff5694;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backface-visibility: visible;
}

/* 앞/뒤 */
.front,
.back {
  width: var(--size-x);
  height: var(--size-y);
}

.front {
  transform: translateZ(calc(var(--depth) / 2));
}

.back {
  transform: rotateX(180deg) translateZ(calc(var(--depth) / 2));
}

/* 위/아래 */
.top,
.bottom {
  width: var(--size-x);
  height: var(--depth);
}

.top {
  transform: rotateX(90deg) translateZ(calc(var(--size-y) / 2));
}

.bottom {
  transform: rotateX(-90deg) translateZ(calc(var(--size-y) / 2));
}
