.container {
  width: 500px;
  height: 500px;
  position: relative;
  overflow: hidden;
  margin: auto;
}

@media (max-width: 992px) {
  .container {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 600px) {
  .container {
    width: 200px;
    height: 200px;
  }
}

/**
* Animation #1 ----------------------------------------------------
*/
.animation-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f57c1f;
}

.animation-1 > h1 {
  text-align: center;
  color: white;
  font-family: "Raleway";
  font-size: 90px;
  line-height: 90px;
  letter-spacing: 15px;
  text-shadow: 0 1px 0 #efefef, 0 2px 0 #efefef, 0 3px 0 #efefef,
    0 4px 0 #efefef, 0 30px 5px rgba(0, 0, 0, 0.1);

  animation: animation1 1s linear infinite;
  animation-direction: alternate;
}

@keyframes animation1 {
  from {
    transform: rotate(5deg);
  }
  to {
    transform: rotate(-5deg);
  }
}

@media (max-width: 992px) {
  .animation-1 > h1 {
    font-size: 45px;
    line-height: 45px;
    font-weight: 600;
    letter-spacing: 10px;
  }
}

@media (max-width: 600px) {
  .animation-1 > h1 {
    font-size: 35px;
    line-height: 35px;
    font-weight: 400;
    letter-spacing: 5px;
  }
}

/**
* Animation #2 ----------------------------------------------------
*/
.animation-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f57c1f;
  perspective: 200px;
}

.animation-2 .loading {
  width: 100px;
  height: 100px;
  background-color: white;
  border-radius: 12px;
  animation: animation2 2s linear infinite;
}

@keyframes animation2 {
  0% {
    transform: rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: rotateX(0deg) rotateY(180deg);
  }
  100% {
    transform: rotateX(180deg) rotateY(180deg);
  }
}

@media (max-width: 600px) {
  .animation-2 .loading {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 12px;
    animation: animation2 2s linear infinite;
  }
}

/**
* Animation #3 ----------------------------------------------------
*/
.animation-3 {
  background: url(../images/city.jpg);
  background-position: bottom left;
  animation: animation3 5s linear infinite;
  background-repeat: no-repeat;
  background-size: cover;
}

.animation-3 .car {
  position: absolute;
  background: url(../images/car.png);
  left: 50px;
  bottom: -35px;
  width: 125px;
  height: 125px;
  background-repeat: no-repeat;
  background-size: contain;
}

.animation-3 .motorbike {
  position: absolute;
  background: url(../images/motobike.png);
  left: 300px;
  bottom: 30px;
  width: 90px;
  height: 90px;
  background-repeat: no-repeat;
  background-size: contain;
}

@keyframes animation3 {
  from {
    background-position: bottom left;
  }
  to {
    background-position: bottom right;
  }
}

@media (max-width: 992px) {
  .animation-3 .car {
    left: 40px;
    bottom: -15px;
    width: 75px;
    height: 75px;
  }
  .animation-3 .motorbike {
    left: 200px;
    bottom: 20px;
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 600px) {
  .animation-3 .car {
    left: 25px;
    bottom: -13px;
    width: 50px;
    height: 50px;
  }
  .animation-3 .motorbike {
    left: 135px;
    bottom: 11px;
    width: 35px;
    height: 35px;
  }
}

/**
* Animation #4 ----------------------------------------------------
*/
.animation-4 {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f57c1f;
}

.animation-4 > h1 {
  text-align: center;
  color: #ffffff;
  font-family: "Raleway";
  font-size: 50px;
}

.animation-4 span:before {
  content: "";
  text-transform: uppercase;
  font-family: arial;
  color: #333333;
  animation: animation4 5s infinite;
}

@keyframes animation4 {
  0% {
    content: "programming";
  }
  50% {
    content: "sports";
  }
  100% {
    content: "traveling";
  }
}

@media (max-width: 992px) {
  .animation-4 > h1 {
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  .animation-4 > h1 {
    font-size: 22px;
  }
}

/**
* Animation #5 ----------------------------------------------------
*/
.animation-5 {
  background: url(../images/pattern.png);
  background-position: 0 0;
  background-size: cover;
  animation: animation5 5s linear infinite;
}

@keyframes animation5 {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 600px;
  }
}

/**
* Animation #6 ----------------------------------------------------
*/
.animation-6 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Lato", sans-serif;
  background-color: #333333;
}

