.contained {
  max-width: 900px;
}

.top-left {
  top: 20px;
}

.top-right {
  top: 20px;
  left: unset !important;
}

.bottom-left h5,
.top-left h5 {
  text-align: left;
  max-width: 500px;
}

.bottom-right h5,
.top-right h5 {
  text-align: right;
  max-width: 500px;
}

.bottom-right {
  left: unset;
}

.center {
  top: 45%;
}

.carousel-caption h5 {
  font-size: 2.25rem;
  font-family: "mars_centrabold";
}

.slider-animation {
  animation-name: slide;
  animation: slide 15s ease-in-out;
  animation-fill-mode: both;
  animation-direction: reverse;
}

@keyframes slide {
  0% {transform:scale(1.15);}
  100% {transform: scale(1);}
}


.carousel-caption {
  left: 5%;
  right: 9%;
}

@media only screen and (max-width: 767px) {
  .top-right h5 {
    margin-left: 15px;
  }

  .carousel-caption h5 {
    font-size: 0.9rem;
    margin-left: 1.5rem;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  .carousel-caption h5 {
    margin-left: 4.5rem;
  }
}
