@import url('https://fonts.googleapis.com/css2?family=Onest:wght@600&family=Oswald:wght@500&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: Arial, Helvetica, sans-serif;
    user-select: none;
}

:root {
    --cor-fundo: #121212;
    --fundo-secundario: #1d1d1d;
    --cor-texto: #fff;
    --cor-principal: #06b10c;


    --paginatorButtonSelected: #06b10c;
    /* #4169e1 */
    --paginatorButtonPattern: white;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
    overflow-x: hidden;
}

body {

    background: var(--cor-fundo);
    color: var(--cor-texto);
}

.custom-modal-size {
    width: auto;
    height: auto;
    font-size: 1.5rem;
}

.custom-modal-size2 {
    width: 60vw;
    height: auto;
    font-size: 1.5rem;
}


.swal2-content {
    max-height: 300px;
    /* Altura máxima para o conteúdo */
    overflow-y: auto;
    /* Habilita a rolagem vertical */
    width: 80vw;
}

section {
    min-height: 100vh;
    min-width: 100vw;
    padding-top: 10rem;
    padding-right: 9%;
    padding-bottom: 2rem;
    padding-left: 9%;
    width: 100%;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    max-width: 100vw;

    font-weight: bold;

}

.header a:hover {
    color: var(--cor-texto);
    text-decoration: none;
}

.header.sticky {
    border-bottom: .1rem solid rgba(0, 0, 0, .2);
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.0rem;
    color: var(--cor-texto);
    font-weight: 600;
    cursor: default;
}

.navbar {
    background-color: rgba(18, 18, 18, 0);
}

.navbar.active {
    display: block;
}

.navbar a {
    font-size: 1.7rem;
    color: var(--cor-texto);
    margin-left: 4rem;
    transition: color 0.3s, border-bottom 0.3s;
    position: relative;

}

.navbar a::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--cor-principal);
    transition: width 0.3s ease;
}

.navbar a:hover::before,
.navbar a.active::before {
    width: calc(80%);
}

.navbar a:hover,
.navbar a.active {
    color: var(--cor-principal);
}


.theme-toggle {
    width: 40px;
    height: 20px;
    border-radius: 10px;
    background-color: #333;
    display: flex;
    align-items: center;
    padding: 2px;
    margin-left: 10px;
    cursor: default;
}

.theme-toggle-label {
    width: 50%;
    height: 100%;
    background-color: #fff;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"]:checked+.theme-toggle-label {
    transform: translateX(100%);
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--cor-texto);
    display: none;
}

.home {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-img img {
    position: relative;
    width: 33.7vw;
    margin-left: 20%;
    transform: scaleX(-1);
    filter: drop-shadow(-10px 5px 0.75rem black);

}


.home-principal h3 {
    font-size: 3.2rem;
    font-weight: 700;
}

.home-principal h3:nth-of-type(2) {
    margin-bottom: 2rem;
}

span {
    color: var(--cor-principal);
}

.typed {
    color: var(--cor-texto);
}

.home-principal h1 {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-principal p {
    font-size: 1.6rem;
}


.home-principal a {
    margin-top: 2rem;
}

.social-media a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: var(--cor-fundo);
    filter: opacity(0.8);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--cor-principal);
    margin: 3rem 1.5rem 3rem 0;
    transition: .5s ease;

    font-weight: bold;
}

.social-media a:hover {
    background: var(--cor-principal);
    color: var(--fundo-secundario);
    box-shadow: 0 0 1rem var(--cor-principal);
}


.social-media a::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    background: var(--cor-principal);
    color: whitesmoke;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
    white-space: nowrap;
}

.social-media a::after {
    content: '';
    position: absolute;
    bottom: calc(100% - 6px);
    left: 50%;
    border: 8px solid transparent;
    border-top-color: var(--cor-principal);
    transform: translateX(-50%);
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
    pointer-events: none;
}

.social-media a:hover::before,
.social-media a:hover::after {
    opacity: 1;
}


.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--cor-principal);
    border-radius: 4rem;
    box-shadow: 0 0 1rem var(--cor-principal);
    font-size: 1.6rem;
    color: var(--fundo-secundario);
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
}

.btn:hover {
    box-shadow: none;
    color: var(--cor-texto);
}

.social-media a:hover {
    text-decoration: none;
}

.social-media a:hover {
    color: #fff;
}


.sobre {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: var(--fundo-secundario);
}

.sobre-img img {
    width: 20vw;
}

.carrossel-container {
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 100%;
    gap: 1vw;
    /* Espaçamento entre as imagens */
}

.carrossel-imagem {
    width: 100%;
    /* Ajusta a largura da imagem para preencher 100% do contêiner */
    height: auto;
    /* Mantém a proporção da imagem */
    object-fit: cover;
    /* Mantém a proporção e corta a imagem para preencher a área especificada */
    max-height: 60vh;
    /* Define a altura máxima para 60% da altura da tela */
    transition: transform 1s ease-in-out;
}

.titulo {
    text-align: center;
    font-size: 4.5rem;
}