.animation-6 .text-wrapper {
  margin: 0;
  padding: 0;
  display: flex;
}

.animation-6 .text-wrapper > li {
  list-style: none;
  color: #484848;
  font-size: 48px;
  letter-spacing: 15px;
  font-family: "Raleway";
  animation: animation6 1.4s linear infinite;
}

.animation-6 .text-wrapper > li:nth-child(1) {
  animation-delay: 0s;
}
.animation-6 .text-wrapper > li:nth-child(2) {
  animation-delay: 0.1s;
}
.animation-6 .text-wrapper > li:nth-child(3) {
  animation-delay: 0.2s;
}
.animation-6 .text-wrapper > li:nth-child(4) {
  animation-delay: 0.3s;
}
.animation-6 .text-wrapper > li:nth-child(5) {
  animation-delay: 0.4s;
}
.animation-6 .text-wrapper > li:nth-child(6) {
  animation-delay: 0.5s;
}
.animation-6 .text-wrapper > li:nth-child(7) {
  animation-delay: 0.6s;
}
.animation-6 .text-wrapper > li:nth-child(8) {
  animation-delay: 0.7s;
}

@keyframes animation6 {
  0% {
    color: #484848;
    text-shadow: none;
  }

  90% {
    color: #484848;
    text-shadow: none;
  }

  100% {
    color: #fff900;
    text-shadow: 0 0 7px #fff900, 0 0 50px #ff6c00;
  }
}

@media (max-width: 992px) {
  .animation-6 .text-wrapper > li {
    font-size: 32px;
    letter-spacing: 10px;
  }
}

@media (max-width: 600px) {
  .animation-6 .text-wrapper > li {
    font-size: 22px;
    letter-spacing: 5px;
  }
}

/**
* Animation #7 ----------------------------------------------------
*/
.animation-7 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Lato", sans-serif;
  background-color: #333333;
}

.animation-7 .heart {
  position: relative;
  width: 100px;
  height: 100px;
  background-color: #ff3838;
  transform: rotate(45deg);
  animation: animation7 1.4s linear infinite;
}

.animation-7 .heart:before,
.animation-7 .heart:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ff3838;
  border-radius: 50%;
}

.animation-7 .heart:before {
  transform: translateY(-50%);
}

.animation-7 .heart:after {
  transform: translateX(-50%);
}

@keyframes animation7 {
  0% {
    transform: rotate(45deg) scale(1);
  }
  25% {
    transform: rotate(45deg) scale(1);
  }
  30% {
    transform: rotate(45deg) scale(1.4);
  }
  50% {
    transform: rotate(45deg) scale(1.2);
  }
  70% {
    transform: rotate(45deg) scale(1.4);
  }
  100% {
    transform: rotate(45deg) scale(1);
  }
}

@media (max-width: 992px) {
  .animation-7 .heart {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 600px) {
  .animation-7 .heart {
    width: 40px;
    height: 40px;
  }
}

/**
* Animation #8 ----------------------------------------------------
*/
.animation-8 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Lato", sans-serif;
  background-color: #333333;
}

.animation-8 > h1 {
  font-size: 72px;
  font-weight: bold;
  font-family: "Raleway";
  letter-spacing: 10px;
  text-align: center;
  text-transform: uppercase;
  background: url(../images/text-bg.jpg);
  background-size: contain;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: animation8 20s linear infinite;
}

