* {
  margin: 0;
  padding: 0;
}

body {
  animation: move 20s linear infinite;
  background: url("../MediaFiles/steklo.jpg");
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 30px;
}

@keyframes move {
  0% {
    background-position: top 0 bottom 25px;
  }
  50% {
    background-position: left 130px bottom -30px;
  }
  100% {
    background-position: left 250px bottom 90px;
  }
}

.top-header {
  animation: load 2s linear;
  border: 5px solid white;
  background: rgba(0, 0, 0, 0.541);
  color: white;
  font: bold 6rem centaur;
  padding: 10px;
  margin-bottom: 5%;
  text-transform: capitalize;
  text-align: center;
  width: 1420px;
  word-spacing: 10px;
}

@keyframes load {
  from {
    opacity: 0;
    transform: rotateX(90deg);
  }
  to {
    opacity: 1;
    transform: rotateX(0deg);
  }
}

.video-container { 
  display: flex;
  flex-direction: column;
}

.video {
  margin: 10px;
}

.video-container > h1 {
  background: linear-gradient(to top, blue, lightblue);
  background-clip: text;
  color: transparent;
  font: bold 3rem half-elven condensed;
  margin: 5% auto;
  text-align: center;
  text-transform: uppercase;
  width: 600px;
  -webkit-background-clip: text;
}

/* tolkien bio container */ 
.tolkien-container {
  background-color: black;
  display: flex;
  height: 700px;
  justify-content: right;
  margin-bottom: 10%;
  width: 1450px;
}

.tolkien-wraper {
  background: linear-gradient(rgba(0, 0, 0, 0.705), rgba(0, 0, 0, 0.836)),
    url("../MediaFiles/tolkien.jpg");
  background-size: cover;
  color: #fff;
  height: 700px;
  overflow: auto;
  width: 800px;
}

.tolkien-text {
  background-clip: text;
  background-attachment: fixed;
  background-image: linear-gradient(
    transparent 10%,
    currentColor 30%,
    currentColor 70%,
    transparent 90%
  );
  margin: 20% auto;
  -webkit-background-clip: text;
}

.tolkien-header {
  color: transparent;
  font: bolder 2.5rem old english text mt;
  margin: 20px 10px;
  text-transform: capitalize;
}

.tolkien-text p {
  padding: 10px;
  color: transparent;
  margin: 20px 0;
  font: bolder 1.2rem centaur;
  text-align: justify;
}

/* silmarilion book container */
.silmarilion-container {
  align-items: center;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  margin-bottom: 10%;
  width: 1450px;
}

.back-container {
  background-image: url("../MediaFiles/1077530.jpg");
  background-position-x: -50px;
  background-size: cover;
  display: flex;
  height: 750px;
  width: 100%;
  position: relative;
}

.vertical-text {
  background: black;
  color: white;
  cursor: pointer;
  font: bold 0.52rem tengwar annatar;
  height: 730px;
  position: absolute;
  padding: 8px;
  left: 57.5%;
  text-align: justify;
  writing-mode: vertical-rl;
}

.vertical-text:hover {
  font: bold 0.62rem felix titling;
}

.blur {
  backdrop-filter: blur(15px);
  display: flex;
  justify-content: center;
  position: absolute;
  height: inherit;
  right: 0;
  width: 40%;
}

#book-container {
  align-items: center;
  border: 2px solid rgba(26, 118, 223, 0.836);
  box-shadow: 1px 1px 30px 2px rgb(15, 93, 209);
  background-color: black;
  color: white;
  display: flex;
  display: none;
  flex-direction: column;
  height: 700px;
  justify-content: center;
  margin: 5px;
  padding: 15px;
  text-align: justify;
  animation: fadein 0.7s ease;
  z-index: 1;
  width: 335px;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.bookImg {
  border: 2px solid white;
  height: auto;
  width: 100%;
}

.bookInfo {
  font: 0.9rem palatino linotype;
}

a {
  color: blue;
}

#book-container.active {
  display: block;
}

#silmarilion-btn {
  animation: rain 20s linear infinite;
  background: url("../MediaFiles/silmariliontextback.jpg");
  background-clip: text;
  color: transparent;
  font: bold 3rem felix titling;
  margin: 10px auto;
  position: relative;
  text-align: center;
  -webkit-background-clip: text;
}

@keyframes rain {
  0% {
    background-position: top 0 bottom 25px;
  }
  50% {
    background-position: top 130px bottom -30px;
  }
  100% {
    background-position: left 250px bottom 90px;
  }
}

.btn-wraper {
  background-color: black;
  border: 3px solid white;
  box-shadow: 1px 1px 30px 5px white;
  border-radius: 15px;
  cursor: pointer;
  height: 80px;
  overflow: hidden;
  position: absolute;
  right: 19%;
  top: 70%;
  transition: 1.5s ease;
  width: 350px;
  -webkit-box-reflect: below 30px
    linear-gradient(transparent, rgba(0, 0, 0, 0.253));
}

.slide {
  background-color: rgba(7, 80, 148, 0.795);
  clip-path: polygon(0 0, 94% 0, 100% 100%, 0 100%);
  height: 105%;
  left: -1400px;
  position: absolute;
  top: 0;
  transition: 1.5s;
  width: 300%;
}

.btn-wraper:hover .slide {
  left: 0;
}

/* lotr section */
.lotr-container {
  background-image: url("../MediaFiles/lotrbookbackground.jpg");
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  width: 1450px;
  height: 750px;
  position: relative;
  margin-bottom: 10%;
}

.card-wraper {
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  padding: 50px;
}

