* {
  box-sizing: border-box;
}

:focus-visible {
  outline: 0;
  color: blue;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: Arial, sans-serif;
  font-size: 11px;
  line-height: 1.2em;
  overflow: hidden;
}

main {
  width: 100%;
  box-sizing: border-box;
  padding: 1em;
  overflow: hidden;
  color: rgb(182, 182, 182);
}

/*========================== INFO ==========================*/

h1 {
  margin: 0;
  font-size: 1em;
  font-weight: normal;
  text-transform: uppercase;
}

ul {
  margin: 0;
  padding-left: 0.75em;
  list-style-type: "- ";
}

li {
  margin: 0;
  padding: 0;
}

main {
  width: 100%;
  height: 100%;
  padding: 1em;
}

.info {
  position: relative;
  width: calc(100% / 4);
  max-height: 100%;
  padding: 0.2em 0.5em;
  background-color: #505050;

  z-index: 999;
  overflow-y: scroll;
}

details > summary {
  list-style-type: none;
  cursor: pointer;
}

details > summary::-webkit-details-marker {
  display: none;
}

details > summary::before {
  content: "○";
  position: absolute;
  right: 0.5em;
}

details[open] > summary::before {
  content: "●";
}

/* details p {
  margin-top: 0.25em;
  margin-bottom: 0.25em;
} */

details > summary p {
  margin: 0;
}

/*========================== SLIDESHOW ==========================*/

.slideshow {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

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

.slide.show {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.slide .slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 1em;
  text-align: center;
}

.slide .slide-caption p {
  margin: 0;
  background-color: #505050;
  display: inline;
}

button {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
}

.slideshow-nav {
  z-index: 999;
  position: fixed;
  top: 0;
  width: 50%;
  height: 100%;
}

.slideshow-nav.prev {
  left: 0;
  cursor: w-resize;
}

.slideshow-nav.next {
  right: 0;
  cursor: e-resize;
}

/*========================== MEDIA QUERIES ==========================*/

@media only screen and (max-width: 719px) {
  .info {
    width: 100%;
  }
}