@keyframes animation8 {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 100% 100%;
  }
}

@media (max-width: 992px) {
  .animation-8 > h1 {
    font-size: 36px;
    letter-spacing: 8px;
  }
}

@media (max-width: 600px) {
  .animation-8 > h1 {
    font-size: 22px;
    letter-spacing: 5px;
  }
}

/**
* Animation #9 ----------------------------------------------------
*/
.animation-9 {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #333333;
}

.animation-9 .dots-container {
  margin: 0 0 -25% 0;
  padding: 0;
  display: flex;
  border-bottom: solid 10px white;
}

.animation-9 .dots-container > li {
  list-style: none;
  width: 30px;
  height: 30px;
  background-color: white;
  margin: 0 10px;
  border-radius: 50%;
  transform: translateY(-500%);
  animation: animation9 0.8s linear infinite;
}

.animation-9 .dots-container > li:nth-child(1) {
  animation-delay: 0.45s;
}
.animation-9 .dots-container > li:nth-child(2) {
  animation-delay: 0.6s;
}
.animation-9 .dots-container > li:nth-child(3) {
  animation-delay: 0.3s;
}
.animation-9 .dots-container > li:nth-child(4) {
  animation-delay: 0;
}
.animation-9 .dots-container > li:nth-child(5) {
  animation-delay: 0.15s;
}

@keyframes animation9 {
  0% {
    transform: translateY(-500%);
  }
  50% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-500%);
  }
}

@media (max-width: 992px) {
  .animation-9 .dots-container > li {
    width: 20px;
    height: 20px;
    margin: 0 7px;
  }
}

@media (max-width: 600px) {
  .animation-9 .dots-container {
    border-bottom-width: 5px;
  }

  .animation-9 .dots-container > li {
    width: 10px;
    height: 10px;
    margin: 0 5px;
  }
}

/**
* Animation #10 ----------------------------------------------------
*/
.animation-10 {
  background: url(../images/mansion.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.animation-10 .rain {
  width: 200%;
  height: 200%;
  background: url(../images/rain.png);
  animation: animation10 0.5s linear infinite;
}

@keyframes animation10 {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 45% 100%;
  }
}

@media (max-width: 992px) {
  .animation-10 .rain {
    width: 350%;
    height: 350%;
  }
}

@media (max-width: 600px) {
  .animation-10 .rain {
    width: 500%;
    height: 500%;
  }
}

/**
* Animation #11 ----------------------------------------------------
*/
.animation-11 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  background-color: #333333;
}

.animation-11 .text-container {
  margin: 0;
  padding: 0;
  display: flex;
}

.animation-11 .text-container > li {
  list-style-type: none;
  color: yellow;
  font-family: "Raleway";
  font-size: 64px;
  letter-spacing: 20px;
  animation: animation11 3s linear infinite;
}

.animation-11 .text-container > li:nth-child(1) {
  animation-delay: 0s;
}
.animation-11 .text-container > li:nth-child(2) {
  animation-delay: 0.2s;
}
.animation-11 .text-container > li:nth-child(3) {
  animation-delay: 0.4s;
}
.animation-11 .text-container > li:nth-child(4) {
  animation-delay: 0.6s;
}
.animation-11 .text-container > li:nth-child(5) {
  animation-delay: 0.8s;
}
.animation-11 .text-container > li:nth-child(6) {
  animation-delay: 1s;
}
.animation-11 .text-container > li:nth-child(7) {
  animation-delay: 1.2s;
}

