/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  position: relative;
  background-color: #49754f;
  color: white;
  font-family: Verdana;
  height: 100svh;
  min-height: 100svh;
  margin: 5px;
  overflow: hidden;
}

body::after {
  content: '';
  display: block;
  height: 50px;
}

#topbit {
  height: 130px;
}

#headerrow {
  vertical-align: middle;
}

#help {
  position: absolute;
  display: inline-block;
  top: 0px;
  line-height: 24px;
  height: 24px;
  width: 24px;
  text-align: center;
  vertical-align: middle;
  border: solid 1px white;
  border-radius: 12px;
  cursor: help;
}

#todaysword, #guessbox, #status {
  height: 24px;
}

#answers {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0px;
  width: 100%;
  padding-top: -135px;
  margin-top: 135px;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

  #progressbar {
      border: solid 5px black;
      border-bottom: solid 5px #49754f;
      left: 0px;
      right: 0px;
      background-color: white;
      height: 5px;
      position: absolute;
  }
  
  #progressbarcanvas {
    width: 100%;
    height: 3px;
    top: 1px;
    background-color: white;
    position: absolute;
  }
  
  #allanswers, #intro {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 0px;
    right: 0px;
    padding-top: 5px;
    border: solid 5px black;
    overflow: auto;
  }

  #allanswers {
    margin-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
  }
    
    #allanswers span {
      width: 20px;
      overflow: hidden;
      display: inline-block;
      background-color: white;
      margin: 1px;
      padding: 2px;
      border: solid 1px white;
      text-indent: -9999px;
    }

#intro {
  background-color: #49754f;
  padding: 10px;
}

#advertising {
  position: absolute;
  bottom: 10px;
  left: 0px;
  width: 100%;
  text-align: center;
  border-top: 0;
  background-color: transparent;
  height: 50px;
  padding-left: 0px;
}

.ra {
    width: auto !important;
    color: white;
    background-color: transparent !important;
    text-indent: 0px !important;
}

#targetword {
  font-weight: bold;
}

#results {
  display: inline-block;
  overflow: visible;
}

#results span {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    display: block;
}

#yesbox { 
  background-color: lightgreen;
}

#nobox {
    background-color: red;
}
