/* styles.css */
body, html {
    margin: 0;
    padding: 0;
    font-family: "Source Han Sans CN";
    overflow-x: hidden;
    scroll-behavior: smooth;
    
    background-color: #0D0406;

    cursor: url('./img/cursor.svg'), auto;
    user-select: none;
}

header {
    display: flex;
    position: fixed;

    top: 0;
    width: 100vw;
    height: 84px;
    padding: 0px 72px;
    justify-content: space-between;
    align-items: flex-start;
    box-sizing: border-box;
}

.logo {
    color: #FFF;
    display: flex;
    height: 84px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;

    font-size: 36px;
    font-weight: bold;
}

.header-menu {
    display: block;
    padding: 0px 20px 0px 20px;
    height: 84px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    align-self: stretch;

    border-radius: 0px 0px 24px 24px;
    background: #FFF;

    transition: height 0.3s ease-in-out;
}

.header-menu hr {
    border: #0D0406;
    height: 1px;
    color: #0D0406;
    background-color: #0D0406;
}

.header-menu-unit a {
    color: #0D0406;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
    cursor: url('./img/cursor.svg'), auto;
}

.header-menu:hover {
    height: 264px;
}

.header-menu:hover #dropdown {
    display: block;
}

#dropdown {
    display: none;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
}

main {
    max-width: 100%;
    margin: 0 auto;
}

section {
    margin-bottom: 50px;
}

.full-screen-div {
    flex: 1;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

}

.intro-container {
    display: flex;
    flex: 1 0 0;
    
    align-items: center;
    padding: 0px 192px;
    gap: 48px;
    flex-shrink: 0;
}

.profile-image {
    width: 400px;
    height: 400px;
    flex-shrink: 0;
    border-radius: 12px;
}

.profile-image img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.intro-text {
    flex: 1 0 0;

    color: #FFF;
    font-family: "Source Han Sans CN";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    line-height: 1.2;
}

.custom-email-link {
    color: #ffffff;
    text-decoration: none;
}

.custom-email-link:hover {
    text-decoration: underline;
}

.project-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-card {
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 12px;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.redirect-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: black;
    background-color: white;
    border: 2px solid black;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.redirect-button:hover {
    background-color: black;
    color: white;
}

.experience-content {
    padding: 0px 192px;
    color: #FFF;
}