@keyframes animation11 {
  0% {
    color: yellow;
    transform: translateX(-50%);
    letter-spacing: 20px;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  50% {
    letter-spacing: -20px;
    opacity: 1;
  }

  100% {
    color: lime;
    transform: translateX(50%);
    letter-spacing: 20px;
    opacity: 0;
  }
}

@media (max-width: 992px) {
  .animation-11 .text-container > li {
    font-size: 36px;
    height: 350%;
  }
}

@media (max-width: 600px) {
  .animation-11 .text-container > li {
    font-size: 22px;
    height: 500%;
  }
}

/**
* Animation #12 ----------------------------------------------------
*/
.animation-12 {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #333333;
}

.animation-12 .pulse {
  position: relative;
  width: 100px;
  height: 100px;
  background: #f57c1f;
  border-radius: 50%;
  color: #333333;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 42px;
  font-weight: bold;
  font-family: sans-serif;
}

.animation-12 .pulse:before,
.animation-12 .pulse:after {
  content: "";
  position: absolute;
  left: -20px;
  right: -20px;
  top: -20px;
  bottom: -20px;
  border: 1px solid #f57c1f;
  border-radius: 50%;
  animation: animation12 1.5s linear infinite;
}

.animation-12 .pulse:after {
  animation-delay: 0.5s;
}

@keyframes animation12 {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  60% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

@media (max-width: 992px) {
  .animation-12 .pulse {
    width: 75px;
    height: 75px;
    font-size: 36px;
  }
}

@media (max-width: 600px) {
  .animation-12 .pulse {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
}

/**
* Animation #13 ----------------------------------------------------
*/
.animation-13 .slider {
  background-image: url(../images/mansion.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  animation: animation13 15s linear infinite;
}

@keyframes animation13 {
  0% {
    background-image: url(../images/mansion.jpg);
  }
  20% {
    background-image: url(../images/mansion.jpg);
  }
  25% {
    background-image: url(../images/image.png);
  }
  45% {
    background-image: url(../images/image.png);
  }
  50% {
    background-image: url(../images/image2.png);
  }
  70% {
    background-image: url(../images/image2.png);
  }
  75% {
    background-image: url(../images/image3.png);
  }
  95% {
    background-image: url(../images/image3.png);
  }
  100% {
    background-image: url(../images/mansion.jpg);
  }
}

/**
* Animation #14 ----------------------------------------------------
*/
.animation-14 .colors {
  background-color: #f44336;
  color: #333333;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Raleway";
  font-size: 64px;
  letter-spacing: 16px;
  text-transform: uppercase;
  animation: animation14 5s linear infinite;
}

@keyframes animation14 {
  0% {
    background: #f44336;
  }
  6.25% {
    background: #e91e63;
  }
  12.5% {
    background: #9c27b0;
  }
  18.75% {
    background: #673ab7;
  }
  25% {
    background: #3f51b5;
  }
  31.25% {
    background: #2196f3;
  }
  37.5% {
    background: #03a9f4;
  }
  43.75% {
    background: #00bcd4;
  }
  50% {
    background: #009688;
  }
  56.25% {
    background: #4caf50;
  }
  62.5% {
    background: #8bc34a;
  }
  68.75% {
    background: #cddc39;
  }
  75% {
    background: #ffeb3b;
  }
  81.25% {
    background: #ffc107;
  }
  87.5% {
    background: #ff9800;
  }
  93.75% {
    background: #ff5722;
  }
  100% {
    background: #f44336;
  }
}

@media (max-width: 992px) {
  .animation-14 .colors {
    font-size: 36px;
    letter-spacing: 10px;
  }
}

@media (max-width: 600px) {
  .animation-14 .colors {
    font-size: 22px;
    letter-spacing: 5px;
  }
}

/**
* Animation #15 ----------------------------------------------------
*/
.animation-15 {
  background-color: #333333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.animation-15 .cradle {
  display: flex;
  border-top: 10px solid white;
}

.animation-15 .cradle > span {
  display: block;
  width: 1px;
  height: 150px;
  background-color: white;
  margin: 0 15px;
  position: relative;
  transform-origin: top;
}

.animation-15 .cradle > span:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: white;
  transform: translateX(-50%);
}

.animation-15 .cradle > span:first-child {
  animation: animation15-left 2s ease-in infinite;
}

.animation-15 .cradle > span:last-child {
  animation: animation15-right 2s ease-in infinite 1s;
}

@keyframes animation15-left {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(30deg);
  }
  50% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes animation15-right {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-30deg);
  }
  50% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@media (max-width: 992px) {
  .animation-15 .cradle {
    display: flex;
    border-top: 10px solid white;
  }
  .animation-15 .cradle > span {
    height: 100px;
    margin: 0 10px;
  }
  .animation-15 .cradle > span:before {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 600px) {
  .animation-15 .cradle {
    border-top-width: 5px;
  }
  .animation-15 .cradle > span {
    height: 75px;
    margin: 0 7px;
  }
  .animation-15 .cradle > span:before {
    width: 15px;
    height: 15px;
  }
}

/**
* Animation #16 ----------------------------------------------------
*/
.animation-16 {
  background-color: #333333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.animation-16 .wrapper {
  width: 100px;
  height: 100px;
  position: relative;
  animation: animation16-animate 1s linear infinite;
  transform: rotate(45deg);
}

.animation-16 .wrapper > span {
  position: absolute;
  width: 50px;
  height: 50px;
  animation: animation16-rotate 1s linear infinite;
}

.animation-16 .wrapper > span:nth-child(1) {
  top: 0;
  left: 0;
  background-color: #fceba7;
}

.animation-16 .wrapper > span:nth-child(2) {
  top: 0;
  right: 0;
  background-color: #55ddb9;
}

.animation-16 .wrapper > span:nth-child(3) {
  bottom: 0;
  left: 0;
  background-color: #fd6c64;
}

.animation-16 .wrapper > span:nth-child(4) {
  bottom: 0;
  right: 0;
  background-color: #1f78b0;
}

@keyframes animation16-rotate {
  0% {
    transform: rotate(0deg);
  }

  10% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(90deg);
  }

  90% {
    transform: rotate(90deg);
  }

  100% {
    transform: rotate(90deg);
  }
}

@keyframes animation16-animate {
  0% {
    width: 100px;
    height: 100px;
  }

  10% {
    width: 100px;
    height: 100px;
  }

  50% {
    width: 150px;
    height: 150px;
  }

  90% {
    width: 100px;
    height: 100px;
  }

  100% {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 992px) {
  .animation-16 .wrapper {
    transform: rotate(45deg) scale(0.75);
  }
}

@media (max-width: 600px) {
  .animation-16 .wrapper {
    transform: rotate(45deg) scale(0.5);
  }
}

/**
* Animation #17 ----------------------------------------------------
*/
.animation-17 {
  background-color: #333333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.animation-17 .wrapper {
  width: 150px;
  height: 150px;
  position: relative;
}

.animation-17 .wrapper > span {
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: #fd6c64;
  border-radius: 4px;
  animation: animation17 3s linear infinite;
}

.animation-17 .wrapper > span:nth-child(2) {
  animation-delay: 1s;
  background-color: #55ddb9;
}

.animation-17 .wrapper > span:nth-child(3) {
  animation-delay: 2s;
  background-color: #1f78b0;
}

@keyframes animation17 {
  0% {
    top: 0;
    left: 0;
  }

  12.5% {
    top: 0;
    left: 50%;
  }

  25% {
    top: 0;
    left: 50%;
  }

  37.5% {
    top: 50%;
    left: 50%;
  }

  50% {
    top: 50%;
    left: 50%;
  }

  62.5% {
    top: 50%;
    left: 0;
  }

  75% {
    top: 50%;
    left: 0;
  }

  87.5% {
    top: 0;
    left: 0;
  }

  100% {
    top: 0;
    left: 0;
  }
}

@media (max-width: 992px) {
  .animation-17 .wrapper {
    transform: scale(0.75);
  }
}

@media (max-width: 600px) {
  .animation-17 .wrapper {
    transform: scale(0.5);
  }
}
