.titulo_troia {
    text-align: center;
    background-color: #f4f4f4;
    padding: 1.8rem;
    color: #08c89c;
    font-weight: 600;
    text-transform: uppercase;
}

.titulo_troia p {
    text-align: center;
    background-color: #f4f4f4;
    padding: .2rem;
    color: #08c89c;
    font-size: 12px;
    word-spacing: 1px;
}


.gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    background-color: #f4f4f4;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    max-width: 1000px;
    padding: 20px;
}

.card {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: scale(1.02);
}

.card img {
    max-width: 95%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    display: block;
    margin: 20px auto 0;
}

.card .info {
    padding: 20px;
    padding-top: 0;
}

.card h2 {
    margin-top: 0;
}

.card p {
    margin-bottom: 0;
    text-align: justify;
    font-size: 12px;
    line-height: 20px;
    font-family: 'Roboto', sans-serif;
}

.imagem-link-troia {
    display: block;
    /* Garante que a imagem seja exibida como um bloco */
    width: 100%;
    /* Define a largura da imagem */
    height: auto;
    /* Define a altura automaticamente para manter a proporção */
    border: none;
    /* Remove a borda padrão */
    box-shadow: none;
    /* Remove a sombra */
}

/* Estilo opcional para alterar o cursor ao passar o mouse sobre a imagem */
.imagem-link-troia:hover {
    cursor: pointer;
    width: 101%;
}

.container-teacher {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80vh;
}

.image-container-teacher {
    flex: 0 0 auto;
    margin-right: 20px;
    margin-top: -80px;
}

.text-container-teacher {
    flex: 1 1 auto;
    max-width: 500px;
    color: #fff;
    margin-left: -7%;
    margin-top: 6%;
}

.text-container-teacher h1 {
    font-size: 15px;
}

.image-container-teacher img {
    border: none;
    box-shadow: none;
}

.text-container-teacher p::before {
    content: "";
    height: 3px;
    width: 31%;
    background: #fff;
    display: block;
    margin-top: 2px;
    margin-bottom: 2px;
}

.text-container-teacher a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.text-container-teacher a:hover {
    color: #ccc;
}

#capitulos-maq {
    color: #4e4d4d;
    font-size: 14px;
    line-height: 1.2rem;
    text-align: justify !important;
    padding: 20px;
}

.previous-edition-link {
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
    color: #ff0202;
    font-weight: bold;
}

.previous-edition-link:hover {
    color: #0414f6;
    text-decoration: underline;

}

