* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: black;
    color: chartreuse;
}

#connections-svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 8;
    pointer-events: none;
}

.description-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    padding: 40px;
    display: none;
    align-items: flex-start;
    justify-content: flex-start;
    font-family: elevon, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 48px;
    text-align: left;
    pointer-events: none;
    animation: shadowPulse 5s ease-in-out infinite;
}

.description-overlay.visible {
    display: flex;
}

@keyframes shadowPulse {
    0%, 100% {
        text-shadow: 0 0 20px;
    }
    50% {
        text-shadow:
            0 0 20px,
            0 0 30px;
    }
}

.grid-container {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.grid-cell {
    position: relative;
    display: flex;
}

.cell-content {
    width: 100%;
    height: 100%;
    border-style: solid;
    border-width: 1px;
    border-radius: 10px;
    border-color: chartreuse;
    background-color: rgba(0, 0, 0, 0.5);
    background-size: cover;
    background-position: center;
    font-family: video, serif;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.grid-cell.selected .cell-content {
    border-width: 3px;
    box-shadow:
        inset 0 0 20px chartreuse,
        0 0 20px chartreuse;
}

body.has-background {
    background-size: cover;
    background-position: center;
}
