@import 'reset.css';

:root {
  --button-color: #3692ff;
  --bg-color: #cfe5ff;
  --main-font-color: #374151;
  --secondary-font-color: #e5e7eb;
  --button-hover-color: #1967d6;
  --button-active-color: #1251aa;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff')
    format('woff');
  font-weight: 400;
  font-style: normal;
}

.header {
  width: 100%;
  height: 7rem;
  position: fixed;
  background-color: #ffffff;
  top: 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.95rem 20rem;
}

.header-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 12.8rem;
  height: 4.8rem;
  padding: 1.2rem 2.3rem;
  border-radius: 0.8rem;
  background-color: var(--button-color);
  color: #ffffff;
  border: 0.1rem solid var(--button-color);
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
  font-size: 1.6rem;
}

.topLanding {
  width: 100%;
  height: 54rem;
  background-color: var(--bg-color);
  display: flex;
  justify-content: center;
  margin-top: 7rem;
}

.top-content {
  display: flex;
  align-items: end;
  gap: 0.7rem;
}

.top-content-text {
  display: flex-col;
  justify-content: center;
  margin: 4rem 0;
  flex-shrink: 0;
}

.top-content-text h2 {
  line-height: 5.6rem;
  color: var(--main-font-color);
  font-size: 4rem;
  font-weight: 700;
}

.section {
  width: 100%;
  display: flex-col;
  align-items: center;
}

.section-content {
  width: 100%;
  height: 72rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-card {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6.4rem;
  width: 98.8rem;
}

.section-text {
  display: flex-col;
  flex-shrink: 0;
  gap: 1.2rem;
}

.section-text.card1 {
  padding-right: 2.4rem;
}

.section-text.card2 {
  text-align: right;
}

.section-text-tag {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--button-color);
  line-height: 2.6rem;
}

.section-text-title {
  color: var(--main-font-color);
  font-size: 4rem;
  font-weight: 700;
  line-height: 5.6rem;
  margin-top: 1.2rem;
}

.section-text-subtitle {
  color: var(--main-font-color);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 3.2rem;
  margin-top: 2.4rem;
}

.bottomLanding {
  width: 100%;
  height: 54rem;
  background-color: var(--bg-color);
  display: flex;
  justify-content: center;
  margin-top: 13.8rem;
}

.bottom-content {
  display: flex;
  align-items: end;
  gap: 6.9rem;
  flex-shrink: 0;
}

.bottom-content-text {
  display: flex-col;
  justify-content: center;
  margin: 4rem 0;
  flex-shrink: 0;
  gap: 1rem;
  padding-bottom: 6rem;
  margin: 11.25rem 0;
}

.bottom-content-text h2 {
  font-weight: 700;
  font-size: 4rem;
  color: var(--main-font-color);
  line-height: 140%;
}

.footer {
  height: 16rem;
  background-color: #111827;
}

.items-button {
  margin-top: 3.2rem;
  margin-bottom: 6rem;
  background-color: var(--button-color);
  color: #ffffff;
  padding: 1.6rem 12.4rem;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border: 0.1rem solid var(--button-color);
  border-radius: 4rem;
  cursor: pointer;
  font-size: 1.6rem;
}

.footer-content {
  font-size: 1.6rem;
  display: flex;
  height: 2rem;
  padding: 3.2rem 40rem 10.8rem 40rem;
  justify-content: space-between;
}

.footer-left-text {
  font-size: 1.6rem;
  flex-shrink: 0;
  color: #9ca3af;
  font-weight: 400;
}

.footer-left-text p {
  font-size: 1.6rem;
}

.footer-middle-text {
  font-size: 1.6rem;
  display: flex;
  gap: 3rem;
  flex-shrink: 0;
}

.footer-middle-text a {
  font-size: 1.6rem;
  color: var(--secondary-font-color);
  font-weight: 400;
  text-decoration: none;
}

.footer-icons {
  display: flex;
  flex-shrink: 0;
  gap: 1.2rem;
}

.footer-icons img {
  width: 2rem;
  height: 2rem;
}

