* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    
}



body {
    width: 100vw;
    height: 100vh;
    background-image: linear-gradient(-225deg, #20E2D7 0%, #F9FEA5 100%);
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: top;
    align-items: center;
    overflow-x: hidden;

}

header{
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: end;
    padding-right: 30px;
    padding-top: 20px;
}

header a {
    margin-right: 20px;
   
}

header a i { 
    font-size: 1.6rem;
    color: black;
    cursor: pointer;
}

main {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}

.titulo {
    
    font-size: 1.4em;
    margin-bottom: 0.8rem;
    color: rgb(0, 0, 0);
    text-align: center;
    
}

.conternerprincipal {

    width: 500px;
    height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    margin-bottom: 3rem;
    margin-top: 3rem;
    background-color: white;
    
    
}

#localizacao {
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid black;
    width: 20rem;
    text-align: center;
}
.pesquisar {
    position: relative;
}



#local {
    position: absolute;
    margin-top: 1rem;
    margin-left: 0.4rem;
    z-index: 1;
}
.enviar {
    border-radius: 2em;
    border: none;
    background-color: #20E2D7;
    margin-left: 10px;
}
.enviar i {
     width: 3rem;
     height: 3rem;
     font-size: 1.5em;
     display: flex;
     justify-content: center;
     align-items: center;
    cursor: pointer;
    
}

#clima{
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: none;
 }

 #clima.visualizar {
    display: block
 }

 #informacao {
    font-display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
 }

 .TituloCidade {
    text-align: center;
 }
#temp {
    padding: 4rem 2rem;
    background-color: rgb(0, 165, 165);
    border-radius: 1em;
    width: 100%;
    height: 6rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    
}
#tempValor {
    font-size: 2.2rem;
    color: white;
}

#tempDescricao {
    font-size: 1rem;
    color: white;
}

#OutraInformacao {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}


.info { 
    background-color: rgb(233, 233, 233);
    width: 100%;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    border-radius: 1rem;
    gap: 1rem;
}
.tituloTemp {
    font-size: 0.8rem;
}

#tempMaxIcon {
    color: #7f1d1d;
}

#tempMinIcon {
    color: #0284c7;
}

#humidadeIcon {
    color: #0ea5e9;
}

#ventoIcon {
    color: #7c3aed;
}

.rodape {

    position: fixed;
    bottom: 2rem;
    right: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.rodape img {
    height: 30px;
}

@media (max-width: 500px) {
    .conternerprincipal {
        width: 90%;
    }

    #localizacao {
        width: 70%;
    }

    .rodape{
        bottom: 1rem;
        right: 50%;
        transform: translateX(50%);
    }
}