body {
    background-color: #000;
}

.background-container {
    position: fixed;
    width: 100%;
    aspect-ratio: 16 / 9;

    iframe {
        width: 100%;
        height: 100%;
        pointer-events: none;
        opacity: 0.25;
        animation-name: fade-in;
        animation-duration: 3s;
        animation-timing-function: ease-in;
    }
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(16px) hue-rotate(50deg);

    .primary,
    .secondary {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;

        .item {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 1rem 2rem;
            opacity: 0.9;
            transition: 0.25s;
            filter: drop-shadow(0 0.25rem 1.5rem rgba(0, 0, 0, 0.25));

            &:hover {
                cursor: pointer;
                opacity: 1;
                filter: drop-shadow(0 0.25rem 3rem rgba(0, 0, 0, 1));

                .tooltip {
                    visibility: visible;
                }
            }

            .inverted {
                filter: invert(1);
            }

            .tooltip {
                margin-top: 6rem;
                position: absolute;
                visibility: hidden;
                white-space: nowrap;
                text-decoration: none;
                padding: 0.5rem;
                border-radius: 0.5rem;
                color: #fff;
                background-color: #1b1f23;
            }
        }
    }

    .primary .item img {
        width: 4rem;
        height: 4rem;
    }

    .secondary .item img {
        width: 2rem;
        height: 2rem;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 0.25;
    }
}
