* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
  background-color: rgb(250, 7, 7);
}

.container {
  width: 80vmin;
  padding: 50px 40px;
  background-color: black;
  position: absolute; /*Absolute positioning takes elements out of the regular document flow while also affecting the layout of the other elements on the page.*/
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  border-radius: 5px;
  box-shadow: 20px 20px 40px rgb(44, 41, 41);
}

span {
  display: block;
  text-align: center;
  font-size: 100px;
}

p,
.list {
  font-size: 16px;
  color: rgb(0, 0, 0);
  font-weight: 400;
  text-align: center;
  word-wrap: break-word;
  line-height: 35px;
  margin: 20px 0;
  justify-content: space-around;
}

li {
  margin: 10px;
  background-color: rgb(255, 255, 255);
  font-size: 18px;
  font-weight: 600;
  padding: 3px;
}

li:hover,
button:hover {
  animation: wiggle 0.5s;
}

@keyframes wiggle {
  25% {
    transform: scale(0.7, 1.4);
  }
  50% {
    transform: scale(1.2, 0.7);
  }
  75% {
    transform: scale(0.6, 1.3);
  }
}

button {
  display: block;
  background-color: rgb(125, 125, 126);
  border: none;
  padding: 5px;
  font-size: 18px;
  color: black;
  font-weight: 600;
  padding: 10px 25px;
  margin: 40px auto;
  border-radius: 5px;
  cursor: pointer;
}

.input {
  display: block; /* display on own line */
  border: none;
  padding: 5px;
  margin: 0 auto;
  border-radius: 5px;
  width: 100%;
  border: 0;
  border-bottom: 2px solid gray;
  outline: 0;
  font-size: 18px;
  color: white;
  padding: 7px 0;
  background: transparent;
  transition: border-color 0.2s;
  transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
  text-indent: 15px;
}

.input:hover {
    border: 1px solid;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, .5), 0 0 20px rgba(255, 255, 255, .2);
    outline-color: rgba(255, 255, 255, 0);
    outline-offset: 15px;
    text-shadow: 1px 1px 2px #427388; 
    
}


img {
  width: 100px;
}

@keyframes backgroundColor {
  0% {
    background: #f11000;
  }
  25% {
    background: #00db63;
  }
  50% {
    background: #55ff00;
  }
  75% {
    background: #f8ae00;
  }
  100% {
    background: #fa2e00;
  }
}

body {
  animation-name: backgroundColor;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.container {
    animation: fadeInAnimation ease 5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
  
@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
     }
}
