/* Configurações gerais */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');
/* @import url( form.css); */

:root{
    --verdeJA:#0BA132;
    --BrancoJA:#f5f5f5;
    --verdeJAhover:#054210;
}

*{
    margin: 0;
    padding: 0;
}

body{
    width: 100%;
    /* min-height: calc(100vh - 50px); */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: 'Inter', sans-serif;
}

/* Cabeçalho */
header{
    display: flex;
    flex-direction: row;
    align-items: center;
    /* background-color: var(--verdeJA); */
    background-color: var(--BrancoJA);
}

header nav {
    padding: 0;
    margin: 0;
}

.cor-do-titulo{
    color: var(--verdeJAhover);
}

/* Banner */

#banner{
    background-image: url(./img/bgcontas.png);
    background-position: center;
    background-attachment: scroll;
    background-size: cover;
    background-repeat: no-repeat;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Cards */

#cartoes{
    background-color: #ffffff;
    display: flex;
    flex-direction: row;
    padding: 50px 0 190px 0;
}

#cartao-donativo{
    width: 40%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border: solid 1px #ececec;
}

#cartao-despesa{
    width: 40%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border: solid 1px #ececec;
}

#cartao-despesa:hover{
    background-color: #f5f5f5;
}

#cartao-donativo:hover{
    background-color: #f5f5f5;
}

.cartao-img{
    width: 100%;
}

.cartao-title{
    padding-left: 15px;
    font-size: 25px;
    color: var(--verdeJA);
}

.cartao-text{
    padding-left: 15px;
    padding-right: 10px;
    font-size: 15px;
    font-weight: 400;
}

.cartao-btn{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 40%;
    height: 40px;
    background-color: #0BA132;
    margin-left: 15px;
    border: none;
    text-decoration: none;
    color: var(--BrancoJA);
    margin-bottom: 10px;
    text-align: center;
    box-shadow: 5px 5px #054210;
    border-radius: 5px;

}

.cartao-btn:hover{
    cursor: pointer;
    background-color: #054210;
    border-radius: 50px;
    transition: ease-in;
    transition-duration: 0.5s;
    box-shadow: none;
}

.borda{
    /* max-width: 100px; */
    height: 1px;
    border: solid 2px #0BA132;
}

/* Sucess.html */
#sec-sucesso{
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 100px;
    text-align: center;
    align-items: center;
}

.btn-sucess{
    width: auto;
    height: auto;
    padding: 5px 20px;
    text-align: center;
    background-color: #0BA132;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 15px;
}

.btn-sucess:hover{
    background-color: #054210;
    color: #ffffff;
}

/* Rodapé */
footer{
    width: 100%;
    background-color: #054210;
    text-align: center;
    color: #ffffff;

}

.rodape{
    position: sticky;
    bottom: 0;
    width: 100%;
    height: 50px;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

footer a {
    text-decoration: none;
    color: #ffffff;
}

/* Resposivo */

@media only screen and (max-width: 600px) {

    #banner{
        height: 200px;
    }

    #banner h1{
        font-size: 25px;
    }

    #banner h4{
        font-size: 18px;
    }

    #banner span{
        width: 50px;
    }

    #sec-home{
        margin-top: 50px;
        /* margin-left: 15px;
        margin-right: 15px; */

    }

    #cartoes{
        flex-direction: column;
        margin: 0;
        padding: 0 15px 50px 15px;
    }

    #cartao-donativo{
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    #cartao-despesa{
        width: 100%;
        height: auto;
    }

    .cartao-btn{
        width: auto;
        margin: 5px 20px 0px 20px;
    }
}