body {
  background: url("../IMG/rsz_mock-up-poster-frame-childs-room.jpg");
  background-size: cover;        /* تخلي الصورة تغطي كل الشاشة */
  background-repeat: no-repeat;  /* تمنع تكرار الصورة */
  background-position: center;   /* تخلي الصورة في المنتصف */
  background-attachment: fixed;  /* دي اللي بتثبت الصورة */             /* عشان الخلفية تمتد بطول الصفحة */
  scroll-behavior: smooth;       /* سكرول ناعم */
  overflow-y:scroll ;
  max-width: 100%;
  overflow-X: hidden;
}

main{
  margin-top: 150px;
  max-width: 100%;
  /* overflow-x: hidden; */
  min-height: 73vh;
  margin-bottom: 60px;
}
.hero{
  min-height: 40vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-hero{
  font-size: 100px;
  font-weight: 600;
  letter-spacing: 10px;
  color: var(--secondary-color);
  text-transform: uppercase;
  text-align: center;
}
.grid-system{
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(250px , 1fr));
  gap: 70px 40px ;
  width: 90%;
  margin:auto ;
  overflow:hidden ;
}
.grid-system .card-film{
  max-width: 100%;
  text-align: center;
  transition: .5s;
}
.grid-system .card-film:hover{
  transform: translateY(-10px);
}
.grid-system .card-film h2{
  color: white;
  margin-top: 7px;
}
.grid-system .card-film img{
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 5px;
}






@media (max-width:500px) {
  .header-hero{
    font-size: 70px;
  }
  .grid-system{
    grid-template-columns: repeat(auto-fill,minmax(100px , 140px));
    gap: 70px 20px ;
    justify-content: center;
    width: 97%;

  }
  .header-hero{
    font-size: 60px;
  }
}