* { box-sizing: border-box;}

html {
  font-size: 100%;
}

body {
  padding: 1rem;
  font-family: Verdana, Geneva, sans-serif;
  color: #ccc;
  background-color: #333;
}

h1 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.5;
}

h2 {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.5;  
}

p {
  margin: .5rem 0;
  font-size: 1.25rem;
  line-height: 1.5;
}

#slider {
  overflow-x: hidden;
}

#sliderwrap {
  margin: 10px
}

#percent_text {
  position: relative;
  left: 0%;
  background: none;
  border: none;
  color: white;
  text-align: center;
  margin-left: -50px;
  width: 100px;

}

#percent {
  width: 100%;
  -webkit-appearance: none;  /* Override default CSS styles */
  appearance: none;
  height: 24px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
  -webkit-transition: .2s; /* 0.2 seconds transition on hover */
  transition: opacity .2s;
}

#percent::-moz-range-thumb {
  height: 24px;
  background: #5a5;
  border-radius: 3px;
  border-width: 0px;
  cursor: pointer;
  margin-top: 0px;
}

#pagekeys {
  height: 3em;
}

.pagekey {
  display: inline-block;
  text-align: right;
  transform: rotate(-60deg) translate(-20px);
  position: absolute;
}

#percent:hover {
  opacity: 1; /* Fully shown on mouse-over */
}


/* First the Grid */
.editions-grid {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 1rem;
  justify-items: center;
  margin: 0;
  padding: 0;
}

/* The Picture Frame */
.editions-frame {
  width: 80%;
  font-size: 1.2rem;
  text-align: center;
  /*background-color: #333;*/
  color: #d9d9d9;
  position: relative;
}

/* The Images */
.editions-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: opacity 0.25s ease-in-out;
}

.editions-img:hover {
  opacity: .7;
}

.seite {
  background-color: #e0e0e000;
  width: 100%;
  text-align: center;
  border: 0;
  font-size: 7vw;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  color: yellow;
  -webkit-text-stroke: 2px black; 
}