.button:hover {
  background-color: var(--button-hover-color);
  border: 0.1rem solid var(--button-hover-color);
}

.button:active {
  background-color: var(--button-active-color);
  border: 0.1rem solid var(--button-active-color);
}

.logoImg {
  width: 15.3rem;
  height: 5.1rem;
}

.topLandingImg {
  width: 74.6rem;
  height: 34rem;
}

.section-Img {
  width: 57.9rem;
  height: 44.4rem;
}

.bottomLandingImg {
  width: 74.6rem;
  height: 39.7rem;
}
/* ******************************************************************* */
/* 태블릿 */
@media (min-width: 768px) and (max-width: 1199px) {
  .header-content {
    margin: 0.95rem 2.4rem;
  }

  .topLanding {
    width: 100%;
    height: 77.1rem;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    margin-top: 7rem;
  }

  .top-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
  }

  .top-content-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 4rem 0;
    flex-shrink: 0;
  }

  .top-content-text h2 {
    text-align: center;
  }

  .section {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 2.4rem;
    gap: 5.2rem;
  }

  .section-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
  }

  .section-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.4rem;
    width: 70.6rem;
  }

  .section-card.reverse {
    flex-direction: column-reverse;
  }

  .section-text {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 1.4rem;
  }

  .section-text.card1 {
    justify-content: start;
  }

  .section-text.card2 {
    text-align: right;
    justify-content: end;
  }

  .section-text-tag {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--button-color);
  }

  .section-text-title {
    color: var(--main-font-color);
    font-size: 3.2rem;
    font-weight: 700;
  }

  .section-text-subtitle {
    color: var(--main-font-color);
    font-size: 1.8rem;
    font-weight: 500;
  }

  .bottomLanding {
    width: 100%;
    height: 92.7rem;
    background-color: var(--bg-color);
    display: flex;
    align-items: end;
    justify-content: center;
    margin-top: 13.8rem;
  }

  .bottom-content {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    gap: 6.9rem;
    flex-shrink: 0;
  }

  .bottom-content-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    gap: 1rem;
    padding-bottom: 6rem;
    margin: 11.25rem 0;
    line-height: 140%;
  }

  .bottom-content-text h2 {
    font-weight: 700;
    font-size: 4rem;
    color: var(--main-font-color);
  }

  .footer {
    width: 100%;
    height: 16rem;
    background-color: #111827;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .items-button {
    margin-top: 3.2rem;
    margin-bottom: 6rem;
    background-color: var(--button-color);
    color: #ffffff;
    padding: 1.6rem 12.4rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border: 0.1rem solid var(--button-color);
    border-radius: 4rem;
    cursor: pointer;
    font-size: 1.6rem;
  }

  .footer-content {
    font-size: 1.6rem;
    display: flex;
    height: 2rem;
    gap: 7rem;
    padding: 3.2rem 1rem 10.8rem 1rem;
    justify-content: space-between;
  }

  .footer-left-text p {
    font-size: 1.6rem;
    flex-shrink: 1;
    color: #9ca3af;
    font-weight: 400;
  }

  .footer-middle-text {
    font-size: 1.6rem;
    display: flex;
    gap: 3rem;
    flex-shrink: 1;
  }

  .footer-middle-text a {
    font-size: 1.6rem;
    color: var(--secondary-font-color);
    font-weight: 400;
    text-decoration: none;
  }

  .footer-icons {
    display: flex;
    flex-shrink: 1;
    gap: 1.2rem;
  }

  .footer-icons img {
    width: 2rem;
    height: 2rem;
  }

  .button:hover {
    background-color: var(--button-hover-color);
    border: 0.1rem solid var(--button-hover-color);
  }

  .button:active {
    background-color: var(--button-active-color);
    border: 0.1rem solid var(--button-active-color);
  }

  .logoImg {
    width: 15.3rem;
    height: 5.1rem;
  }

  .topLandingImg {
    width: 74.6rem;
    height: 34rem;
  }

  .section-Img {
    width: 69.6rem;
    height: 52.4rem;
  }

  .bottomLandingImg {
    width: 74.6rem;
    height: 39.7rem;
  }
}

