body {
    display: flex;
    flex-direction: column;
    margin: 0 2rem;
}

img {
    aspect-ratio: 1;
    display: block;
}

.tooltip {
    position: absolute;
    font-size: 14px;
    width: calc(var(--square) + 1rem);
    padding: 0.75rem 0.33rem;
    display: block;
    opacity: 0;
    background-color: #afa;
    border: 2px solid #020;
    border-radius: 4px;
    text-align: center;
    transform: translate(-0.5em, -100%);
    transition: opacity 0.33s ease;
    pointer-events: none;

    a:hover & {
        opacity: 100;
        display: block;
    }
}

.smalltext {
    font-size: 12px;
}

.someoneelse {
    background-color: #efa;
}

span {
    font-size: 1rem;

    &:hover {
        text-decoration: none;
    }
}