@font-face {
    font-family: 'PlayfairDisplayItalic';
    src: url('./fonts/PlayfairDisplayItalic.woff2') format('woff2'),
         url('./fonts/PlayfairDisplayItalic.woff') format('woff'),
         url('./fonts/PlayfairDisplayItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('./fonts/MontserratExtraLight.woff2') format('woff2'),
         url('./fonts/MontserratExtraLight.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
}

#wrapper {
  align-content: center;
  font-family: 'Montserrat';
}

/* #wrapper::after {
  content: '|';
  position: absolute;
  left: 50%;
  top: 200px;
} */

.autor_logo {
  margin: 40px 0;
  text-align: center;
  margin-right: 40px;
}

.autor_logo img {
  width: 100px;
}

h1 {
  font-family: 'PlayfairDisplayItalic';
  text-align: center;
  font-weight: normal;
  font-size: 24px;
  letter-spacing: 2px;
  margin-top: 120px;
}

h2 {
  font-family: 'PlayfairDisplayItalic';
  text-align: center;
  font-weight: normal;
  font-size: 20px;
  letter-spacing: 2px;
  margin-top: 60px;
}

h3 {
  font-size: 16px;
}

.book_presentation {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1024px;
  margin: auto;
  background-color: rgb(250, 250, 250);
}

h3 {
  margin: 10px 10px 0 10px;
}

.col1,
.col2,
.col3 {
  flex: 1;
}

.col2 {
  flex-basis: 30%;
}

.col2 img {
  width: 100%;
}

p {
  margin: 10px 10px;
  font-size: 12px;
  line-height: 20px;
}

article.rezensionen {
  max-width: 1024px;
  margin: auto;
}

.zitat {
  position: relative;
  text-align: center;
  color: #FFFFFF;
  line-height: 25px;
  background-color: #e3a137;
  padding: 50px 10px;
  margin: 60px 0;
  font-family: 'PlayfairDisplayItalic';
  font-size: 16px;
  font-weight: normal;
  letter-spacing: 2px;
}

.zitat span {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-family: 'Montserrat';
  letter-spacing: normal;
}

.rezension {
  position: relative;
}

.rezension h3 {
  margin-top: 0;
}

.rezension span {
  position: absolute;
  right: 10px;
  top: 0;
}

footer {
  width: calc(100% - 20px);
  background-color: #484848;
  padding: 10px;
  margin-top: 20px;
  font-family: 'Montserrat';
  color: white;
  line-height: 22px;
}

footer .wrapper {
  display: flex;
  flex-wrap: wrap;
  width: calc(100% - 20px);
  min-height: 100px;
  max-width: 1004px;
  margin: auto;
}

footer a {
  color: white;
  text-decoration: none;
}

.underline_animation {
  display: inline-block;
  position: relative;
}

.underline_animation::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #e3a137;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.underline_animation:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

footer .email {
  flex-basis: 33%;
  line-height: 22px;
  align-content: end;
}

footer .copyright {
  text-align: center;
  align-content: end;
  flex-basis: 34%;
}

footer .legal {
  text-align: right;
  flex-basis: 33%;
  align-content: end;
}

@media only screen and (max-width:1032px) {
  footer .email {
    flex-basis: 100%;
    text-align: center;
  }
  
  footer .copyright {
    flex-basis: 50%;
    text-align: left;
  }

  footer .legal {
    flex-basis: 50%;
  }
  
}

@media only screen and (max-width:1024px) {
  .col1 {
    order: 2;
    flex-basis: 30%;
  }
  
  .col2 {
    order: 1;
    min-width: 400px;
  }
  
  .col3 {
    order: 3;
  }
  
  .col1,
  .col3 {
    min-width: 250px;
  }
}

@media only screen and (max-width:550px) {
  .rezension h3 {
    margin-bottom: 5px;
  }

  .rezension span {
    position: relative;
    text-align: left;
    right: auto;
    margin-left: 10px;
  }
}

@media only screen and (max-width:400px) {
  footer .wrapper {
    flex-direction: column;
  }

  footer .legal {
    text-align: center;
    margin: 20px;
  }

  footer .copyright {
    order: 3;
    text-align: center;
  }
}