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

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

body {
    font-family: 'Inter', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.clima-card {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 2rem;
    border-radius: 30px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2rem;
    border-radius: 30px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.localizacao {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 300;
}

.hora {
    font-size: 1.1rem;
    opacity: 0.8;
}

.main-info {
    margin-bottom: 3rem;
}

.sol-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.temperatura {
    font-size: 5rem;
    font-weight: 600;
    line-height: 1;
    margin-left: 25px;
}

.descricao {
    font-size: 1.2rem;
    text-transform: capitalize;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.detalhes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

.detalhes-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.data {
    display: flex;
    flex-direction: column;
}

.label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}

.valor {
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 350px) {
    .details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}