/* Background Gradient */
body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
  }
  
  /* Glass Effect Card */
  .weather-container {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 30px;
    text-align: center;
    color: white;
    width: 320px;
    transition: transform 0.3s ease;
  }
  
  .weather-container:hover {
    transform: scale(1.03);
  }
  
  h1 {
    margin-bottom: 20px;
    font-size: 28px;
  }
  
  input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    margin-bottom: 10px;
    font-size: 16px;
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transition: background 0.3s;
  }
  
  input:hover {
    background: rgba(255, 255, 255, 0.3);
  }
  
  button {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    background-color: #ffffff33;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  button:hover {
    background-color: #ffffff55;
  }
  
  #weatherResult {
    margin-top: 20px;
  }
  
  #weatherResult img {
    width: 80px;
    margin-top: 10px;
  }
  body {
    transition: background 0.6s ease-in-out;
  }
  

  /* /* Rain Animation */
/* .rain {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('https://i.ibb.co/kD0z0yD/rain.gif'); /* Optional: Use a subtle transparent rain gif */
  /*   background-size: cover;
    z-index: -1;
    opacity: 0.3;
  } */ /* */ 
   