* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


[title] {
  display: block;
  margin: 0 0 1em 0;
}

/*
  hiding, and styling, the elements we'll be creating
*/
[title] + span.createdTooltip {
  display: none;
  border: 1px solid #000;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  color: #000;
  background-color: rgba(255, 255, 255, 0.2 );
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 1px 1px 3px grey;
  padding: 0.2em 0.9em;
  border-radius: 0.4em;
}

/*
  showing the created elements on hovering the element we want to
  show tooltips for
*/
[title]:hover + span.createdTooltip {
  display: block;
  position: absolute;
}

.slider {
  position: relative;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}


.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.current {
  opacity: 1;
}

p {
  position: absolute;
  top: 0;
  left: 0;
  margin-top: 20px;
  margin-left: 20px;
  color:black;
  border: 1px solid #000000;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  color: #000000;
  background-color: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 1px 1px 3px grey;
  padding: 1em 0.3em;
  border-radius: 1em;
  writing-mode: vertical-lr;
  text-orientation: upright;
  /*text-shadow: -1px -1px #9df, 2px 2px #49d, -2px 2px 3px #000;*/
}

#foo {
  transition: opacity 0.6s ease-out;
}

.inactive {
  opacity: 0;
}


.buttons button#next {
  position: absolute;
  top: 0;
  height: 100vh;
  width: 50vw;
  right: 0px;
}

.buttons button#prev {
  position: absolute;
  top: 0;
  height: 100vh;
  width: 50vw;
  left: 0px;
}

/*.buttons button#prev:hover {
  cursor:w-resize;
}

.buttons button#next:hover {
  cursor:e-resize;
}*/

.buttons button{
  border: 0px solid #fff;
  background-color: transparent;
  color: #fff;
  /*cursor: pointer;*/
  padding: 10px 10px;
  outline: none;
  opacity: 0;

}

.buttons button:hover {
  background-color: transparent;
  color: #333;
  opacity: 1;
  cursor: pointer;
}


.slide:first-child {
  background: url('./images/index-slide01.jpg') center;
}
.slide:nth-child(2) {
  background: url('./images/index-slide02.jpg') no-repeat center center/cover;
}
.slide:nth-child(3) {
  background: url('./images/index-slide03.jpg') no-repeat center center/cover;
}
.slide:nth-child(4) {
  background: url('./images/index-slide04.jpg') no-repeat center center/cover;
}
.slide:nth-child(5) {
  background: url('./images/index-slide05.jpg') no-repeat center center/cover;
}
.slide:nth-child(6) {
  background: url('./images/index-slide06.jpg') no-repeat center center/cover;
}
.slide:nth-child(7) {
  background: url('./images/index-slide07.jpg') no-repeat center center/cover;
}
.slide:nth-child(8) {
  background: url('./images/index-slide08.jpg') no-repeat center center/cover;
}
.slide:nth-child(9) {
  background: url('./images/index-slide09.jpg') no-repeat center center/cover;
}
.slide:nth-child(10) {
  background: url('./images/index-slide10.jpg') no-repeat center center/cover;
}
.slide:nth-child(11) {
  background: url('./images/index-slide11.jpg') no-repeat center center/cover;
}
.slide:nth-child(12) {
  background: url('./images/index-slide12.jpg') no-repeat center center/cover;
}
.slide:nth-child(13) {
  background: url('./images/index-slide13.jpg') no-repeat center center/cover;
}
.slide:nth-child(14) {
  background: url('./images/index-slide14.jpg') no-repeat center center/cover;
}
.slide:nth-child(15) {
  background: url('./images/index-slide15.jpg') no-repeat center center/cover;
}
.slide:nth-child(16) {
  background: url('./images/index-slide16.jpg') no-repeat center center/cover;
}
.slide:nth-child(17) {
  background: url('./images/index-slide17.jpg') no-repeat center center/cover;
}
.slide:nth-child(18) {
  background: url('./images/index-slide18.jpg') no-repeat center center/cover;
}
.slide:nth-child(19) {
  background: url('./images/index-slide19.jpg') no-repeat center center/cover;
}
.slide:nth-child(20) {
  background: url('./images/index-slide20.jpg') no-repeat center center/cover;
}
.slide:nth-child(21) {
  background: url('./images/index-slide21.jpg') no-repeat center center/cover;
}
