* {
  box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200;300&display=swap');

body {
  background-image: url("../images/xmas-background.jpg");
  text-align: center;
  font-family: 'Dosis', sans-serif;
}

#wrapper {
  background-color: #f5fcf5;
  margin: 2%;
  font-family: 'Dosis', sans-serif;
  padding: 15px;
  width: 80%;
  min-width: 300px;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 1) 0px 3px 8px;
  display: inline-block;
}

h1 {
  text-align: center;  
  font-size: 24px;
}

a {
  color: #750808;
}

input {
  padding: 10px;
  width: 100%;
  margin: 5px;
  font-size: 17px;
  font-family: 'Dosis', sans-serif;
  border: 2px solid #351251;
  border-radius: 20px;
  outline: none;
}

input:focus { 
  box-shadow: rgba(0, 0, 0, 0.404) 0px 3px 8px;
}

/* Mark input boxes that gets an error on validation: */
input.invalid {
  background-color: #ffdddd;
}

#round-score {
  padding: 10px;
  width: 100%;
  margin: 5px;
  font-size: 17px;
  font-family: 'Dosis', sans-serif;
  border: 2px solid #351251;
  border-radius: 20px;
  outline: none;
}

button {
  background-color: #0c570a;
  color: #ffffff;
  border: 1px solid black;
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 17px;
  font-family: 'Dosis', sans-serif;
  cursor: pointer;
}

#sign_up {
  margin: 10px;
  left:  50%;
}

button:hover {
  opacity: 0.8;
}

#prev-button {
  background-color: #750808;
  margin: 10px;
  border: 1px solid black;
}

#first-buttons {
  padding: 20px;
}

#second-buttons {
  padding: 5px;
}

/* Make circles that indicate the steps of the form: */
.step {
  height: 30px;
  width: 30px;
  margin: 0 2px;
  background-color: #0c570a;
  border: 1px solid black;  
  border-radius: 50%;
  display: inline-block;
  opacity: 0.5;
}

.step.active {
  opacity: 1;
}

/* Mark the steps that are finished and valid: */
.step.finish {
  background-color: #E84E0F;
}

/* Leaderboard */
#results-wrapper {
  background-color: #ffffff;
  margin: 2%;
  font-family: 'Dosis', sans-serif;
  padding: 0px 0px 8px 0px;
  min-width: 95%;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 1) 0px 3px 8px;
  display: inline-block;
}

table {
border-collapse: collapse;
width:100%;
font-family:aktiv-grotesk;
font-size: 28px;
text-align: center;
}

th {
background-color: #ffffff ;
font-family: 'Dosis', sans-serif;
font-size: 28px;
padding:5px;
border-bottom: 2px solid #535353;
cursor:pointer;
-webkit-user-select: none; /* Safari */        
-moz-user-select: none;  /* Firefox */
-ms-user-select: none;  /* IE10+/Edge */
user-select: none; /* Standard */
}

tr {
border-bottom:1px solid #adadad; 
}

tr:nth-child(2){
background: #ffdb78;
}

tr:nth-child(3){
background: #DBDBDB;
}
tr:nth-child(4){
background: #F8CBAD;
}

tr:last-child { 
background: #FF8F8F; 
border-bottom:2px solid #535353; 
}

td {
padding:5px;
font-family: 'Dosis', sans-serif;
}

#results-title {
font-family: 'Dosis', sans-serif;
font-size: 36px;
margin:0;
text-align: center;
-webkit-user-select: none; /* Safari */        
-moz-user-select: none;  /* Firefox */
-ms-user-select: none;  /* IE10+/Edge */
user-select: none; /* Standard */

}
.results-name {
text-align:left;
font-family: 'Dosis', sans-serif;
padding-left: 8px;
}
.total {
font-family: 'Dosis', sans-serif;
font-size: 28px;
border-left: 2px solid #535353;
}

#leaderboard.hide_fizz tr > *:nth-child(9) {
  display: none;
}

#leaderboard.hide_total tr > *:nth-child(12) {
  display: none;
}

#leaderboard.hide_rank tr > *:nth-child(13) {
  display: none;
}

#leaderboard.hide_scores tr > *:nth-child(n+2):nth-last-child(n+3) {
  color: rgba(255,255,255,0);;
}