* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 100vh;
    padding: 20px;
    overflow-y: auto;
}

h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

#search {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 10px;
    border: 2px solid #ccc;
    border-radius: 4px;
}

#searchBtn, #reset {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

#searchBtn {
    background-color: #007BFF;
    color: white;
    border: none;
}

#searchBtn:hover {
    background-color: #0056b3;
}

#reset {
    background-color: #f44336;
    color: white;
    border: none;
    opacity: 0.6;
    cursor: not-allowed;
}

#reset:enabled {
    opacity: 1;
    cursor: pointer;
}

#reset:hover {
    background-color: #d32f2f;
}

#error {
    color: red;
    font-size: 14px;
    margin-top: 10px;
}

#container {
    max-width: 800px;
    width: 100%;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    overflow-y: auto;
}

#container p {
    margin: 5px 0;
    font-size: 16px;
    color: #555;
}

#poster {
    text-align: center;
    margin-top: 20px;
}

#poster img {
    max-width: 100%;
    border-radius: 8px;
}

#container p strong {
    font-weight: bold;
}

@media (max-width: 768px) {
    #container {
        padding: 15px;
    }

    #search {
        width: 100%;
        max-width: 300px;
    }

    #searchBtn, #reset {
        width: 100%;
        max-width: 300px;
    }

    #container p {
        font-size: 14px;
    }

    h1 {
        font-size: 28px;
    }
}
