*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1rem;
}

main {
    text-align: center;
    padding: 2rem 3rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 700px;
}

h1 {
    color: #0d6efd;
    margin-bottom: 2rem;
}

p {
    color: #6c757d;
    font-style: italic;
    font-size: 1.4rem;
}

form {
    opacity: 0.75;
}

form label {
    margin-right: 1rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

form div {
    display: flex;
    align-items: center;
    border-radius: 0.5rem;
    padding: 0.3rem;
    gap: 0.5rem;
    width: 50%;
    margin: 0 auto;
}

input[type="text"] {
    flex: 1;
    padding: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s ease-in-out;
}

input[type="text"]:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-family: inherit;
    color: #ffffff;
    background-color: #0d6efd;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease;
}

button:hover {
    background-color: #0b5ed7;
}

button:active {
    transform: scale(0.98);
}

button:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

footer p {
    margin: 0;
    font-size: 1rem;
}

img {
    margin-top: 0;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}