html{
    height: 100%
}
body{
    margin: 10px 10px;
    font-size: small;
    background-image: linear-gradient( rgb(208, 229, 247),rgb(34, 135, 224)) ;
    background-size: cover;
    background-repeat: no-repeat;
    justify-content: center;
}
.head-container{
    display: flex;
    justify-content: space-between;
}
input#mute {
  display: none;
  
}
.mute img {
  display: flex;
  height:2em;
  margin-top: 40px;
  /* Used a tool from one of the responses to this question to change the color of the svg image
  https://stackoverflow.com/questions/22252472/how-to-change-the-color-of-an-svg-element*/
  filter: invert(29%) sepia(32%) saturate(7%) hue-rotate(321deg) brightness(94%) contrast(86%);
}
.unmute img {
  display: flex;
  height: 2em;
  margin-top: 40px;
  /* see comment in mute image css*/
  filter: invert(29%) sepia(32%) saturate(7%) hue-rotate(321deg) brightness(94%) contrast(86%);
}
.game-title{
    margin: 10px 10px 10px 10px;
    font-family: 'Bungee', cursive;
    font-size: 25px;
    text-align: left;
    order: -1;
}
.question-header{
    display: none;
    font-size: 16px;
    font-weight: bold;
}
.progress{
    margin:10px 25px;
    font-size: medium;
    font-weight: bold;
    color: black;
    -webkit-text-fill-color: white; 
    -webkit-text-stroke-width: .5px;
    -webkit-text-stroke-color: black;
}
form{
    margin: 10px 30px;
    
}
.game-content{
    display: none;
    text-align: justify;
}
.question{
    margin-bottom: 20px;
}
.message{
    font-size: medium;
    font-weight: bold;
}
.new-question{
    display: none;
    margin-top: 20px
}

.scoreboard{
    margin: 20px auto;
    font-family: 'Press Start 2P', cursive;
    opacity: 0;
    display: grid;
    width: 90%;
    text-align: center;
    grid-template-columns: 1fr 3fr 1fr 1fr;
    grid-template-areas: 
    "spacer p1name p1score p1plus"
    "spacer p2name p2score p2plus";

}
.player-names, .scores {
    background-color:snow;
}

.player1-name{
    grid-area: p1name;
    border-width: 3px;
    border-style:double;
}
.player2-name{
    grid-area: p2name;
    border-style:double; 
    border-width: 3px;
}
.player1-score{
    border-style: double;
    border-width: 3px;
    grid-area: p1score;
}
.player2-score{
    border-style: double;
    border-width: 3px;
    grid-area: p2score;
}
.plus{
    color:red;
    display: flex;
    flex-flow: column;
    justify-content: center;    
}
.p1Plus{
    height:50%;
    grid-area: p1plus;
    opacity: 0;
    display: flex;
    margin: auto 0;
    border-radius: 10px;
    align-items:center;
}
.p2Plus{
    height: 50%;
    line-height: 100%;
    grid-area: p2plus;
    opacity: 0;
    display: flex;
    margin: auto 0;
    border-radius: 10px;
    align-items:center;
}

.ans{
    font-size: smaller;
    word-wrap: normal;
    width: 90%;
    white-space:normal;
    margin: 5px 5%;
    font-weight: bolder;
}
.game-instructions{
    opacity: 0;
    font-size: 25px;
}
.start{
    display:none;
    margin: 10px auto;
}


@media(min-width: 481px) {
    form{margin: 10px 30%}
    .progress{margin: 10px 20%}
    .scoreboard{
        width: 700px;
        font-size: 2em;
    }
    .game-content{
        font-size:25px;
        margin:0 20%}
    .answers{
        margin: 15px auto;
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-areas: 
            'a b'
            'c d';
        
    }
    #answer-a{
        grid-area: a;
    }    
    #answer-b{
        grid-area: b
    }    
    #answer-c{
        grid-area: c
    }
    #answer-d{
        grid-area: d
    }
    .ans{
        margin-top:5px;
        width:auto;
        min-height: 4em;
    }
    .game-title{
        font-size: 50px;
        margin-top: 50px;
    }
    .question-header{
        font-size: 35px;
        margin: 25px auto;
    }
    .head-container{
        margin: 0 20%;
    }
    .new-question{
        font-size: 3em;
    }
    .game-instructions{
        font-size: 3em;
        margin: 10px 30%;
 
    }
    .message{
        font-size: 3em;
    }
    .start{
        font-size: 3em;
    }
    .form-control{
        font-size: 2em;
    }
    .btn-primary{
        font-size: 2em;
    }

    }