@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300;400;500;700;800;900&display=swap");

:root {
  --primary-color: #6ac045;
  --text-color: #c4c4c4;
}

body {
  font-family: "Montserrat", sans-serif;
}

/* Header */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9;
  background: rgba(34, 34, 34, 0.4);
}

.navbar-brand h4 > span {
  color: var(--primary-color);
}

.nav-item {
  font-size: 15px;
  font-weight: 500;
  opacity: 1;
  transition: all 0.3s ease-out 0.2s;
}

.nav-link:hover {
  color: var(--primary-color);
  opacity: 1;
  transition: all 0.3s ease 0s;
}

.nav-item .btn-subscribe {
  padding: 5px 15px;
  border: none;
  border-radius: 4px;
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease-out 0s;
}

.nav-item .btn-subscribe:hover {
  background-color: #64a947;
  transition: all 0.3s ease-out 0s;
}

/* Home Section */
.carousel-item .img {
  position: relative;
  width: 100%;
  height: 630px;
}

.home-carousel {
  position: absolute;
  left: -12%;
  right: 50%;
  top: -29em;
}

.gen-tag-line {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 600;
  font-size: 20px;
  border-left: 2px solid var(--primary-color);
  background: rgba(34, 34, 34, 0.4);
  padding: 5px;
}

.gen-meta-after-title > span {
  font-weight: 600;
}

.gen-movie-info h3 {
  font-size: 50px;
  font-weight: 600;
  text-transform: uppercase;
}

.gen-meta-desc {
  color: #dbdada;
  font-weight: 500;
  font-size: 15px;
  text-align: left;
}

.gen-meta-info {
  margin-left: -30px;
}

.gen-meta-info ul {
  list-style: none;
}

.gen-meta-info ul li {
  text-align: left;
}

.gen-meta-info ul li strong {
  color: var(--primary-color);
}

.gen-meta-info ul li span {
  font-weight: 500;
}

.gen-meta-btn {
  text-align: left;
}

.gen-meta-btn a > button {
  padding: 12px 18px;
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  transition: all 0.3s ease 0s;
}

.gen-meta-btn a > button:hover {
  background-color: #64a947;
  transition: all 0.3s ease 0s;
}

.gen-meta-btn a > button > i {
  font-size: 20px;
}

.home-right-video {
  position: absolute;
  top: -26em;
  right: -3%;
}

.carousel-control-prev {
  margin-left: -120px;
}

.carousel-control-prev-icon {
  margin-left: 120px;
}

.carousel-control-next {
  margin-right: -120px;
}

.carousel-control-next-icon {
  margin-right: 120px;
}

/* Popup Video */
.mfp-container {
  padding: 0 10px;
}

.mfp-close {
  position: absolute;
  left: 0px;
  top: -50px !important;
  opacity: 0.6;
  font-size: 40px !important;
}

/* Action Movies */
section.action-movies {
  background-color: #1d1d1d;
  padding: 40px;
}

.action-movies h2 {
  color: var(--primary-color);
}

.action-movies hr {
  color: #4e4e4e;
}

.action-movies a {
  text-decoration: none;
}

.action-movies .card {
  background-color: #4e4e4e;
}

.movie-cards {
  height: 26em;
  border-radius: 5px;
  border: none;
  border: 3px solid #4e4e4e;
  transition: all 0.3s ease 0s;
  overflow: hidden;
}

.movie-cards:hover {
  border: 3px solid var(--primary-color);
  transition: all 0.3s ease 0s;
}

.movie-cards:hover.movie-cards .card-img-top {
  transform: scale(1.1);
  transition: all 0.3s ease 0s;
}

.movie-cards .card-title {
  color: #fff;
  font-size: 25px;
  font-weight: 600;
}

.movie-cards .card-title > span {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 500;
}

.movie-cards .card-subtitle {
  margin-top: -10px;
  font-size: 12px;
  color: #9c9898;
}

.movie-cards .card-text {
  font-size: 13px;
  color: var(--text-color);
}

/* Fantasy Movies */
section.fantasy-movies {
  background-color: #2a2a2a;
  padding: 48px;
}

.fantasy-movies .carousel-indicators button {
  background-color: var(--primary-color) !important;
  width: 15px;
  height: 5px;
  border: none !important;
  border-radius: 25px;
  margin: 5px !important;
}

.fantasy-movies .carousel-indicators .active {
  width: 23px;
}

.fantasy-movies .carousel-indicators {
  bottom: -35px !important;
}

.fantasy-movies h2 {
  color: var(--primary-color);
}

.fantasy-movies hr {
  color: #9c9898;
}

.fantasy-movies-cards a {
  text-decoration: none;
}

.fantasy-movies-cards img {
  border-radius: 4px;
  transition: all 0.3s ease 0s;
  border: 3px solid #4e4e4e;
  height: 25em;
}

