body{
  margin: 0;
  padding: 1em;
  background: #16161E;
  color: white;
  font-family: "Nunito Sans", sans-serif;

}

.debug header{
  background: #670808;
}

header{
  background: #131314;
  padding: 1rem;
}

header h1{
  margin: 0;
  padding: 0;
  color: #C4C1BC;
  font-family: "Poetsen One", sans-serif;
  font-weight: normal;
  font-size: 24px;
}

.box{
  margin-top: 1.5rem;
  padding: 1rem;
  background: #1A1B26;
}

.box h2{
  margin: 0 0 .5em;
  font-size: 20px;
}

.box > div:not(:last-child){
  margin-bottom: 1em;
}

.box ul{
  margin: 0;
  padding: 0;
  list-style: none;
  user-select: none;
} 

.box ul ul li{
  margin-bottom: 7px;
  padding-left: 7px;
  padding-right: 7px;
  display: flex;
}

.box ul h3{
  background: #1C3B55;
  padding: .25em;
  margin-bottom: .4em;
}

input[type=checkbox]{
  display: none;
} 

input[type=checkbox] + label{
  position: relative;
  margin-left: 35px;
  cursor: pointer;
  flex: 1;
}

input[type=checkbox] + label::before{
  content: '';
  display: inline-block;
  position: absolute;
  width: 30px;
  height: 15px;
  background: #ededed;
  border-radius: 10px;
  left: -35px;
  top: 50%;
  transform: translateY(-50%);
}

input[type=checkbox] + label::after{
  content: '';
  display: inline-block;
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  left: -34px;
  top: 50%;
  transform: translateY(-50%);
  background: #585A5A;
  transition: left .25s, background .25s;
}

input[type=checkbox]:checked + label::after{
  left: -19px;
  background: #245F17;
}

input[type=checkbox]:checked ~ span{
  display: none;
}

.action-button{
  padding: .5em 1.5em;
  border-radius: .5em;
  background: #396C90;
  color: white;
  border: none;
  outline: none;
  cursor: pointer;
}

.action-button:disabled{
    cursor: default;
    pointer-events: none;
    filter: grayscale(1)
}

.box ul ul li span{
  padding: 0 5px;
}

.box ul ul li .winner{
  background: darkgreen;
  color: white;
}

.header{
  display: flex;
  align-items: stretch;
}

.header h1,
.header h2{
  flex: 1;
}

.hidden{
  display: none;
}


@media (max-width: 450px){
  .header{
    gap: 10px;
    flex-direction: column;
  }
}