body {
  background-color: #f0f0f0;
  background: linear-gradient(180deg, rgba(232, 232, 232, 1) 56%, rgba(126, 168, 201, 1) 60%);

  display: flex;
  margin: 0;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100vw;
  height: 100vh;
  height: 100svh;
}

a {
  text-decoration: none; /* Zrušení podtržení u odkazů */
}

a:hover {
  text-decoration: underline; /* Můžeš podtržení vrátit při najetí myši */
}

section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  left: 0px;
  bottom: 0px;
  width: 100%;
  height: 100%;
}

.book {
  position: absolute;
  bottom: 10%;
  max-width: 80%;
  max-height: 80%;
}

.cover {
  width: 100%;
  height: 100%;
  object-fit: contain;
  box-shadow: #00000073 8px 8px 10px;
  animation: wiggle 5s ease infinite , wiggle2 7s ease infinite;
}


section .air {
  position: absolute;
  width: 100%;
  height: 30%;
  background: url(img/wave.png);
  background-size: 1000px 100%;
  bottom: 0px;
  color: black;
}

section .air.air1 {
  animation: wave 30s linear infinite;
  opacity: 1;
  animation-delay: 0s;
  bottom: 0px;
}

section .air.air2 {
  animation: wave2 15s linear infinite;
  opacity: 0.7;
  animation-delay: -5s;
  bottom: -3%;
}

section .air.air3 {
  animation: wave 30s linear infinite;
  opacity: 0.5;
  animation-delay: -2s;
  bottom: -6%;
}

section .air.air4 {
  animation: wave2 5s linear infinite;
  opacity: 0.2;
  animation-delay: -5s;
  bottom: -9%;
}

.bookla {
  position: absolute;
  display: flex;
  align-items: center;
  top: 20px;
  right: 50px;
  font-family: Lora, serif;
  font-size: 32px;
  color: black;
  flex-direction: row;
  gap: 10px;
}


@keyframes wiggle {
  0% {
    transform: rotate3d(1, 1, 1, -3deg);
    box-shadow: #00000073 8px 8px 10px;
  }
  
  50% {
    transform: rotate3d(1, 1, 1, 7deg);
    box-shadow: #00000073 10px 2px 10px;
  }
  
  100% {
    transform: rotate3d(1, 1, 1, -3deg);
    box-shadow: #00000073 8px 8px 10px;
  }
}

@keyframes wiggle2 {
  0% {
    top: -10px;
  }
  
  50% {
    top: 10px;
  }
  
  100% {
    top: -10px;
  }
}

@keyframes wave {
  0% {
    background-position-x: 0px;
  }

  100% {
    background-position-x: 1000px;
  }
}

@keyframes wave2 {
  0% {
    background-position-x: 0px;
  }

  100% {
    background-position-x: -1000px;
  }
}
