@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

#hero{
    text-align: center;
    padding: 2rem;
    line-height: 1.5;
}

#calculadora{
    box-shadow: #1d273f 0px 0px 10px;
    border-radius: 10px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    margin-bottom: 2rem;
}

#calculadora div p{
    padding: 5px;
    font-weight: bold;
}

#calculadora-titulo{
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: #4e53fb;
    border-radius: 10px 10px 0 0;
}

#calculadora-titulo h2 {
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
    padding: 1rem;
}

#inputs{
    border-radius: 10px;
    font-size: 1.2em;
    display: grid;
    text-align: center;
    gap:  1rem;
    grid-template-columns: 1fr 1fr;
    padding: 1rem;
}

input{
    font-size: 1.2rem;
}

#buttons{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 15px;
    width: 100%;
}

button{
    border-radius: 5px;
    padding: 5px;
    border: none;
    cursor: pointer;
    height: 40px;
    font-size: 1.2rem;
    font-weight: bolder;
}
#regime-container{
    font-size: 1.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 15px;
}

#regime{
    border-radius: 5px;
    padding: 5px;
    width: 100%;
    margin-top: 10px;
    text-align: center;
    font-size: 1.2rem;
}

#button {
    background-color: #4e53fb;
    color: white;

}
#button-clear {
    background-color: #1d273f;
    color: white;
}

#resultado{
    display: none;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 500px;
    padding: 1rem;
    position: fixed;
    background-color: white;
    border-radius: 15px;
    box-shadow: #1d273f 0px 0px 10px;
}
#resultado button {
    width: 100%;
    background-color: #4e53fb;
    color: white;

}
.resultado-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    border-radius: 10px;
    border: 0.2rem solid #4e53fb;
    padding: 1rem;
    width: 100%;
    max-width: 400px;
    text-align: center;
    background-color: white;
}

.resultado-container p{
    font-size: 1rem;
    padding: 0.2rem;
}

.resultado-container p strong{
    font-size: 1.7rem;
}

#linkBlog{
    border: #1d273f 3px solid;
    border-radius: 15px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#linkBlog a{ 
    font-weight: bolder;
    color: blue;
    cursor: pointer;
}

#linkBlog a:hover{
    color: #1d273f;
}

#sobre {
    padding: 1rem;
    
}

#sobre p{
    text-align: center;
    line-height: 1.5;
    font-size: 1rem;
    color: #1d273f;
}

.texto-container{

    margin: 1rem auto 2rem auto;
}

#sobre ol{
    list-style: none;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;

}

#sobre li{
    font-size: 1rem;
    text-align: center;
    width: 100%;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background-color: #1d273f;
    border-radius: 20px;
    padding: 1rem;
}
#sobre li h3{
    font-size: 1.2rem;
    color: white;
    padding: 0.5rem;
}

#sobre li p {
    font-weight: normal;
    color: white;
    padding: 0.5rem;
}

#sobre h2{
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;    
}

#sobre-custos li{
    padding: 0.8rem;
    text-align: justify;
}

#info-sec{
    background-color: #1d273f;
    padding: 1rem;
    text-align: center;
    margin: 0;
    border-radius: 50px;
    padding: 2rem;

}
#info-sec *{
    color: white;
    padding: 0.3rem;
}

#info-sec h2{
    font-size: 2rem;
    padding: 1rem;
}

#faq {

text-align: center;
}

#faq h2{
    text-align: center;
    padding: 1rem;
}

#faq details {
    padding: 0.2rem;
    
}

#faq summary {
    padding: 0.5rem;
    background-color: #1d273f;
    border-radius: 10px;
    color: white;
    font-weight: bolder;
    margin: 0.5rem;
}
#faq p{
    padding: 0.5rem;
}

#div-regime *{
    padding: 0.5rem;
}

#nota-importante *{
    color: red;
}

/*INPUT*/
input {
    border-radius: 5px;
    padding: 5px;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}
input[type="number"] {
  -moz-appearance: textfield;
}

/*Responsividade*/

@media (max-width: 600px) {

    #inputs {
    grid-template-columns: 1fr;
  }

  #calculadora {
    width: 95%;
  }


  #calculadora h2{
    font-size: 1.3rem;
  }
  #calculadora div p{
    font-size: 1rem;
}
#regime{
    font-size: 1rem;
}
#buttons{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
#resultado{
    display: none;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem;
    max-width: 300px;
}

#sobre ul{

    display: flex;
    flex-direction: column;

}
#sobre ol{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;

}#sobre li{
    gap: 0.5rem;
}

#info-sec *{
    color: white;
    text-align: center;
    padding: 0.3rem;
    list-style: none;
}
}



