body {
    background-color: #1b1b1b;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

header{
  margin-left: 30% !important;
  margin-right: 30% !important;
}

#infoButtons {
    display: flex;
}

#rules{
    width: 85%;
    float: left;
}

#info {
    width: 15%;
    float: right;
}

header p{
    text-align: center;
    font-family: 'Libre Barcode 39 Text', cursive;
    font-size: 50px;
    color: #FF8800;
}

.modal-content{
  background-color: #1b1b1b !important;
}

#popup img{
    max-width: 100%;
}

#phoneTable{
  display: none;
}

#phoneInfo{
  display: none;
}

#phoneTable thead{
  background-color: #FF8800;
}

#phoneTable tbody tr{
  background-color: #59305A;
}

.flagOfTheDay{
    display: flex;
    justify-content: center;
}

.flagOfTheDay img{
  width: 30%;
}

.guessTime{
    margin-left: 30%;
    margin-right: 30%;
}

[list]::-webkit-calendar-picker-indicator {
    display: none;
  }

::placeholder {
    text-align: center; 
 }
 
/* or, for legacy browsers */

::-webkit-input-placeholder {
text-align: center;
}

:-moz-placeholder { /* Firefox 18- */
text-align: center;  
}

::-moz-placeholder {  /* Firefox 19+ */
text-align: center;  
}

:-ms-input-placeholder {  
text-align: center; 
}

#tries{
    margin-top: 2vw;
}

#tries div{
    height: 3em;
    max-height: 3em;
}

/*#letters1, #letters2, #letters3, #letters4, #letters5, #letters6{
  font-size: 18px;
}*/

#footer{
    font-family: 'Rochester', cursive;
    text-align: center;
    color: #FF8800;
}

a{
    color: inherit; 
} 

a:hover{
    color: #FF8800;
}




.autocomplete {
  /*the container must be positioned relative:*/
  position: relative;
  display: inline-block;
  width: 100%;
  margin-top: 2vw;
}
input {
  background-color: #363636;
  font-size: 16px;
  padding: 10px;
  width: 88%;
  float: left;
  color: #fff;
  border: 2px solid #9CAFB7 !important;
}
.guessTime button{
  width: 10%;
  font-size: 16px !important;
  padding: 10px !important;
  float: right;
}
input[type=text] {
  background-color: #f1f1f1;
  width: 100%;
}
input[type=submit] {
  background-color: DodgerBlue;
  color: #fff;
}
.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  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: #363636;
  border-bottom: 1px solid #9CAFB7;
  color: #9CAFB7;
}
.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #252525;
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important;
  color: #ffffff;
}

#guessButton {
    background-color: #FF8800 !important;
    border: 2px solid #D4F4DD;
    font-family: 'Noto Color Emoji', sans-serif;
}

.endOfGame{
  margin-left: 30% !important;
  margin-right: 30% !important;
}

#todaysAnswer{
  display: none;
  justify-content: center;
}

#streakFinished{
  display: none;
  justify-content: center;
}

#share{
  display: none;
  font-size: 16px !important;
  padding: 10px !important;
  justify-content: center;
  margin-top: 2vw;
  margin-left: 30%;
  margin-right: 30%;
}

.cf:before,
.cf:after {
  content: " ";
  display: table;
}

.cf:after { clear: both; }

#letters1, #letters2, #letters3, #letters4, #letters5, #letters6 {

    font-family: "Noto Color Emoji", sans-serif;

}

#tries div div div{
    background-color: #161616;
    border-color: #131313 !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

#tries div div div img{
  /*width: 60%;
  max-width: 60%;*/
  height: 100%;
  max-height: 100%;
}

@media screen and (min-width: 700px) {
  
  #tries{
    margin-left: 10%;
    margin-right: 10%;
  }

}

@media screen and (min-width: 1500px) {
  
  #tries{
    margin-left: 25%;
    margin-right: 25%;
  }

}

@media screen and (max-width: 1100px) {

    .guessTime {
      margin-left: 5%;
      margin-right: 5%;
    }

    #selectedCountry {
        width: 80%;
    }

    #guessButton {
      width: 15%;
    }

    .autocomplete {
        margin-top: 7vw;
    }

    .flagOfTheDay img{
      width: 50%;
    }

    header{
      margin-left: 8% !important;
      margin-right: 8% !important;
    }

    #rules{
      width: 70%;
      float: left;
    } 
  
    #info {
        width: 30%;
        float: right;
    }
  
}