* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(80px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.active {
    animation: fadeUp 0.8s ease forwards;
}


/* 글자 폰트랑 배경색 지정하는 부분, 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;
}

/* 돌아가기 버튼 */
header .back-button {
    position: absolute;
    top: 21px;
    right: 72px;
    width: 32px;
    height: auto;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s ease;
}

main {
    text-align: center;
    /* 중앙 정렬, 건들지 않길 권장 */
    position: relative;
    padding: 222px 0px 150px;
    /* 패딩값 */
}

.content {
    /* ✅ 중앙 정렬, 흰색 페이지 */
    margin: 0 0;
    padding: 0px 100px;
}

/* 상단 포스터 + 소개문 */
.intro-section {
    display: flex;
    justify-content: space-between;
    margin: 0px 70px;
}

.intro-section img {
    width: 586px;
    height: 846px;
    object-fit: cover;
}

.intro-text {
    text-align: right;
    width: 866px;
    font-size: 24px;
    font-weight: 600;
}

.divider {
    width: 100%;
    height: 1px;
    background: #000000;
    margin: 190px 54px;
}

.section-text {
    margin: 0 70px;
}

.intro-video-wrap {
    width: 100%;
    margin: 286px 0 287px 0;        /* 위아래 여백 */
    display: flex;
    justify-content: center;
}

.intro-video {
    width: 2181px;
    height: 1227px;
    border-radius: 8px;
    display: block;
    background: transparent;
}

.section-title {
  font-weight: 600;
  font-size: 40px;
  margin-bottom: 100px;
  text-align: left;   /* ✅ 명시적으로 좌정렬 */
}

.schedule-item {
  display: grid;
  grid-template-columns: 269px 260px;  /* ✅ 날짜 160px 고정, 오른쪽은 자동 */
  margin-bottom: 35px;
  font-size: 30px;
  gap: 283px;
}
.schedule-item span {
  text-align: left;  /* ✅ 양쪽 모두 좌정렬 */
}

.schedule-item .right {
  text-align: right;  /* ✅ 양쪽 모두 좌정렬 */
}

/* 졸준위 */
.committee-row {
    display: flex;
    margin-bottom: 80px;
    font-size: 30px;
}

.committee-role {
    text-align: left;
    width: 130px;
    font-weight: 700;
    margin-right: 128px;
}

.committee-names span {
    margin-right: 80px;
}

.prof-list {
    text-align: left;
}
/* 지도 교수 */
.prof-list span {
    margin-right: 80px;
    font-size: 30px;
}

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 img.gradient {
    /* position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    object-fit: cover;
    z-index: -1; */
    display: none;
}

/* 건들지 말자 */
.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;
    /* 가로 크기 */
    /* 최대 가로 너비를 지정해줌, 없어도 됌 */
}

.intro-text { display: block; }  /* PC에서만 */
.intro-paragraph { display: none; } /* 기본적으로 숨김 */

@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 {
        align-content: center;
        padding: 0px 0px;
    }
    .content {
        padding: 0px 0px;
    }

    .intro-section {
          flex-direction: column;
    align-items: center;
    margin: 0;
    }

    .intro-section img {
        width: 330px;
        height: 476px;
        margin-bottom: 40px;
        margin-top: 50px;
    }
    .intro-text { display: none; }
  .intro-paragraph { 
    display: block;
    width: 90vw;
    max-width: 330px;
    margin: 0 auto 26px auto;
    font-size: 12px;
    font-weight: 600;
    word-break: keep-all;
    text-align: left;
  }
  .intro-paragraph.en {
    text-align: right;
  }

  .divider {
    width: auto;
    height: 1px;
    background: #000000;
    margin: 46px 44px;
}

  .intro-video-wrap {
    width: 100%;
    margin: 11px 0 0 0;        /* 위아래 여백 */
    display: flex;
    justify-content: center;
}

.intro-video {
    width: 837px;
    height: 471px;
    border-radius: 8px;
    display: block;
    background: transparent;
}

.section-text {
    margin: 0 42px;
}

.section-title {
  font-weight: 600;
  font-size: 25px;
  margin-bottom: 40px;
  text-align: left;   /* ✅ 명시적으로 좌정렬 */
}

.schedule-item {
  display: grid;
  grid-template-columns: 118px 108px;  /* ✅ 날짜 160px 고정, 오른쪽은 자동 */
  margin-bottom: 15px;
  font-size: 13px;
  gap: 91px;
}
.schedule-item span {
  text-align: left;  /* ✅ 양쪽 모두 좌정렬 */
}

.schedule-item .right {
  text-align: right;  /* ✅ 양쪽 모두 좌정렬 */
}

/* 졸준위 */
.committee-row {
    display: flex;
    margin-bottom: 40px;
    font-size: 13px;
}

.committee-role {
    text-align: left;
    width: 45px;
    font-weight: 700;
    margin-right: 30px;
}

.committee-names span {
    margin-right: 30px;
}

.prof-list {
    text-align: left;
        margin-bottom: 50px;
}
/* 지도 교수 */
.prof-list span {
    margin-right: 30px;
    font-size: 13px;
}

    /* ✅ 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;
    }
}