* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    color: #FFFFFF;
    font-family: "Roboto Slab", serif;
    background-color: #000C36;

    

}

.container {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #000C36;
    margin: 0 auto;
    padding: 50px 30px;
    min-height: 100vh;
}

header h1{
    font-family: "Carter One", system-ui;
    text-align: center;
    font-size: 3rem;
    margin-top: 0;
    margin-bottom: 0.8em;

}

header img {
    display: block;
    margin: 0 auto;
    width: 84px;
    height: auto;
}


form label {
    display: block;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.6em;

    
}

form textarea {
    font-weight: 300;
    background-color: #3B4877;
    border: none;
    border-radius: 8px;
    resize: none;
    display: block;
    width: 100%;
    color: #05060C;
    min-height: 60px;
    margin-bottom: 2.0em; /* slightly tighter spacing before next label */
}

#user-info-form {
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}



button { 
    background-color: #51E08A;
    color: #000C36;
    border: none;
    border-radius: 10px;
    padding: 18px 15px;
    font-family: inherit;
    width: 100%;
    font-size: 1.8rem;
    font-weight: 600;
    cursor: pointer;

}

button:hover {
    background-color: #14cc52;

}

.movie-title {
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 0.8em;
}

.movie-description {
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.6rem;
}

.content {
    margin-bottom: 4em;
}

.poster {
    width: 100%;
    display: block;
    max-width: 420px;
}

.movie-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
    width: 100%;
}

@media (min-width: 900px) {
    .container {
        max-width: 1100px;
        padding: 60px 40px;
    }

    header h1{
        font-size: 3.6rem;
        margin-bottom: 0.6em;
    }

    header img {
        width: 120px;
    }

    .movie-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 3rem;
    }

    .poster {
        width: 40%;
        max-width: 420px;
        flex: 0 0 40%;
        border-radius: 8px;
        object-fit: cover;
    }

    .content {
        width: 60%;
        flex: 1 1 60%;
        margin-bottom: 0;
    }

    .movie-title {
        font-size: 2.8rem;
    }

    .movie-description {
        font-size: 1.25rem;
        line-height: 2rem;
    }

    button {
        padding: 20px 28px;
        font-size: 2rem;
    }

    #user-info-form {
        max-width: 900px;
        gap: 1.25rem;
    }

    form textarea {
        min-height: 100px;
        font-size: 1.1rem;
        padding: 14px;
    }

    #user-info-form button {
        margin: 1rem auto 0;
        display: block;
    }

    form label {
        font-size: 1.2rem;
        font-weight: 600;
    }
}