.lotr-book-card {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.568);
  box-shadow: 1px 1px 10px 5px rgb(194, 171, 137);
  border-radius: 10px;
  color: white;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 500px;
  text-align: center;
  width: 320px;
}

.imgCont {
  border: 2px solid goldenrod;
  height: 350px;
  width: 280px;
}

.lotrImg {
  height: 100%;
  width: 100%;
}

.infoCont {
  padding: 3px;
  margin: 3px;
}

.Info,
.bookHead {
  font: 18px poor richard;
}

.left-text {
  animation: glow 10s linear infinite;
  color: white;
  font: bold 3rem angerthas moria;
  height: 200px;
  position: absolute;
  padding: 10px;
  left: 32.5%;
  top: 24%;
  width: 40px;
}

.right-text {
  animation: glow 10s linear infinite;
  color: white;
  font: bold 3rem angerthas moria;
  height: 200px;
  left: 65.5%;
  position: absolute;
  top: 24%;
  width: 40px;
}

/* @keyframes glow {
  0% {
    color: rgb(250, 250, 250);
    text-shadow: 0 0 10px #0449ca;
  }
  100% {
    color: #d0d8df;
    text-shadow: 0 0 20px #0449ca, 0 0 40px #0449ca, 0 0 80px #0449ca,
      0 0 160px #0449ca, 0 0 320px #0449ca;
  }
} */

.lotr-header-container {
  animation: scratch 40s ease infinite;
  background-image: url("../MediaFiles/burning1.jpg");
  background-clip: text;
  backdrop-filter: blur(15px);
  bottom: 0;
  color: transparent;
  font: bold 6em felix titling;
  height: 100px;
  position: absolute;
  padding: 20px 0;
  text-align: center;
  width: 99.9%;
  word-spacing: 15px;
  -webkit-background-clip: text;
}

@keyframes scratch {
  0% {
    background-position: top 0 bottom 25px;
  }
  50% {
    background-position: top 130px bottom -30px;
  }
  100% {
    background-position: left 250px bottom 90px;
  }
}

/* trio book section */
.trio-book-cont {
  background-image: url("../MediaFiles/back.webp");
  background-size: cover;
  border-radius: 10px;
  display: flex;
  justify-content: space-around;
  margin-bottom: 10%;
  height: 750px;
  width: 1450px;
}

.trio-card {
  background: rgba(0, 0, 0, 0.692);
  border-radius: 15px;
  height: 600px;
  overflow: hidden;
  position: relative;
  margin: 4%;
}

.trio-card:nth-child(1) {
  box-shadow: 1px 1px 30px 1px rgba(39, 128, 211, 0.726);
}
.trio-card:nth-child(2) {
  box-shadow: 1px 1px 30px 1px rgba(206, 154, 13, 0.856);
}
.trio-card:nth-child(3) {
  box-shadow: 1px 1px 30px 1px rgb(224, 210, 5);
}

.trio-card:hover .trio-img {
  transform: scale(1.1) rotate(-3deg);
}

.trio-card:hover .intro {
  bottom: 0px;
  cursor: pointer;
  height: 300px;
}

.trio-img {
  border-radius: 3px;
  height: 500px;
  transition: 0.5s;
  width: 350px;
}

.intro {
  background: rgba(27, 27, 27, 0.795);
  box-sizing: border-box;
  bottom: 0px;
  color: white;
  height: 60px;
  padding: 5px;
  position: absolute;
  transition: 0.5s;
  width: 350px;
}

.intro > h1 {
  font: bold 1.8rem harrington;
  margin: 13px;
  text-align: center;
  text-transform: capitalize;
}

.intro > p {
  font: bold 0.9rem harrington;
  text-align: justify;
  text-indent: 30px;
}

/* double book section */
.double-book-cont {
  background-image: url("../MediaFiles/wall.jpg");
  background-position: center;
  background-size: contain;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 750px;
  width: 1450px;
}

.flip-card {
  cursor: pointer;
  position: relative;
  height: 530px;
  width: 350px;
}

.flip-card > div {
  border-radius: 10px;
  backface-visibility: hidden;
  height: 100%;
  overflow: hidden;
  position: absolute;
  transition: 1s linear;
  width: 100%;
}

.front > img {
  height: 100%;
  width: 100%;
}

.flip-card .front {
  box-shadow: 0 5px 10px #000;
  transform: perspective(600px) rotateY(0deg);
}

span {
  color: gold;
  font-weight: bolder;
}

.flip-card .back {
  background-color: rgba(0, 0, 0, 0.568);
  color: whitesmoke;
  font: 1.05rem poor richard;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
  text-align: justify;
  transform: perspective(600px) rotateY(180deg);
}

.back > h1 {
  text-align: center;
}

.back > h1:nth-child(1) {
  color: red;
  padding: 5px;
}

.flip-card:hover .front {
  transform: perspective(600px) rotateY(180deg);
}
.flip-card:hover .back {
  transform: perspective(600px) rotateY(360deg);
}

.sociall {
  margin: 5%;
  height: 100px;
  width: 1200px;
}

ul {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style-type: none;
}

ul > li {
  display: inline-block;
  font-size: 30px;
  left: 100px;
  margin: 10px;
}

ul > li > a {
  color: rgb(214, 208, 208);
  text-decoration: none;
  margin: 10px;
}

ul > li > a:hover {
  cursor: pointer;
  color: rgb(255, 255, 255);
}

.lists > li {
  color: white;
  font: bold 20px poor richard;
  text-transform: capitalize;
  margin: 10px;
}

.lists > li:hover {
  cursor: pointer;
  text-decoration: underline;
}
