/* General body styles */
body {
    font-family: 'Arial', sans-serif;
    background: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    box-sizing: border-box;
    color: #333;
  }
  
  /* Weather App container */
  .weather-app {
    text-align: center;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    min-width: 350px;
  }
  
  h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  /* Search Bar */
  .search-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
  }
  
  .search-bar input {
    padding: 12px;
    font-size: 1.2rem;
    border-radius: 30px;
    border: 2px solid #ddd;
    width: 70%;
    max-width: 350px;
    margin-right: 10px;
    transition: all 0.3s ease;
  }
  
  .search-bar input:focus {
    outline: none;
    border-color: #4caf50;
  }
  
  .search-bar button {
    padding: 12px 20px;
    font-size: 1.2rem;
    border-radius: 30px;
    background-color: #4caf50;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .search-bar button:hover {
    background-color: #45a049;
  }
  
  /* Error Message */
  .error {
    color: red;
    font-size: 1.2rem;
    margin-top: 15px;
    font-weight: 500;
  }
  
  /* Weather Card */
  .weather-card {
    background-color: #e0f7fa;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    text-align: center;
  }
  
  .weather-card h2 {
    font-size: 2.5rem;
    color: #00796b;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: capitalize;
  }
  
  .weather-card p {
    font-size: 1.2rem;
    color: #333;
    margin: 5px 0;
    font-weight: 500;
  }
  
  .weather-card h3 {
    font-size: 3.5rem;
    color: #00796b;
    margin: 20px 0;
    font-weight: 700;
  }
  
  .details {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 20px;
  }
  
  .details p {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
  }
  
  .details .label {
    font-weight: 700;
    color: #4caf50;
  }
  
  /* Responsive Design */
  @media screen and (max-width: 768px) {
    .weather-app {
      padding: 20px;
    }
  
    .search-bar input {
      width: 100%;
      max-width: 90%;
    }
  
    .weather-card {
      padding: 20px;
    }
  
    .weather-card h3 {
      font-size: 3rem;
    }
  
    .details {
      flex-direction: column;
      gap: 20px;
    }
  
    .details p {
      font-size: 1.1rem;
    }
  }
  
  @media screen and (max-width: 480px) {
    h1 {
      font-size: 2rem;
    }
  
    .weather-card h2 {
      font-size: 2rem;
    }
  
    .weather-card h3 {
      font-size: 2.5rem;
    }
  
    .details p {
      font-size: 1rem;
    }
  }
  