*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
body{
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(22, 19, 19);
    color: white;
}
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
:root{
    --cor: #6c64fb;
}
.green{
    color: green;
    font-size: 2rem;
}
.container{
    width: 90%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 900px;

}
.img img{
    width: 100%;
    height: 100%;
}
.conteudo{
    padding:20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    background-color: rgb(26, 25, 25);
    border-radius: 10px;

}
.conteudo h1{
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    position: relative;
}

.conteudo h1::before{
    content: '';
    position: absolute;
    bottom: 0;
    height: 4px;
    width: 33%;
    background-color: var(--cor);
    border-radius: 5px;
}
.conteudo h1 span{
    color: var(--cor);
}
.form{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.peso, .altura{
    display: grid;
    grid-template-columns: 1fr 12fr 1fr;
    gap: 10px;
    width: 100%;
    height: 50px;
    align-items: center;
    background-color: rgb(22, 19, 19);
    padding: 0 10px;
    color: var(--cor);
}

.label{
    font-size: 1.2rem;
}
.input {
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 5px;
    outline: none;
    padding: 20px 10px;
    background-color: rgb(22, 19, 19);
    color: white;
}
.input::placeholder{
    color: white;
    font-size: 1rem;
    
}
#botao{
    border: none;
    cursor: pointer;
    background-color:var(--cor);
    width: 100%;
    height: 40px;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    font-size: 1.2rem;
    text-align: center;
    transition: .3s;
    margin-top: 10px;
    margin-bottom: 20px;
}

#botao:hover{
    background-color: #9a95f7;
}
/* resultado */
.container-menor{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.container-menor a{
    color: white;
    text-decoration: none;
}
.resultado{
    display: grid;
    grid-template-columns: 1fr 3fr;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}
.imc-numero{
    font-size: 2rem;
    color: red;
    
}
.container-menor a{
    text-align: center;
    color: var(--cor);
}

.hide{
    display: none;
}

/* reposponsivo */
@media (max-width:670px){
    .img{
        display:none;
    }
    .container{
        width: 90%;
        grid-template-columns: 1fr;
        max-width: 450px;
    
    }

}
@media (max-width:430px){
    .container{
        grid-template-columns: 1fr;
        width: 100%;
        height: 100%;
    }
    .conteudo{
        border-radius: none;
        justify-content: center;

    
    }
    .conteudo h1{
        text-align: start;
        
    }
}