@font-face {
  font-family: "Roboto";
  src: url("./assets/font/Roboto-Medium.ttf");
}
@font-face {
  font-family: "Roboto";
  src: url("./assets/font/Roboto-Regular.ttf");
}
@font-face {
  font-family: "Roboto";
  src: url("./assets/font/Roboto-Light.ttf");
}
@font-face {
  font-family: "Roboto";
  src: url("./assets/font/Roboto-Black.ttf");
}
@font-face {
  font-family: "Roboto";
  src: url("./assets/font/Roboto-Bold.ttf");
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0;
  margin-right: 3vw;
}

.btnwrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3em;
}

div.center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

h1 {
  font-family: "Roboto";
  margin-top: 2vw;
  text-align: center;
  font-size: 1.3vw;
  color: #000000;
  font-weight: 900;
  line-height: 1.8vw;
  position: center;
}

h5 {
  color: #444141;
}

.page video {
  width: 100% !important;
  height: 100% !important;
  position: center !important;
  align-self: center;
  object-fit: fill;
  object-position: center;
  overflow: hidden;
  border-radius: 4px;
}

.page img {
  width: 100% !important;
  height: 100% !important;
  position: relative;
  object-fit: fill;
  z-index: -2;
  border-radius: 4px;
}

.imgshade {
  width: 100% !important;
  height: 100% !important;
  position: center;
  align-self: center;
  box-shadow: inset 25px 0px 25px -20px rgba(0, 0, 0, 0.3);
}
#imgfrontshade {
  width: 100% !important;
  height: 100% !important;
  position: center;
  align-self: center;

  box-shadow: inset 25px 0px 25px -20px rgba(0, 0, 0, 0.3);
}

.imgnonmask {
  position: absolute;
  align-self: center;
  width: 100% !important;
  height: 100% !important;
  display: none;
}

#hal1 {
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}
#hal2 {
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.page {
  width: 26vw;
  height: 44vw;
  position: relative;
  background-color: #111111;
  float: left;
  margin-bottom: 0.5em;
  background: left top no-repeat;
  background-size: cover;
  align-items: center;
  border-radius: 4px;
  backface-visibility: hidden;
}
.book .pages {
  width: 52vw;
  height: 44vw;
  position: relative;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  border-radius: 4px;
}

.book .page {
  float: none;
  clear: none;
  margin: 0;
  position: absolute;
  top: 0;
  width: 26vw;
  height: 44vw;
  transform-origin: 0 0;
  transition: transform 1.4s;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  cursor: pointer;
  user-select: none;
  background-color: #f0f0f0;
}

.page:nth-child(even) {
  clear: both;
}

#clicker2 {
  display: none;
}

#video1 {
  display: none;
  overflow: hidden;
  backface-visibility: hidden;
}
#video2 {
  display: block;
  overflow: hidden;
  backface-visibility: hidden;
}

.book .page:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.7s;
  z-index: -1;
}

.book .page:nth-child(odd) {
  pointer-events: all;
  transform: rotateY(0deg);
  right: 0;
  border-radius: 0 4px 4px 0;

  background-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0) 10%
  );
}

.book .page:nth-child(odd):hover {
  transform: rotateY(-15deg);
}

.book .page:nth-child(odd):hover:before {
  background: rgba(0, 0, 0, 0.03);
}

.book .page:nth-child(odd):before {
  background: rgba(0, 0, 0, 0);
}

.book .page:nth-child(even) {
  pointer-events: none;
  transform: rotateY(180deg);
  transform-origin: 100% 0;
  left: 0;
  border-radius: 4px 0 0 4px;
  border-color: black;
  background-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0) 10%
  );
  box-shadow: inset
    linear-gradient(to left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 10%);
}

.book .page:nth-child(even):before {
  background: rgba(0, 0, 0, 0.2);
}

.book .page.grabbing {
  transition: none;
}

.book .page.flipped:nth-child(odd) {
  pointer-events: none;
  transform: rotateY(-180deg);
}

.book .page.flipped:nth-child(odd):before {
  background: rgba(0, 0, 0, 0.2);
}

.book .page.flipped:nth-child(even) {
  pointer-events: all;
  transform: rotateY(0deg);
}

.book .page.flipped:nth-child(even):hover {
  transform: rotateY(15deg);
}

.book .page.flipped:nth-child(even):hover:before {
  background: rgba(0, 0, 0, 0.03);
}

.book .page.flipped:nth-child(even):before {
  background: rgba(0, 0, 0, 0);
}

html {
  height: 100%;
}

.page:nth-child(odd) {
  background-position: right top;
}

body {
  background: #e0e5ec;
  color: #9baacf;
  text-rendering: optimizeLegibility;
  font-size: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  overflow: hidden;
  min-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.5em;
}

/* === BUTTONS === */
.svg {
  align-self: center;
  position: absolute;
  color: inherit;
}

.svg-icons2:hover path {
  fill: rgb(0, 196, 245) !important;
}

.svg-icons2 path {
  fill: rgb(0, 196, 245) !important;
}

svg:hover path {
  fill: rgb(0, 196, 245) !important;
}

.svg-icons4 path {
  fill: rgb(0, 196, 245) !important;
}

.svg-icons1 {
  width: 30%;
  height: 30%;
  margin-left: 2%;
  display: block;
  transition: 200ms;
  transition-timing-function: ease-in-out;
  opacity: 1;
}

.svg-icons2 {
  width: 30%;
  height: 30%;
  margin-left: 0%;
  display: none;
  transition: 200ms;
  transition-timing-function: ease-in-out;
  opacity: 1;
}

.svg-icons3 {
  width: 25%;
  height: 25%;
  margin-left: 0%;
  display: block;
  transition: 200ms;
  transition-timing-function: ease-in-out;
  opacity: 1;
}

.svg-icons4 {
  width: 25%;
  height: 25%;
  margin-left: 0%;
  display: none;
  transition: 200ms;
  transition-timing-function: ease-in-out;
  opacity: 1;
}

.svg-icons5 {
  width: 30%;
  height: 30%;
  margin-left: 0%;
  display: block;
  transition: 200ms;
  transition-timing-function: ease-in-out;
  opacity: 1;
}
.svg-icons6 {
  width: 45%;
  height: 45%;
  margin-left: 0%;
  display: block;
  transition: 200ms;
  transition-timing-function: ease-in-out;
  opacity: 1;
}

.svg-icons7 {
  width: 50%;
  height: 50%;
  margin-left: 0%;
  display: block;
  transition: 200ms;
  transition-timing-function: ease-in-out;
  opacity: 1;
}

.auto1 {
  color: #444141;
  font-weight: bold;
}

.button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: none;
  border-radius: 1.2rem;
  padding: 1rem 3rem;
  transition: all 260ms ease;
  text-decoration: none;
  font-family: inherit;
  max-width: 100%;
  color: #9baacf;
  background: #e0e5ec;
  box-shadow: 0.3rem 0.3rem 0.5rem rgba(195, 193, 198, 0.9),
    -0.2rem -0.2rem 0.4rem #fff;
  margin-right: 15px;
}
.button:disabled {
  cursor: not-allowed;
  pointer-events: none;
}

.button:active {
  box-shadow: inset 0.2rem 0.2rem 0.5rem rgba(195, 193, 198, 0.9),
    inset -0.2rem -0.2rem 0.5rem #fff;
}

.button--round {
  border-radius: 50%;
  min-height: 3rem;
  min-width: 3rem;
  max-height: 3rem;
  max-width: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0.3rem 0.3rem 0.5rem rgba(195, 193, 198, 0.9),
    -0.2rem -0.2rem 0.4rem #fff;
}
