#interface {
    display: flex;
    gap: 20px;
    margin-inline: auto;
    margin-top: 40px;
    margin-bottom: 30px;
    width: 524px;
    flex-wrap: wrap;
    position: relative;
}

#interface > canvas {
    width: 250px;
    height: 250px;
    border: 1px solid rgba(0, 0, 0, 0.75);
    border-radius: 5px;
    image-rendering: pixelated;
}

#input-canvas {
    background: rgb(255, 255, 255);
}

#mnist-canvas {
    background-color: rgb(0, 0, 0);
}

#net-output {
    background: rgb(255, 255, 255);
}

#delete {
    position: absolute;
    top: 0px;
    left: 210px;
    line-height: 1;
    padding-top: 7px;
    padding-bottom: 8px;
    padding-inline: 12px;
    cursor: pointer;
    font-weight: 800;
    color: rgb(0, 0, 0, 0.75);
    font-size: 22px;
    background: transparent;
    transition: all 30ms ease-in-out;
}

#delete:hover {
    color: rgba(255, 0, 0, 0.75);
    transform: scale(1.2);
}

#load-indicator {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: not-allowed;
    background: transparent;
    top: 1px;
    left: 1px;
}

.spinner{
  width: 70px;
  height: 70px;
  border: 8px solid rgb(160, 160, 160);
  border-top-color: rgb(50, 50, 50);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin{
  to { transform: rotate(360deg); }
}

.hidden {
    visibility: hidden;
    display: none;
}
