* {
    padding: 0px;
    font-family: "Roboto Slab", serif;
}

#carousel-1 {
    margin: 40px auto 60px auto;
}

.carousel-inner img {
    height: 650px;
    object-fit: cover;
    width: 100%;

}

.carousel-caption h5 {
    font-size: 2rem;
    text-shadow: 0px 0px 3px black;
}

.carousel-caption p {
    font-size: 1.3rem;
    text-shadow: 0px 0px 3px black;
}


main {
    padding: 10px 20px;
    /* margin-top: 60px; */
}

.secoes {
    max-width: 1420px;
    margin: 0px auto 0px auto;
    padding-bottom: 70px;
}


.row {
    margin: auto;
}

.h3 {
    border-radius: 5px;
    transition: font-size 0.2s;
    font-size: 2.2rem;
    color: #0f2e7f;
    font-weight: bolder;
    margin: 45px 0px;
    text-align: center;
}

.sobre-texto {
    border-radius: 10px;
    transition: font-size 0.2s;
    font-size: 1.3rem;
    max-height: 100%;
    text-align: justify;
}

.accordion {
    border: 1px solid #0f2f7f9d;
    border-radius: 7px;
}

.accordion-item {
    border: 1px solid #0f2f7f9d;
}

.accordion-button {
    padding: 30px;
    display: flex;
    justify-content: center;
    font-size: 1.3rem;

}

.accordion-button::after {
    margin-left: 10px;

}

#video {
    display: flex;
    flex-direction: column;
    align-items: center;

}

#video iframe {
    border-radius: 10px;
}



#pessoas {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 10px;

    & a {
        width: 50%;
        margin: 10px auto 0px auto;
        text-decoration: none;
        color: white;
        font-weight: bold
    }


    & .pessoas-card {
        width: 49%;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        /* align-items: start; */
        /* para a imagem nao ficar em dimensões diferentes */

    }


    & #pessoas-texto {
        gap: 10px;
        display: flex;
        flex-direction: column;
    }

    & p {
        text-align: justify;
        transition: font-size 0.2s;
        font-size: 1.3em;
        margin: 0px;
    }

    /*
    & #pessoas-texto:hover > p{
        scale: 1.05;
        cursor: pointer;
        border-radius:5px;
    }
    */

    & img {
        width: 100%;
        border-radius: 10px;
    }
}


.projetos-texto {
    transition: font-size 0.2s;
    font-size: 1.3rem;
    gap: 10px;
    display: flex;
    flex-direction: column;
    text-align: justify;
    margin: auto;
    font-weight: normal;
}

.cards-container {
    justify-content: center;

}


.card {
    padding: 0px;
    margin: 0px;
    box-shadow: 2px 2px 5px rgba(126, 126, 126, 0.103);
    width: 18rem;

    & .card-title {
        text-align: center;
    }

    & .card-body-text {
        min-height: 170px;
    }

    & .botao-card {
        margin: auto;
        padding: 0px 0px 16px 0px;
    }

    & .card-body {

        .card-text {
            height: 120px;
            overflow-y: auto;
            
        }

        .card-text::-webkit-scrollbar {
            width: 8px;
            /* largura da barra de rolagem */
        }

        .card-text::-webkit-scrollbar-track {
            background-color: #f0f0f0;
            /* cor do fundo da barra de rolagem */
        }

        .card-text::-webkit-scrollbar-thumb {
            background-color: #ccc;
            /* cor do cursor da barra de rolagem */
            border-radius: 4px;
            /* arredondamento do cursor */
        }

        .card-text::-webkit-scrollbar-thumb:hover {
            background-color: #272323 !important;
            /* cor do cursor ao passar o mouse */
        }

        .card-text::-webkit-scrollbar-button {
            display: none;
            /* oculta as setinhas */
        }

        & a {
            padding: 10px;
            border-radius: 2px;
            text-decoration: none;
            font-weight: bolder;
            color: white;
            transition: 0.1s;
            border-radius: 3px;
        }


    }
}


#btn-saiba-mais-projetos {
    display: flex;

    & a {
        width: 50%;
        margin: auto;
        margin-top: 30px;
        font-weight: bold;
    }
}

#contato {
    background-color: #0d6dfd13;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;

}

.contatos {
    max-width: 1420px;
    margin: 0px auto 45px auto;

    width: 100%;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;

    & #contato-maps {
        width: 50%;
        display: flex;
    }

    & iframe {
        width: 100%;
        height: 400px;
        border-radius: 3px;

    }

    & form {
        display: flex;
        flex-direction: column;
        gap: 20px;


    }

    & input,
    textarea {
        width: 100%;
        outline: none;
        padding: 10px;
        border: 1px solid #636161;
        border-radius: 3px;

    }

    & input:hover::placeholder,
    input:focus::placeholder,
    textarea:hover::placeholder,
    textarea:focus::placeholder {
        color: #0f2e7f;
        transition: 200ms;
    }



    & input:focus,
    input:hover,
    textarea:focus,
    textarea:hover {
        border: 1px solid #0f2e7f;
    }

    & .textarea {

        display: flex;
        flex-direction: column;
        gap: 10px;

        & button {
            padding: 10px;
            outline: none;
            justify-content: right;
            border-radius: 2px;
        }
    }

    & textarea {
        resize: none;
        height: 170px;

    }

    & #contato-texto {
        width: 50%;

        & h4 {
            color: #0f2e7f;
            text-align: center;
        }

        & p {
            text-align: center;
        }

        & .nome-email {
            display: flex;

            gap: 20px;
        }

        & .nome-email>div {
            width: 50%;

        }

    }

}

footer {
    background-color: #0A1F54;
    height: auto;
    padding: 40px 30px;
    color: white;
    border-top: 1px solid #012356;
}

footer h3 {
    margin: 0px 0px 15px 0px;
}

footer .hr {
    max-width: 1420px;
    border: 1px solid #fff;
    margin: auto;
}


.footer-content {
    max-width: 1300px;
    margin: auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    border-radius: 10px;
    padding: 10px 0px;
}

.footer-card {
    max-width: 400px;

    & i {
        margin-right: 4px;
    }


    & a {

        color: white;
    }
}

footer .rights {
    margin: 20px auto 0px auto;
    text-align: center;
}

.container-fluid,
.col {
    padding: 0px;
}

.animate {
    transform: translateY(20px);
    opacity: 0;
    transition: 1s ease;
}

.animate--visible {
    transform: translateY(0);
    opacity: 1;
}


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

    main {
        margin-top: 40px;
    }

    .h3 {
        font-size: 1.8rem;
    }

    .sobre-texto {
        font-size: 1rem;
    }

    .row {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0px;
    }

    .contatos {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;


        & #contato-maps {
            width: 100%;
        }

        & iframe {
            width: 100%;
            height: 400px;
        }

        & #contato-texto {
            width: 100%;
        }

        & textarea {
            height: 200px;
        }

    }



    .carousel-inner img {
        height: 400px;
        object-fit: cover;
        width: 100%;
    }


    #pessoas {
        & p {
            text-align: justify;
            font-size: 1rem;
            margin: 0px;
        }

        & .pessoas-card {
            width: 100%
        }


        & img {
            width: 100%;

        }
    }

    .projetos-texto {
        font-size: 1.3rem;
        font-size: 1rem;
        font-weight: normal;
    }

    .footer-content {
        justify-content: space-between;
    }


    .participant-card {
        flex-direction: column-reverse;

        & img {
            max-width: 100%;


        }
    }

}

@media screen and (max-width: 350px) {
    .card {
        width: 100%;
    }
}