* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
.main {
    width: 100%;
    display: flex;
    position: relative;
    background-color:  rgb(21, 21, 21);
}

.main2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-left: 7%;
    transition: margin-left 0.3s ease;
    background-color:  rgb(21, 21, 21);
}

/* vertical navigation bar */
.nav {
    width: 7%;
    height: 100vh;
    background-color:  rgb(21, 21, 21);
    padding: 30px 10px;
    display: flex;
    flex-direction: column;
    row-gap: 200px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000; 
    transition: width 0.3s ease, z-index 0.3s ease;
}

.nav:hover {
    width: 200px;
    background: linear-gradient(to right, rgb(21, 21, 21)50%,transparent);
}

.logo {
    width: 80%;
    display: flex;
    justify-content: center;
}

.logo img {
    width: 89px;
}

.navbar {
    width: 100%;
    position: absolute;
    top: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.menu {
    margin-top: 90px;
    margin-left: 25px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    list-style-type: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
}
.menusa {
    padding: 20px 0;
    width: 100%;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
    color: white;
    text-decoration: none;
}
.menus a{
    padding: 20px 0;
    width: 100%;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
    color: white;
    text-decoration: none;
}

.menus:hover {
    transform: scale(1.1);
}

.menu-text {
    margin-left: 10px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav:hover .menu-text {
    opacity: 8;
}

/* banner */
.ban {
    width: 100%;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: red;
    overflow: hidden;
}

.banrap1 {
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgb(21, 21, 21) 6%,transparent,transparent, transparent,transparent);
    position: absolute;
}

.banrap2 {
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgb(21, 21, 21) 1%, transparent);
    position: absolute;
}

.ban-vid {
    width: 100%;
    height: 150%;
    object-fit: cover;
    object-position: center;
}

/* movie-body */
.main-body {
    width: 99.5%;
    height: 357h;
    margin-left: 0;
}

.ban-movie-det {
    width: 82%;
    position: absolute;
    top: 6%;
    left: 8%;
    z-index: 2;
   padding: 2px;
}

.movie-head {
    width: 32%;
    margin-left: 3%;
}

.img-heading {
    width: 43%;
    height: 19%;
}



.movie-detail p {
    margin-top: 5%;
    width: 100%;
    display: flex;
    font-family: 'Times New Roman', Times, serif;
    font-size: 15px;
    color: white;
    column-gap: 15px;
    align-items: center;
  
}

.movie-detail .movie-para {
    margin-top: 10%;
    font-size: 16px;
    font-family: 'Times New Roman', Times, serif;
    color: rgb(206, 184, 184);

}

.movie-detail .genre {
    margin-top: 5%;
    font-size: 15px;
    font-family: 'Times New Roman', Times, serif;
    color: white;
    font-weight: 400;
}

.subs {
    margin-top: 5%;
    width: 100%;
    display: flex;
    column-gap: 18px;
}

.button1 {
    padding: 14px 50px;
    color: black;
    font-weight: bold;
    font-size: 15px;
    border-radius: 5px;
    border-color: transparent;
    background-color: hsla(0, 0%, 75%, 0.3);
    cursor: pointer;
    transition: .3s;
}

.button2 {
    padding: 14px;
    font-weight: bolder;
    color: black;
    font-size: 15px;
    border-radius: 5px;
    border-color: transparent;
    background-color: hsla(0, 0%, 75%, 0.3);
    cursor: pointer;
    transition: .3s;
}

.button1:hover, .button2:hover {
    background-color: hsla(0, 0%, 100%, 0.3);
    transform: scale(1.05);
}


/* middle */
.mid {
 width: 99.7%;
    padding: 20px 0;
    background-color: rgb(21, 21, 21);
}

.midrap {
    width: 90%;
    margin: auto;
    text-align: center; 
}

.midrap h1 {
margin-top: 9px;
    font-size: 23px;
    font-family: sans-serif;
    font-weight: bolder;
    color: white;
    margin-bottom: 20px; 
}
/* movie section */
.movie-sec {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(6, 1fr); 
    gap: 5px; 
    width: 100%;
    padding: 0 5px;
}

.box {
    width: 100%; 
    height: 250px; 
    overflow: hidden; 
    border-radius: 3px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    position: relative; 
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
}

.container img {
    opacity: 1;
    display: block;
    width: 100%;
    height: 100%;
    transition: transform .5s ease, opacity .5s ease; 
    backface-visibility: hidden;
    object-fit: cover; 
    border-radius: 3px; 
}

.centre {
    transition: opacity .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    color: white;
}

.container:hover img {
    transform: scale(1.09); 
    opacity: 50%; 
}

.container:hover .centre {
    opacity: 1; 
}

.text {
    background-color: rgba(153, 151, 151, 0.6); 
    padding: 10px;
    border-radius: 1px;
    display: flex;
    flex-direction: column; 
    align-items: center;
    font-size: 16px;
    font-weight: bolder;
    line-height: 1.5;
}

