* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.main {
    width: 100%;
    display: flex;
    position: relative;
    background-color: rgb(21, 21, 21);
}

.main2 {
    width: 93%;
    display: flex;
    flex-direction: column;
    margin-left: 7%;
    transition: margin-left 0.3s ease;
    background-color: rgb(21, 21, 21);
}

.video-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 93vh;
    background-color: red;
}

.ban-vid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 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;
    text-decoration: none;
    color: white;
}

.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: 1;
}

/* movie-body */
.main-body {
    width: 100%;
    margin-top: 20px;
   
}

.ban-movie-det {
    width: 95%;
    max-width: 1100px;
    background-color: rgb(21, 21, 21);
    color: white;
}

.movie-head {
    display: flex;
    
}

.img-heading {
    width: 150px;
    height: auto;
    margin-right: 20px;
}

.movie-detail h1 {
    color: blue;
    font-family: 'Times New Roman', Times, serif;
    font-size: 24px;
    margin-bottom: 1px;
}

.movie-detail p {
    font-family: 'Times New Roman', Times, serif;
    font-size: 15px;
    color: white;
}

.movie-detail .movie-para {
    margin-top: 1%;
    font-size: 16px;
    color: rgb(206, 184, 184);
}

.movie-detail .genre {
    margin-top: 1%;
    font-size: 15px;
    color: white;
    font-weight: 400;
}



/* middle */
.mid {
    margin-top: 20px;
    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;
}

/* 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;
}
