body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #333;
    color: #ff0000;
    padding: 10px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.site-name {
    font-size: 1.5em;
    font-weight: bold;
    font-family: 'Pacifico', cursive;
}

.search-bar input {
    padding: 5px;
    font-size: 1em;
}

.header-buttons button {
    margin-left: 10px;
    padding: 10px 20px;
    background-color: #E50914;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

.container {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.sidebar-toggle {
    display: block;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
}

.sidebar-icon {
    font-size: 24px;
    background: none;
    border: none;
    color: #fd0000;
    cursor: pointer;
}

.sidebar {
    width: 200px;
    background-color: #f4f4f4;
    padding: 20px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
    transition: transform 0.3s ease;
    transform: translateX(-100%);
}

.sidebar.open {
    transform: translateX(0);
}

.category-button {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #E50914;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    text-align: left;
}

.content {
    margin-left: 220px;
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.carousel {
    display: flex;
    transition: transform 1s ease-in-out;
}

.slide {
    min-width: 100%;
}

.slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.movie-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.movies {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.movie-thumbnail {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.movie-thumbnail img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ccc;
}

.movie-thumbnail h3 {
    margin: 10px 0;
    font-size: 1em;
}

.movie-thumbnail p {
    margin: 0;
    padding: 5px 0;
}

.movie-thumbnail button {
    padding: 10px 20px;
    margin: 10px 0;
    background-color: #E50914;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.footer-links a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

.social-media {
    margin-top: 10px;
}

@media (max-width: 768px) {
    .sidebar-toggle {
        display: block;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .content {
        margin-left: 0;
    }
}