html {
    min-height: 100%;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

body {
    background-image: linear-gradient( to top, #1e3c72 0%, #1e3c72 1%, #2a5298 100%);
    font-family: 'Montserrat', sans-serif;
    min-height: 100%;
}

h1 {
    font-weight: 400;
    text-align: center;
}

h2 {
    text-align: center;
}

.contenido {
    background-color: white;
    max-width: 1100px;
    margin: 0 auto;
    height: 100%;
    padding: 20px;
}

@media (min-width: 768px) {
    .contenedor {
        display: flex;
    }
    .contenedor>div {
        flex: 1 0 50%;
    }
}

.formulario {
    margin-top: 0.5rem;
}

.formulario-busqueda p {
    text-align: center;
}

.formulario-busqueda span {
    color: red;
}

.input {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.input label {
    flex: 0 0 120px;
    text-align: right;
    margin-right: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

@media (min-width: 320px) and (max-width: 768px) {
    .input label {
        margin-right: 0.2rem;
    }
    .input input[type='text'] {
        min-width: 11rem;
        /* max-width: 12rem; */
    }
}

.input span {
    color: red;
}

.input input[type='text'] {
    width: 10.5rem;
    height: 2.5rem;
    padding: 1rem;
    display: flex;
    flex: 1;
}

.enviar {
    text-align: right;
    justify-content: flex-end !important;
}

.input input[type='submit'] {
    background-color: #6f86d6;
    padding: 0.5rem 2rem;
    color: white;
    align-self: flex-end;
    border: none;
    transition: background-color 0.3s ease-in-out;
}

.input input[type='submit']:hover {
    cursor: pointer;
    background-color: #384e9d;
}

.error {
    padding: 1rem;
    border: 1px solid red;
    background-color: rgb(249, 121, 121);
    color: white;
}

#resultado {
    white-space: pre-wrap;
    padding: 2rem;
}