body{
    margin: 0;
    background-color: black;
}

#controller-grid {
    position: absolute;
    display: grid;
    grid-template-rows: repeat(5, 1fr);
    grid-template-columns: repeat(11, 1fr);
    top: 30px;
    height: 300px;
    left: 180px;
    column-gap: 12px;
}
svg {
    position: absolute;
    top: 30px;
    height: 60vh;
    width: 50vw;
    background-color: black;
    border-color: aqua;
    border-style: solid;
    border-width: 1px;
}
#stateButton{
    position: absolute;
    top: 10px;
    left: 10px;
}

#hit-dialog {
    position: absolute;
    bottom: 210px;
    left: 220px;
    width: 200px;
    height: 50px;
    font-size: 48px;
    color: red;
    z-index: 10;
    font-weight: bold;
    text-align: center;
    pointer-events: none;
}

.controller-cell {
    width: 30px;
    height: 30px;
    box-sizing: border-box;
    border: red;
    border-style: solid;
    border-width: 0px;
    fill: rgba(255, 0, 0, 0);
}

.fade-out {
    /* Start visible */
    opacity: 1;
    /* Wait 5 seconds, then fade out over 1 second */
    animation: fadeOut .1s ease-in-out .2s forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

#text-container {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 14px;
}