#orgaosVitais{
    flex-direction: column;
    
}

header{
    margin-top: 5px;
    flex-direction: column;
    max-width: 400px;
    width: 100vw;
}

#evolution{
    width: 30%;
}

#logoName{
    width: 60%;
}

#logoLamp{
    width: 10%;
}

h1, h2{
    font-family: 'Niconne', Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
}

h1{
    font-size: 3em;
    margin-bottom: 15px;
    color: var(--font-green);
    text-shadow: 3px 3px 5px #64f6547a;
}

h2{
    font-size: 2em;
    color: var(--red2);
    margin-top: 5px;
    margin-bottom: 10px;
}

section{
    flex-direction: column;
}

main section p, ul{
    max-width: 800px;
}

main section p, article p{
    text-indent: 30px;
}

hr{
    background-image: url('../../src/imagens/backgroundImages/batimentos-bg.png');
    background-size: contain;
    width: 100%;
    height: 70px;
    border: none;
}

main section ul{
    margin-top: 10px;
    list-style: none;
}

main section li{
    margin-bottom: 15px;
}

#deepDive{
    margin-bottom: 50px;
}

#orgaosVitaisCards{
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

#orgaosVitaisCards h2{
    width: 100%;
}

#cardsContainer{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: auto;
}

.orgaos-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    gap: 5px;
    background-color: #e6f3eb;
    width: 100%;
    height: 400px;
    max-width: 250px;
    padding: 5px;
    border: 1px solid var(--font-green);
    border-radius: 10px;
    margin: auto;
}

.orgaos-card h3{
    font-family: 'Niconne', Arial, Helvetica, sans-serif;
    color: var(--font-green);
    font-size: clamp(1em, 6vw, 1.7em);
    font-weight: 500;
}

.orgaos-card img{
    width: 60%;
    border-radius: 3px;
}

.orgaos-card h4{
    margin: 3px;
}

.orgaos-card-info{
    flex-grow: 1;
}

.orgaos-card ul{
    list-style: disc;
}

.orgaos-card li{
    margin-bottom: 3px;
}

.orgaos-card a{
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: var(--gradient-green1);
    width: 70%;
    height: auto;
    color: var(--font-green);
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--font-green);
    border-radius:5px;
    padding: 15px;
}

#btnVoltar{
    background-color: var(--blue2);
    width: 100px;
    height: 30px;
    color: white;
    text-decoration: none;
    border: 1px solid var(--blue1);
    border-radius: 5px;
    margin: 30px;
}

@media (max-width: 800px){
    #orgaosVitais header{
        width: 80%;
    }

    #cardsContainer{
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .orgaos-card{
        padding: 5px;
        height: auto;
    }

    .orgaos-card-info{
        display: none;
    }

    .orgaos-card a{
        padding: 5px;
    }
}

@media (hover: hover) and (pointer: fine){
    .orgaos-card a:hover{
        background-image: var(--gradient-green2);
    }
    #btnVoltar:hover{
        background-color: var(--blue3);
    }
}