@import url(https://fonts.googleapis.com/css2?family=Montserrat&family=Oswald&display=swap);

/* Estilo geral do menu */

/*Cor do Menu */
.nav-wrapper {
    background-color: rgb(36, 63, 25) !important;
    /* Cor de fundo do menu */
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
}

.brand-logo,
.nav-wrapper a {
    color: #ffffff !important;
    /* Cor do texto e dos links */

}
.icow{
    margin-top: 12px;
    width: 30px;
    height: auto;


}
/*Cor para celular*/
.side-nav {
    background-color: rgb(36, 63, 25) !important;
    /* Cor de fundo do menu lateral */
}

.side-nav li a {
    color: #f8f8f8 !important;
    /* Cor dos links */
}



.nav-bar {
    background: rgb(36, 63, 25);
    /* Fundo escuro */
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.navbar-brand h1 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    margin-left: 15px;
}

.navbar-toggler {
    border: none;
    outline: none;
}

.navbar-toggler-icon {
    background-color: transparent;
}

/* Links do menu */
.navbar-nav {
    text-align: center;
    width: 100%;
}

.navbar-nav .nav-item {
    padding: 10px;
}

.navbar-nav .nav-link {
    color: #fff;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #000000;
}


/* Estilo para tornar responsivo */
@media (max-width: 991px) {
    .navbar-nav {
        background: #222;
        padding: 20px 0;
    }

    .navbar-nav .nav-item {
        display: block;
        padding: 10px 15px;
    }
}

.fol {
    width: 100%;
    /* Ocupa 100% da largura da tela */
    height: 400px;
    /* Ocupa 100% da altura da tela */
    object-fit: cover;
    /* Garante que a imagem cubra toda a tela sem distorcer */
    display: block;
}

.container1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: rgba(36, 63, 25, 0.822);
    color: rgb(255, 255, 255);
    padding: 10px;
    flex-wrap: wrap;
    margin: 0 auto;
}

