
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #111;
    color: white;
    font-family: Arial, sans-serif;
}

.container {
    width: min(90%, 500px);
    text-align: center;
}

h1 {
    font-size: 3rem;
    margin-bottom: 30px;
}

form {
    display: flex;
    gap: 10px;
}

input {
    flex: 1;
    min-width: 0;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

button {
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    background: white;
    color: #111;
    cursor: pointer;
    font-weight: bold;
}

#result {
    margin-top: 30px;
}

#result img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 12px;
}
