* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    text-align: center;
    transition: backdrop-filter 0.3s ease;
}

body.blur-background {
    backdrop-filter: blur(10px);
}

.container {
    max-width: 1000px;
    width: 100%;
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid transparent;
    background: linear-gradient(45deg, #ff9a9e, #fad0c4, #fbc2eb, #a6c1ee, #fbc2eb, #ff9a9e);
    background-size: 200% 200%;
    box-shadow: 0 0 20px rgba(255, 154, 158, 0.8), 0 0 40px rgba(251, 194, 235, 0.8), 0 0 60px rgba(166, 193, 238, 0.8);
    animation: float 3s ease-in-out infinite, glowBorder 4s linear infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes glowBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.header {
    font-size: 48px;
    font-weight: bold;
    margin: 15px 0;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header .hyun {
    font-family: 'Montserrat', sans-serif;
    color: #bb86fc;
    text-shadow: 0 0 10px #bb86fc, 0 0 20px #bb86fc, 0 0 30px #bb86fc;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px #bb86fc, 0 0 20px #bb86fc, 0 0 30px #bb86fc; }
    to { text-shadow: 0 0 20px #bb86fc, 0 0 30px #bb86fc, 0 0 40px #bb86fc; }
}

.description {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ddd;
}

.purpleText {
    color: #bb86fc;
}

.textBackground {
    background: rgba(187, 134, 252, 0.2);
    padding: 2px 8px;
    border-radius: 5px;
}

.projectList {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.projectItem {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, background 0.3s ease;
    text-decoration: none;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.projectItem:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.3);
}

.projectItem h1 {
    font-size: 18px;
    margin-bottom: 5px;
}

.projectItem p {
    font-size: 14px;
    color: #ddd;
}

.footer {
    font-size: 14px;
    color: #ddd;
    margin-top: 30px;
}

.footer a {
    color: #bb86fc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #fff;
}

.contact-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    padding: 30px;
    border-radius: 15px;
    color: white;
    text-align: left;
    width: 400px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    animation: slideUp 0.5s ease-out;
    z-index: 1000;
}

@keyframes slideUp {
    from { opacity: 0; transform: translate(-50%, -40%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

.close-btn {
    cursor: pointer;
    color: #bb86fc;
    font-size: 20px;
    text-align: right;
    margin-bottom: 10px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-block {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    transition: background 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-block:hover {
    background: rgba(255, 255, 255, 0.2);
}

.contact-block h3 {
    font-size: 16px;
    margin: 0;
    color: #bb86fc;
}

.contact-block p {
    font-size: 14px;
    margin: 0;
    color: #ddd;
}

.contact-block a {
    color: #bb86fc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-block a:hover {
    color: #fff;
}

@media (max-width: 600px) {
    .header { font-size: 36px; }
    .description { font-size: 16px; }
    .projectItem { padding: 10px; }
    .projectItem h1 { font-size: 16px; }
    .projectItem p { font-size: 12px; }
    .projectList {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-popup {
        width: 90%;
        padding: 20px;
    }
    .contact-block {
        flex-direction: column;
        align-items: flex-start;
    }
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    width: 100%;
}

.contact-item {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(33.333% - 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.contact-item h3 {
    font-size: 18px;
    color: #bb86fc;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 16px;
    color: #555;
}

@media (max-width: 768px) {
    .contact-item {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .contact-item {
        flex: 1 1 100%;
    }
}