.photos-header
{
    text-align: center;
    padding: 32px 16px 40px;
    position: relative;
    z-index: 10;
}

.photos-header h1
{
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 300;
    margin-bottom: 8px;
}

.photos-header p
{
    font-size: clamp(12px, 1.5vw, 16px);
    opacity: 0.6;
}

.photos-header p a
{
    color: var(--foreground);
    opacity: 1;
}

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

.floating-photo
{
    position: absolute;
    pointer-events: auto;
    cursor: pointer;
    contain: layout style paint;
    will-change: transform;
}

.floating-photo img
{
    display: block;
    max-width: 240px;
    max-height: 240px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: filter 0.2s ease;
    filter: brightness(0.9);
}

.floating-photo:hover img
{
    filter: brightness(1.15);
}

.photo-tooltip
{
    position: fixed;
    pointer-events: none;
    z-index: 20;
    font-family: DepartureMono, 'Roboto Mono', monospace;
    font-weight: 300;
    text-transform: uppercase;
    font-size: clamp(10px, 1.2vw, 14px);
    color: var(--foreground);
    background: rgba(0, 0, 0, 0.85);
    padding: 6px 10px;
    border-radius: 4px;
    text-shadow: 0px 0px 8px #00000050;
    white-space: nowrap;
    transition: opacity 0.15s ease;
}

@media only screen and (max-width: 768px)
{
    .floating-photo img
    {
        max-width: 160px;
        max-height: 160px;
    }
}
