body{
    min-height: 100vh;
    background-image: url('./background3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    text-align: center;
    font-family:sans-serif;
    overflow: hidden;
}
.homepage{
    margin:auto;
    color: rgba(0, 0, 0);
    
}

#btn{
    padding: 10px 20px;
    border: 1.5px solid black ;
    background-color: rgb(255, 255, 255,0.1);
    border-radius: 50px;
    font-weight: 550;
    cursor: pointer;
    font-size: 18px;
    position: relative;
    transition: transform 0.3s ease;
}
#btn:hover{
    background-color: black;
    color: rgb(248, 239, 239);
    transform: scale(1.1);
}

.search-bar{
    margin: auto;
    width: 500px;
    padding: 30px;
    background-color: rgb(255, 255, 255,0.4);
    border-radius: 15px;
    letter-spacing: 1px;
}

input{
    font-size: 16px;
    border: none;
    background-color:rgb(255, 255, 255,0);
    outline: none;
}

.search{
    display: flex;
    text-align: left;
    gap: 5px;
    margin-right: 270px;
    border: 1px solid black;
}

#search-btn img{
    padding: 1px;
    width: 12px;
}
.main-content{
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    text-align: center;
    margin-top: 10px;
    gap: 5px;
}

#location{
    transition: all 0.3s ease;
}

#location:focus{
    transform: scale(1.03);
}

#text{
    border: 1px solid black;
    background-color: black;
    color: white;
    padding: 8px;
    border-radius: 50px;
}

.other{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
    margin: 10px;
}

.other img{
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.all{
    display: flex;
    flex-direction: row;
    align-items:center;
    border: 1px solid rgb(136, 133, 133);
    border-radius: 15px;
    padding: 10px;
    gap: 20px;
}
.content h5{
    margin: 0;
    padding-top: 5px;
    font-size: 16px;
}
.content p{
    margin-top: 2px;
}

#weather-info{
    font-size: 22px;
}

.animate-card{
    animation: fadeUp 0.6s ease;
}

@keyframes fadeUp{
    from{
        opacity: 0;
        transform: translateY(20px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

@media(max-width:600px){
    .other{
        grid-template-columns: 1fr;
    }
    .search-bar{
        width: 300px;
    }
    .search{
        margin-right: 80px;
    }
}