html,
body {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    margin: 0;
    padding: 0;
    height: 100%;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    display: none;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
}

.conteudo {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 75px;
}

.conteudo-principal {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70%;
    margin: 50px 0;
}

.logotipo-ifpe {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
}

.logotipo-ifpe img {
    width: 350px;
    max-width: 80%;
    height: auto;
}


.conteudo-principal-esquerda {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    padding: 5px 20px;
    width: 40%;
    margin-right: 40px;
}

.conteudo-principal-esquerda h1 {
    font-size: 2rem;
    font-weight: 900;
    margin: 0;
}

.conteudo-principal-esquerda h2 {
    font-size: 1.5rem;
    color: #008607;
    font-weight: 700;
    margin-bottom: 10px;
    padding: 0;
}

.conteudo-principal-esquerda p {
    text-align: justify;
    font-size: 1.2rem;
    font-weight: 400;
    margin: 10px 0 20px;
}

.conteudo-principal-direita {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 30px;
    padding: 0 20px;
    width: 30%;
    height: 450px;
    margin: 10px;
}

.botao-padrao-01 {
    padding: 15px 10%;
    background-color: #008607;
    color: #fff;
    border-radius: 15px;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.botao-padrao-01:hover {
    font-weight: 700;
    transform: scale(1.1);
    background-color: #016a06;
    color: #fff;
}

.section-topicos {
    background-color: #e5ffdd;
    width: 100%;
    height: auto;
    padding: 30px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}

.section-topicos-topico {
    width: 250px;
    height: auto;
    min-height: 300px;
    border-radius: 20px;
    border: solid 1px #008607;
    background-color: #fff;
    margin: 15px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.1s ease-in-out;
}

.section-topicos-topico h3 {
    font-size: 18px;
    font-weight: 900;
    color: #008607;
    margin-bottom: 10px;
}

.section-topicos-topico i {
    font-size: 50px;
    margin: 30px 0 20px 0;
    color: #006405;
}

.section-topicos-topico p {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-align: justify;
}

.section-topicos-topico:hover {
    box-shadow: none;
    cursor: zoom-in;
    color: #fff;
    transform: translateY(-5px) scale(1.05);
    transition: all 0.2s ease-in-out;
}

.publicacao-area {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    background-color: #fff;
    margin: 30px 0;
}

.h1-publicacao-area {
    font-size: 2rem;
    font-weight: 900;
    color: #008607;
    margin-bottom: 30px;
    text-align: center;
}

.lista-scrollavel {
    font-size: 1.2rem;
    width: 90%;
    max-width: 700px;
    max-height: 380px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #006405;
    padding: 20px;
    border-radius: 15px;
    margin: 0 auto; /* Centraliza horizontalmente */
}

.lista-scrollavel ol li {
    padding-left: 0;
    justify-content: center;
    margin: 0;
    transition: all 0.2s ease-in-out;
}

.lista-scrollavel ol li:hover {
    transform: translateX(10px);
    background-color: #e5ffdd;
}

.lista-scrollavel a {
    display: block;
    margin-bottom: 15px;
    color: #008607;
    text-decoration: none;
    font-family: Arial, sans-serif;
}

.lista-scrollavel a:hover {
    text-decoration: underline;
}

/* MEDIA QUERY PARA RESPONSIVIDADE */

@media (max-width: 768px) {
    html, body {
        max-width: 768px;
    }
    .conteudo-principal {
        flex-direction: column;
        align-items: center;
        width: 80%;
    }

    .conteudo-principal-esquerda,
    .conteudo-principal-direita {
        width: 100%;
        margin: 20px 0;
        padding: 0 10px;
    }

    .conteudo-principal-direita {
        height: auto;
    }

    .botao-padrao-01 {
        width: 100%;
        text-align: center;
        padding: 15px 0;
    }

    .section-topicos {
        flex-direction: column;
        height: auto;
    }

    .section-topicos-topico {
        width: 80%;
    }

    .lista-scrollavel {
        width: 80%;
        font-size: 1rem;
    }

    .h1-publicacao-area {
        text-align: center;
        font-size: 1.5rem;
    }

    .conteudo-principal-esquerda h1 {
        font-size: 1.5rem;
        text-align: center;
    }

    .conteudo-principal-esquerda h2 {
        font-size: 1.06rem;
        text-align: justify;

    }

    .conteudo-principal-esquerda p {
        font-size: 1rem;
        text-align: justify
    }

    .conteudo-principal-direita{
        display: none;
    }

    .logotipo-ifpe{
        margin-top: 50px;
    }
}