.texta a{
    background-color: rgba(0, 0, 0, 0.6); 
    padding: 10px;
    border-radius: 1px;
    display: flex;
    flex-direction: column; 
    align-items: center;
    font-size: 16px;
    font-weight: bolder;
    line-height: 1.5;
    color: white;
    text-decoration: none;
}



/* middle2 */
.mid4 {
    margin-top: 0px;
    width: 99.7%;
    padding: 20px 0;
    background-color: rgb(21, 21, 21);
}

.midrap4 {
    width: 90%;
    margin: auto;
    text-align: center; 
}

.midrap4 h1 {
margin-top: 9px;
    font-size: 23px;
    font-family: sans-serif;
    font-weight: bolder;
    color: white;
    margin-bottom: 20px; 
}
/* movie section */
.movie-sec4 {
    margin-top: 7px;
    display: grid;
    grid-template-columns: repeat(6, 1fr); 
    gap: 5px; 
    width: 100%;
    padding: 0 5px; 
}

.boxc {
    width: 95%;
    height: 100%; 
    overflow: hidden; 
    border-radius: 3px; 
    
}
.container4 {
    position: relative;
    width: 100%;
  
  }
  
  .boxc img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 3px;
  }
 
  .overlay2 {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-color:hsla(0, 100%, 100%, 0.3) ;
    overflow: hidden;
    width: 100%;
    height:100%;
    transition: .5s ease;
  }
  .overlayb {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-color: hsla(0, 1%, 14%, 0.3);
    overflow: hidden;
    width: 100%;
    height:100%;
    transition: .5s ease;
  }
.container4:hover img {
    transform: scale(1.1); 
    opacity: 50%; 
}

  .container4:hover .overlay2 {
    bottom: 0;
    height: 100%;
  }
  .container4:hover .overlayb {
    bottom: 0;
    height: 100%;
  }
  .text4 {
    color: white;
    font-size: 16px;
    position: absolute;
    top: 30%;
    left: 10%;
    text-align: center;
    display: flex;
    flex-direction: column; 
    line-height: 1.5;
    font-weight: bolder;
    
  }


  .textd a{
    color: white;
    font-size: 16px;
    position: absolute;
    top: 30%;
    left: 30%;
    text-align: center;
    display: flex;
    flex-direction: column; 
    line-height: 1.5;
    font-weight: bolder;
    text-decoration: none;
  }

 

/* comedy */
.mid7 {
    text-align: center;
    margin-bottom: 20px;
    width: 99.7%;
    padding: 2px 0;
    background-color: rgb(21, 21, 21);
    margin-top: 30px;
}

.midrap7 {
    margin-bottom: 20px;
    width: 90%;
    margin: auto;
    text-align: center; 
}

.midrap7 h1 {
    margin-top: 9px;
    font-size: 23px;
    font-family: sans-serif;
    font-weight: bolder;
    color: white;
    margin-bottom: 20px; 
}

.comedy-clips {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.comedy {
    position: relative;
    width: 24%;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
    text-align: center;
}

.comedy img {
    width: 100%;
    border-radius: inherit;
    transition: transform 0.3s ease;
}

.comedy-text {
    padding: 10px;
    color: white;
    border-radius: inherit;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bolder;
    font-size: 12px;
    background-color:hsla(0, 1%, 21%, 0.3) ;
}

.comedy h1 {
    font-size: 12px;
    margin: 10px 0 5px;
    font-family: 'Times New Roman', Times, serif;
}

.comedy p {
    font-size: 12px;
    margin: 0;
    display: none;
    font-family: 'Times New Roman', Times, serif;
}

.comedy:hover img {
    transform: scale(1.1);
}

.comedy:hover p {
    display: block;
}





/* footer */
.foot{
    width: 100%;
    background-color: rgb(21, 21, 21);
}
.footrap{
    width: 100%;
    margin: auto;
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.top-section{
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin-bottom: 30px;
}
.lastimg p, .connect p{
    color: white;
    font-size: 15px;
    margin-bottom: 10px;
}
.lastimg img{
    width: 30%;
    height: 55%;
}
.connect ul{
    display: flex;
    list-style: none;
    padding: 20;
}
.connect ul li{
    margin-right: 50px;
        
}
.connect ul li a{
    color: white;
    font-size: 20px;
    text-decoration: none;
}
.bottom-section{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    width: 80%;
    gap: 20px;
}
.boxz ul{
    margin-top: 10px;
}
.boxz ul p{
    color: white;
    font-size: 15px;
    margin-bottom: 10px;
}
.boxz ul a{
    display: block;
    font-size: 12px;
    margin-top: 10px;
    color: white;
    text-decoration: none;
}
.foot-panel2{
    margin-top: 20px;
    background-color: rgb(21, 21, 21);
    color: white;
    border-top: 1px solid black;
    height: 70px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.copyright ul{
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.copyright ul p{
    color: white;
    font-size: 12px;
    margin-right: 20px;
}
.copyright ul a{
    font-size: 12px;
    color: white;
    text-decoration: none;
}