.fantasy-movies-cards img:hover {
  border: 3px solid var(--primary-color);
  transition: all 0.3s ease 0s;
}

.fantasy-movies-cards h4 {
  font-size: 17px;
  font-weight: 700;
}

.fantasy-movies-cards h6 {
  font-size: 14px;
  margin-top: -5px;
  color: #9c9898;
}

/* Horror Movies */
section.horror-movies {
  background-color: #1d1d1d;
  padding: 45px;
}

.horror-movies h2 {
  color: var(--primary-color);
}

.horror-movies hr {
  color: #4e4e4e;
}

.horror-movies .carousel-indicators button {
  background-color: var(--primary-color) !important;
  width: 15px;
  height: 5px;
  border: none !important;
  border-radius: 25px;
  margin: 5px !important;
}

.horror-movies .carousel-indicators .active {
  width: 23px;
}

.horror-movies .carousel-indicators {
  bottom: -40px !important;
}

.horror-movies a {
  text-decoration: none;
}

.horror-movies .card {
  background-color: #4e4e4e;
}

.horror-movie-cards {
  height: 30.3em;
  border-radius: 5px;
  border: 3px solid #4e4e4e;
  transition: all 0.3s ease 0s;
  overflow: hidden;
}

.horror-movie-cards .img-fluid {
  height: 25em;
}

.horror-movie-cards:hover {
  border: 3px solid var(--primary-color);
  transition: all 0.3s ease 0s;
}

.horror-movie-cards .card-title h4 {
  font-size: 16px;
  font-weight: 600;
}

.horror-movie-cards .card-title > span {
  font-size: 14px;
  font-weight: 500;
}

.horror-movie-cards .card-subtitle {
  margin-top: -10px;
  font-size: 12px;
  color: #9c9898;
}

/* Romance Movies */
section.romance-movies {
  background-color: #2a2a2a;
  padding: 40px;
}

.romance-movies h2 {
  color: var(--primary-color);
}

.romance-movies hr {
  color: #9c9898;
}

.romance-movies a {
  text-decoration: none;
}

.romance-movies .carousel-indicators button {
  background-color: var(--primary-color) !important;
  width: 15px;
  height: 5px;
  border: none !important;
  border-radius: 25px;
  margin: 5px !important;
}

.romance-movies .carousel-indicators .active {
  width: 23px;
}

.romance-movies .carousel-indicators {
  bottom: -20px !important;
}

.romance-movie-cards .card-img-top {
  height: 13em;
}

.romance-movies .card {
  background-color: #4e4e4e;
}

.romance-movie-cards {
  height: 26em;
  border-radius: 5px;
  border: none;
  border: 3px solid #4e4e4e;
  transition: all 0.3s ease 0s;
  overflow: hidden;
}

.romance-movie-cards:hover {
  border: 3px solid var(--primary-color);
  transition: all 0.3s ease 0s;
}

.romance-movie-cards:hover.romance-movie-cards .card-img-top {
  transform: scale(1.1);
  transition: all 0.3s ease 0s;
}

.romance-movie-cards .card-title {
  color: #fff;
  font-size: 25px;
  font-weight: 600;
}

.romance-movie-cards .card-title > span {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 500;
}

.romance-movie-cards .card-subtitle {
  margin-top: -10px;
  font-size: 12px;
  color: #9c9898;
}

.romance-movie-cards .card-text {
  font-size: 13px;
  color: var(--text-color);
}

/* Scroll Top */
a.scroll-top {
  text-decoration: none;
}

.scroll-top {
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: #4e4e4e;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9;
  cursor: pointer;
  transition: all 0.3s ease-out 0s;
  border-radius: 5px;
}

.scroll-top:hover {
  transform: translateY(-5px);
  color: #fff;
  transition: all 0.3s ease-out 0s;
}

/* Footer */
footer {
  padding: 2px;
  background-color: #1d1d1d;
  color: #9c9898;
  font-size: 13px;
}

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

.footer-items li {
  margin-right: 15px;
  transition: all 0.3s ease-out 0s;
}

.footer-items li a:hover {
  color: #64a947;
  transition: all 0.3s ease-out 0s;
}

footer hr {
  color: #4e4e4e;
}

footer a {
  text-decoration: none;
  color: var(--primary-color);
}

/* Media Query */
@media only screen and (min-width: 2560px) {
  .home-carousel {
    left: 15%;
  }
}

@media only screen and (max-width: 1024px) {
  .home-right-video iframe {
    width: 400px !important;
  }
}

@media only screen and (max-width: 768px) {
  .home-carousel {
    left: 0;
    right: 0;
    top: -30em;
  }

  .home-right-video {
    display: none;
  }

  .carousel-control-prev,
  .carousel-control-prev-icon {
    margin: auto;
  }

  .carousel-control-next,
  .carousel-control-next-icon {
    margin: auto;
  }
}