.container-curso-filosofia-politica {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.container-curso-filosofia-politica img {
    max-width: 90%;
}

/* Container Missao - Visao - Valores*/
.container-missao {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding-top: 1.3rem;
    padding-bottom: 1rem;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

.shake-on-hover:hover {
    animation: shake 0.5s;
}

.container-missao img {
    max-width: 100%;
}

section {
    width: 100%;
    max-width: 800px;
    margin: 8px auto;
    padding: 20px;
    background: #f4f5f2;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    line-height: 1.5rem;
    border: 1px solid #333;
    box-sizing: border-box;
    text-align: justify;
    border-radius: 0 45px 0 0;
}

section p,
section h2,
section h3,
section ul {
    text-indent: 1.5rem;
}

h2 {
    color: #333;
    font-size: 1.3rem;
    padding-bottom: 5px;
    margin-bottom: 10px;
    color: #04a369;
    text-indent: 1.5rem;
    text-transform: uppercase;
    /* Adiciona recuo ao título */
    /*hyphens: auto;*/
}

h3 {
    color: #04a369;
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 6px;
    font-weight: bold;
    text-indent: 1.5rem;
    /* Adiciona recuo ao subtítulo */
}

ul {
    list-style-type: disc !important;
    padding-left: 1rem;
    /* Adiciona recuo à lista */
}

ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

section p {
    font-size: 14px;
}

/* Inicio 5.000 visitas*/
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 300px;
    text-align: center;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#heart {
    font-size: 100px;
    color: red;
    display: inline-block;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

#bigheart {
    font-size: 20px;
}

/* Fim 5.000 visitas */

.respostas-section {
    background-color: #aee2c2;
}

/* Valores Missão */
.container-essence {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header-essence {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 1rem;
}

h1-essence {
    margin-bottom: 0.5rem;
}

main-essence {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 2rem;
}

section-essence {
    flex-basis: calc(50% - 20px);
    margin-bottom: 2rem;
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

section-essence:hover {
    transform: translateY(-5px);
}

h2-essence {
    color: #2c3e50;
    margin-bottom: 1rem;
}

ul-essence {
    list-style-type: none;
}

li-essence {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

li-essence::before {
    content: "•";
    color: #3498db;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.2rem;
}

.hidden-essence {
    display: none;
}

button-essence {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button-essence:hover {
    background-color: #2980b9;
}

blockquote {
    background-color: #f9f9f9;
    border-left: 5px solid #ccc;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
    quotes: "\201C""\201D""\2018""\2019";
}

blockquote:before {
    color: #ccc;
    content: open-quote;
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.25em;
    vertical-align: -0.4em;
}

.blquotes {
    font-size: 14px;
    text-align: justify;
}

/* Curso de Filosofia 2025 */
.concept {
    margin-bottom: 25px;
    padding: 15px;
    border-left: 4px solid;
    background-color: #f8f9fa;
    transition: transform 0.2s;
}

.concept:hover {
    transform: translateX(10px);
}

.concept h2 {
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-size: 1.4em;
}

.concept p {
    margin: 0;
    color: #555;
}

.concept-metafisica {
    border-color: #e74c3c;
}

.concept-epistemologia {
    border-color: #3498db;
}

.concept-etica {
    border-color: #2ecc71;
}

.concept-logica {
    border-color: #f1c40f;
}

.concept-estetica {
    border-color: #9b59b6;
}

.example {
    font-style: italic;
    color: #666;
    margin-top: 8px;
}

.referencias {
    text-align: justify;
}

.referencia {
    margin-bottom: 15px;
    font-family: 'Roboto', sans-serif;
    font-size: .8em;
}

/* Para navegadores baseados em WebKit (Chrome, Edge, Opera, Safari) */
::-webkit-scrollbar {
  width: 12px; /* Largura da barra */
}

::-webkit-scrollbar-track {
  background: #f1f1f1; /* Fundo da trilha */
}

::-webkit-scrollbar-thumb {
  background-color: #00cc66; /* Cor da "pegada" (a parte que desliza) */
  border-radius: 6px;
  border: 3px solid #f1f1f1; /* Borda opcional para dar espaçamento */
}

::-webkit-scrollbar-thumb:hover {
  background-color: #00994d; /* Cor ao passar o mouse */
}


/* Fim */
@media (max-width: 768px) {
    main-essence {
        flex-direction: column;
    }

    section-essence {
        flex-basis: 100%;
    }
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
        padding: 5px;
    }

    .card {
        width: 90%;
        /* Ajuste conforme necessário */
        margin: 0 auto;
        /* Centralizar os cards */
    }

    .card img {
        display: block;
        margin: 20px auto 0;
        /* Centralizar as imagens e adicionar 20px de margem superior */
    }

    .titulo_troia {
        font-size: 10px;
    }

    .titulo_troia p {
        font-size: 10px;
    }

    .container-teacher {
        flex-direction: column;
        height: 70vh;
    }

    .image-container-teacher {
        margin-right: 20px;
        margin-top: 0;
        margin-bottom: 1%;
    }

    .text-container-teacher {
        flex: 1 1 auto;
        max-width: 500px;
        color: #fff;
        margin-left: -2%;
        margin-top: -1%;
    }

    .text-container-teacher h1 {
        font-size: 14px;
        margin-top: 1%;
    }

    .text-container-teacher p {
        font-size: 13px;
    }

    .text-container-teacher p::before {
        width: 54%;
    }

    .container-curso-filosofia-politica h1 {
        font-size: 0.8rem;
    }

    section h2,
    section h3 {
        text-indent: 1.5rem;
        font-size: 1rem;
    }

    section p {
        font-size: 14px;
    }



}