body {
  background-color: #eee;
}

h1 {
  text-align: center;
}

.container {
  width: 800px;
  margin: 0 auto;
}

.slider-area {
  position: relative;
  padding: .5em;
  background-color: #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.slider-wrap {
  overflow: hidden;
}

.slider {
  position: relative;
  left: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.slider-item {
  float: left;
}

.slider-item img {
  vertical-align: bottom;
}

.slider-nav {
  padding: 0;
  margin: 0;
  list-style: none;
}

.slider-button {
  position: absolute;
  top: 0;
  bottom:0;
  margin: auto 0;
  width: 5em;
  height: 5em;
  border: none;
  border-radius: 50%;
  background-color: rgba(0 ,0, 0, 0.5);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  outline: none;
  transition: all .3s ease-in-out;
}

.slider-button:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 1em;
  height: 1em;
  border: 2px solid #fff;
  transform: rotate(45deg);
}

.slider-button:hover {
  background-color: rgba(0 ,0, 0, 0.9);
}

.slider-prev {
  left: -2.5em;
}

.slider-prev:before {
  border-top: none;
  border-right: none;
  left: .5em;
}

.slider-next {
  right: -2.5em;
}

.slider-next:before {
  border-bottom: none;
  border-left: none;
  right: .5em;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
