/* Reset some default browser styles */
body, h1, h2, h3, p, ul {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #665d5d;
}
                    

header {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    margin-left: 20px;
    font-size: 1.5em;
}

header nav ul {
    list-style: none;
    display: flex;
    margin-right: 20px;
}

header nav ul li {
    margin: 0 10px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
}

header .search-bar {
    margin-right: 20px;
}

header .search-bar input {
    padding: 5px;
    font-size: 1em;
}

main {
    padding: 20px;
}

.banner {
    text-align: center;
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
}

.banner img {
    max-width: 100%;
    height: auto;
}

.movie-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
}

.movie-card {
    background-color: #5a5757;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: calc(100% - 1200);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.movie-card:hover{
    box-shadow: 10px 0 0px rgba(100, 188, 235, 0.1);
    padding: 10px;
    border: 2px snow #5139d8;
}
img:hover{
    box-shadow: 0 0 15px rgb(86, 204, 94);
}
.movie-card img {
    max-width: 100%;
    height: auto;
}

.movie-card h3 {
    margin: 10px 0;
    font-size: 1.2em;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

footer nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

footer nav ul li {
    margin: 0 10px;
}

footer nav ul li a {
    color: #fff;
    text-decoration: none;
}
.movie-card {
    /* display: flex; */
    display: block;
    flex-wrap:wrap;
    gap: 30px; /* space between images */
}

.movie-card img {
    width: 150px; /* Set a fixed width */
    height: 225px; /* Set a fixed height to maintain aspect ratio */
    object-fit: cover; /* Ensures images fill the set size without distortion */
    margin-left: 10px;
    border-radius: 5px; /* Optional: rounds the corners of the images */
}

@media (max-width: 600px) {
    .movie-card img {
        width: 100px; /* Adjust width for smaller screens */
        height: 150px; /* Adjust height to maintain aspect ratio */
    }
}

img:hover{
    border-color: aqua;
}
/* #Ben_Om2{
    border-radius: 55px;
    height: 300px;
    width: 200px;
} */
 #cars{
    background-color:transparent;
    color: white;
    border: none;
 }
#cars option {
    background-color:rgb(76, 75, 75);
    color: white;
}