.sobre-principal {
    width: 40vw;
}

.sobre-principal h2 {
    width: 60vw;
    text-align: left;
    line-height: 1.2;
}

.sobre-principal h3 {
    font-size: 2.6rem;
}

.sobre-principal p {
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
    text-align: justify;
}

.sobre-extended h2 {
   font-size: 3rem;
    text-align: center;
}
.sobre-extended h3 {
    font-size: 3rem;
     text-align: center;
 }

.sobre-titulo{
    text-align: center;
}

.sobre-titulo a {
    color: var(--cor-texto); 
    text-decoration: none; 
    font-size: 1.5rem;
}

.sobre-titulo{
    text-decoration: none;
}
.sobre-titulo i{
    color: var(--cor-texto);
}



.cursos h2 {
    margin-bottom: 5rem;
}

.cursos-principal {
    display: flex;
    justify-content: center;
    align-items: center;
    /*     flex-wrap: wrap;
 */
    gap: 2rem;
}


.cursos-principal a {
    color: var(--cor-texto);
    text-decoration: none;
}





.cursos-principal .curso {
    background: var(--fundo-secundario);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: .2rem solid var(--cor-fundo);
    transition: .5s ease;
}

.curso {
    min-height: 40vh;
    max-width: 40vw;
    text-decoration: none;
}

.cursos-principal .curso:hover {
    border-color: var(--cor-principal);
    transform: scale(1.02);
}

.curso i {
    font-size: 7rem;
    color: var(--cor-principal);
}

.curso h3 {
    font-size: 2.6rem;
    margin-bottom: 3.5rem;
}

.curso p {
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
    text-align: justify;
}

.curso>.btn {
    bottom: 10px;
}



.curriculo {
    background-color: var(--fundo-secundario);
}

.section-title h2 {
    font-weight: 700;
    color: var(--cor-principal);
    font-size: 45px;
    margin: 0 0 15px;
    border-left: 5px solid var(--cor-principal);
    padding-left: 15px;
}

.section-title {
    padding-bottom: 90px;
}

.section-title p {
    margin: 0;
    font-size: 18px;
}

.lado-esquerdo {
    margin-bottom: 45px;
}

.row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}


.curriculo-principal {
    background: var(--cor-fundo);
    box-shadow: 0 0 1.25rem rgba(31, 45, 61, 0.08);
    border-radius: 10px;
    margin: 0 2rem;
}

.curriculo-titulo {
    margin-bottom: 10px;
    font-size: 2.6rem;
    font-weight: 600;
}

.curriculo-principal ul {
    margin: 0;
    padding: 30px 20px;
    list-style: none;
}

.curriculo-principal li {
    position: relative;
    padding: 0 20px 0 60px;
    margin: 0 0 30px;
}

.curriculo-principal li:last-child {
    margin-bottom: 0;
}

.curriculo-principal li:after {
    content: "";
    position: absolute;
    top: 0px;
    left: 20px;
    border-left: 1px dashed var(--cor-principal);
    bottom: 0;
}

.curriculo-principal .icon {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 0;
    right: 0;
    color: var(--cor-principal);
    line-height: 40px;
    background: #ffffff;
    text-align: center;
    z-index: 1;
    border: 1px dashed;
    border-radius: 50%;
}

.curriculo-principal .time {
    background: var(--cor-principal);
    color: #ffffff;
    font-size: 10px;
    padding: 2px 10px;
    display: inline-block;
    margin-bottom: 12px;
    border-radius: 20px;
    font-weight: 600;
}

.curriculo-principal h5 {
    font-weight: 700;
    color: var(--cor-principal);
    font-size: 2em;
    margin-bottom: 10px;
}

.curriculo-principal p {
    margin: 0;
    font-size: 1.3em;
}

.curriculo-principal li:after {
    content: "";
    position: absolute;
    top: 0px;
    left: 20px;
    border-left: 1px dashed var(--cor-principal);
    bottom: 0;
}

.btn-topo {
    position: fixed;
    bottom: 20px;
    right: 2vw;
    z-index: 999;
    background-color: var(--cor-principal);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 25%;
    text-align: center;
    line-height: 50px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s, transform 0.3s;
    cursor: pointer;
    animation: animacao-botao-subir 3s ease-in-out infinite;
}

.btn-topo:hover {
    background: var(--cor-principal);
    box-shadow: 0 0 1rem var(--cor-principal);
    transform: scale(1.1);
}

.btn-topo i {
    margin-top: 25%;
    font-size: 24px;
    color: #fff;
}

.artigos-publicados {
    background-color: var(--fundo-secundario);
}

.table-container {
    margin: 50px auto;
    /* Ajuste conforme necessário */

}

table {
    margin-left: 10vw;
    width: 100%;
    border-collapse: collapse;
    margin: 3em 0 20px;
    font-size: 1.3rem;
    font-weight: bold;
    overflow-x: auto;
    display: block;

}

th,
td {
    text-align: left;
    padding: 15px;
}


th {
    background-color: #333;
    color: white;
}

tr:nth-child(even) {
    background-color: var(--cor-fundo);
}