/* 모바일 */
@media (max-width: 767px) {
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.95rem 2.4rem;
  }

  .topLanding {
    width: 100%;
    height: 54rem;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    margin-top: 7rem;
  }

  .top-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
  }

  .top-content-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 4rem 0;
    flex-shrink: 0;
  }

  .top-content-text h2 {
    color: var(--main-font-color);
    font-size: 3.2rem;
    font-weight: 700;
    text-align: center;
  }

  .section {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 5.2rem;
    gap: 4rem;
  }

  .section-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    height: 41.7rem;
  }

  .section-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.6rem;
    width: 100%;
  }

  .section-card.reverse {
    flex-direction: column-reverse;
  }

  .section-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 2rem;
  }

  .section-text.card1 {
    justify-content: start;
  }

  .section-text.card2 {
    text-align: right;
    justify-content: end;
  }

  .section-text-tag {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--button-color);
  }

  .section-text-title {
    color: var(--main-font-color);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
  }

  .section-text-subtitle {
    color: var(--main-font-color);
    font-size: 1.6rem;
    font-weight: 500;
  }

  .bottomLanding {
    width: 100%;
    height: 54rem;
    background-color: var(--bg-color);
    display: flex;
    align-items: end;
    justify-content: center;
    margin-top: 13.8rem;
  }

  .bottom-content {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    gap: 6.9rem;
    flex-shrink: 0;
  }

  .bottom-content-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    gap: 1rem;
    padding-bottom: 6rem;
    margin: 3.25rem 0;
    font-size: 4rem;
    line-height: 140%;
    text-align: center;
  }

  .bottom-content-text h2 {
    font-weight: 700;
    font-size: 4rem;
    color: var(--main-font-color);
  }

  .footer {
    width: 100%;
    height: 16rem;
    background-color: #111827;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .items-button {
    margin-top: 3.2rem;
    margin-bottom: 6rem;
    background-color: var(--button-color);
    color: #ffffff;
    padding: 1.2rem 7.1rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border: 0.1rem solid var(--button-color);
    border-radius: 4rem;
    cursor: pointer;
    font-size: 1.6rem;
    width: 240px;
  }

  .footer-content {
    font-size: 1.6rem;
    display: grid;
    grid-template-areas:
      'item2 item2 item3'
      'item1 item1 item1';
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 2rem;
    gap: 7rem;
    padding: 3.2rem 1rem 10.8rem 1rem;
    align-items: center;
  }

  .footer-left-text {
    grid-area: item1;
  }

  .footer-left-text p {
    font-size: 1.6rem;
    flex-shrink: 1;
    color: #9ca3af;
    font-weight: 400;
  }

  .footer-middle-text,
  .footer-icons {
    justify-content: space-between;
    width: 100%;
  }

  .footer-middle-text {
    font-size: 1.6rem;
    display: flex;
    gap: 3rem;
    flex-shrink: 1;
    grid-area: item2;
  }

  .footer-middle-text a {
    font-size: 1.6rem;
    color: var(--secondary-font-color);
    font-weight: 400;
    text-decoration: none;
  }

  .footer-icons {
    display: flex;
    flex-shrink: 1;
    gap: 1.2rem;
    grid-area: item3;
  }

  .footer-icons img {
    width: 2rem;
    height: 2rem;
  }

  .button:hover {
    background-color: var(--button-hover-color);
    border: 0.1rem solid var(--button-hover-color);
  }

  .button:active {
    background-color: var(--button-active-color);
    border: 0.1rem solid var(--button-active-color);
  }

  .logoImg {
    content: url('/images/mobileLogo.png');
    width: 15.3rem;
    height: 5.1rem;
  }

  .topLandingImg {
    width: 44.8rem;
    height: 20.4rem;
  }

  .section-Img {
    width: 34.4rem;
    height: 25.9rem;
  }

  .bottomLandingImg {
    width: 37.5rem;
    height: 19.8rem;
  }
}
