*{
    margin: 0;

padding: 0;


box-sizing: border-box;
}




body {
    font-family: 'Space Grotesk', sans-serif; 
  }
  
  body {
    background: #1F1F1F; 
    color: #fff;
  }
  
  .card {
    width: 90%;
    max-width: 470px;
    background: linear-gradient(to bottom, #1f1f1f, #111011); 
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px 35px;
    text-align: center; 
    margin: 100px auto 0;
  }
  
  .search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    width: 100%;
  }
  
  .search input {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 25px;
    border-radius: 30px;
    color: #fff;
    font-size: 18px;
    flex: 1;
    outline: 0;
    height: 60px;
    margin-right: 16px;
  }
  
  .search input::placeholder {
    color: #aaa;
    font-family: 'Space Grotesk', sans-serif;
  }
  
  .search input:focus {
    background: rgba(255,255,255,0.1);
  }
  
  .search button {
    border: 0;
    outline: 0;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-left: 10px;
    cursor: pointer;
    transition: 0.3s ease-in-out;  
  }
  
  .search button:hover {
    background: rgba(255,255,255,0.2);
  }
  
  .search button img {
    width: 16px;
    filter: invert(100%);
  }
  
  .weather h1,
  .weather h2 {
    font-family: 'Space Grotesk', sans-serif; 
    margin: 0; 
  }
  
  .weather h1 {
    font-size: 80px;
    font-weight: 700;
  }
  
  .weather h2 {
    font-size: 32px;
    font-weight: 500;  
    margin-top: -10px;
  }
  
  .col img {
    width: 40px;
    filter: invert(23%) sepia(51%) saturate(2878%) hue-rotate(157deg) brightness(95%) contrast(86%);
    margin-right: 10px;
    margin-bottom: 20px;
}
  
  .humidity {
    font-size: 22px;
    background: linear-gradient(to right, #ffffff, #f2f2f2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: -6px;

  }
  
  .wind {
    font-size: 22px;
    background: linear-gradient(to left, #ffffff, #f2f2f2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: -6px;

  }
  
  .weather,
  .error {
    display: none;
  }
  .weather-icon{
    width: 170px;
    margin-top: 30px;
  }
.details{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    margin-top: 50px;
  }
  .error{
    text-align: left;
    margin-left: 10px;
    font-size: 14px;
    margin-top: 10px;
    display: none;
  }