td>a {
    background-color: var(--cor-principal);
    padding: 5px;
    border-radius: 10px;
    color: white;

    text-wrap: nowrap;
}

#paginador {
    margin: 20px 38vw 0;
    display: flex;
    color: grey;
    flex-direction: row;
}

#paginador>button {
    border: solid 1px #1d1d1d;
    border-radius: 5px;
    width: 30px;
    padding: 5px;
    margin: 1px;
    font-weight: bold;
}


form {
    display: flex;
    flex-wrap: wrap;
    width: 40vw;
    margin: auto;
}

.fale-comigo p {
    color: var(--cor-texto);
    letter-spacing: 1px;
    line-height: 25px;
    font-size: 1.1rem;
    text-align: center;
    /* Centraliza o texto abaixo do título */
    margin: 3rem;
    filter: opacity(0.5);


}

.fale-comigo form {
    position: relative;
    text-align: center;
}

.fale-comigo form input,
form textarea {
    width: 100%;
    padding: 17px;
    border: none;
    outline: none;
    background: var(--fundo-secundario);
    color: var(--cor-texto);
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
    border-radius: 10px;
    font-size: 1.3em;

}


.fale-comigo input:-webkit-autofill,
.fale-comigo textarea:-webkit-autofill {
    background-color: var(--fundo-secundario) !important;
    /* Define a cor de fundo desejada */
}

.fale-comigo input:focus,
.fale-comigo textarea:focus {
    background-color: var(--fundo-secundario) !important;
    /* Define a cor de fundo desejada */
}

.fale-comigo input.preenchido-automaticamente,
.fale-comigo textarea.preenchido-automaticamente {
    background-color: var(--fundo-secundario);
    /* Define a cor de fundo desejada */
}

.fale-comigo textarea {
    resize: none;
    height: 200px;
}

.btn-form {
    margin: 2rem auto;
}

.btn-form:hover {
    cursor: pointer;
}



@keyframes animacao-botao-subir {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-1.4rem);
    }
}

@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }

    section {
        padding-bottom: 20rem;
    }

    .row {
        flex-wrap: wrap;
    }

    .home-img img {
        margin: 0;
    }


}


@media(max-width: 991px) {
    .header {
        padding: 2rem 3%;
    }

    .navbar a:hover::before,
    .navbar a.active::before {
        width: calc(30px);
    }

    section {
        padding: 10rem 3% 2rem;
    }

    .cursos-principal {
        flex-wrap: wrap;
    }

    .lado-esquerdo {
        margin-bottom: 2rem;
    }

    .section-title p {
        font-size: 1.5em;
        text-align: justify;
    }

    .btn-topo {
        width: 40px;
        /* Largura do botão reduzida */
        height: 40px;
        /* Altura do botão reduzida */
        line-height: 40px;
        /* Altura da linha do botão */
        font-size: 16px;
        /* Tamanho da fonte do texto do botão */
        border-radius: 25%;
        /* Raio do botão */
    }

    .btn-topo i {
        font-size: 24px;
        /* Tamanho do ícone aumentado */
        margin: 20% 0 0 5%;
        /* Posicionamento do ícone */
    }

    /* contato e footer fazer ainda */

    form {
        width: 80vw;
    }

    .sobre {
        display: flex;
        flex-direction: column-reverse;
    }

    .sobre-principal {
        width: 80vw;
    }
}

@media (max-width: 768px) {
    section {
        min-width: 100vw;
        margin: 0;
    }

    #menu-icon {
        display: block;
    }

    .navbar {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--cor-fundo);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
        display: none;
    }

    .navbar2 {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        display: none;
    }

    .navbar.active {
        display: block;
    }

    .navbar2.active {
        display: block;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    .home {
        flex-direction: column;
    }

    .home-principal h3 {
        font-size: 2.6rem;
    }

    .home-principal h1 {
        font-size: 5rem;
    }



    .sobre {
        flex-direction: column-reverse;
    }

    .sobre img {
        width: 50vw;
        margin-top: 4rem;
    }

    .sobre-principal {
        width: 80vw;
    }

    .sobre-principal p {
        width: 80vw;
    }

    .cursos h2 {
        margin-bottom: 3rem;
    }

    .home-img img {
        width: 55vw;
    }

    /* curriculo fazer */


    .custom-modal-size2 {
        width: 90vw;
        height: auto;
        font-size: 1.5rem;

    }
}

@media (max-width: 617px) {
    .cursos-principal {
        grid-template-columns: 1fr;
    }

    form {
        width: 90vw;
    }

    .home-img img {
        width: 65vw;
    }

    /* se tiver contato colocar estilos aqui */
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }

    .home-principal {
        text-align: center;
    }

    .home-principal p {
        text-align: justify;
    }

    .home-img img {
        margin-top: 2rem;
        width: 80vw;
    }

    /* se tiver contato fazer aqui */
}

@media (max-width: 365px) {

    .home-img,
    .sobre-img {
        width: 90vw;
        margin-left: 20%;
    }

    /* footer fazer aqui */
}