/* LOADER */
.loader {
  width: 100vw;
  height: 100%;
  position: absolute;
  top: -0em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.loader__wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: 1s opacity ease, 1s visibility ease;
  animation: loaderFadeIn 1s ease-in-out forwards;
}

.loader.app__loader .loader__wrapper {
  animation: none;
  opacity: 1;
  visibility: visible;
}

.loader.no-animation .loader__wrapper {
  animation: none;
  opacity: 1;
  visibility: visible;
}

.loader.no-animation .loader__bookname {
  opacity: 0;
  visibility: hidden;
  transition: 1s opacity ease, 1s visibility ease;
  animation: loaderFadeIn 1s ease-in-out forwards;
}

@keyframes loaderFadeIn {
  0% {
    opacity: 0;
    visibility: hidden;
  }
  100% {
    opacity: 1;
    visibility: visible;
  }
}

@keyframes loaderFadeOut {
  0% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.loader.roothidden {
  opacity: 0;
  z-index: -1;
  transition: opacity 0.75s;
}

.loader.roothidden .loader__wrapper {
  animation: loaderFadeOut .5s ease-in-out forwards;
}

.loader__transparent {
  /* background: url('../../images/loader.svg'); */
  width: 6em;
  height: 6em;
  /* background-size: contain; */
}

.loader__transparent img {
  width: 100%;
}

.loader__bookname {
  color: currentColor;
  font-size: 27px;
  font-weight: 700;
  width: 90%;
  max-width: 400px;
  text-align: center;
  word-break: break-word;
  margin-top: 4vh;
}

@media only screen and (max-width: 1024px) {
  .loader__bookname {
    font-size: 22px;
  }

  .is_mobile .loader__bookname {
    font-size: 27px;
  }
  .loader__transparent {
    width: 5em;
    height: 5em;
  }
  .is_mobile .loader__transparent {
    width: 6em;
    height: 6em;
  }
}

.loader__image {
  background: url('../../images/loader2.svg');
  width: 6em;
  height: 6em;
  background-size: contain;
}

.loader__publuu {
  bottom: 5px;
  position: fixed;
  font-size: 70%;
  color: inherit;
}

.loader__publuu a {
  text-decoration: none;
  color: inherit;
  font-weight: 300;
}

.loader__image-container {
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0);
  padding: 8px;
  margin-top: 10vh;
}

.loader__image-container svg > * {
  stroke: currentColor;
}

.loader__logo-container {
  /*  margin-top: 0px;
  max-height: 250px;
  max-width: 250px;
  width: 250px;
  margin-bottom: 50px;
  border: 0px solid red;
  text-align: center;*/

  margin-top: 0px;
  max-height: 10vh;
  max-width: 200px;

  width: 200px;
  margin-bottom: 50px;
  border: 0px solid red;
  text-align: center;
  top: 12%;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transition: 1s opacity ease, 1s visibility ease;
}

.loader__logo-container.show {
  animation: loaderFadeIn 1s ease-in-out forwards;
}

.loader__logo-container > img {
  max-height: 10vh;
  max-width: 200px;
}
.loader__logo-container > svg {
  width: 200px !important;
}
