
:root {
    --primary-color: #4a90e2;
    --background-color: #f7f9fc;
    --card-background: #ffffff;
    --text-color: #333;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    margin: 0;
    color: var(--text-color);
    background-color: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    overflow: hidden; /* Hide scrollbars caused by the canvas */
}

#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Place the canvas behind other content */
}

main {
    position: relative; /* Ensure the main content is on top of the canvas */
    z-index: 1;
}

.profile-card {
    background: var(--card-background);
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
    overflow: hidden;
    max-width: 600px;
    width: 100%;
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px); /* Add a blur effect to the background */
    background-color: rgba(255, 255, 255, 0.8); /* Make the card slightly transparent */
}

.profile-card:hover {
    transform: translateY(-5px);
}

.profile-header {
    background: linear-gradient(135deg, #4a90e2, #246bbd);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.profile-picture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
}

.profile-body {
    padding: 2rem;
}

section {
    margin-bottom: 2rem;
}

section:last-child {
    margin-bottom: 0;
}

h2 {
    color: var(--primary-color);
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    margin-bottom: 0.5rem;
    background: #f0f4f8;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 600px) {
    body {
        padding: 1rem;
    }
    .profile-header {
        padding: 1.5rem;
    }
    .profile-body {
        padding: 1.5rem;
    }
}
