html, body {
  height: 50%;
}

body {
  background-color: #323238;
  color: white;
  text-align: center;
}

h1 {
  font-size: 125%;
}

footer {
  text-align: right;
  margin-top: 8%;
  padding: 1%;
}

/* Chat Bubbles */

#chat {
  width: 96%;
  height: 200%;
  margin-top: 0.5em;
  margin-left: 2%;
  margin-right: 2%;
  margin-bottom: 30px;
  font-size: 84%;
  overflow-y: auto;
  scroll-behavior: smooth;
  display: inline-block;
}

#chat > div {
  padding: 1%;
  margin-top: 0.6em;
  margin-left: 2%;
  margin-right: 33%;
  background-color: #69EA78;
  border: 2px solid black;
  border-radius: 4px;
  color: black;
  text-align: left;
  display: inline-block;
  float: left;
  clear: both;
}

#chat > p {
  padding: 1%;
  margin-top: 1em;
  margin-left: 58%;
  margin-right: 2%;
  background-color: #7CC8FF;
  border: 2px solid black;
  border-radius: 4px;
  color: black;
  text-align: left;
  display: inline-block;
  float: right;
  clear: both;
}

/* IDs */

#grandpy {
  max-width: 35%;
  height: auto;
}

#question {
  font-size: 1.5vw;
  top: 0;
}

#user_input {
  width: 50%;
  height: 6%;
  padding: 0.85vw;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

#submit {
  background-color: #E2E2E2;
  width: 18%;
  height: 5%;
  padding: .2%;
  border: 1px solid #000000;
  border-radius: 4px;
  margin: 1.2%;
}

#footer > div {
  display: inline-block;
  font-size: 95%;
}

#github {
  max-width: 58%;
  height: auto;
}

#twitter {
  max-width: 58%;
  height: auto
}

/* Google Maps */

#map {
  margin-left: 4%;
  margin-right: 4%;
  height: 250%;
  width: 92%;
}

/* Loading Dots Animation */

.spinner {
  width: 99%;
  margin-right: 1%;
  margin-top: 10vh;
  text-align: center;
  position: fixed;
}

.spinner > div {
  width: 1em;
  height: 1em;
  background-color: white;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  } 40% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}
