:root {
  color-scheme: dark;
}
html {
    font-size: 100%;
    overflow: hidden;
    opacity: 1;
}
p, h1, h2, h3, h4, h5, h6 {
    margin: 0;
    color: #F8F8F8;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: normal;
}
a {
    text-decoration: none;
    color: #F8F8F8;
}
body {
    margin: 0; 
    font-family: Roboto, sans-serif;
    background-color: #1E1E1E;
    display: flex; 
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 0 32px; 
}
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    position: relative; 
    z-index: 2;     
}
.glass-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    contain: layout style paint; 
}
.profile-info {
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 32px;
    
}
figure {
    margin: 0;
    line-height: 0; 
}
.profile-picture {
    border-radius: 15%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.profile-text {
    display: flex;
    flex-direction: column;
    gap: 8px; 
}
.profile-text span {
    white-space: nowrap;
}
.name {
    font-size: 1.6rem; 
    font-weight: bold;
    line-height: 1.2;
}
.headline {
    font-size: 1rem;
}
.location {
    font-size: 0.7rem;
}
.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    padding: 16px 32px; 
}
.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 15%;
    transition: all 0.3s ease-in-out;
    border: 1px solid transparent;
}
.icon {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0px 2px 3px rgba(0, 0, 0, 0.6));
    transition: all 0.2s ease-in-out;
}
.linkedin, .github {
    fill: #F8F8F8;
}
.email {
    stroke: #F8F8F8;
    fill: none;
}
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 8px;
    z-index: 2;
}
footer a, footer p{
    color: rgba(248, 248, 248, 0.5);
    font-size: 0.8rem;
    transition: color 0.3s ease-in-out;
}
footer a:hover, footer a:focus {
    color: rgba(248, 248, 248, 0.8);
}
/* Animation */
@media (prefers-reduced-motion: no-preference) {
    .profile-info {
        animation: fadeInUp 0.8s ease-out both;
    }
    .social-links {
        animation: fadeInUp 0.8s ease-out 0.4s both;
    }
    .social-links a:hover, .social-links a:focus {
        transform: scale(1.1);
    }
    #mover1 {
        animation:
        powerUp 2s 0.1s ease-out both,
        moveGlow1 10s ease-in-out infinite alternate,
        spin1 7s linear infinite;
    }
    #mover2 {
        animation:
        powerUp 2s 0.1s ease-out both,
        moveGlow2 10s ease-in-out infinite alternate,
        spin2 5s linear infinite;
    }
    footer {
        animation: fadeInUp 0.8s ease-out 0.8s both;
    }
}
.social-links a:hover, .social-links a:focus {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
.social-links a:active {
    transform: scale(1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
@keyframes fadeInUp {
    from {
        opacity: 0.01;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Background */
.background-glow {
    position: fixed;
    inset: 0; 
    overflow: hidden;
    z-index: -1;
}
.blob {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: blur(80px);
}
.blob-mover {
    position: absolute;
    will-change: transform, width, height; 
}
#mover1 {
    top: -300px;
    left: -300px;
}
#mover1 .blob {
    background: linear-gradient(90deg, #5FED83, #0A66C2);
}
#mover2 {
    bottom: -200px;
    right: -200px;
}
#mover2 .blob {
    background: linear-gradient(90deg, #C0E5F0, #5FED83);
}
@keyframes moveGlow1 {
    from {
        translate: 0 0;
        width: 750px;
        height: 750px;
    }
    to {
        translate: 47vw 55vh;
        width: 500px;
        height: 500px;
    }
}
@keyframes moveGlow2 {
    from {
        translate: 0 0;
        width: 600px;
        height: 600px;
    }
    to {
        translate: -37vw -45vh;
        width: 400px;
        height: 400px;
    }
}
@keyframes spin1 {
    from {
        rotate: 0deg;
    }
    to {
        rotate: 360deg;
    }
}
@keyframes spin2 {
    from {
        rotate: 0deg;
    }
    to {
        rotate: -360deg;
    }
}
@keyframes powerUp {
    from {
        transform: scale(0.3);
        opacity: 0.01;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
/* Responsiveness */
@media (orientation: portrait) or (max-width: 562px) {
    .profile-info {
        flex-direction: column;
        text-align: center;
        width: 254px;
    }
    .profile-text {
       align-items: center; 
    }
    .name {
        font-size: 1.3rem;
    }
    .headline, .location {
        font-size: 0.8rem;
    }
    #mover1 {
        width: 400px;
        height: 400px;
        top: -200px;
        left: -200px
    }
    #mover2 {
        width: 300px;
        height: 300px;
        bottom: -150px;
        right: -150px;
    }
    @keyframes moveGlow1 {
    from {
        translate: 0 0;
    }
    to {
        translate: 50vw 40vh;
    }
    }
    @keyframes moveGlow2 {
        from {
            translate: 0 0;
        }
        to {
            translate: -55vw -40vh;
        }
    }
}

