/*
essential styles:
these make the slideshow work
*/
#slides {
  position: relative;
  height: 300px;
  width: 70%;
  padding: 0px;
  margin: 0 auto;
  list-style-type: none;
}

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

  -webkit-transition: opacity 1s;
  -moz-transition: opacity 1s;
  -o-transition: opacity 1s;
  transition: opacity 1s;
}

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


.controls {
  display: none;
}


/*
non-essential styles:
just for appearance; change whatever you want
*/

.slide {
  font-size: 40px;
  padding: 40px;
  box-sizing: border-box;
  background: #333;
  color: #fff;

  background-size: cover;
}

.slide:nth-of-type(1) {
  background-color: #ccc;
  background-image: url('01-joyful.jpg');
}

.slide:nth-of-type(2) {
  background-color: #ccc;
  background-image: url('02-contented.jpg');
}

.slide:nth-of-type(3) {
  background-color: #ccc;
  background-image: url('03-dejected.jpg');
}

.slide:nth-of-type(4) {
  background-color: #ccc;
  background-image: url('04-mad.jpg');
}

.slide:nth-of-type(5) {
  background-color: #ccc;
  background-image: url('05-hurt.jpg');
}

.slide:nth-of-type(6) {
  background-color: #ccc;
  background-image: url('06-hollow.jpg');
}

.slide:nth-of-type(7) {
  background-color: #ccc;
  background-image: url('07-hopeless.jpg');
}

.slide:nth-of-type(8) {
  background-color: #ccc;
  background-image: url('08-lonely.jpg');
}

.slide:nth-of-type(9) {
  background-color: #ccc;
  background-image: url('09-ecstatic.jpg');
}

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

/* .controls:hover,
.controls:focus {
  background: #eee;
  color: #333;
} */

.slideshow-container {
  position: relative;
  width: 100%;
}

.buttons {
  position: absolute;
  left: 0px;
  top: calc(50% - 35px);
  z-index: 10;
  font-size: 0px;
  width: 100%;
  display: flex;
  justify-content: space-between;
}
