body {
    background-color: #151515;
}
h1 {
    text-align: center;
    color: #A64D79;
    text-decoration: underline;
    font-size: 2.5rem;
    font-family: Arial, sans-serif;
    font-style: italic;  
}
.input{
    display: flex;
    align-items: center;
    justify-content: center;
}
#search-input {
    width: 30%;
    height: 20px;
    padding: 10px;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 5px;
    /* margin: auto; */
    outline: none;
  }
  
  #search-button {
    height: 43px;
    padding: 10px;
    font-size: 18px;
    background-color:#B03052;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px;
  }
  
  #search-button:hover {
    background-color: #A64D79;
  }
.movie-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    padding: 20px;
}
.card {
    border: 2px solid #A64D79;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 200px;
    margin: 10px;
    text-align: center;
    transition: transform 0.2s ease-in-out;
    background-color: #3B1C32;
    display: inline-block;
}
.card:hover {
    transform: translateY(-10px);
}
.card img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #B03052;
}
.card h4 {
    font-size: 1em;
    margin: 16px 0;
    color: white;
    text-decoration: underline;
    font-family: Arial, sans-serif;
    font-style: italic;  
}
.card p {
    font-size: 1em;
    margin: 8px 16px;
    color: white;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        max-width: 100%;
    }
}