/* geral */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif
}
body{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow:hidden ;
    flex-direction: column;
    
}

.video{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-position: center;
    z-index: 1;
    display: none;
    -webkit-appearance: none;
    appearance: none;
}
.video::-webkit-media-controls{
    display: none;
}
.active{
    display: block;
}


/* fim geral */

/* principal */
.title{
    text-shadow: 0 0 25px rgb(29, 29, 180);
    font-weight: 800;
    color: #fff;
    padding-bottom: 40px;
}
.caixa-maior{
    backdrop-filter: blur(30px);
    opacity: 0.8;
    border-radius: 25px;
    padding: 20px;
    width: 90%;
    max-width: 450px;
    z-index: 99;
    box-shadow: 0 0 10px white;
}

.input-cidade{
    border: none;
    outline: none;
    padding: 10px;
    border-radius: 25px;
    font-size: 20px;
    background-color:#7c7c7c2b ;
    color: #ffffff;
    width: calc(100% - 70px);
}
::placeholder{
    color: #fff;
    font-weight: 300;
}

.botao{
    border: none;
    outline: none;
    border-radius: 50px;
    padding: 10px;
    cursor:pointer;
    background-color: #7c7c7c2b;
    transition: .5s;
}
.botao:hover{
    transform: scale(1.05);
    box-shadow: 0 0 5px rgb(29, 29, 180);
}


.img-busca{
    width: 25px;
}
.flex{
    display: flex;
    justify-content: space-between;
}
.caixa-media{
    margin-top: 30px;
}
.hide{
    display: none;
}

.cidade{
    color: #ffffff;
    font-size: 28px;
    font-weight: 300;
    font-style: italic;
    text-align: center;
    
}
.temp, .temp-max{
    font-size: 18px;
    color: #fff;
    margin-top: 20px;
    font-weight: 300;
    font-style: italic;
}
.img-previsao{
    width: 120px;
}
.caixa-menor{
    display: grid;
    color: #fff;
    grid-template-columns: 1fr 1fr;
    
}
.caixa-menor .item{
    position: absolute;
    bottom: 0;
    left: 0;
}
.temp{
    font-size: 4.5rem;
}
.texto-previsao{
    margin-left: 20px;
    text-transform: capitalize;
}
.umidade{
    color: #fff;
    margin-top: 30px;
    text-align: center;
}
.previsao, .graus{
    position: relative;
    height: 150px;
}

/* reponsivo */

@media only screen and (max-width: 430px){
    .cidade{
        font-size: 24px;
    }
    ::placeholder{
        font-size: 18px;
        font-weight: 300;
    }
    .input-cidade{
        width: calc(100% - 55px);
    }
    .temp{
        font-size: 3rem;
    }
    
}