@import url('https://fonts.googleapis.com/css2?family=Signika:wght@300;400&display=swap');
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Signika', sans-serif;
}

#body1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    background: url('https://source.unsplash.com/1600x900/?asia');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#container {
    height: 100%;
    width: 100%;
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    background: #222;
    opacity: .4;
}

#container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.weather_info {
    min-height: 100vh;
    width: 50%;
    border-radius: 0 50px 50px 0;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.weather_info hr {
    width: 80%;
    border: none;
    background-color: #fff;
    height: 1px;
    margin: 10px 0;
}

.city {
    font-size: 50px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
}

.city span {
    font-size: 25px;
    font-weight: 700;
}

#day {
    font-size: 30px;
    font-weight: 600;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
}

.flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

#degree {
    font-size: 50px;
    color: #fff;
    font-weight: 700;
}

#icon {
    height: 50px;
}

#description {
    font-size: 15px;
    color: #fff;
}

.search {
    position: relative;
    width: 50%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
}

#time {
    color: #fff;
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
}

.inp {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 50px;
    width: 100%;
    background-color: transparent;
}

.inp i {
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
    background-color: #921b1e;
    color: #fff;
}

#search_input {
    height: 100%;
    width: 80%;
    border: none;
    padding: 0 10px;
    font-size: 17px;
    font-weight: 700;
    outline: none;
    color: #fff;
    border-bottom: 1px solid #fff;
    background-color: transparent;
}

#search_input:focus {
    border-bottom: 1px solid #921b1e;
}

#search_input::placeholder {
    color: #fff;
}

@media only screen and (max-width: 630px) {
    #body1 {
        flex-direction: column-reverse;
    }
    .weather_info {
        min-height: 70vh;
        width: 100%;
        border-radius: 25px 25px 0 0;
    }
    .search {
        position: relative;
        width: 100%;
        min-height: 30vh;
        display: flex;
    }
    .city {
        font-size: 50px;
    }
    #time {
        font-size: 30px;
    }
}

.weather_info.loading {
    visibility: hidden;
    height: 100%;
    width: 50%;
    border-radius: 0 50px 50px 0;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.weather_info.loading:active {
    visibility: visible;
    content: "Loading...";
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
}