
@keyframes shake {
  0% { transform: translate(1200px, 0px); }
  100% { transform: translate(-2000px, 0px); }
}


body {
  overflow-x: hidden;
  width: 60%;
  max-width: 100%;
  text-align: center;
  align-content: center;
  background-color: black;
  background-size: 10%;
  color: white;
  margin: auto;
  font-size: 22px;
  margin-top: 50px;
  margin-bottom: 15px;
  border-radius: 25px;
  font-family: Tahoma, Verdana, sans-serif;
  image-rendering: optimizeSpeed;
}

.polly {
  width: 90%;
  align-content: center;
  background-color: #60121A;
  color: #F76729;
  padding: 5px;
  margin: auto;
  font-size: 30px;
  font-family: 'polly';
  border-radius: 25px;
}
.avie {
  width: 90%;
  align-content: center;
  background-color: #364131;
  color: #B6D465;
  padding: 5px;
  margin: auto;
  font-size: 30px;
  font-family: 'avie';
  border-radius: 25px;
}

.seer {
  width: 90%;
  align-content: center;
  background-color: #510C6D;
  color: #D370FF;
  padding: 5px;
  margin: auto;
  font-size: 30px;
  font-family: 'seer';
  border-radius: 25px;
}

.bg {
  text-align: left;
  color: black;
  width: 90%;
  border-width: 15px;
  border-color: #DDD;
  border-style: outset;
  background-color: #FFF;
  padding: 10px;
  margin: auto;
  border-radius: 25px;
  box-shadow: 5px 5px;
}

.bg2 {
  text-align: left;
  color: black;
  width: 90%;
  border-width: 0px;
  border-color: #DDD;
  border-style: outset;
  background-color: #FFF5AE;
  padding: 5px;
  margin: auto;
  margin-bottom: 15px;
  border-radius: 15px;
  box-shadow: 2px 2px;
}

.minitext {
  padding: 20px;
  opacity: 0.5;
  font-size: 15px;
}

.container {
  display: flex;
  flex-wrap: nowrap;
  text-align: left;
  border: 2px solid #ccc;
  background-color: #eee;
  border-radius: 25px;
  padding: 16px;
  margin: 10px;
  border-width: 10px;
  border-color: #DDD;
  align-content: center;
  border-style: outset;
}

/* Clear floats after containers */
.container::after {
  content: "";
  clear: both;
  display: table;
}

/* Float images inside the container to the left. Add a right margin, and style the image as a circle */
.container img {
  align-content: center;
  float: left;
  margin: auto;
  margin-right: 30px;
  margin-left: 5px;
  border-radius: 5%;
  display: block;
}

/* Increase the font-size of a span element */
.container span {
  font-size: 20px;
  margin-right: 15px;
  opacity: 0.5;
}

/* Add media queries for responsiveness. This will center both the text and the image inside the container */
@media (max-width: 500px) {
  .container {
    text-align: center;
  }

  .container img {
    margin: auto;
    float: none;
    display: block;
  }
}
