body {
    background: url(https://media.istockphoto.com/vectors/trivia-vector-id1064066314?k=20&m=1064066314&s=612x612&w=0&h=ksa7C3kEh1Akv5eKUMXEVvqv5QTWKDfN10ZTDDVEmdE=);
    background-repeat: repeat;
    background-size: 100%;
    
    

    
}

/* *******************
** HEADING
******************* */
h1 {
color: white;
}

h2 {
    text-align: center;
    color: white;
    padding: .5rem;
    border: 3px solid yellow;
    background-color: rgb(243, 50, 50);
    opacity: .7;
;
}

/* *******************
** QUESTION
******************* */

#question {
    width: 70%;
    padding: 30px;
    border: 3px solid yellow;
    background-color:rgba(168, 150, 45, 0.733);
    color: white;
    font-size: 28px;
    margin: 10px auto;
    border-radius: 20px;
    text-align: center;
    

}

/* *******************
** ANSWERS
******************* */

#answer {
    width: 50%;
    margin: 10px auto;
    color: white;
    background-color: rgba(243, 50, 50, 0.507);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border: 3px solid yellow;
    border-radius: 20px;
    animation: fade 5s alternate;
    

}
@keyframes fade{
    0%{opacity: 0;}
}

#answer ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    list-style: none;
    width: 100%;
    padding: 0%;
    
    
    
}

#answer ul li {
    width: 40%;
    height: 40px;
    border: 3px solid yellow;
    padding:1rem 12rem;
    text-align: center;
    margin: 5px;
    font-weight: bolder;
    border-radius: 20px;
    font-size: 1rem;
    opacity: 1;
    
}

#a {
    background-color: red;
    padding: 1rem;
    
    
}

#a:hover {
    cursor: pointer;
    box-shadow: 0 0.4rem 1.4rem 0 yellow;
    transition: 150ms;
    transform: scale(1.03);
}

#b {
    background-color: blue;
    padding: 1rem;
  
}

#b:hover {
    cursor: pointer;
    box-shadow: 0 0.4rem 1.4rem 0 yellow;
    transition: 150ms;
    transform: scale(1.03);
}

#c {
    background-color: green;
    padding: 1rem;
  
}

#c:hover {
    cursor: pointer;
    box-shadow: 0 0.4rem 1.4rem 0 yellow;
    transition: 150ms;
    transform: scale(1.03);
}

#d{
    background-color: magenta;
    padding: 1rem;
    
}

#d:hover{
    cursor: pointer;
    box-shadow: 0 0.4rem 1.4rem 0 yellow;
    transition: 150ms;
    transform: scale(1.03);
}

/* *******************
** SCOREBOARD
******************* */

#scores {
    display: flex;
    width: 70%;
    background-color: rgba(128, 0, 128, 0.541);
    justify-content: center;
    margin: 10px auto;
    border: 3px solid yellow;
    border-radius: 20px;
    
}

#player1, #player2 {
    width: 40%;
    margin: 5px;
    text-align: center;
    color: whitesmoke;
    border-radius: 20px;
    font-size: 1.3rem;
    border: 3px solid yellow;
    padding: .5rem;
    margin: 1rem;
    
}

#player1 {
    background-color: red;
    
}

#player2 {
    background-color: blue;
}

#button {
    display: flex;
    width: 70%;
    background-color: rgba(128, 0, 128, 0.541);
    justify-content: center;
    margin: 10px auto;
    border: 3px solid yellow;
    border-radius: 20px;
    color: white;

}

@media screen and (max-width: 768px) {
    #answer {
        min-width: 25rem;
    }

    #answer ul li {
        min-width: 3rem;
        max-width: 10rem;
    }
}