@font-face {
  font-family: 'Arvil Sans';
  src: url('/assets/fonts/avril/ArvilSans.eot');
  src: url('/assets/fonts/avril/ArvilSans.eot?#iefix') format('embedded-opentype'),
      url('/assets/fonts/avril/ArvilSans.woff2') format('woff2'),
      url('/assets/fonts/avril/ArvilSans.woff') format('woff'),
      url('/assets/fonts/avril/ArvilSans.ttf') format('truetype'),
      url('/assets/fonts/avril/ArvilSans.svg#ArvilSans') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@media(max-width: 799px) {
  html {
    font-size: 8px;
  }
}

@media(min-width: 800px){
  html {
    font-size: 10px;
  }
}

@media(min-width: 1024px){
  html {
    font-size: 14px;
  }
}

@media(min-width: 1500px){
  html {
    font-size: 16px;
  }
}

html {
  font-family: 'Arvil Sans';
  background-color: #3e3c41;
}

body {
    margin:0;
    overflow-y: hidden;
    overflow-x: hidden;
    background-size: cover;
    background-image: url("/assets/img/brownboard.jpg");
    background-repeat: no-repeat;
    color: white;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.edition-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 2em 5em;
  height: calc(100vh - 200px);
}

.edition-container .edition{
  height: 100%;
}

.edition-container .edition a img {
  filter: grayscale(100%) blur(2px);
  transition: filter 0.5s;
  max-width: 100%;
  max-height: 100%;
}

.edition-container .edition a:hover img,
.edition-container .edition a:active img,
.edition-container .edition a:focus img {
  filter: unset;
}

.edition-container .edition + .edition {
  margin-left: 5em;
}

h1 {
  font-size: 10rem;
  font-weight: unset;
  margin: 0;
}

h2 {
  font-size: 7rem;
  font-weight: unset;
  margin: 0;
}

h3 {
  font-size: 5rem;
  font-weight: unset;
  margin: 0;
}

h4 {
  font-size: 3rem;
  font-weight: unset;
  margin: 0;
}

h5 {
  font-size: 2rem;
  font-weight: unset;
  margin: 0;
}

a, a:hover, a:visited, a:active, a:focus {
  color: white;
  font-size: 2rem;
  text-decoration: none;
}

.back-icon {
  position: absolute;
  left: 2em;
  top: 2em;
}

.back-icon a {
  display: flex;
  align-items: center;
}
.back-icon svg {
  margin-right: 0.25em;
}

.download-icon {
  position: absolute;
  right: 2em;
  top: 2em;
}

.back-icon svg,
.download-icon svg{
  width: 1em;
}

.flipbook-viewport{
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
  }
  .lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    margin: -4px 0 0 -4px;
  }
  .lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
  }
  .lds-roller div:nth-child(1):after {
    top: 63px;
    left: 63px;
  }
  .lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
  }
  .lds-roller div:nth-child(2):after {
    top: 68px;
    left: 56px;
  }
  .lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
  }
  .lds-roller div:nth-child(3):after {
    top: 71px;
    left: 48px;
  }
  .lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
  }
  .lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
  }
  .lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
  }
  .lds-roller div:nth-child(5):after {
    top: 71px;
    left: 32px;
  }
  .lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
  }
  .lds-roller div:nth-child(6):after {
    top: 68px;
    left: 24px;
  }
  .lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
  }
  .lds-roller div:nth-child(7):after {
    top: 63px;
    left: 17px;
  }
  .lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
  }
  .lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12px;
  }
  @keyframes lds-roller {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  .previous-button, .next-button {
    /* background-color: rgba(65,52,47, 0.6); */
    background-color: rgba(104,185,206, 0.2);
    height: 100%;
    width: 25px;
    position: absolute;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .previous-button svg, .next-button svg {
    /* color: white; */
    color: #68b9ce;
    width: 16px;
  }

  .button-hover {
    opacity: 1;
  }

  .previous-button {
    left: -25px; 
    border-radius: 15px 0 0 15px;
  }

  .next-button{
    right: -25px; 
    border-radius: 0 15px 15px 0;
  }

  .text-center {
    text-align: center;
  }