body {
    background-color: rgb(41, 40, 40, .7);
}

/* Game start overlay */
.intro {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 1;
    width: 100%;
    height: 100%;
    text-align: center;
    justify-content: center;
    background-color: rgb(198, 255, 255);
}
.outro {
    display: none;
    flex-direction: column;
    position: fixed;
    z-index: 1;
    width: 100%;
    height: 100%;
    text-align: center;
    justify-content: center;
    background-color: black;
    color: white;
}
h1 {
    text-align: center;
    color: #16E92E;
}
#question {
    width: 70%;
    padding: 30px;
    margin: 10px auto;
    color: whitesmoke;
    text-align: center;
    font-size: 25px;
}
#answer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    margin: 10px auto;
    color: white;
    padding: 20px;
}
#answer ul {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-around;
    list-style: none;
}
#answer ul li {
    border-radius: 15px;
    width: 45%;
    height: 40px;
    background-color: cadetblue;
    padding-top: 15px;
    text-align: center;
    margin: 10px;
    font-weight: bolder;
}
#scores {
    display: flex;
    width: 50%;
    justify-content: center;
    margin: 10px auto;
    padding-bottom: 20px;
}
#player1, #player2 {
    width: 20%;
    background-color: rgb(0, 0, 0, .2);
    border: 1px solid white;
    border-radius: 25px;
    margin: 0 0 10px 40px;
    text-align: center;
}
.begin { 
    margin: 10px auto;
    width: 20%;
}
  

/* Styling for game board/display window */
/* Facy glow effect found @ https://dev.to/webdeasy/top-20-css-buttons-animations-f41 */
.display {
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    background: #111;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}
.display:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.display:hover:before {
    opacity: 1;
}

.display:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}


/* Styling for mobile devices */

@media (max-width: 600px) {
    .display {
        height: 90%;
        width: auto;
    }
    #answer {
        display: flex;
        width: 95%;
        margin: 0;
        padding: 0;
    }
    #answer ul {
        padding-left: 25px;
    }
    #answer ul li {
        width: 100%;
        color: black;
        background-color: rgba(255, 255, 255, 0.7);
        border: 1px solid black;
        box-shadow: 0 0 10px rgb(255, 255, 255);
    }
    #scores {
        width: 95%;
        justify-content: space-around;
    }
    #player1, #player2 {
        margin: 0;
        width: 40%;
    }
}