@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;300;400;500;600;700;800&family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    color: #333;
}

h1 {
    text-align: center;
    margin-top: 20px;
    color: #333;
}

.busca {
    text-align: center;
    margin: 20px 0;
}

#searchInput {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    font-size: 16px;
}

#searchBtn {
    padding: 12px 20px;
    background-color: #4caf50;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.resultado {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: none;
    transition: all ease 0.5s;
    opacity: 0;
}

.titulo {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.info {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.temp,
.vento,
.outros {
    flex: 1;
}

.outros {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.pressao,
.sensacao-termica {
    flex: 1;
}

.tempTitulo,
.ventoTitulo,
.pressaoTitulo,
.sensacaoTitulo {
    font-size: 18px;
    font-weight: bold;
    color: #555;
}

.tempInfo,
.ventoInfo,
.pressaoInfo,
.sensacaoInfo {
    font-size: 36px;
    /* Ajustado para números maiores */
    margin-top: 5px;
    color: #333;
}

.tempMinMax {
    margin-top: 10px;
    display: flex;
    justify-content: space-around;
    font-size: 16px;
    color: #777;
}

#weatherIcon {
    margin-top: 15px;
    max-width: 70px;
}

.weatherDescription {
    margin-top: 10px;
    font-size: 18px;
    color: #555;
}

.aviso {
    padding: 10px;
    border-radius: 4px;
    background-color: #f44336;
    color: #fff;
    opacity: 0;
    display: none;
    transition: all ease 0.5s;
    justify-content: center;
    align-items: center;
    width: 204px;
    margin: 0 auto;
}

footer {
    text-align: center;
    margin-top: 20px;
    color: #777;
    font-size: 14px;
}

sup,
.ventoInfo span {
    font-size: 18px;
}

.ventoPonto {
    width: 15px;
    height: 1px;
    background-color: #000;
    transform-origin: left;
}


/* ... Outros estilos ... */

.weatherDescription {
    margin-top: 10px;
    font-size: 18px;
    color: #555;
    text-transform: capitalize;
    /* Capitaliza a primeira letra de cada palavra */
}

.ventoArea {
    width: 50px;
    height: 50px;
    border: 1px solid #000;
    border-radius: 50%;
    margin: auto;
    width: 50px;
    height: 50px;
    border: 1px solid #000;
    border-radius: 50%;
    margin-top: 20px;
    padding-left: 25px;
    padding-top: 25px;
}

.diaResultado {
    background: linear-gradient(to top, #b3e0ff, #66a3ff);
}

.noiteResultado {
    background: linear-gradient(to bottom, #48576e, #1a1a2e);
}

.textColor {
    color: #FFF;
}

.ventoAreaCircle {
    margin-top: 40px;
}

.ativo {
    opacity: 1;
    display: flex;
    transition: opacity ease 0.5s;
}


/* ... Outros estilos ... */

@media (max-width: 600px) {
    .info {
        flex-direction: column;
        gap: 15px;
    }

    .tempInfo,
    .ventoInfo,
    .pressaoInfo,
    .sensacaoInfo {
        font-size: 31px;
    }

    .ventoAreaCircle {
        margin-top: 21px;
    }

    .tempMinMax {
        justify-content: space-evenly;
    }

    .weatherDescription {
        margin-top: 0;
    }

    .outros {
        gap: 22px;
        margin-top: 10px;
    }

    .resultado {
        margin: 0 15px;
    }

    footer {
        margin-bottom: 20px;
    }
}