@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700&display=swap');

body {
    background-color: #181818;
    color: #dfdfdf;
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    padding: 0;
}

#form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 250px auto 40px;
}

#title {
    background-color: #0e0e0e;
    color: #dfdfdf;
    border: 2px solid #2f2f2f;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 18px;
    width: 260px;
    outline: none;
    font-family: 'Nunito', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

#title:hover {
    background-color: #000;
    border: 2px solid #555555;
}

#title:focus {
    outline: none;
    border-color: #0080ff;
    box-shadow: 0px 0px 5px #0080ff;
}

#title::placeholder {
    color: #707070;
    font-weight: 500;
}

.submit {
    height: 48px;
    padding: 12px 22px;
    background-color: #0080ff;
    color: #dfdfdf;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    cursor: pointer;
}

.submit:hover {
    background-color: #0066cc;
}

#results div {
    padding: 12px 8px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #2a2a2a;
    cursor: pointer;
}

#results div:hover {
    background-color: #000;
}

.poster {
    height: 200px;
    margin-right: 15px;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

#results div:hover .poster {
    transform: scale(1.1);
}

#iframe {
    display: none;
    height: 95vh;
    width: 98%;
    border: none;
    border-radius: 20px;
    margin-left: 1vw;
    margin-right: 1vw;
}