.skills {


    color: #ffffff;
    line-height: 1.9;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;

    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.skill-item {
    font-size: 1.2em;
    color: #ffffff;
    margin-bottom: 10px;
    position: relative;
}



.center {
    margin-top: 50px;
}

.text1 {
    font-size: 300%;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #ffffff;
    display: inline-block;
    margin-right: 20px;
    margin: 0 auto;
    word-wrap: break-word;
}

.image1 {
    width: 50vw;
    height: 50vh;
    max-width: 500px;
    max-height: 500px;

    background-image: url('./image/lilb.png');
    background-size: cover;
    background-position: center;
    margin-left: 20px;
    animation: swing 2s ease-in-out infinite;
}

@keyframes swing {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(10deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* Estilo para telas pequenas (como celulares) */
@media (max-width: 1050px) {
    .container1 {
        flex-wrap: wrap;
        /* Permite que o layout se ajuste em telas pequenas */
    }

    .text1 {
        font-size: 150%;
        /* Ajusta o tamanho do texto para telas menores */
        margin-right: 0;
        /* Remove a margem direita */
        text-align: left;
        /* Alinha o texto à esquerda */
    }

    .image1 {
        width: 30vw;
        /* Ajusta a imagem para 50% da largura da tela */
        height: 30vw;
        /* Ajusta a altura da imagem */
        margin-top: 20px;
        /* Adiciona espaço superior entre o texto e a imagem */
    }
}

@media (max-width: 500px) {
    .container1 {
        flex-wrap: wrap;
        /* Permite que o layout se ajuste em telas pequenas */
    }

    .text1 {
        font-size: 115%;
        /* Ajusta o tamanho do texto para telas menores */
        margin-right: 0;
        /* Remove a margem direita */
        text-align: left;
        /* Alinha o texto à esquerda */
    }

    .image1 {
        width: 30vw;
        /* Ajusta a imagem para 50% da largura da tela */
        height: 30vw;
        /* Ajusta a altura da imagem */
        margin-top: 20px;
        /* Adiciona espaço superior entre o texto e a imagem */
    }
}

#contato{

    margin-bottom: 50px;

}







.texto {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;

}

/*Fim Menu*/

html {
    font-family: 'Oswald' !important;
    line-height: 1.1;
    -webkit-tap-highlight-color: transparent !important;
    background: linear-gradient(rgb(31, 71, 31), rgb(255, 255, 255), rgb(36, 63, 25));
}



p {
    font-family: sans-serif !important;
    font-weight: 450;
    margin-bottom: .5rem;
    line-height: 1.60;
}

/*Todos paragrafos padrão*/

strong {
    font-weight: bold !important;

}

/*negrito*/

h1,
h2,
h3,
h4 {
    margin-bottom: .5rem;
    font-weight: 450;
    line-height: 1.2;
}

/*padronização*/


/*Inicio Introdução*/
.cont1 {
    display: flex;
    width: 80%;
    height: auto;
    margin: 0 auto;
    margin-top: 100px;
    flex-wrap: wrap;

}

/*Introdução*/

.cont2,
.cont3 {
    width: 48%;
    padding: 15px;
    box-sizing: border-box;

}

/*INT1 E INT2*/

.cont2 {
    padding: 20px;
    background-color: rgb(243, 243, 243);
    border: 3px solid rgb(36, 63, 25);
    display: flex;
    flex-direction: column;
    align-items: center;
}



/*INT2*/

/*Linha do Tempo*/
.timeline {
    position: relative;
    padding-left: 40px;
    border-left: 3px solid rgb(36, 63, 25);/
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-dot {
    position: absolute;
    left: -10px;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: rgb(36, 63, 25);
    border-radius: 50%;
    box-shadow: 0 0 0 3px white;
}

.timeline-content {
    margin-left: 40px;
}

.timeline-content h5 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #000000;
}

.timeline-content p {
    font-size: 16px;
    color: #000000;
}

/*Fim da Linha do Tempo*/

.cont3 {
    background-color: rgb(36, 63, 25);
    color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*INT2*/



.cont3 img.lil {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 15px;

}

/*int2*/

@media (max-width: 768px) {

    .cont2,
    .cont3 {
        width: 100%;
    }

    .cont1 {
        flex-direction: column;
        padding-top: 50px;
    }
}

.cen {
    text-align: center;


}

/*Fim Introdução responsivo*/


/*Inicio de Habilidades*/
#habilidades {
    background-color: rgb(36, 63, 25);
    color: rgb(255, 255, 255);
    padding: 0 0 10px 10px;
    margin-top: 4%;
    width: 80%;
    border-radius: 30px;
    margin: 0 auto;



}

.cont4 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    color: black;
    padding-bottom: 15px;
}

.icoz {
    width: 100%;
    max-width: 80px;
    height: auto;


}

.icone {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: calc(42% - 30px);
    /* Isso faz com que, na maioria das telas, caibam até 4 itens por linha */
    flex: 1 1 calc(42% - 10px);
    /* Isso mantém os itens responsivos */
    margin-bottom: 20px;
    margin-right: 5px;
    max-width: 200px;
    /* Limita a largura máxima dos itens */
}

.icon {
    font-size: 50px;
    margin-bottom: 10px;
}



.icone:hover {
    transform: scale(1.10);
}

.icones2 {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.icones2 a {
    text-decoration: none;
    color: #0f0f0f;
    font-size: 5rem;
    /* Tamanho inicial dos ícones */
    transition: color 0.3s;
}

@media (max-width: 1024px) {
    .icones2 a {
        font-size: 4rem;
        /* Reduz o tamanho para telas médias, como tablets */
    }
}

@media (max-width: 768px) {
    .icones2 a {
        font-size: 3rem;
        /* Reduz ainda mais o tamanho para telas pequenas */
    }
}

@media (max-width: 480px) {
    .icones2 a {
        font-size: 2rem;
        /* Tamanho mínimo para dispositivos móveis */
    }
}


.icones2 a:hover {
    color: rgb(39, 82, 22);
}


.java {
    color: #f89820;
}

.javascript {
    color: #f7df1e;
}

.cpp {
    color: #00599c;
}

.sql {
    color: #4479a1;
}

.html {
    color: #f18900;
}

.css {
    color: #2141f5;
}

.nivel {
    font-weight: bold;
    margin-top: 10px;
}

/* Estilos Gerais do Footer */
footer {
    background-color: rgb(36, 63, 25);
    color: white;
    padding: 20px;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 1.2em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-links li {
    display: inline;
}

.footer-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: rgba(156, 156, 156, 0.692);
}

/* Estilos para os ícones das redes sociais */
.icones21 {
    margin-top: 20px;
}

.icones21 a {
    color: rgb(255, 255, 255);
    font-size: 2em;
    margin: 0 15px;
    transition: color 0.3s;
}

.icones21 a:hover {
    color: rgba(160, 160, 160, 0.692);
}

/* Responsividade */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-links li {
        margin: 5px 0;
    }

    .icones21 a {
        font-size: 1.5em;
        margin: 0 10px;
    }
}


/*Fim Habilidades*/


.cont5 {
    display: flex;
    width: 60%;
    height: auto;
    margin: 0 auto;
    margin-top: 100px;
    flex-wrap: wrap;
    padding: 20px;
    background-color: rgb(243, 243, 243);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 25px;

}

@media only screen and(min-width: 768px) {

    /*pc*/
    .cols-1 {
        width: 30%;
    }

    .cols-2 {
        width: 50%;
    }

    .cols-3 {
        width: 100%;
    }

    .cols-4 {
        width: 15%;
    }



}

@media only screen and (min-width: 600px) {

    /*tablet*/
    .col-1 {
        width: 30%;
    }

    .col-2 {
        width: 50%;
    }

    .col-3 {
        width: 100%;
    }

    .col-4 {
        width: 15%;
    }
}

/*Celular*/
[class*="col-"] {
    width: 100%;
}

/* Estilo do parágrafo com a classe 'sobre-mim' */
.sobre-mim {
    font-size: 1.1em;
    line-height: 1.6;
    text-align: justify;
    margin: 0 15px 20px;
    color: #555;
}


/* Container dos Projetos */
.projetos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 94%;
}

