/* inter-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 200;
  src: url('../webfonts/inter-v13-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../webfonts/inter-v13-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body{
  min-height: 100vh;
  font-family: Inter, sans-serif;
  font-size: 12px;
  padding: 0;
  margin: 0;
}


body{
  background-image: radial-gradient(at center top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 60%), url("../img/grain.png");
  background-position: center, center;
  background-size: 100%, 25%;
  position: relative;
  background-attachment: fixed, fixed;
}


h1{
  font-weight: 200;
  font-size: 20px;
}

a:link, a:visited{
  color: inherit;
  text-decoration: none;
}

a:hover{
  text-decoration: underline;
}

#intro{
  max-width: 960px;
  padding: 60px 30px;
  margin: auto;
  text-align: center;
  color: #fff;
}

#intro p{
  max-width: 600px;
  margin: auto;
}

/* Login Header */
.loginpage #intro{
  padding-top: 30px;
}
.passwordheader{
  position: relative;
  aspect-ratio: 310 / 80;
  background: #fff;
  background-image: url("../img/password-header-background.jpg");
  background-position: center;
  background-size: cover;
  transition: all 0.4s ease-in-out;
}
.passwordheader #image-bgb{
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 75%;
  width: auto;
  transform: translateX(-50%);

}
@media only screen and (max-width: 768px) {
  .passwordheader{
    aspect-ratio: 150 / 80;
  }
}

@media only screen and (max-width: 500px) {
  .passwordheader #image-bgb{
  height: 90%;
  }
}



#bookcontainer {
  width: 100%;
  max-width: 960px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-content: center;
}

#bookcontainer a{
  display: flex;
  position: relative;
  width: auto;
  cursor: pointer;
  z-index: 1;
  margin: 20px 10px;
}

#bookcontainer a:hover {
  z-index: 10;
}

#bookcontainer a:hover img{
  transform: scale(1.05);
}

#bookcontainer a:hover span{
  opacity: 1;
}

#bookcontainer a img{
  height: auto;
  max-width: 100%;
  max-height: 300px;
  transition: all ease 0.3s;
}
@media only screen and (max-width: 768px) {
  #bookcontainer a img{
    max-height: 200px;
  }
}

@media only screen and (max-width: 500px) {
  #bookcontainer a img{
    max-height: 160px;
  }
}


#bookcontainer a span{
  opacity: 0;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  padding: 10px 20px;
  font-weight: 200;
  transition: all 0.3s ease;
}

#bookcontainer.version-b{
  margin-top: 100px;
  max-width: 930px;
  aspect-ratio: unset;
  position: relative;
  text-align: center;
}

#bookcontainer.version-b a{
  position: relative;
  left: unset;
}

#bookcontainer.version-b a img{
  max-width: 300px;
  height: auto;
}

#bookcontainer a:hover img{
  filter: brightness(20%);
}

#bookcontainer.version-b a:hover{
  transform: scale(1.05);
}

#bookcontainer.version-b a{
  transition: all ease 0.3s;
}

#bookcontainer.version-b a span{
  display: flex;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  opacity: 1;
  position: absolute;
  left: 50%;
  width: 100%;
  height: 100%;
  padding: 50px;
  padding-bottom: 60px;
  padding-left: 60px;
  text-align: center;
  color: #555;
  background: transparent;
  border-radius: 0px;
  box-shadow: none;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  text-shadow: 0px 1px 1px rgba(255,255,255,0.3);
  mix-blend-mode: overlay;
  font-smoothing: subpixel-antialiased;
  -webkit-font-smoothing: subpixel-antialiased;
}


footer {
  box-sizing: border-box;
  width: 100%;
  max-width: 960px;
  padding: 50px 30px 100px 30px;
  margin: auto;
  color: #fff;
  text-align: center;
}
footer img{
  max-width: 100%;
  margin: auto;
  margin-bottom: 30px;
  margin-top: 50px;
  display: block;
}


/* LIGHTBOX ANPASSEN */

body .df-lightbox-wrapper .df-lightbox-bg{
  background: rgba(0,0,0,0.8) !important;
}

.df-loading-info,
.df-ui-thumbnail,
.df-ui-share,
.df-ui-search,
.df-ui-print{
  display: none !important
}


/* PASSWORTSEITE */
#passwordprotection{
  max-width: 450px;
  margin: auto;
  margin-top: 50px;
}
form input{
  width: 100%;
  display: block;
  padding: 5px 10px;
  box-sizing: border-box;
  margin-top: 10px;
  border: none;
  outline: none;
  border-radius: 0;
  color: #fff;
  text-align: center;
}

form input[type='password']{
  background: transparent;
  border-bottom: 2px solid #fff;
}

form input[type='submit']{
  background: #fff;
  color: #000;
}
