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

body{
    width: 100%;
    background-size: cover;
    background-image: url(img/backGround.jpg);
    height: 100vh;
}

.main{
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap:40px;
    padding: 10px 20px;
}

h1{

  font-size: 3.5rem;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 1px 1px 4px rgba(150, 150, 150, 0.5);
  font-weight: bold;
  letter-spacing: 2px;
}

#cidade_input{
    padding:20px;
    border:none;
    border-radius: 5px;
    font-size: 1rem;
    width: 80vh;
   
    
}

#res,
#proximos-dias {
    width: 100%;
    height: auto;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
    color: #000;
    transition: background-color 0.5s ease;
}

#proximos-dias{
    flex-direction: row;
    gap:50px;
 
}

.previsao-dia{
   display: flex;
    flex-direction: column;
    gap:5px;
}

/* Informações do clima atual */
.clima {
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.celsius {
    font-size: 2.5rem;
}

.sensTermica {
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    padding: 10px;
    opacity: 0.8;
}

/* Descrição do tempo (ex: "Ensolarado", "Nublado") */
.desc {
    font-size: 1.4rem;
    text-align: center;
    font-style: italic;
}

/* Nome da cidade */
.cidade {
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    gap: 10px;
    font-weight: bold;
}

.cidadeName {
    color: #000;
}

.icon{
    width: 100px;
    height: auto;
    padding:20px;
}

.iconTer{
    width: 30px;
    height: auto;
}


@media (max-width: 780px) {
    h1 {
        display: flex;
        font-size: 3rem;    
        text-align: center !important;
        padding:20px;
    }

    #cidade_input{
        width: 100% ;
        padding:30px;
        
    }
     .main {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    #proximos-dias {
        flex-direction: column;
        gap: 20px;
    }
  
    
}
