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

body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    transition: background 0.8s ease, color 0.8s ease;
    
}

.title-container {
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}
.app-title{
    font-size: 3rem;
    font-weight: bold;
}

.app-text {
    padding: 16px 0 0 0;
    
}  
  
/* Temas Dinâmicos */
.initial-theme {
    background-color: #0d0f1a;
    color: #ffffff;
}

.day-theme {
    background: linear-gradient(135deg, #7dffe7 0%, #9fabe3 100%);
    color: #2c3e50;
}

.night-theme {
    background: linear-gradient(135deg, #2c3e50 0%, #000000 100%);
    color: #ecf0f1;
}

.card {
    background: rgba(255, 255, 255, 0.167);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    text-align: center;

}

.night-theme .card {
    background: rgba(0, 0, 0, 0.3);
}

#weather-form {
    display: flex;
   
    gap: 10px;
    /* margin-bottom: 1.5rem; */
}

#city-input {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: none;
    outline: none;
}

button {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    background-color:#4a828b;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

button:hover { 
    background-color: #2b0877; 
    
}

.hidden { display: none; }


 .weather-info{
    padding: 20px 0;
 }

#date-time { 
    font-size: 0.9rem;
    margin: 0.6rem 0 ;
    opacity: 0.8; 
    text-transform: capitalize; 
}

.main-weather {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
}

#weather-icon { font-size: 4rem; }

#temperature { font-size: 3.5rem; font-weight: bold; }

#weather-desc { font-size: 1.2rem; font-weight: 500; }

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

.extra-item {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

.footer-notices {
    /* position: fixed; */
    /* bottom: 20px; */
    font-size: 0.75rem;
    opacity: 0.8;
    text-align: center;
    width: 100%;
    margin: 15px 0 0 0;
}

.footer-notices a {
    color: inherit;
    text-decoration: none;
    /* margin: 0 5px; */
}

.footer-notices a:hover {
    text-decoration: underline;
}

