body {
  text-align: center;
  font-family: Helvetica, Verdana, sans-serif;
  max-width: 45em;
  padding: 1em;
  margin: 0 auto 3em;
}

body, input, button {
  font-size: 20px;
}

a {
  text-decoration: none;
}

h1 {
  margin-bottom: 2em;
}

main {
  border: 1px solid black;
  margin: 0;
  padding: 2em;
}

main p {  
  margin-bottom: 2em;
}

#outcome {
  margin:2em 0;
  font-size: 1.5em;
  font-weight: bold;
}

.large {
  font-size: 1.5em;
}

hr {
 margin: 2em 0;
}

#codeprogress, #didyoucode, #progress, .dayDetails {
  display: none;
}

/* GRID! */
#grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-gap: 10px;
}

.box {
  background-color: #ddd;
  border-radius: 5px;
  padding: 20px;
  font-size: 150%;
}

.box:hover {
  background-color: lightskyblue;
}

.success {
   background-color: #9ACD32; 
}

.missed {
   background-color: #E9967A; 
}

.modalBackground {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(51,51,51,0.7);
    z-index: 2; 
}

.modal {
  width: 20em;
  height: 10em;
  background: #eee;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  padding: 1em;
  border-radius: 1em;
  box-shadow: 5px 5px 15px #aaa;
  z-index: 10;
}

.dayDetails {
  font-size: 100%;  
}
