
@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);
  height: 128vh
  
}

.pro {
    height: 90vh;
    width: 90%;
    margin: 150px auto;
    
    display: grid;
    gap: 20px;

    grid-template-columns: repeat(12, 1fr);
    grid-template-areas: 
    
    "a a a a  d d d d  d d d d"
    "a a a a  d d d d  d d d d"
    "a a a a  d d d d  d d d d"
    "i i i i  i i i i  i i i i"
    "f f f f  f f f f  f f f f";
    
}

.pro .box-1 {
    grid-area: a;
    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;

}
.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: i;
}
.filmography-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.filmography-table th, .filmography-table td {
    border: 1px solid ;
    padding: 8px 12px;
    text-align: left;
}

.filmography-table th {
    
    color: #dad0d2;
    font-size: 25px;
    font-weight: 600;
}

.filmography-table td {
   
    color: #dad0d2;
    font-size: 20px;
}


.pro .box-4 {
    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;
}

.box-4 ul {
    list-style-type: none;
    padding-left: 0;
    
  }
  
  .box-4 ul li a {
    color: #dad0d2;
    text-decoration: none;
    
  }
  
  .box-4 ul li a:hover {
    text-decoration: underline;
  }
  .footer-section {
    display: inline-block;
    vertical-align: top;
    margin: 0 200px; 
    
  }
  
  .box-4 {
    margin-top: 50px;
    display: flex;
    justify-content: center;  
    align-items: center;      
  }
