body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(#1e3c72, #2a5298);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('https://s3.amazonaws.com/shecodesio-production/uploads/files/000/166/872/original/download.jpg?1748514603'); /* Optional background */
    background-size: cover;
    background-position: center;
  }
  
  .weather-app {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    width: 550px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);

    /* New background styling */
  background-image: url('https://s3.amazonaws.com/shecodesio-production/uploads/files/000/166/871/original/images.jpg?1748514587'); /* Adjust the path if needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  }
  
  form {
    display: flex;
    margin-bottom: 20px;
  }
  
  #city-input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
  }
  
  button {
    padding: 10px 15px;
    background-color: #eb3fd1;
    color: #000;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-weight: bold;
  }
  
  .weather-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .weather-info {
    text-align: left;
  }
  
  .time {
    font-size: 14px;
    opacity: 0.7;
  }
  
  .temperature {
    font-size: 48px;
    font-weight: bold;
  }
  
  .temp-range {
    font-size: 18px;
    margin: 5px 0;
  }
  
  .location {
    font-size: 20px;
    font-weight: 600;
  }
  
  .description {
    font-style: italic;
    font-size: 14px;
    margin-top: 4px;
  }
  
  .weather-icon img {
    width: 80px;
    height: 80px;
  }
  
  .forecast {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
    gap: 10px;
  }
  
  .day {
    text-align: center;
  }
  
  .high {
    font-weight: bold;
  }
  
  .low {
    opacity: 0.6;
  }
  .footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
  }
  
  .footer a {
    color: #f342d5; /* gold tone for links */
    text-decoration: none;
    font-weight: 500;
  }
  
  .footer a:hover {
    text-decoration: underline;
    color: #5663f5; /* brighten on hover */
  }
  