body {
    margin: 0;
    padding: 0;
    border: none;
    box-sizing: border-box;
    min-height: 100vh;
}

canvas {
   z-index: -1;
   position: fixed;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
}

.hidden {
    visibility: hidden;
}

.end {
    position: fixed;
    height: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: fit-content;
    padding: 0 75px;
    border: 2px solid rgba(255, 0, 0, 0.5);
    border-radius: 5px;
    text-align: center;
    animation: glow-red 2.5s infinite;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: bold;
    font-size: 22px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.6);
}

.end p {
    text-transform: capitalize;
    letter-spacing: 5px;
}

.end-img-top {
    position: absolute;
    height: 100px;
    width: 100px;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
}

.end-img-bot {
    position: absolute;
    height: 100px;
    width: 100px;
    bottom: 0;
    right: 0;
    transform: translate(50%, 50%);
}   

@keyframes glow-red {
    0% {
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.8), 0 0 5px rgba(255, 0, 0, 0.8) inset;
    }
    25% {
        box-shadow: 0 0 10px rgba(255, 0, 0, 0.8), 0 0 10px rgba(255, 0, 0, 0.8) inset;
    }
    50% {
        box-shadow: 0 0 15px rgba(255, 0, 0, 0.8), 0 0 15px rgba(255, 0, 0, 0.8) inset;
    }
    75% {
        box-shadow: 0 0 10px rgba(255, 0, 0, 0.8), 0 0 10px rgba(255, 0, 0, 0.8) inset;
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.8), 0 0 5px rgba(255, 0, 0, 0.8) inset;
    }
}