* {
  margin: 0;
  padding: 0;
  font-family: ringbearer;
}

body {
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* top navigation bar */
ul {
  list-style-type: none;
}

nav > ul {
  background-color: rgb(7, 7, 7);
  height: 80px;
  line-height: 60px;
  text-align: center;
  width: 100%;
}

nav > ul > li {
  border-radius: 10px;
  display: inline-block;
  position: relative;
  width: 200px;
  margin: 15px;
}

ul > li > a {
  background-image: url("../MediaFiles/textback.jpg");
  background-position: center;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  font: bolder 2.2rem ringbearer;
  text-transform: capitalize;
  -webkit-background-clip: text;
}
ul > li a:hover {
  background-image: url("../MediaFiles/marbletext.webp");
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* dropdowns */
nav > ul > li > ul {
  display: none;
  left: -60px;
  position: absolute;
  top: 100%;
  z-index: 1;
}
nav > ul > li > ul > li {
  border-radius: 10px;
  box-shadow: 1px 1px 15px 1px goldenrod;
  line-height: 30px;
  margin: 15px;
  padding: 5px;
  height: 65px;
  width: 300px;
  transition: width 0.5s, height 0.5s;
}
nav > ul > li > ul > li:hover {
  box-shadow: 1px 1px 15px 1px rgb(211, 211, 206);
  width: 320px;
  height: 80px;
  line-height: 40px;
}

nav > ul > li > ul > li > a {
  background-image: url("../MediaFiles/textback.jpg");
  background-position: center;
  background-clip: text;
  color: transparent;
  font: bolder 1.2rem ringbearer;
  text-decoration: none;
  word-spacing: 3px;
  -webkit-background-clip: text;
}
.first {
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.466),
      rgba(0, 0, 0, 0.301)
    ),
    url("../mediaFiles/first.jpg");
  background-size: cover;
  background-position-x: left;
  background-position-y: -80px;
}
.second {
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.144),
      rgba(0, 0, 0, 0.075)
    ),
    url("../mediaFiles/fellow.jpg");
  background-size: cover;
  background-position-x: 30px;
  background-position-y: -35px;
}

.third {
  background: linear-gradient(to right, rgb(0, 0, 0), rgba(0, 0, 0, 0)),
    url("../mediaFiles/thirdd.jpg");
  background-size: cover;
  background-position-x: left;
  background-position-y: -15px;
}
.four {
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.466),
      rgba(0, 0, 0, 0.301)
    ),
    url("../MediaFiles/hobitfirst.jpg");
  background-size: cover;
  background-position-x: left;
  background-position-y: -20px;
}
.five {
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.192),
      rgba(0, 0, 0, 0.24)
    ),
    url("../MediaFiles/hobbit2.jpg");
  background-size: cover;
  background-position-x: left;
  background-position-y: -20px;
}
.six {
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.466),
      rgba(0, 0, 0, 0.301)
    ),
    url("../mediaFiles/hobbit2poster.jpg");
  background-size: cover;
  background-position-x: left;
  background-position-y: -35px;
}

nav > ul > li:hover > ul {
  cursor: pointer;
  display: block;
}

/* side navigation bar */
/* toggle menu */
#sidebarBtn {
  background-image: url("../MediaFiles/textback.jpg");
  background-clip: text;
  color: transparent;
  font-size: 30px;
  left: 20px;
  display: flex;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 20px;
  -webkit-background-clip: text;
}
#sidebarBtn:hover {
  background-image: url("../MediaFiles/marbletext.webp");
  background-clip: text;
  cursor: pointer;
  color: transparent;
  -webkit-background-clip: text;
}

/* sidebar */
#sidebar {
  align-items: center;
  justify-content: center;
  background-color: black;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: fixed;
  height: 625px;
  left: -250px;
  row-gap: 1rem;
  top: 80px;
  transform: translate(-100%);
  transition: 0.5s ease-out;
  z-index: 1;
  width: 250px;
}
#sidebar.active {
  left: 250px;
}

.sidebar-logo {
  background-image: url("../mediafiles/tolkienlogo.jpg");
  background-position: center;
  background-size: cover;
  border-bottom: 3px solid white;
  height: 100px;
  width: 249px;
}

input {
  background-color: rgb(36, 34, 34);
  border-radius: 10px;
  border: none;
  color: white;
  height: 40px;
  width: 240px;
}

.sidebarList > li {
  padding: 10px;
}
.sidebarList > li:hover {
  background-color: rgb(20, 20, 20);
}

.social {
  display: flex;
  justify-content: space-around;
}

.social > li > a {
  font-size: 20px;
}

/*banner */
.banner {
  display: flex;
  height: 600px;
  justify-content: center;
  position: relative;
  width: 1500px;
  animation: transitionIn 1.5s;
}

@keyframes transitionIn {
  from {
    opacity: 0;
    transform: rotateX(90deg);
  }

  to {
    opacity: 1;
    transform: rotateX(0);
  }
}

.banner img {
  height: 100%;
  left: 0;
  position: absolute;
  width: 1100px;
}

.banner h1 {
  color: white;
  font-size: 2rem;
  position: absolute;
  right: 20px;
  top: 5px;
  width: 370px;
}

