@font-face {
    font-family: 'Alimama ShuHeiTi';
    font-style: normal;
    font-weight: 700;
    src: local('Alimama ShuHeiTi Bold'), local('SimHei'), sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Alimama ShuHeiTi', 'Microsoft YaHei', sans-serif;
    background-color: white;
}

.main-header {
    width: 100%;
    background-color: rgba(34, 33, 37, 1);
    color: white;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    height: 53px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
}

.main-content {
    width: 1280px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 0;
    gap: 0;
}

.left-section {
    width: 260px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.middle-section {
    width: 760px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.middle-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.right-section {
    width: 260px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.content-img {
    width: 100%;
    height: auto;
    display: block;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    margin-right: auto; 
}

.main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 700;
    transition: opacity 0.3s;
}

.main-nav a:hover {
    opacity: 0.8;
}

.header-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bottom-section {
    width: 1280px;
    max-width: 100%;
    height: 488px;
    margin: 0 auto;
    position: relative;
    background-color: #F5F5F5; 
}

.bottom-rect {
    display: none;
}

.bottom-content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
}

.bottom-col-left, .bottom-col-right {
    flex: 1;
}

.bottom-col-middle {
    width: 760px;
    flex-shrink: 0;
    display: flex;
    align-items: center; 
    justify-content: center;
    position: relative;
    padding-bottom: 0; 
}

.profile-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 371px;
    padding: 20px;
    gap: 20px;
    background-color: white; 
    border-radius: 20px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.profile-photo {
    width: 250px;
    height: auto;
    border: 5px solid white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.profile-details {
    color: black;
    font-family: 'Alimama ShuHeiTi', sans-serif;
    text-align: left;
    margin-right: 100px;
}

.profile-details h3 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
    color: black; 
}

.profile-details li {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 3px;
    color: black; 
}

.white-card {
    background-color: white;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    padding: 20px;
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.white-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.campus-section {
    width: 1280px;
    max-width: 100%;
    height: 407px;
    background-color: #F5F5F5; 
    margin: 0 auto;
    display: flex; 
}

.campus-col-middle {
    width: 760px;
    flex-shrink: 0;
    height: 100%;
}

.campus-main-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.campus-col-left, .campus-col-right {
    flex: 1;
    height: 100%;
    background-color: transparent;
}

.campus-text {
    flex: 1;
    padding-right: 40px;
    font-family: 'Alimama ShuHeiTi', sans-serif;
    color: #333;
}

.campus-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
}

.campus-text ul {
    list-style: disc; 
    padding-left: 20px;
}

.campus-text li {
    font-size: 14px;
    line-height: 1.5; 
    margin-bottom: 5px; 
    color: #444;
}

.campus-img-container {
    width: 300px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.campus-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.skills-section {
    width: 1280px;
    max-width: 100%;
    height: 84px;
    margin: 0 auto;
    display: flex;
    background-color: #F5F5F5; 
}

.skills-col-left, .skills-col-right {
    flex: 1;
}

.skills-col-middle {
    width: 760px;
    flex-shrink: 0;
    display: flex;
    align-items: center; 
    justify-content: center; 
}

.skills-text {
    font-family: 'Alimama ShuHeiTi', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: black; 
}

.gallery-section {
    width: 1280px;
    max-width: 100%;
    height: 680px; 
    margin: 0 auto;
    display: flex;
    background-color: #F5F5F5; 
}

.gallery-col-left, .gallery-col-right {
    flex: 1;
}

.gallery-col-middle {
    width: 760px;
    flex-shrink: 0;
    position: relative;
    height: 100%;
}

.gallery-item {
    width: 360px; 
    position: absolute;
    display: flex;
    flex-direction: column;
}

.gallery-img {
    width: 100%;
    height: 160px; 
    object-fit: cover; 
    display: block;
    border-radius: 10px; 
}

.gallery-text {
    width: 100%;
    font-size: 12px;
    font-family: 'Alimama ShuHeiTi', sans-serif; 
    color: black; 
    margin-top: 5px; 
    line-height: 1.5;
    word-wrap: break-word;
}

.gallery-item-1 {
    top: 0;
    left: 0;
}

.gallery-item-3 {
    top: 0;
    right: 0;
}

.gallery-item-2 {
    top: 50%; 
    left: 0;
}

.gallery-item-4 {
    top: 50%;
    right: 0;
}

.self-eval-section {
    width: 1280px;
    max-width: 100%;
    height: 73px;
    margin: 0 auto;
    display: flex;
    background-color: #F5F5F5; 
}

.self-eval-col-left, .self-eval-col-right {
    flex: 1;
}

.self-eval-col-middle {
    width: 760px;
    flex-shrink: 0;
    display: flex;
    align-items: center; 
    justify-content: center; 
}

.self-eval-text {
    font-family: 'Alimama ShuHeiTi', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: black;
}

.self-eval-details-section {
    width: 1280px;
    max-width: 100%;
    height: 299px;
    margin: 0 auto;
    display: flex;
    background-color: #F5F5F5; 
}

.self-eval-details-col-left, .self-eval-details-col-right {
    flex: 1;
}

.self-eval-details-col-middle {
    width: 760px;
    flex-shrink: 0;
    display: flex;
    align-items: center; 
    justify-content: space-between;
    position: relative;
}

.self-eval-content-text {
    width: 60%; 
    font-size: 14px; 
    color: black;
    line-height: 1.6;
    text-align: left;
    font-family: 'Alimama ShuHeiTi', sans-serif;
}

.self-eval-content-img-container {
    width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.self-eval-content-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.gallery-section .white-card {
    padding: 20px; 
    overflow: hidden; 
    height: 320px; 
    display: flex;
    flex-direction: column;
}

.campus-main-inner.white-card {
    padding: 20px;
    justify-content: space-between;
    flex-direction: row; 
}
.self-eval-details-section .white-card {
    flex-direction: row; 
    align-items: center;
    justify-content: space-between;
}
.skills-section .white-card, .self-eval-section .white-card {
    align-items: flex-start; 
    justify-content: center; 
}

.footer-section {
    width: 1280px;
    max-width: 100%;
    height: 135px;
    margin: 0 auto;
    display: flex;
    background-color: #F5F5F5;
}

.footer-col-left, .footer-col-right {
    flex: 1;
}

.footer-col-middle {
    width: 760px;
    flex-shrink: 0;
    position: relative;
}


@media (max-width: 768px) {
    .header-container {
        height: auto;
        flex-direction: column;
        padding: 10px;
    }

    .main-nav {
        margin: 10px 0;
        width: 100%;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .logo {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .main-content {
        flex-direction: column;
        padding: 10px;
        width: 100%;
    }

    .left-section, .middle-section, .right-section {
        flex: 0 0 100%;
        width: 100%;
    }

    .bottom-section {
        width: 100%;
        height: auto;
        min-height: 488px;
    }

    .bottom-content {
        flex-direction: column;
    }

    .bottom-col-left, .bottom-col-middle, .bottom-col-right {
        width: 100%;
        flex: 0 0 auto;
    }

    .profile-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        gap: 30px;
    }

    .campus-section {
        width: 100%;
        height: auto;
        flex-direction: column;
        padding: 20px;
    }

    .campus-col-left, .campus-col-middle, .campus-col-right {
        width: 100%;
        flex: 0 0 auto;
    }

    .campus-col-middle {
        flex-direction: column;
        gap: 30px;
    }

    .campus-text {
        padding-right: 0;
    }

    .campus-img-container {
        width: 100%;
        height: auto;
    }

    .skills-section {
        width: 100%;
        height: auto;
        flex-direction: column;
        padding: 20px;
    }

    .skills-col-left, .skills-col-middle, .skills-col-right {
        width: 100%;
        flex: 0 0 auto;
    }

    .gallery-section {
        width: 100%;
        height: auto;
        flex-direction: column;
        padding: 20px;
    }

    .gallery-col-middle {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .gallery-item {
        position: static;
        width: 100%;
        max-width: 350px;
    }

    .self-eval-section {
        width: 100%;
        height: auto;
        flex-direction: column;
        padding: 20px;
    }

    .self-eval-col-left, .self-eval-col-middle, .self-eval-col-right {
        width: 100%;
        flex: 0 0 auto;
    }

    .self-eval-details-section {
        width: 100%;
        height: auto;
        flex-direction: column;
        padding: 20px;
    }

    .self-eval-details-col-middle {
        width: 100%;
        flex-direction: column;
        gap: 20px;
    }

    .self-eval-content-text {
        width: 100%;
    }

    .self-eval-content-img-container {
        width: 100%;
        max-width: 300px;
    }

    .footer-section {
        width: 100%;
        height: auto;
        min-height: 135px;
        flex-direction: column;
    }

    .footer-col-left, .footer-col-middle, .footer-col-right {
        width: 100%;
        flex: 0 0 auto;
    }
}
