body {
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  font-family: "Glacial Indifference", sans-serif;
  /* Grid Area */
  display: grid;
  grid-template:
    "left header header header header right"
    "left main main main main right"
    "left main main main main right"
    "left footer footer footer footer right";
}

/* Grid Areas */
#left {
  grid-area: left;
}

#right {
  grid-area: right;
}

header {
  grid-area: header;
  margin-top: 10px;
}

main {
  grid-area: main;
}

footer {
  grid-area: footer;
  margin-top: 100px;
}

/* Aside */
#left,
#right {
  background-image: url("../images/film-solid.svg");
  background-repeat: repeat-y;
  width: 100px;
  margin: 20px;
  /* flex */
  display: flex;
  justify-self: center;
}

/* Navbar */
.brand {
  background-image: url("../images/film-solid.svg");
  color: #a6a6a6;
  height: 50px;
  width: 50px;
  /* Positioning */
  position: relative;
  top: 10px;
}

.navbar-flex {
  display: flex;
  justify-content: space-between;
}

.navbar-main {
  display: inline-flex;
}

/* Title Indentation */
#title-1 {
  display: block;
  position: relative;
  left: 10px;
  bottom: 10px;
}

#title-2 {
  position: relative;
  top: 3px;
  right: 36px;
}

#title-3 {
  position: relative;
  top: 18px;
  right: 85px;
}

/* Search Bar */
.search-bar {
  width: 100%;
  max-width: 32.25rem;
  margin: auto;
}

.searchBar {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#searchQueryInput {
  width: 100%;
  height: 2.8rem;
  background: #a6a6a6;
  color: #fff;
  outline: none;
  border: solid 3px #fff;
  border-radius: 1.625rem;
  padding: 0 3.5rem 0 1.5rem;
  font-size: 1rem;
}

#searchQuerySubmit {
  width: 3.5rem;
  height: 2.8rem;
  margin-left: -3.5rem;
  background: none;
  border: none;
  outline: none;
}

#searchQuerySubmit:hover {
  cursor: pointer;
}

/* Button */
.navbar-login {
  display: flex;
}

.btn {
  background-color: #a6a6a6;
  border: none;
  color: white;
  padding: 20px 30px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
}

.btn:hover {
  background-color: grey;
}

/* slider */

.mySlides {
  display: none;
}

img {
  vertical-align: middle;
  width: 800px;
  height: 500px;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }

  to {
    opacity: 1;
  }
}

/* New Release */
#new-release,
#classics {
  color: #fff;
  /* margin: 50px; */
  margin-top: 50px;
  margin-bottom: 50px;
}

.release-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.release-title h2 {
  margin-bottom: 0;
}

.release-title p {
  margin-bottom: 0;
}

hr {
  border: 1px solid grey;
}

.new-movies {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.movie-item {
  height: 300px;
  width: 200px;
}

.movie-img {
  background-image: url("../images/movie-image.jpg");
  background-position: center;
  /* Center the image */
  background-repeat: no-repeat;
  /*   /* Do not repeat the image */
  background-size: cover;
  height: 80%;
  width: 100%;
}

/* Footer */
.footer-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.footer-flex ul {
  list-style-type: none;
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.footer-flex>ul>li>a {
  color: #a6a6a6;
}

.footer-flex>ul>li>a:hover {
  color: grey;
}

/* On smaller screens, decrease text size */

@media only screen and (max-width: 1024px) {
  .new-movies {
    justify-content: space-evenly;
    gap: 30px;
  }

  .navbar-login {
    margin-left: 20px;
  }
}

@media only screen and (max-width: 425px) {
  .new-movies {
    flex-direction: column;
    align-items: center;
  }
}

@media only screen and (max-width: 300px) {

  .prev,
  .next {
    font-size: 11px;
  }
}