/* Estilos para Cada Cartão de Projeto */
.projeto {
    background-color: #fff;
    border-radius: 21px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: calc(33.333% - 30px);
    max-width: 260px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.projeto:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.projeto img {
    width: 100%;
    /* Garante que a largura da imagem ocupe 100% do espaço disponível */
    height: 100%;
    /* Faz a altura da imagem ocupar todo o espaço disponível */
    object-fit: cover;
    /* Garante que a imagem ocupe todo o espaço sem distorção */
    border-radius: 20px;
    display: block;
    /* Remove o espaço abaixo da imagem */
}

.projeto-content {
    padding: 20px;
    text-align: center;
}

.projeto h3 {
    margin: 15px 0;
    color: rgb(36, 63, 25);
    font-size: 1.7em;
}

.projeto p {
    margin: 0 0 20px;
    color: #000000;
    font-size: 1em;
}

.projeto a {
    display: inline-block;
    padding: 5px;
    background-color: rgb(36, 63, 25);
    color: #fff;
    text-decoration: none;
    border-radius: 15px;
    transition: background-color 0.3s;
}

.projeto a:hover {
    background-color: rgba(36, 63, 25, 0.801);
}

/* Responsividade para Telas Menores */
@media (max-width: 992px) {
    .projeto {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .projeto {
        width: 100%;
    }

    .tecnologias {
        position: static;
        margin: -40px auto 20px;
        transform: none;
    }
}





/* Geral */
body {
    
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container Principal */
#interativa {
    padding: 20px;
    background-color: #f4f4f4;
}




/* Painel */
.painel {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Cabeçalho do Painel */
.painel-cab {
    margin-bottom: 20px;
}

/* Tabela de Feitiços */
.tab, .table {
    width: 100%;
    border-collapse: collapse;
}

th {
    padding: 10px;
    background-color: rgb(36, 63, 25);
    color: white;
    text-align: left;
}

td {
    padding: 10px;
    border: 1px solid #ddd;
}

/* Inputs e Botão lado a lado */
.input-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.input-group input[type="text"] {
    padding: 8px;
    width: 30%;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.input-group button.b {
    padding: 10px 15px;
    background-color: rgb(36, 63, 25);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

.input-group button.b:hover {
    background-color: rgba(36, 63, 25, 0.932);
}

/* Estilo para a tabela de feitiços inseridos */
.table {
    margin-top: 20px;
}

.table th, .table td {
    text-align: center;
}

/* Responsividade */
@media (max-width: 768px) {
    #interativa {
        padding: 10px;
    }

    .painel {
        padding: 15px;
    }

    .input-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .input-group input[type="text"] {
        width: 100%;
    }

    .input-group button.b {
        width: 100%;
        margin-top: 10px;
    }
}
