:root {
    --spin-duration: 5s;
}

html,
body.spinny-page {
    height: 100%;
    overflow: hidden;
}

.spinny-photo {
    position: fixed;
    top: 50%;
    left: 50%;

    width: 142vmax;
    height: 142vmax;

    object-fit: cover;

    z-index: 0;
    pointer-events: none;
    user-select: none;

    transform: translate(-50%, -50%);
    animation: spin var(--spin-duration) linear infinite;
    will-change: transform;
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

header {
    position: fixed;
    top: 0;
    left: 0;

    z-index: 5;
}

.menu-icon {
    background-color: rgba(13, 13, 13, 0.65);
}

@media (prefers-reduced-motion: reduce) {

    .spinny-photo {
        animation: none;
    }

}