@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 30px;
}


[class ^= "box-"] {
  display:grid;
  place-items: center;
  border: solid 5px #4716f9;
  padding: 10px;
  border-radius: 20px ;
  box-shadow: 0 0 5px rgba(0,0,0.1);
  color: #dad0d2;
}

body {
  background: linear-gradient(#03080c,#190d44, #130928);
  overflow-x: hidden;
  height: 222vh
  
}




.pro {
    height: 90vh;
    width: 90%;
    margin: 150px auto;
    
    display: grid;
    gap: 50px;

    grid-template-columns: repeat(12, 1fr);
    grid-template-areas: 
    
    "i i i i  d d d d  d d d d"
    "i i i i  d d d d  d d d d"
    "r r r r  t t t t  t t t t"
    "r r r r  c c c c  c c c c"
    "f f f f  f f f f  f f f f";
    
}

.pro .box-1 {
    grid-area: i;
    border: none;
    box-shadow: none;
}
.pro .box-1 .Picturemovie{
    width: 400px; 
    height: 550px; 
    object-fit: fill; 
    margin-bottom: 5px;
    
    
}
.pro .box-1 h4 {
font-weight: 900;
margin: 5px;

}
.pro .box-1 .textundermovie {
    line-height: 1.5;
    text-align: left;
   
  }

.pro .box-2 {
    grid-area: d;
}
.box-2 {
    position: relative;
}

.toggle-checkbox {
    display: none;
}

.synopsis-content {
    max-height: 110px; /* This controls the initial portion that's visible. Adjust as needed. */
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    margin-left: 50px;
    margin-right: 50px;

}
.synopsis-label {
    font-weight: 900;
    font-size: 45px;
}

.toggle-checkbox:checked + .synopsis-content {
    max-height: 1000px; /* This should be larger than your expected content height. */
}

.toggle-button {
    background-color: #190d44;
    color: #dad0d2;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-block;
    margin-top: 10px;
}

.toggle-button:hover {
    background-color: #4716f9;
}

.toggle-checkbox:checked + .synopsis-content + .toggle-button::before {
    content: 'Read Less';
}

.toggle-button::before {
    content: 'Read More';
}

.pro .box-3 {
    grid-area: t;
    border: none;
    box-shadow: none;
}
.box-3 video {
    border-radius: 30px; /* Adjust the value as you see fit */
    overflow: hidden; /* Ensures the video inside respects the border-radius */
}


.pro .box-4 {
    grid-area: r;
}
.underrate {
    text-align: center;
}
/* Styles for the form */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

input[type="text"],
textarea,
select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

input[type="checkbox"] {
    margin-right: 10px;
}

.checkbox-group label {
    display: inline-block;
    margin-right: 20px;
    font-weight: normal;
}

.submit-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #4716f9;
    color: #FFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #2a0fd4;
}



.pro .box-5 {
    grid-area: c;
}
.pro .box-5 h2{
    font-size: 40px;
}
.comment-entry {
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.comment-entry p {
    margin: 5px 0;
    font-style: italic;
}

.pro .box-6 {
    grid-area: f;
}

/*THE NAV BAR CSS*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
  }
  
  nav{
    position: fixed;
    z-index: 99;
    width: 100%;
    background: #242526;
    top: 0;
    left: 0;
  
  }
  
  .wrapper{
    max-width: 1300px;
    padding: 0px 30px;
    height: 70px;
    line-height: 70px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo a{
    color: #dad0d2;
    font-size: 30px;
    font-weight: 600;
    text-decoration: none;
  }
  
  .nav-links{
    display: inline-flex;
  }
  
  .nav-links li{
    list-style: none;
  }
  
  .nav-links li a{
    color: #dad0d2;
    text-decoration: none;
    font-size: 23px;
    font-weight: 500;
    padding: 9px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  
  .nav-links li a:hover{
    background: #3A3B3C;
  }
  
  .drop-menu{
    position: absolute;
    background: #242526;
    width: 180px;
    line-height: 45px;
    top: 85px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 6px 10px rgba(0,0,0,0.15);
  }
  
  .nav-links li:hover .drop-menu{
    transition: all 0.3s ease;
    top: 70px;
    opacity: 1;
    visibility: visible;
  }
  
  .drop-menu li a{
    width: 100%;
    display: block;
    padding: 0 0 0 15px;
    font-weight: 400;
    border-radius: 0px;
  }
  
  .btn{
    color: #dad0d2;
    font-size: 20px;
    cursor: pointer;
    display: none;
  }
  
  @media screen and (max-width: 970px) {
    .btn{
      display: block;
    }
    
    .nav-links{
      position: fixed;
      height: 100vh;
      width: 100%;
      max-width: 350px;
      top: 0;
      left: -100%;
      background: #242526;
      display: block;
      padding: 50px 10px;
      line-height: 50px;
      overflow-y: auto;
      box-shadow: 0px 15px 15px rgba(0,0,0,0.18);
      transition: all 0.3s ease;
    }
  
    #menu-btn:checked ~ .nav-links{
      left: 0%;
    }
  
    .nav-links li{
      margin: 15px 10px;
    }
  
    .drop-menu{
      position: static;
      opacity: 1;
      top: 65px;
      visibility: visible;
      padding-left: 20px;
      width: 100%;
      max-height: 0px;
      overflow: hidden;
      box-shadow: none;
      transition: all 0.3s ease;
    }
  
    .nav-links .desktop-item{
      display: none;
    }
  
    .nav-links .mobile-item{
      display: block;
      color: #f2f2f2;
      font-size: 20px;
      font-weight: 500;
      padding-left: 20px;
      cursor: pointer;
      border-radius: 5px;
      transition: all 0.3s ease;
    }
    
    .nav-links .mobile-item:hover{
      background: #3A3B3C;
    }
    
    .drop-menu li{
      margin: 0;
    }
  }
  
  nav input[type="radio"] {
    display: none;
}


  .nav-search {
    background-color: #242526;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 5px;
    margin-left: 10px;
}

.search-form {
    display: flex;
    align-items: center;
    margin-top: 10px;
    margin-left: 10px;
}

.search-form input {
    border: none;
    padding: 9px 15px;
    font-size: 23px;
    background-color: #333436; 
    color: #dad0d2;
    border-radius: 5px 0 0 5px;
    transition: all 0.3s ease;
    
}

.search-form button {
    padding: 9px 15px;
    background-color: #242526;
    border: none;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    color: #dad0d2;
    font-size: 23px;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background-color: #3A3B3C;
}

.search-form input::placeholder {
    color: #dad0d2;
}

.search-form input:focus {
    outline: none;
}

.search-form button:focus {
    outline: none;
}


 /*FOOTER CSS*/

 .box-6 h4 {
    font-weight: bold;
    
    
  }
  
  .box-6 ul {
    list-style-type: none;
    padding-left: 0;
    
  }
  
  .box-6 ul li a {
    color: #dad0d2;
    text-decoration: none;
    
  }
  
  .box-6 ul li a:hover {
    text-decoration: underline;
  }
  .footer-section {
    display: inline-block;
    vertical-align: top;
    margin: 0 200px; 
    
  }
  
  .box-6 {
    margin-top: 50px;
    display: flex;
    justify-content: center;  
    align-items: center;      
  }