@font-face {
    font-family: supplyMono;
    src: url(PPSupplyMono-Ultralight.otf);
}


body {
    margin: 0;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    background-image: url("../photos/noise-light.png") !important;
    font-family: supplyMono;
    /* allow canvas to show */
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    z-index: 0;
}

#glass-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
    width: 50vw;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    text-align: center;
    z-index: 10;
    color: white;
    overflow: hidden;
}

#glass-overlay::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 45%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(255, 255, 255, 0) 55%);
    transform: rotate(25deg);
    animation: shimmer 5s infinite ease-in-out;
    pointer-events: none;
    /* Allow clicks through shimmer */
    z-index: 2;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(25deg);
    }

    100% {
        transform: translateX(100%) rotate(25deg);
    }
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 10px;
    margin-bottom: 10px;
    cursor: none;
}

.profile-header h2 {
    margin: 10px 0 5px;
}

.location {
    font-size: 0.9em;
    opacity: 0.7;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 10px 0;
}

.social-icons img {
    width: 24px;
    height: 24px;
    opacity: 0.9;
    transition: 0.2s ease;
}

.social-icons img:hover {
    transform: scale(1.1);
}

.tagline {
    font-size: 0.95em;
    margin: 10px 0;
}

.links {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 12px 20px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s ease;
}

.link-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.link-btn img {
    width: 24px;
    height: 24px;
}


@media (max-width: 600px) {
    #glass-overlay {
        width: 80vw;
        padding: 20px;
    }

    .avatar {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 400px) {
    #glass-overlay {
        width: 75vw;
        padding: 15px;
    }

    .avatar {
        width: 90px;
        height: 90px;
        margin: 0px;
    }

    .tagline {
        font-size: 1.1em;
    }
}