#slides {
  position: relative;
  height: 620px;
  padding: 0px;
  margin: 0px;
  list-style-type: none;
}

.slide {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
}

.showing {
  opacity: 1;
  z-index: 2;
}

.controls {
  display: none;
}

.slide {
  font-size: 40px;
  padding: 24px;
  box-sizing: border-box;
  background: #333;
  color: #fff;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.controls {
  color: #fff;
  border: none;
  padding: 20px 0px;
  font-size: 20px;
  cursor: pointer;
  margin: 10px 0px 0px 10px;
  width: 70px;
  background-color: transparent;
}

.container {
  position: relative;
}

#pause {
  display: none;
}

.buttons #previous {
  position: absolute;
  top: calc(45% - 12px);
  left: 24px;
  z-index: 4;
}

.buttons #next {
  position: absolute;
  top: calc(45% - 12px);
  right: 24px;
  z-index: 4;
}

.buttons .fa {
  color: #fff;
  font-size: 24px;
}

@media only screen and (max-width: 1024px) {
  .buttons #next {
    top: 14px;
    width: auto;
  }

  .buttons #previous {
    top: 14px;
    width: auto;
    margin-left: 0;
  }

  .home-slider {
    position: static;
  }

  #slides {
    position: relative;
    height: auto;
  }

  .slide {
    position: static;
    overflow: hidden;
    height: 0;
    padding: 0;
    background-position: center;
  }

  .slide.showing {
    height: auto;
    padding: 24px;
  }
}

@media only screen and (max-width: 1280px) and (min-width: 1025px) {
  .buttons #previous {
    left: 0;
    margin-left: 5px;
    width: auto;
  }

  .buttons #next {
    width: auto;
    margin-right: 0;
  }

  .app.home h1,
  .app.home .home-first p {
    padding: 20px;
  }
}

@media only screen and (min-width: 1025px) {
  .slide {
    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    -o-transition: opacity 1s;
    transition: opacity 1s;
  }
}
