/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    color: #fff;
    position: relative;
  }
  
  .weather-container {
    width: 100%;
    max-width: 500px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    padding: 40px;
    position: relative;
    z-index: 1;
  }
  
  .background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.example.com/your-weather-image.jpg'); /* Replace with your desired background */
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
    z-index: -1;
  }
  
  .weather-info-container {
    position: relative;
    z-index: 1;
    text-align: center;
  }
  
  .header {
    margin-bottom: 20px;
  }
  
  h1 {
    font-size: 40px;
    font-weight: 500;
  }
  
  p {
    font-size: 16px;
  }
  
  .search-box {
    margin-bottom: 30px;
  }
  
  #location {
    padding: 12px;
    width: 80%;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    margin-bottom: 10px;
  }
  
  button {
    padding: 12px;
    width: 80%;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
  }
  
  button:hover {
    background-color: #0056b3;
  }
  
  .weather-info {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  .weather-info.show {
    display: block;
    opacity: 1;
  }
  
  .weather-card {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
  }
  
  .city-info {
    margin-bottom: 20px;
  }
  
  .weather-main {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
  }
  
  .weather-icon img {
    width: 100px;
  }
  
  h2 {
    font-size: 28px;
    font-weight: 500;
  }
  
  .weather-card p {
    font-size: 16px;
    margin: 5px 0;
  }
  
  #temperature {
    font-size: 36px;
    font-weight: 600;
  }
  
  footer {
    margin-top: 30px;
    font-size: 14px;
    color: #bbb;
  }
  
  footer a {
    color: #007bff;
    text-decoration: none;
  }
  
  footer a:hover {
    text-decoration: underline;
  }
  