@font-face {
    font-family: "Header";
    src: url("Pants\ patrol.otf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: darkslategrey;
}

header {
    background-color: black;
    background: linear-gradient(to right, black, darkslategrey, black);
    padding-top: 10px;
    padding-bottom: 10px;
    color: white;
    text-align: center;
    cursor: pointer;
    z-index: 3;
    top: 0;
    width: 100%;
    position: relative;
    z-index: 3;
}

header h1 {
    text-shadow: 0px 2px 10px lightgrey;
    margin: 0px;
    font-family: "Header";
}

footer {
    text-align: center;
    padding-bottom: 36px;
    background-color: lightgrey;
    background: linear-gradient(to right, black, darkslategrey, black);
    min-height: 60px;
}

.theater-container {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
    min-height: 100vh; /* Ensure it's taller than the viewport */
}

.movie-container-padding {
    max-width: 1000px;
    margin: 0 auto;
}

.movie-container {
    background-color: white;
    padding: 0px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin: 24px;
    box-shadow: 0 0px 10px white;
    border-radius: 20px;
}

.recomendations-container {
    background-color: white;
    padding: 0px;
    padding-top: 20px;
    padding-bottom: 20px;
    box-shadow: 0 0px 10px white;
    border-radius: 20px;
}

.genre-section {
    margin-bottom: 0px;
}

.genre-header {
    background-color: darkslategrey;
    background: linear-gradient(to right, darkslategrey, black);
    color: white;
    text-shadow: 0px 2px 10px lightgrey;
    text-align: left;
    padding: 15px;
    text-transform: uppercase;
    margin: 0px;
}

.genre-movies {
    background: linear-gradient(to bottom, white, lightgrey);
    overflow-x: auto; /* Enable horizontal scrolling */
    white-space: nowrap; /* Prevent line breaks */
    padding: 10px;
}

.movie-item {
    width: 200px;
    display: inline-block; /* Display items in a single row */
    white-space: normal; /* Ensure normal white-space handling */
    vertical-align: top; /* Align items at the top */
    overflow-wrap: break-word;
    margin-right: 10px;
}

.movie-image {
    width: 100%;
    box-shadow: 0 2px 10px darkslategrey;
    cursor: pointer;
}

.movie-title {
    margin-top: 10px;
    color: black;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
}

.movie-info {
    padding: 20px;
    padding-top: 0px;
    max-width: 500px;
    margin: 0 auto;
}

.movie-header-title {
    text-transform: uppercase;
    font-weight: bold;
    padding: 0px;
    margin: 0px;
    background-color: lightgrey;
    background: linear-gradient(to bottom, white, lightgrey);
    padding: 20px;
}

a {
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .movie-item {
        width: 150px; /* Adjust the width for smaller screens */
    }
}

.video-player {
    background-color: black;
    position: sticky;
    top: 0; /* Specify the position at which it should stick */
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
    .video-player {
        position: relative;
    }
}

video {
    width: 100%;
    height: auto;
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
    video {
        width: 70%;
        height: auto;
    }
}

.theater-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
    min-height: 100vh; /* Ensure it's taller than the viewport */
    box-shadow: 0px 0px 20px white;
}
