*{
    margin: 0;
    padding: 0;
    font-family: 'SUSE', sans-serif;
    box-sizing: border-box;
}

body{
    background:linear-gradient(to right,orange,white,rgb(134, 240, 134));
}

nav {
  background: linear-gradient(to right, #27294d, rgb(158, 159, 154));  
  color: #fff;
  position: fixed;
  width:100%;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  font-size: 1.5rem;
  font-weight: 600;
}

nav .nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

nav .nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
}

nav .nav-links a:hover {
  color: #ddd;
}

.card{
    width: 90%; /* Subtract menu width from the card */
    max-width: 470px;
    background:linear-gradient(to bottom, rgb(12, 107, 250),rgb(12, 236, 12));
    color:#fff;
    margin: 30px auto 0;
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
}

.search{
    width: 100%;
    display:flex;
    align-items:center;
    justify-content:space-evenly;
}

.search input{
    border:0;
    outline:0;
    background:aliceblue;
    color:#000000;
    padding: 10px 25px;
    width:25px;
    height: 60px;
    border-radius: 10px;
    flex: 1;
    margin-right: 16px;
    font-size: 18px;
}

.search button{
    border: 0;
    outline: 0;
    background: #ebfffc;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
}

.search button img{
    width: 16px;
}

.weather-icon{
    width: 170px;
    margin-top: 30px;
}

.weather h1{
    font-size: 80px;
    font-weight: 500;
}

.weather h2{
    font-size: 45px;
    font-weight: 400;
    margin-top: -10px;
}

.details{
    display:flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    margin-top: 50px;
}

.col{
    display: flex;
    align-items: center;
    text-align: left;
}

.col img{
    width: 50px;
    margin-right: 10px;
}

.description,
.humidity, 
.wind, 
.pressure,
.map{
    font-size: 20px;
    margin-top: -6px;
}

.weather{
    display: none;
}

.error{
    text-align: center;
    color:#2e32f7;
    font-size: 15px;
    margin-top: 10px;
    display: none;
}

/* Footer */
footer {
  background: linear-gradient(to left, #27294d, rgb(158, 159, 154));  
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

footer p {
  margin: 0;
}

