body{
    background-color: #FFBF00;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.instruction{
    counter-reset: my-awesome-counter;
  }
.instruction p {
    counter-increment: my-awesome-counter;
  }
.instruction p::before {
    content: counter(my-awesome-counter) ". ";
    color: red;
    font-size: 18px;
    font-weight: bold;
    font-family: Jacoby;
  }
.welcome{
    justify-content: center; 
    /* margin-top:150px; */
}
.welcome img{
    margin-top: 150px;
}

.instructions{
    display: none;
    justify-content: center;
}
.updates{
    justify-content: center;
}
.modal-background{
    display: none;
	background-color: rgba(0, 0, 0, 0.4);
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 1;
	/*This puts our modal in front of the body (which has a default z-index setting of `0`*/
	overflow: auto;

}
.titles{
    font-family: Jacoby;
    color: #d3232c;
    /* border: solid black 2px; */
    font-size: 18px;
    text-align: center;
    width: 100%;
    /* padding-top: 6px; */
    height: 3%;
    margin-top: 5%;
    
    justify-content: center;
  
}

#modal-textbox{
  display: none;
  padding: 20px;;
  background-color: white;
  box-shadow: 0px 0px 2px 2px #00222222;
  height: 100%;
  width: 70%;
  border-radius: 5px;
  text-align: center;
}

#updates-textbox, #try-textbox{
    background-color: white;
    box-shadow: 0px 0px 2px 2px #00222222;
    width: 50%;
    
    position: fixed; /* or absolute */
    top: 20%;
    left: 25%;
    right: 25%;
    border-radius: 5px;
    text-align: center;

}
#updates-textbox{
    height: 250px;
    display: none;
}
#try-textbox{
    height: 200px;
    display: none;

}
#score-total{
    font-size: 30px;
    font-family: Jacoby;
}

#close-modal{
    text-align: right;
    padding: 5px;
    color: #d3232c;
    font-size: 20px;
    font-family: Jacoby;
    cursor: pointer;
    padding: 10px;
}

#chris-board,#game-controls{
    /* border: solid black 2px; */
    border-radius: 5px;
    display: none;
    height: 720px;
    
}

#chris-board{
    flex-basis: 66%;
    margin-right: 1%;
    flex-direction: column;
}

#game-controls{
    flex-basis: 33%;
    flex-direction: column;
    box-shadow: 0px 0px 4px 4px #00222222;
    background-color: aliceblue;
}
#logo{
    width: 90%;
    height: 25%;
    margin-top: 5%;
    margin-left: 5%;
    margin-right: 5%;
}

#logo img{
    width:100%;
    max-height: 100%;
    justify-content: center;
}

.player-stats, #answers{
    flex-direction: column;
    font-size: 18px;
    width: 95%;
    height: 6%;
    margin-left: 2.5%;
    margin-right: 2.5%;
}

#guess-count, #question-count, #answers{
    font-family: Jacoby;
    color: #d3232c;
}

#guess-count > span, #question-count > span, #answers > span{
    justify-content: right;
    color: black;
}

#answers{
    text-align: center;
    padding-top: 2%;
    height: 4%;
}
.no-click{
    pointer-events: none;
}

.questions{
    flex-direction: column;
    box-shadow: 0px 0px 2px 2px #00222222;
    width: 95%;
    margin-left:2.5%;
    margin-right:2.5%;
    margin-top: 2%;
    display: block;
    border-radius: 5px;
    overflow: auto;
    height: 30%;
}
.questions::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #f9f9f9; 
    border-radius: 5px;
  }
  
  .questions::-webkit-scrollbar-thumb {
    background-color: #c7c7c7;
    border-radius: 5px;
    height: 2px;
  }

.row{
    margin-bottom: .5%;
}
.row:first-of-type{
    margin-top: .5%;
}
.square{
    /* border: solid black 2px; */
    width: 25%;
    height: 300px;
    cursor: pointer;
    margin-right: .5%;
    flex-direction: column;
    border-radius: 5px;
    box-shadow: 0px 0px 2px 2px #00222222;
    background-color: #d3232c;
}

.square:first-of-type{
    margin-left: .5%;
    
}

.image{
    /* height: 79.5%; */
    height: 78%;
    width: 100%;
    /* background-color: blue; */
    
}
.image img{
    height: 100%;
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.name{
    /* height: 20.5%; */
    height:21%;
    max-width: 100%;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    /* border:solid pink 2px; */
    text-align:center;
    justify-content: center;
    /* font-size: 1.25vw; */
    background-color: aliceblue;
    font-family: Jacoby;
    color: #094f8f
}
.container{
    display: flex;
}

.text{
    width:86%;
    padding-top: 5px;
    padding-bottom: 5px;
    /* border: solid black 2px; */
    font-family: 12px;
    padding-left:2px;
 
}
.question{
    flex-direction: row;
    /* flex-wrap: wrap; */
}
.question:nth-child(odd){
    background-color: #f1f1f1;

}
.ask{
    width: 14%;
    /* border: solid black 2px; */
}

button{
    margin-top: 10px;
    border-color: transparent;
    cursor: pointer;
    background-color: #094f8f;
    color: #d3232c;
    font-family: Jacoby;
    box-shadow: 0px 0px 2px 2px #00222222;
    text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
}

.ask button{
    margin-top: 0px;
    border-radius: 50%;
}

.guess{
    width: 95%;
    height: 6%;
    margin-left: 2.5%;
    margin-right: 2.5%;
    justify-content: center;
    /* border: solid red 2px; */
    margin-top: 20px;

}
.guess button{
    width: 100%;
    border-radius: 5px;
    font-size: 24px;

}
#cancel-guess{
    background-color:#d3232c;
    color: white;
    text-shadow: none;
    display: none;

}
.start{
    height: 15%;
    width: 95%;
    margin-left: 2.5%;
    margin-right: 2.5%;
    justify-content: center;
    /* border: solid red 2px; */
    margin-top: 10%;
    /* border: solid black 2px; */
}
.start button{
    width: 100%;
    border-radius: 5px;
    font-size: 28px;
    background-color: whitesmoke;
    color: #d3232c;

}
#start-game,#play-again{
    width: 95%;
    height: 10%;
    border-radius: 5px;
    font-size: 24px;
}
#tutorial-title{
    color: #d3232c;
    font-family: Jacoby;
    font-size: 30px;
}
#result-title, #try-title{
    color: #d3232c;
    font-family: Jacoby;
    font-size: 40px;
    padding: 10px;
}

#score-number{
    color: #094f8f;
    font-family: Jacoby;
    font-size: 50px;

}

#score-text{
    font-size: 20px;

}