@import url(https://fonts.googleapis.com/css?family=Roboto);

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #F3F5F5;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}

.message {
  background: white;
  border-radius: .4em;
  width: 93%;
  padding-bottom: 2px;
  padding-top: 2px;
  padding-left: 7px;
  margin-left: 10px;
  margin-top: 5px;
  font-size: 16px;
}

.header {
	position: fixed;
  top: 0;
  left: 0;
  border-radius: .4em;
  background: #CCEEF9;
  border:1px solid #CCC;
  width:100%;
  font-size: 16px;
  margin-bottom: 22px;
  padding: 4px;
  z-index: 3;
}

.messages {
  position: relative;
  border-radius: .4em;
  margin-left: 5px;
  margin-top: 30px;
  font-size: 16px;
}

.speech-bubble {
  background: #CCEEF9;
  color: #045B76;
  border-radius: .4em;
  width: 92%;
  border:1px solid #CCC;
  padding-bottom: 2px;
  padding-top: 2px;
  padding-left: 7px;
  margin-left: 10px;
  margin-top: 7px;
  font-size: 16px;
  z-index: 2;
}

.exitButton {
  border-radius: .4em;
  padding-left: 7px;
  margin-left: 10px;
  margin-top: 6px;
  font-size: 16px;
}

.nickname {
  background: white;
  border-radius: .4em;
  width: 90px;
  padding-bottom: 2px;
  padding-top: 2px;
  padding-left: 7px;
  margin-right: 6px;
  margin-top: 5px;
  font-size: 16px;
}

.content {
  width:100%;
  top:72px;
  position: relative;
  font-size: 16px;
  z-index:1;
}

.keyword {
  background: white;
  color: #045B76;
  border-radius: .4em;
  width: 90px;
  padding-left: 7px;
  margin-top: 5px;
  float: left;
  font-size: 16px;
}

/* animations */

.w3-animate-opacity{animation:opac 0.8s}@keyframes opac{from{opacity:0} to{opacity:1}}

@-webkit-keyframes bounceInDown {
  from,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -3000px, 0);
    transform: translate3d(0, -3000px, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, 25px, 0);
    transform: translate3d(0, 25px, 0);
  }

  75% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, 5px, 0);
    transform: translate3d(0, 5px, 0);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes bounceInDown {
  from,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -3000px, 0);
    transform: translate3d(0, -3000px, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, 25px, 0);
    transform: translate3d(0, 25px, 0);
  }

  75% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, 5px, 0);
    transform: translate3d(0, 5px, 0);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.bounceInDown {
  -webkit-animation-name: bounceInDown;
  animation-name: bounceInDown;
}

.animated {
  -webkit-animation-duration: 0.10s;
  animation-duration: 0.10s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.bg-text
{
    position:fixed;
    color:lightgrey;
    z-index:1;
    font-family: 'Roboto', sans-serif;
    font-size:90px;
    transform:rotate(0deg);
    -webkit-transform:rotate(0deg);
}