body{
    display: flex;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

.head{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 8vh;
    background-color: aqua;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loc{
    margin-top: 10vh;
    font-size: 2rem;
    font-weight: bold;
}

.container{
    height: 85vh;
    display: flex;
    align-items: center;
}

.main{
    background-color: rgba(42, 40, 44, 0.26);
    display:flex ;
    align-items: center;
    margin: 7rem;
    margin-right: 5rem;
    padding: 1.5rem;
    box-shadow: 10px 10px 10px 10px gray;
    border-radius: 4rem;
    width: 30vw;
}

.cond{
    height: 45vh;
    width: 15vw ;
    text-align: center;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.cond>img{
    width: 10vw;
}

.ketSec{
    height: 45vh;
    width: 20vw;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    font-size: 1.5rem;
}

.ketSec>div{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.ketSec svg{
    width: 3rem;
}


.title{
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

#searchform{
    display: flex;
    align-items: center;
    gap: 5px;
}

#searchform label{
    display: flex;
    align-items: center;
}

#searchform input{
    height: 1.2rem;
    width: 13rem;
    border: none;
    border-radius: 0.6rem;
    box-shadow: inset 2px 2px 2px 2px grey;
    padding-left: 10px;
}

#searchform svg{
    width: 1.5rem;
}

.footer{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 7vh;
    background-color: aqua;
}

.forecast{
    display: flex;
    flex-direction: column;
    gap: 15vh;
}

.future{
    width: 35vw;
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-template-rows: 1fr 1fr;
    padding: 10px;
    background-color:  rgba(42, 40, 44, 0.26);
    border-radius: 2rem;
    box-shadow: 5px 5px 5px 5px gray;
}

.future svg{
    width: 2rem;
}

#cond{
    grid-column: 1/2;
    grid-row: 1/3;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 2rem 0 0 2rem;
}



#upper,
#bottom{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
#upper{
    border-radius: 0 2rem 0 0;
}
#bottom{
    border-radius: 0 0 2rem 0;
}

#upper div{
    display: flex;
    align-items: center;
}

#cond,
#upper,
#bottom{
    border: 2px black solid;
}


@media (orientation: portrait) {
    .main{
        width: 70vw;
        flex-direction: column;
        margin: 0;
        margin-top: 1rem;
        margin-bottom: 2rem;
        font-size: 1.2rem;
    }

    .cond,
    .ketSec{
        width: 100%;
    }

    .ketSec svg{
        width: 1.5rem;
    }

    .cond img{
        width: 30vw;
    }

    .container{
        flex-direction: column;
        width: 100vw;
    }

    .future{
        width: 80vw;
    }

    .forecast{
        gap: 2rem;
        padding-bottom: 10vh;
    }

    .loc{
        width: 90vw;
        text-align: center;
    }
}


@media (orientation: landscape) and (max-width: 768px){
    .cond{
        font-size: 1.2rem;
    }

    .ketSec{
        font-size: 1rem;
    }

    .ketSec svg{
        width: 2rem;
    }

    .main{
        width: auto;
        margin: 3rem;
    }

    .loc{
        font-size: 1.5rem;
    }

    .future svg{
        width: 1.5rem;
    }

    .future{
        font-size: 0.75rem;
    }
}


