body {
    font-family: Arial, sans-serif;
    background-color: #eef0f3;
    margin: 0;
    padding: 0;
  }
  
  header {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 28px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  main {
    display: flex;
    padding: 30px;
  }
  
  .left-panel {
    flex: 1;
    border-right: 2px solid #ddd;
    padding: 20px;
  }
  
  .right-panel {
    flex: 2;
    padding: 20px;
  }
  
  #search-bar {
    box-sizing: border-box;
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: white;
    font-size: 16px;
  }
  
  #search-btn {
    padding: 15px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
  }
  
  #search-btn:hover {
    background-color: #0056b3;
  }
  
  .previous-searches {
    margin-top: 30px;
  }
  
  .previous-searches div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    padding: 15px;
    margin-bottom: 20px;
    cursor: pointer;
    border: 1px solid #ddd;
    position: relative;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  
  .close-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    transition: color 0.3s;
  }
  
  .close-btn:hover {
    color: red;
  }
  
  .previous-searches div:hover {
    background-color: #e2e6ea;
  }

.close-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 5px 10px;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

.close-btn:hover {
    color: red;
}

.previous-searches div:hover {
    background-color: #e2e6ea;
}

.weather-card {
    border-radius: 20px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
    padding: 30px;
    position: relative;
    overflow: hidden;
    color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-size: cover;
  }
  
  .weather-card h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .weather-card p {
    margin: 0;
    font-size: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    background-size: auto 100%;
    background-position: right center;
  }
  
  .weather-card.cloudy {
    background: linear-gradient(135deg, #e2ebe8, #69696b);
    background-image: url(./images/png-transparent-cloud-weather-sunny-day-leaf-orange-computer-wallpaper-thumbnail.png), linear-gradient(135deg, #e2ebe8, #69696b);
    background-repeat: no-repeat;
    background-position: right center;
  }
  
  .weather-card.rainy {
    background: linear-gradient(135deg, #847ecb, #201373);
    background-image: url(./images/Rainy\ weather\ logo.png), linear-gradient(135deg, #847ecb, #201373);
    background-repeat: no-repeat;
    background-position: right center;
  }
  
  .weather-card.clear-sky {
    background: linear-gradient(135deg, #ffda00, #ff7f00);
    background-image: url(./images/Sunny.png), linear-gradient(135deg, #ffda00, #ff7f00);
    background-repeat: no-repeat;
    background-position: right center;
  }
  
  .weather-card.default {
    background-color: #f0f0f0;
    background-image: url('path_to_default_weather_icon.png');
    background-repeat: no-repeat;
    background-position: right bottom;
  }
  
  .weather-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.3);
  }
  

@media (max-width: 768px) {
    main {
        flex-direction: column;
    }

    .left-panel, .right-panel {
        width: 100%;
        padding: 10px 0;
    }

    .left-panel {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    #search-bar, #search-btn {
        width: 90%;
        margin: 10px 5%;
    }

    header {
        font-size: 20px;
    }
}