body{
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: hsla(0, 0%, 70%, 0.5);
}

#headcontainer{
  width: 100%;
  height: 500px;
  overflow: hidden;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);  
}

#icon{
    position: absolute;
    top: 5px;
    left: 5px;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255,255,255,0.6);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    border-radius: 6px;
}

#headcontainer img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
} 

#searchbar{
    position: absolute;
    left:650px;
    top:10px;
}
#searchbar input{
    font-size: 2rem;
    text-align: center;
    background-color: rgba(128, 128, 128, 0.3);
    backdrop-filter: blur(5px);
    font-weight: bold;
    color:white;
    box-shadow: 5px, 5px, 5px, 5px, black;
    border-radius: 10px;
    padding: 5px;
}

#searchbar input::placeholder{
    color:hsl(0, 0%, 100%, 0.9);
}

#searchBtn {
    font-size: 1.3rem;
    position: absolute;
    left:450px;
    top: 2px;
    padding: 12px 30px;
    background: hsl(0, 100%, 68%);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#searchBtn:hover {
    background: hsl(0, 100%, 62%);;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#title{
    font-size: 5.5rem;
    position: absolute;
    top: 50px;
    left: 300px;
    color: white;
    background: hsla(0, 0%, 0%, 0.3);
    backdrop-filter: blur(2px);
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    padding: 30px 20px;
    border-radius: 10px;
    border: none;
    letter-spacing: 1px;
    box-shadow: 5px 5px 2px 2px hsla(0, 0%, 0%, 0.7);
}

#clock{
    position: absolute;
    left: 1550px;
    top: 15px;
    font-size: 2.5rem;
    font-family: 'Courier New';
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
    border-radius: 15px;
    padding: 5px;
    color: white;
    background-color: hsla(0, 0%, 100%, 0.35);
    backdrop-filter: blur(10px);
    box-shadow: -2px 2px 2px 2px hsla(0, 0%, 100%, 0.4);
}

#date{
    font-family: 'Inter';
    position: absolute;
    top: 393px;
    left: 750px;
    font-size: 2.5em;
    background: hsla(0, 0%, 0%, 0.3);
    backdrop-filter: blur(2px);
    padding: 10px 5px;
    border-radius: 10px;
    color: hsla(0, 0%, 100%, 0.9);
}

.card{
    border: 2px solid;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 5px;
    padding: 5px 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2rem;
}

.card-Container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
}

.card:only-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: 400px; 
}

.searchContainer{
    display: flex;
    justify-content: center;
    width: 300px;
    height: 350px;
}

.city{
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0px;
    letter-spacing: 2px;
}

.temp{
    font-family: 'Orbitron';
    font-weight: bold;
    font-size: 2.7rem;
    margin-bottom: 10px;
}

.humidity{
    margin-bottom: 2px;
    font-style: italic;
}

.desc{
    font-style: italic;
    margin-bottom: 2px;
    text-transform: capitalize;
}

.emoji{
    font-size: 9rem;
    margin-top: 1.5px;
    margin-bottom: 20px;
}

.errormsg{
    text-align: center;
    position: absolute;
    left: 450px;
    background-color: hsla(0, 100%, 50%, 0.9);
    font-size: 5rem;
    padding: 10px 20px;
    color: rgb(255, 255, 255);
    border-radius: 20px;
    border: none;
}