* {
    box-sizing: border-box;
  }
  
  body {
    font: 16px Arial;  
    background-color: white;
    background-image: url("binaryback.jpg");
    padding: 0;
}

  #container {
      max-width: 540px;
      margin: 1vh auto 1vh auto;
      background-color: #e8dcca;
      height: 96vh;
  }
  
  #body {
      background-color: #e8dcca;
      padding: 20px;
      margin: 0 auto 0 auto
  }

  img {
    max-width:100%;
    height: auto;
  }

  
  
  #footer {
    background-color: #e8dcca;
    padding: 20px;
    margin: 0 auto 0 auto;
    font-size: 60%;
    text-align: center;
}

  #answers p {
    background-color: #473b29;
    margin: 5px;
    padding: 5px;
    color: white;
  }

  #guessing {
    margin: 0 auto 0 auto;
      padding: 5px;
      width: 230px;
  }

  #guessing-buttons {
    margin: 0 auto 0 auto;
      padding: 5px;
      width: 170px;
  }

  #answer {
    font-size: 110%;
  }

  #guesses {
    margin: 0 auto 0 auto;
    max-width: 220px;
  }

  .guess {
    width: 40px;
    height: 40px;
    background-color: darkgray;
  }

  .guess-succeeded {
    width: 40px;
    height: 40px;
    background-color: rgb(123, 202, 5);
  }

  .guess-failed {
    width: 40px;
    height: 40px;
    background-color: red;
  }

  .guess-current {
    width: 40px;
    height: 40px;
    background-color: #473b29
  }


  /*the container must be positioned relative:*/
  .autocomplete {
    position: relative;
    display: inline-block;
  }

  /*the container must be positioned relative:*/
  #buttonsdiv {
        position: relative;
        float: right;
  }
  
  input {
    border: 1px solid transparent;
    background-color: #f1f1f1;
    padding: 10px;
    font-size: 16px;
  }
  
  input[type=text] {
    background-color: #b39d9d;
    margin-right: 5px;
    display: block;
  }
  
  input[type=submit] {
    background-color: #473b29;
    margin-left: 5px;
    margin-right: 0px;
    color: #fff;
    cursor: pointer;
    width: 70px;
    font-size: 16px;
  }
  
  .guessing-button {
    background-color: #473b29;
    margin-left: 5px;
    margin-right: 0px;
    color: #fff;
    cursor: pointer;
    width: 70px;
    font-size: 16px;
    border: 1px solid transparent;
    padding: 10px;
    font-size: 16px;
  }
  
  #share {
    border: 1px solid transparent;
    padding: 10px;
    background-color: #473b29;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
  }
  
  .autocomplete-items {
    position: absolute;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
  }
  
  .autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff; 
    border-bottom: 1px solid #d4d4d4; 
  }
  
  /*when hovering an item:*/
  .autocomplete-items div:hover {
    background-color: #e9e9e9; 
  }
  
  /*when navigating through the items using the arrow keys:*/
  .autocomplete-active {
    background-color: DodgerBlue !important; 
    color: #ffffff; 
  }