@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}
body {
  background: #e3f2fd;
}
h1 {
  color: #fff;
  padding: 18px 0;
  text-align: center;
  font-size: 1.75rem;
  background: #5372f0;
}
h1:hover {
  color: darkblue;
}
.container {
  display: flex;
  gap: 35px;
  padding: 30px;
}
.weather-input{
    width: 550px;
}
.weather-input input{
    width: 100%;
    height: 46px;
    outline: none;
    padding: 0 15px;
    margin: 10px 0  15px 0;
    font-size: 1.07rem;
    border-radius: 4px ;
    border: 1px solid #ccc;
}
.weather-input .separator{
    height: 1px;
    width: 100%;
    background: #bbb;
    margin: 25px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.weather-input .separator::before{
    content: "or";
    color: #6C757D;
    font-size: 1.18rem;
    padding: 0 15px ;
    margin-top: -4px;
    background: #e3f2FD;

}
.weather-input button{
    width: 100%;
    padding: 10px 0;
    cursor: pointer;
    outline: none;
    border:none ;
    color:#fff ;
    font-size: 1rem;
    border-radius: 4px;
    background: #5372f0;
}
.weather-input .location-btn{
    background: #6C757D;
}
.weather-data{
width: 100%;
}
.current-weather{
    color: #fff;
    display: flex;
    padding: 20px 70px 20px 20px ;
    border-radius: 5px;
    background: #5372f0;
    justify-content:space-between ;
    box-shadow: 13px 11px 34px 3px rgba(0,0,0,0.75);
    -webkit-box-shadow: 13px 11px 34px 3px rgba(0,0,0,0.75);
    -moz-box-shadow: 13px 11px 34px 3px rgba(0,0,0,0.75);
}

.current-weather h2{
font-size: 1.7rem;
}
.weather-data h4{
    margin-top: 12px;
    font-size: 1rem;
    font-weight: 500;
}
.current-weather .icon img{
max-width: 120px;
margin-top: -15px;
}
.current-weather .icon h6{
    margin-top: -10px;
    text-transform: capitalize;
}
.current-weather .icon h4{
    margin-top: -10px;
        text-transform: capitalize;
}
.days-forecast h2{
font-size:1.5rem;
margin: 20px 0;
}
.weather-cards{
    display: flex;
    gap: 20px;
    
}
.weather-cards .card{
    background: #6C757D;
    list-style: none;
    color: #fff;
    padding: 18px 16px;
    border-radius: 5px;
    width: calc(100% / 5);
    box-shadow: 8px 5px 13px 1px rgba(0,0,0,0.43);
-webkit-box-shadow: 8px 5px 13px 1px rgba(0,0,0,0.43);
-moz-box-shadow: 8px 5px 13px 1px rgba(0,0,0,0.43);
}
.weather-cards .card img{
max-width: 70px;
margin: 5px 0 -12px 0;
}

@media (max-width:1400px){
    .weather-data .current-weather{
        padding: 20px;
    }
    .weather-cards{
        flex-wrap: wrap;
    }
    .weather-cards .card{
        width: calc(100% / 4 - 15px);
    }
}

@media (max-width:1200px){
    .weather-cards .card{
        width: calc(100% / 3 - 15px);
    }
}

@media (max-width: 950px){
    .weather-input{
        width: 450px;
    }
    .weather-cards .card{
        width: calc(100% /2 - 10px);
    }
}
@media (max-width:750px){
    .container{
        flex-wrap: wrap;
        padding: 15px;
    }
    .weather-input{
        width: 100%;
    }
}