@import url('https://fonts.googleapis.com/css2?family=Itim&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}



#containner_temp {
    background-color: rgba(20, 40, 80, 0.3);;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
    color: #e0e0e0;
    font-weight: bold;
    align-items: center;
    justify-content: center

}

#city_name {
    color: #e0e0e0;
    font-weight: bold;
}

#search {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #bdbdbd;
    border-radius: 10px;
    padding: 4px 12px;


}

#search input {
    border: none;
    background-color: transparent;
    font-size: 16px;
    width: 60%;
}

#search input:focus-visible {
    outline: none;
}

#search button {
    background-color: transparent;
    border: none;
    cursor: pointer;

}
#lupa {
    font-size: 30px;
    color: Goldenrod;          
}

#busca {
    font-size: 30px;
    color: Goldenrod; 
    
}

#weather {
    display: none;
    margin-top: 20px;

}

#weather.show {
    display: block;
}

#weather #title {
    text-align: center;
    margin-bottom: 5px;
    font-weight: 600;,
    color: #372f3f;

}

#temp {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    background: linear-gradient(90deg,#5a7cdc,#606dde);
    color: #fff;
    border-radius: 20px;
    padding: 20px;
}

#temp_img {
    filter: :drop-shadow(2px 2px 2px rgba(0,0,0,0.2));
}

#temp_value {
    font-weight: 700;
    font-size: 50px;
    line-height: 10px;

}

#temp_description {
    font-weight: 500;
    text-transform: capitalize;

}

#other_infos {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px ;
}

#other_infos .infos {
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 4px 10px;
    border-radius: 8px;
    box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
    background-color: #fff;
    gap: 10px;

}

#other_infos .infos h2 {
    font-size: 12px;
    font-weight: 600;

}

#other_infos .infos i {
    text-align: center;
    font-size: 20px;
    width: 20%;

}

#temp_max_icon {
    color: #7f1d1d;

}

#temp_min_icon {
    color: #0284c7;

}

#humidity_icon {
    color: #0ea5e9;

}

#wind_icon {
    color: #7c3aed;

}





 /* Weather Section */
    #weather {
      background: rgba(20, 40, 80, 0.3);
      border-radius: 15px;
      padding: 2rem;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
      backdrop-filter: blur(10px);
      text-align: center;
    }

    #weather form {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 1rem;
    }

    #weather input {
      padding: 0.5rem;
      border: 2px solid #d4a017;
      border-radius: 25px;
      background: rgba(255, 255, 255, 0.1);
      color: #e0e0e0;
      font-size: clamp(0.9rem, 2vw, 1rem);
    }

    #weather button {
      background: #d4a017;
      border: none;
      padding: 0.5rem;
      border-radius: 50%;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    #weather button:hover {
      background: #b8860b;
    }

    #weather #infos {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
    }

    #weather .infos {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(255, 255, 255, 0.1);
      padding: 1rem;
      border-radius: 10px;
    }

    #weather .infos i {
      font-size: 1.5rem;
      color: #d4a017;
    }

    #weather p, #weather h2 {
      font-size: clamp(0.8rem, 2vw, 0.95rem);
      color: #c0c0c0;
    }


