body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    min-height: 100vh;
    overflow-x: hidden;
}

#snowfall {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

main {
    max-width: 600px;
    margin: 100px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
    position: relative;
    z-index: 10;
}

section.profile {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 20px 30px 30px 30px;
}

section.profile h1 {
    margin: 0;
    font-size: 2em;
}

section.profile h2 {
    margin: 5px 0 0 0;
    font-size: 1.2em;
    font-weight: normal;
    color: #666;
}

section.profile h2 a {
    color: #666;
    text-decoration: none;
}

section.profile div.info {
    margin-left: 20px;
    text-align: left;
}

section.profile a {
    color: #333;
    text-decoration: none;
}

section.profile a:hover {
    text-decoration: dotted underline;
}

.profile-picture-container {
    position: relative;
    display: inline-block;
}

img.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #555;
}

img.santa-hat {
    position: absolute;
    width: 79px;
    top: 6px;
    left: 47px;
    z-index: 11;
    scale: 1.2;
    rotate: 6deg;
    transform: scaleX(-1);
}

section.bio {
    margin: 20px 30px 0 30px;
    text-align: justify;
    line-height: 20px;
}

section.links {
    margin: 30px 0 10px 0;
}

section.links ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    gap: 20px;
}

section.links img {
    height: 40px;
    vertical-align: middle;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    main {
        margin: 20px auto;
        padding: 20px 15px;
        max-width: 100%;
        border-radius: 0;
    }

    section.profile {
        flex-direction: column;
        text-align: center;
        margin: 20px 15px;
    }

    section.profile div.info {
        margin-left: 0;
        margin-top: 15px;
        text-align: center;
    }

    section.profile h1 {
        font-size: 1.5em;
    }

    section.profile h2 {
        font-size: 1em;
    }

    img.profile-picture {
        width: 120px;
        height: 120px;
    }

    img.santa-hat {
        width: 63px;
        top: 5px;
        left: 39px;
    }

    section.bio {
        font-size: 0.95em;
        margin: 20px 15px;
    }

    section.links img {
        height: 35px;
    }
}

@media screen and (max-width: 480px) {
    main {
        margin: 10px;
        padding: 15px 10px;
    }

    section.profile {
        margin: 10px;
    }

    section.profile h1 {
        font-size: 1.5em;
    }

    section.profile h2 {
        font-size: 1em;
    }

    img.profile-picture {
        width: 100px;
        height: 100px;
        border: 2px solid #555;
    }

    img.santa-hat {
        width: 63px;
        top: -2px;
        left: 25px;
        scale: 1;
    }

    section.bio {
        font-size: 0.9em;
        margin: 20px 10px 15px 10px;
        line-height: 1.5;
    }

    section.links ul {
        gap: 15px;
    }

    section.links img {
        height: 32px;
    }
}
