  /* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
body {
        margin: 0;
        overflow: hidden; /* Disable default scrollbars */
    }
.container {
    display: flex;
    width: 100%;
    overflow-y: hidden;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: #111;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    height: 100vh;
    flex-shrink: 0; /* Prevent shrinking */
}


/* Logo */
.sidebar h1.logo {
    text-align: center;
    font-size: 60px;
    background: linear-gradient(to bottom, #FF0000, #6E65E8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

/* Navigation */
nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allows menu to fill space */
    justify-content: space-evenly; /* Distributes items evenly */
}

.menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 10px;
    background: #111;
    padding: 10px;
    text-align: center;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    text-decoration: none;
    font-size: 25px;
    font-weight: bold;
    padding: 1px 5px;
    border-radius: 15px;
    transition: background 0.3s;
}

.menu-item img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.menu-item:hover {
    background: #333;
}

.menu-item.active {
    background-color: #222;
}

.movie-section {
    width: 100%;
}

.menu-item span {
    margin-right: 5px; /* Adjust if necessary */
}
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #000;
    color: white;
}

    .movie-display {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }
    .movie-display iframe {
        width: 80%;
        max-width: 900px;
        height: 506px;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        border: none;
    }
    .movie-description {
        text-align: center;
        margin-top: 20px;
        color: #000;
    }
    .movie-description h2 {
        font-size: 28px;
        margin-bottom: 10px;
        color: #000;
    }
    .movie-description p {
        font-size: 18px;
        color: #000;
    }
    .rating {
        margin-top: 10px;
        font-size: 16px;
        color: #000;
        font-weight: bold;
    }
    .rating-link {
        text-decoration: none;
        color: inherit;
    }
    .similar-movies {
        margin-top: 30px;
    }
    .similar-movies h3 {
        font-size: 24px;
        margin-bottom: 15px;
        color: #000;
    }
    .movie-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
        padding: 10px;
    }
    .movie-card {
        text-align: center;
        padding: 10px;
    }
    .movie-card a img {
        width: 150px;
        height: 225px;
        object-fit: cover;
        border-radius: 5px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.2s ease;
    }
    .movie-card a img:hover {
        transform: scale(1.05);
    }
    .movie-card a {
        text-decoration: none;
        color: #000;
        display: block;
        margin-top: 10px;
        font-weight: bold;
    }
    .movie-card a:hover {
        color: #404040;
    }