.banner p {
  color: rgb(204, 208, 211);
  font-size: 0.8rem;
  font-weight: bolder;
  position: absolute;
  right: 3%;
  top: 30%;
  width: 345px;
}

.prime {
  background-image: url("../MediaFiles/amazonprimelogo.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  height: 30px;
  position: absolute;
  top: 18%;
  right: 20%;
  width: 90px;
}

span {
  color: goldenrod;
  text-transform: capitalize;
}

.watch {
  background-color: black;
  border: 2px solid white;
  border-radius: 5px;
  color: white;
  font-size: 1.5rem;
  font-weight: bolder;
  height: 7vh;
  letter-spacing: 4px;
  line-height: 7vh;
  position: absolute;
  right: 6%;
  top: 60%;
  text-align: center;
  text-decoration: none;
  width: 200px;
  transition: background-color 0.5s ease-in-out;
}
.watch:hover {
  background-color: goldenrod;
  border: none;
  cursor: pointer;
  color: black;
}

.btn-container {
  display: flex;
  height: 20px;
  justify-content: space-between;
  position: absolute;
  right: 3%;
  top: 95%;
  width: 300px;
}

.btn-container > button {
  background-color: rgb(51, 48, 48);
  border-radius: 50%;
  width: 20px;
  transition: 0.6s ease;
}
.btn-container > button:hover {
  background-color: goldenrod;
  cursor: pointer;
}

/* origin content */
.origin {
  background-color: black;
  display: flex;
  flex-direction: column;
  height: 750px;
  justify-content: center;
  position: relative;
  top: 100px;
  width: auto;
  margin-bottom: 30%;
}

.origin > div {
  display: flex;
  flex-direction: row;
  position: relative;
  top: 20%;
  text-align: center;
  width: auto;
  height: 650px;
  margin: 25px;
}

.origin > h1 {
  background-image: url("../mediaFiles/lines.png");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  color: goldenrod;
  display: flex;
  justify-content: center;
  position: absolute;
  text-align: center;
  top: -5%;
  right: 10%;
  width: 80%;
}

.origin > div > img {
  box-shadow: 0 0 10px 2px rgb(116, 113, 113);
  border-radius: 10px;
  height: 420px;
  width: 30%;
}

.origin > div > h2 {
  background-image: url("../MediaFiles/textback.jpg");
  border-bottom: 3px solid goldenrod;
  background-clip: text;
  color: transparent;
  position: absolute;
  text-transform: capitalize;
  text-align: center;
  top: 3%;
  left: 32%;
  width: auto;
  -webkit-background-clip: text;
}

.accordion-header {
  color: white;
  font: bold 1.2rem poor richard;
  position: absolute;
  text-align: center;
  top: 15%;
  text-align: justify;
  left: 32%;
  word-spacing: 3px;
  width: 67%;
}
.accordion-header:hover {
  cursor: pointer;
}

.accordion-body {
  color: white;
  display: none;
  font: bold 1.2rem poor richard;
  position: absolute;
  text-align: center;
  text-align: justify;
  top: 32%;
  left: 32%;
  word-spacing: 3px;
  transition: 0.6s linear;
  height: 290px;
  overflow: auto;
  width: 67%;
}

.accordion-body.active {
  display: block;
}

.mid-head {
  color: goldenrod;
  display: flex;
  font: bolder 5rem ringbearer;
  justify-content: center;
  height: auto;
  margin-bottom: 15%;
  text-align: center;
  text-transform: capitalize;
  width: 100%;
  -webkit-box-reflect: below 1px linear-gradient(transparent, rgb(0, 0, 0));
  line-height: 0.8em;
}

/* slideshow */
.slideshow {
  background-image: url("../MediaFiles/slideshowbackgroundRing.png");
  background-size: cover;
  background-position-x: 50px;
  display: flex;
  position: relative;
  justify-content: center;
  height: 680px;
  transition: 1s ease-in-out;
}

.slideshow > h1 {
  background-image: url("../mediaFiles/lines.png");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  color: goldenrod;
  height: 40px;
  position: absolute;
  top: -8%;
  text-align: center;
  width: 100%;
}

.slideshow > img {
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
  box-shadow: 40px 0 60px 5px rgb(17, 16, 16);
  height: 100%;
  left: 0;
  position: absolute;
  width: auto;
}

.character-name {
  color: whitesmoke;
  font: bolder 3.5rem ringbearer;
  position: absolute;
  right: 5%;
  top: 6%;
  text-shadow: 2px 2px rgb(189, 126, 10);
}

.character-info {
  color: white;
  position: absolute;
  right: 5%;
  text-align: justify;
  top: 15%;
  width: 500px;
  word-spacing: 3px;
}

.character-toggle-container {
  display: flex;
  justify-content: space-around;
  position: absolute;
  height: 40px;
  right: 4%;
  top: 92%;
  width: 400px;
}

.char-btn {
  border: 2px solid goldenrod;
  background-color: black;
  border-radius: 50%;
  height: 20px;
  transition: 0.6s;
  width: 20px;
}
.char-btn:hover {
  cursor: pointer;
  background-color: aliceblue;
}

/* social section */
.sociall {
  margin: 5%;
  height: 100px;
  width: 1200px;
}

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

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

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

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

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

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