*{
    border: none;
    margin: 0;
    outline: none;
    padding: 0;
    box-sizing: border-box;
}

body{
    margin: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right,#f502b4 , #f442a1 ,#f58aea);
    overflow: hidden;
}

#background-video{
    position: fixed;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    opacity: 0.8;

}
@media (max-width: 768px) {
    .welcome h1 {
        font-size: 28px; /* Reduce font size on smaller screens */
        margin-top: 60px;
    }
}
.card{
    width: 600px;
    height: 50vh;
    background-color: rgba(249, 240, 240, 0.208);
    border-radius: 30px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
}

.search{
    height: 6vh;
    width: 100%;
    margin-top: 10px;
    display: flex;
    justify-content: space-around;
}
.search input{
    width: 80%;
    font-size: 20px;
    font-weight: 500;
    border-radius: 20px;
    padding-left: 12px;
    background-color: rgb(255, 200, 209);
}
.search input::placeholder{
    color: rgba(0, 0, 0, 0.378);
}
.search button{
    padding: 12px;
    font-size: 20px;
    font-weight: 500;
    border-radius: 50px;
    color: black;
    background-color: rgb(255, 200, 209);
}
.search button:hover{
    background-color: black;
    color: rgb(255, 200, 209);
}
.weather{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50%;
}
.weather img{
    max-width: 100%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 10px;
}
.temp {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    color: rgb(44, 43, 43);
    font-family: consolas;
}

.details {
    display: flex;
    justify-content: space-between;
    width: 100%;
    color: black;
}

.details div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#humidity , #wind{
    font-size: 20px;
    font-weight: 600;
    font-family: consolas;
    color:rgb(44, 43, 43);
}
.hidden{
    display: none !important;
}

.welcome {
    height: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    text-align: center;
    margin-top: 100px;
    font-size: 35px;
    font-family: consolas;
    color: white;
}

