*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  scroll-padding-top: 2rem;
  position: relative;
}
html {
  scroll-behavior: smooth;
}
/* custom scroll bar */
html::-webkit-scrollbar {
  width: 0.5rem;
  background-color: var(--text-color);
}
html::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
  border-radius: 5rem;
}
/* custom scroll bar */
:root {
  --main-color:#ff2c1f;
  --text-color:#020307;
  --bg-color:#fff;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--text-color);
  color: var(--bg-color);
}

/* Navbar */

.navbar {
  padding: 1rem 2rem;
  transition: box-shadow 0.5s, background-color 0.5s;
}

.navbar.shadow {
  background-color: var(--bg-color);
  box-shadow: 0 0 4px rgb(14 55 54 / 15%);
}

.navbar-brand, .nav-link {
  font-weight: 500;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand i {
  font-size: 1.5rem;
  color: var(--main-color);
}

.nav-link {
  color: var(--main-color) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  background-color: var(--main-color);
  width: 0;
  height: 3px;
  left: 0;
  bottom: -4px;
  transition: width 0.4s linear;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-custom {
  background-color: var(--main-color);
  color: var(--bg-color);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.btn-custom:hover {
  background-color: #fa1216;
}
/* Navbar */
/* Home */
.home {
  background-image: url(../img/home3.jpg);
  background-position: center;
  background-size: cover;
}
.home-text h2 {
  font-size: 4rem;
}
.home-text .btn{
  background-color: var(--main-color);
  color: var(--bg-color);
  padding: 0.7rem 1.4rem;
  border-radius: 0.5rem;
  font-weight: 400;
  transition: background 0.3s ease;
}

.home-text .btn:hover {
  background-color: #fa1216;
}
/* Home */

/* Movies */
.heading {
  font-weight: 500;
  font-size: 1.2rem;
  border-bottom: 1px solid var(--main-color);
}
.box .box-img {
  height: 270px;
}
.box-img img {
  object-fit: cover;
  cursor: pointer;
  transition: 0.2s all linear;
}
.box-img img:hover {
  transform: translateY(-10px);
}
.box h3 {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--main-color);
}
.box span {
  font-size: 13px;
}
/* Coming Soon */

/* news */
.news {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.news h2 {
  font-size: 1.8rem;
  font-weight: 600;
}

.news form {
  padding: 10px;
  background-color: var(--bg-color);
  border-radius: 0.5rem;
}

.news .email {
  outline: 0;
  width: 300px;
}

.news .email::placeholder {
  color: var(--text-color);
  font-size: 0.8rem;
  font-weight: 400;
}

.news button {
  outline: 0;
  cursor: pointer;
  background-color: var(--main-color);
  color: var(--bg-color);
  padding: 0.7rem 1.4rem;
  border-radius: 0.5rem;
  font-weight: 600;
}

.news button:hover {
  background-color: #fa1216;
}

/* news */
/* footer */
.footer .logo {
  font-size: 1.1rem;
}

.footer .social-icons a {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  font-size: 2rem;
  background-color: var(--bg-color);
  color: var(--main-color);
  border: 4px solid rgba(2, 3, 7, 0.4);
  margin-left: 0.5rem;
  transition: 0.2s all linear;
  text-decoration: none;
}

.footer .social-icons a:hover {
  background-color: var(--main-color);
  color: var(--bg-color);
}
/* footer */
/* copy */
.copy {
  color: var(--bg-color);
  font-size: 1.1rem;
}

.copy span {
  color: var(--main-color);
  cursor: pointer;
}
/* copy */

/* Resbonsive */
@media (max-width: 472px) {
  .footer {
    flex-direction: column;
    align-items: center;
    row-gap: 1rem;
  }
  .news form  .email {
    display: none;
  }
}
@media (max-width: 370px) {
  header {
    padding: 6px 4%;
  }
  .home-text h2 {
    font-size: 1.7rem;
  }
  .movies-container,
  .coming-container {
    grid-template-columns: repeat(auto-fit, minmax(140px ,auto));
  }
  .box .box-img img {
    height: 240px;
  }
}
@media (max-width: 300px) {
  .home-text h2 {
    font-size: 1.2rem;
  }
}

/* Resbonsive */