body {
    font-family: "Montserrat";
    padding: 12px;
    color: white;
    line-height: 1.5;
    max-width: 720px;
    margin: 0 auto;
    background-color: #151515;
}


h2 {
    font-weight: lighter;
    font-size: 24pt;
    color: white;
    
}

h1 {
    font-weight: lighter;
    font-size: 24pt;
    color: white;
    margin-bottom: -50px;
    text-align: center;
    
}

#circle {
    border-radius: 100%;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}


#game {
    display: none;
    width: 110px;
    height: 110px;
    padding: 5%;
    margin: 0 auto;
}

#round {
    text-align: center;
    display: none;    
}

.itemParagraph {
    font-weight: bold;
}

.itemParagraphImg {
    font-weight: bold;
    display: inline-flex;
    padding: 15px;
}


.imageRow {
    text-align: center;
    background-color: rgb(238, 238, 238);
    border-radius: 5px;
    width: 200px;
    color: black;
}


button {
    width: 100%;
    font-weight: 600;
    padding: 12px 20px;
    box-sizing: border-box;
    border-style: none;
    border-radius: 4px;
    color: white;
    background-color: #151515;
    font-size: 16px;
    resize: none;
    max-width: 350px;
    margin-bottom: 15px;
}



#startButton {
    text-align: center;
    background-color: #057ae6;
    color: white;
    border-radius: 5px;
}

#startTimerButton {
    margin: 12px;
    text-align: left;
    background-color: #009338;
    color: white;
    border-radius: 15px;
    line-height: 2em;
    vertical-align: middle;
    width: fit-content;
    
}

.centeredText {
    text-align: center;
}

#timerWord {
    width: 100%;
    padding: 12px 20px;
    box-sizing: border-box;
    border-style: none;
    border-radius: 4px;
    background-color: #151515;
    color: white;
    font-size: 16px;
    resize: none;
    text-align: center;
    height: 2em;
}

#cancelTimerLink {
    text-align: center;
    color: grey;
}

#reaction {
    display: none;
}

a {
    color: black
}

#stats {
    margin: 0 auto;
    text-align: center;
    display: none;
}

progress {
    width: 100%;
    height: 5px;
}

#progress-bar {
  display: none;
  width: 100%;
  height: 3px;
  position: relative;
  background-color: darkgrey;
}

#progress-fill {
  height: 100%;
  width: 100%;
  background: #057ae6; 
  background-size: 800% 100%;
  animation: progress 15s linear infinite;
}

iframe {
    margin: 0 auto;
    text-align: center;
    height: 300px;
    width: 100%;   
}

@media only screen and (max-width: 600px) {
    canvas {
        /* zoom so it fits into screen */
        zoom: 0.5;
    }

    #endscreenHeading {
        display: none
    }

    iframe {
        height: 400px;
        
    }

}


@keyframes progress {
    0% {
      background-position: 0% 0;
    }
    100% {
      background-position: 100% 0;
    }
  }
  
  #status {
    background-color: #F8F8F8;
    position: absolute;
    bottom: 12pt;
    width: 100%;
    height: 36pt;
    vertical-align: middle;
    line-height: 36pt;
  }

/* text input */
input[type=text] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #F8F8F8;
    font-size: 16px;
    resize: none;
}

#resultScaleDiv {
    margin: 0 auto;
    text-align: center;
}

#resultText {
    
    text-align: justify;
}



#scoreBox {
    background-color: #E0E5F3;
    font-size: 24pt;
    color: 005093;
    height: 72pt;
    line-height: 72pt;
    margin: 0 auto;
    padding-left: 12pt;
}

#scoreHeading {
    color: rgb(255, 255, 255);
    text-align: center
}


#endResult {
    background-color: white;
}


.tinyImage {
    margin-top: 12pt;
    width: 150px;
    

}

.imageForm {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.imageContainer {
    box-sizing: border-box;
    width: 50%;
    padding: 15px;
}

/* on smarthphones, make the images smaller */
@media only screen and (max-width: 600px) {
    .imageContainer {
        width: 100%;
    }
}

.imageInput {
    margin-bottom: 56pt;
    width: 100px;
    text-align: center;
}


#scrollHint {
    opacity: 0;
    position: fixed;
    right: 0;
    bottom: 0;
    width: 100px;
    height: 100px;
    z-index: 100;
}

#saveForLaterButton{
    background-color: #2e2e2e;
    color: white;
    text-align: center;
    font-weight: 200;
}

#saveForLaterButton:hover {
    background-color: #4d4d4d;
}

#saveForLaterDisclaimer {
    color: white
}

#saveForLaterFrame {
    
    opacity: 0;
    transition: opacity 0.5s linear;
    height: 0px;
}




