body {
    font-family: Helvetica, Arial, Lucida, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

h1 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: #000;
    text-align: center;
}

img {
    height: 50px;
    vertical-align: middle;
    margin-right: 10px;
}

#instrucoes {
    width: 90%;
    max-width: 600px;
    margin-bottom: 1rem;
}

#video-container {
    width: 90%;
    max-width: 400px;
    position: relative;
}

video {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 8px;
}

pre {
    background-color: #fff;
    padding: 1rem;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    white-space: pre-wrap;
    word-wrap: break-word;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: auto;
    margin-top: 1rem;
}

button {
    padding: 0.75rem 1.5rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    width: 90%;
    max-width: 400px;
}

button:hover {
    background-color: #0056b3;
}

#resultados {
    margin-top: 2rem;
    width: 90%;
    max-width: 600px;
    text-align: center;
}

#cidade-container {
    margin-bottom: 1rem;
}

select {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 1rem;
    width: 90%;
    max-width: 400px;
}

select:disabled {
    background-color: #f0f2f5;
    color: #aaa;
}

footer {
    text-align: center;
    margin-top: 20px;
}

@media (min-width: 600px) {
    button {
        width: auto;
    }

    #resultados {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    pre {
        max-width: 800px;
    }
}

@media (min-width: 1024px) {
    #resultados {
        flex-direction: row;
        justify-content: space-between;
        max-width: 1000px;
    }

    pre {
        width: 60%;
    }

    #resultados>div {
        width: 35%;
    }
}