* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(80px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* 글자 폰트랑 배경색 지정하는 부분, color는 기본 글자 색상 */
body {
    font-family: 'Pretendard', sans-serif;
    background-color: #FFFFFF;
    color: #000;
    overflow-x: hidden;
    /* 이건 가로 스크롤바 숨기는 옵션 */
}

header {
    position: relative;
    width: 100%;
}


/* 배경 이미지 */
header .header-background {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* 상단 로고 */
header .top-logo {
    position: absolute;
    top: 30px;
    left: 46px;
    width: 201px;
    height: auto;
    z-index: 10;
}

main {
    text-align: center;
    /* 중앙 정렬, 건들지 않길 권장 */
    position: relative;
    padding: 0px 0px 0px 77px;
    /* 패딩값 */
}

/* 제목 */
.title {
  display: flex;
  align-items: center;
  justify-content: left;
  font-weight: 600;
  margin-bottom: 217px;
  margin-top: 158px;
  font-weight: 600;
    font-size: 200px;

        opacity: 0;
    transform: translateY(80px);
    animation: fadeUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.5s;
}

.container {
      display: flex;
      align-items: flex-start;
      gap: 31px;
      margin-left: 18px;
      margin-bottom: 340px;
    }

    .map {
      width: 1276px;      /* 필요하면 조절 가능 */
      flex-shrink: 0;
    }

    .map img {
      width: 100%;
      height: auto;
      display: block;
    }

    .text-box {
        text-align: left;
        margin-top: auto;
        
        width: 463px;
      font-size: 32px;
      font-weight: 600;
      line-height: 41px;
    }


footer {
    position: relative;
    width: 100%;
    height: 150px;
    text-align: center;
    padding: 40px 40px 20px;
    font-size: 16px;
    color: #000;
    background: linear-gradient(to bottom,
            #FFFFFF 30%,
            #2DBFFF 100%);
    align-content: end;

    z-index: 1;
}

/* 건들지 말자 */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    z-index: 2;
    position: relative;
    width: 100%;
    margin-bottom: 10px;

}

.footer-logo {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin: 0 40px;
}

/* 하단 로고 이미지 */
.footer-logo img {
    width: 218px;
    /* 가로 크기 */
    /* 최대 가로 너비를 지정해줌, 없어도 됌 */
}

@media (max-width: 768px) {
   .header-info {
        left: 20px;
        top: 20px;
        font-size: 10px;
    }

    header .header-background {
        height: 150px;
    }

    header .top-logo {
        top: 20px;
        left: 20px;
        width: 67px;
    }

    main {
        padding: 0;
    }


    .title {
  font-weight: 600;
  margin-bottom: 252px;
  margin-top: 21px;
  margin-left: 28px;
  font-weight: 600;
    font-size: 47px;
}

 .container {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 100px;
    margin-left: 0;
  }
  .map { 
    order: 2;        /* 이미지 두 번째로 */
    width: 337px;
    margin: 0;
  }
  .text-box {
    order: 1;        /* 텍스트 첫 번째로 */
    width: 337px;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
    margin: 0;
  }

    /* ✅ 3) footer가 모바일에서도 수평 유지 */
    .footer-content {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        flex-wrap: wrap;
        z-index: 2;
        position: relative;
        /* max-width: 900px; */
        margin: 0;
    }

    footer {
        height: 60px;
        background: linear-gradient(to bottom, #FFFFFF 0%, #2DBFFF 100%);
        padding: 0px 20px 10px 20px;
        margin-top: 0px;
    }

    /* ✅ 3개의 요소를 각각 33% 너비로 강제 */
    .footer-content>p,
    .footer-content>.footer-logo {
        width: 33.33%;
        text-align: center;
        overflow: hidden;
        /* 혹시 모를 넘침 방지 */
        white-space: nowrap;
        /* 줄바꿈 금지 */
        margin: 0px;
    }

    /* ✅ 로고 이미지 크기 축소 */
    .footer-logo img {
        width: 90px;
        height: auto;
    }

    /* ✅ 글자 크기도 모바일 사이즈로 줄이기 */
    .footer-content p {
        font-size: 7px;
        line-height: 1.2;
    }
}