* {
  box-sizing: border-box;
}

body {
  font: 16px Arial;
  margin: 0px;
  overflow: hidden;
}

#content {
  display: flex;
  flex-direction: column;

  align-items: center;
}
#top {
  height: 100px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#flags {
  width: 100%;
  background-color: lightblue;
  padding: 30px;
  height: 239px;

  display: flex;
  flex-direction: row;
  justify-content: center;
}
#countdown_holder {
  width: 100%;
  height: 3px;
  position: relative;
}
#outcome_holder {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.countdown_to_zero {
  width: 0% !important;
  transition-property: width;
  transition-duration: 3.5s;
  transition-timing-function: linear;
  background: blue;
  top: 3px;
}

#countdown {
  position: relative;
  height: 3px;
  background: lightblue;
  top: 3px;
}
figure {
  display: inline-block;
  left: 0px;
  position: relative;

  transition-property: left color;
  transition-duration: 3s;
  transition-timing-function: ease-in-out;
}

.overlay {
  background-color: SlateGray;
  position: relative;
  width: 100%;
  opacity: 0;
  -moz-opacity: 0%;
  -webkit-opacity: 0%;
  z-index: 2;
}

.move_to_center {
  left: 300px;
}
figcaption {
  font-size: 20px;
  text-align: center;
}

#instructions {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  height: 100%;
}

#play {
  display: flex;
  justify-content: center;
  margin: 5px;
  text-transform: uppercase;
}

#weird_outcome {
  margin-top: 20px;
  padding: 10px;
  border: 3px solid lightgrey;
  width: 300px;
  display: flex;
  justify-content: center;
  text-align: center;
}
.btn-1 {
  border: 3px solid #fff;
}
.btn {
  border: 2px solid blue;
  font-family: inherit;
  font-size: inherit;
  color: blue;
  background: white;
  cursor: pointer;
  padding: 25px 80px;
  display: inline-block;
  margin: 15px 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  outline: none;
  position: relative;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.btn:after {
  content: '';
  position: absolute;
  z-index: -1;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
.btn-1a:hover,
.btn-1a:active {
  color: white;
  background: darkblue;
}

.to_middle {
  margin-left: -204px;
  position: relative;
  -webkit-transition-property: transform;
  -webkit-transition-duration: 1s;
  -webkit-transition-timing-function: ease-in-out;
  transition-property: transform;
  transition-duration: 1s;
  transition-timing-function: ease-in-out;
  transform: translate(50%, 0);
}

/*the container must be positioned relative:*/
.autocomplete {
  position: relative;
  display: inline-block;
}

input {
  border: 1px solid transparent;
  background-color: #f1f1f1;
  padding: 10px;
  font-size: 16px;
}

input[type='text'] {
  background-color: #f1f1f1;
  width: 100%;
}

input[type='submit'] {
  background-color: DodgerBlue;
  color: #fff;
  cursor: pointer;
}

.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: #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;
}

#pleaserotate-graphic {
  fill: #fff;
}

#pleaserotate-backdrop {
  color: #fff;
  background-color: #000;
}