@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Berkshire+Swash&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
  padding: 0;
  margin: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

/* html{
    width: 100%;
    background-color: #000;
} */

body {
    max-width: 1400px;
    margin: 0 auto;
    background-color: #000;
    scroll-behavior: smooth;

}

/* header */

header {
    background: #000;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

header h1 {
    color: #dc3545;
    font-size: 2.5;
    text-transform: capitalize;
}

header span {
    color: #fff;
}

header .navegacao-primaria {
    padding-top: 10px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-items: center;
}

header .navegacao-primaria li a {
    padding: 0px;
    width: 0px;
    height: 0px;
    color: #fff;
    font-size: 1.3rem;
    
}

header .navegacao-primaria li a::after {
    content: '';
    width: 0px;
    height: 0px;
    display: block;
    border-bottom: 4px solid transparent;
    transition: .9s;
}

header .navegacao-primaria li a:hover::after {
    width: 100%;
    height: 0px;
    padding: 0px;
    border-bottom: 4px solid #dc3545;
}

header i.fa-bars {
    display: none;
}

/* section-div */

.section-div {
    animation: inicializar 1s forwards;
    background-color: #000;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-around;
    align-items: center;
    gap: 60px;
    padding: 60px;
}

.section-div div {
    margin-top: 120px;
    align-self: start;
    display: grid;
    gap: 30px;
    
}

.section-div div h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    color: #f7f7f7;
}

.section-div div h2 .digitando {
    padding: 5px;
}

.section-div div a:hover {
    border-color: #dc3545;
    color: #dc3545;
    transition: .5s ease-in-out;
}





@media(max-width: 880px) {

    .section-div div {
        width: 15rem;
        
    }

    .section-div div .digitando {
        height: 17vh;
    }
}

.section-div div p {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    color: #f7f7f7;
}

.section-div div a {
    justify-self: start;
    color: #fff;
    padding: 15px 40px;
    border-radius: 5px;
    border: 2px solid white;
}

.digitando::after {
    content: '|';
    margin-left: 4px;
    opacity: 1;
    animation: pisca .5s infinite;   
}

@keyframes pisca {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.section-div img {
    max-width: 100%;
}

@keyframes inicializar {
    from {
        opacity: 0;
        transform: translate3d(0, -60px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* seção sobre main */

main {
    background-color: #111;
    color: #fff;

}

main .sobre {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    justify-content: center;
    padding: 40px;
}

.sobre_titulo {
    margin: 30px;
    grid-column: 1/ -1;
    text-align: center;
    color: #fff;
}

.sobre_titulo h1 {
    font-size: 2.5rem;
    color: #dc3545;
    margin-bottom: 15px;
    font-family: "berkshire swash", cursive;
}

.sobre_titulo p {
    color: #707070;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    position: relative;
}

.sobre_titulo div {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.sobre_titulo span {
    display: block;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: #dc3545;
}

.sobre img {
    cursor: pointer;
    grid-row: 2;
    width: 400px;
    max-width: 100%;
    border-radius: 4px;
    filter: blur(0);
}

.sobre img:hover {
    transition: .5s ease-in;
    filter: blur(1px);
}

.sobre_conteudo {
    animation: sobesecao .6s ease-in-out forwards;
    grid-column: 2/-1;
    display: grid;
    color: #707070;
    grid-template-columns: 1fr 1fr;
}

.sobre_texto {
    display: grid;
    grid-column: 1/ -1;
    grid-template-columns: 1fr 1fr;
    
}

.sobre_texto h1 {
    font-size: 2.3rem;
    color: #fff;
    grid-column: 1/ -1;
}

.sobre_texto h1::after {
    background-color: #ff5d56;
    height: 6px;
    width: 60px;
    margin: 20px 0;
    content: '';
    display: block;
    border-radius: 5px;
}

.sobre_texto p {
    font-size: 1.3rem;
    grid-row: 2;
    grid-column: 1/ -1;
}

.sobre_info {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column: 1/-1;
    gap: 15px;
    font-size: 1.5rem;
}

.sobre_info i {
    color: #dc3545;
    display: inline-block;
    padding-right: 15px;
    font-size: 1.5rem;
}

.sobre_info p {
    font-size: .9rem;
}

@keyframes sobesecao {
    from {
        transition: .5s;
        transform: translate3d(60px, 0, 0);
    }
    to {
        transform: translate3d(0,0,0);
    }
}


/* responsivo */

@media(max-width: 992px){
    .section-div img {
        display: none;
    }

    .section-div {
        background-image: url(../img/principal-responsivo.png);
        background-repeat: no-repeat;
        background-size: cover;
    }

    header {
        justify-content: space-between;
        padding: 30px 70px;
    }

    header .navegacao-primaria {
        display: none;
    }

    header i.fa-bars {
        color: #f7f7f7;
        font-size: 3rem;
        cursor: pointer;
        display: block;
    }

    header .navegacao-primaria.ativado {
        background: linear-gradient(rgba(43,42,42, 0.176), rgba(46,46,46, 0.724));
        position: absolute;
        display: grid;
        top: 80px;
        color: white;
        z-index: 1;
        padding: 30px;
        font-size: 1.6rem;
        font-weight: bold;
        border-radius: 0 0 4px 4px;
        right: 20px;
        animation: sobesecao 1s ease-in-out forwards;
    }
}

@media(max-width: 997px) {
    .sobre img {
        grid-column: 1/ -1;
        justify-self: center;
    }

    .sobre_conteudo {
        grid-column: 1/-1;
    }
}

/* seção services */

.services {
    margin-top: -30px;
    padding: 60px;
    background-color: #151515;
}

.my_services {
    /* padding: 60px; */
    color: white;
}

.my_services ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.my_services ul li {
    cursor: pointer;
    border-radius: 6px;
    position: relative;
    padding: 10px;
    display: grid;
    gap: 30px;
    text-align: center;
    max-width: 300px;
    align-content: center;
    height: 300px;
    background-color: #222;
}

@media screen and(max-width: 400px){
    .my_services ul li {
        background-color: red;
        max-width: 400px;
        height: 350px;
        
    }
}

.my_services ul li i {
    font-size: 2.7rem;
    color: #dc3545;
}

.my_services ul li h3 {
    color: #fff;
    font-size: 1.6rem;
    font-family: 'poppins';
    font-weight: 500;
}

.my_services ul li p {
    color: #707070;
    font-size: 1.1rem;
}

.my_services li::before {
    content:' ';
    border-radius: 6px;
    transition: 1s ease-in-out;
    width: 0px;
    height: 0px;
    position: absolute;
    top: -2px;
    right: -2px;
    border-top: 2px solid transparent;
    border-right: 2px solid transparent;
}

.my_services li:hover::before {
    width: 100%;
    height: 100%;
    border-top: 2px solid #dc3545;
    border-right: 2px solid #dc3545;
}

.my_services li::after {
    content: '';
    border-radius: 6px;
    transition: 1s ease-in-out;
    width: 0px;
    height: 0px;
    position: absolute;
    bottom: -2px;
    left: -2px;
    border-bottom: 2px solid transparent;
    border-left: 2px solid transparent;
}

.my_services li:hover::after {
    width: 100%;
    height: 100%;
    border-bottom: 2px solid #dc3545;
    border-left: 2px solid #dc3545;
}

/* seção resumo  */

.my_resume {
    color: #fff;
}

.resume_generico {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    gap: 10px;
    align-items: start;
}

.resume_generico h2 {
    font-family: 'poppins';
    font-size: 1.5rem;
    background-color: #ff5d56;
    justify-self: start;
    padding: 10px;
    border-radius: 3px;
}

.resume_generico h2 i {
    margin-right: 10px;
}

.experience {
    margin-bottom: 30px;
    grid-column: 1;
    grid-row: 1;
}

.education {
    margin-bottom: 30px;
    grid-column: 2;
    grid-row: 1;
}

.experience_content ul {
    color: #ff5d56;
    gap: 10px;
    display: flex;
    cursor: pointer;
    margin-top: 20px;
    justify-content: center;
}

.resume_generico .experience_content div {
    background-color: #222;
    animation: sobesecao 1s ease-in-out forwards;
    display: none;
    padding: 40px;
    position: relative;
}

.resume_generico .experience_content div.ativo{
    display: block;
}

.resume_generico .experience_content div::before {
    content: '';
    border-right: 30px solid transparent;
    border-bottom: 30px solid #222;
    position: absolute;
    top: -20px;
    left: 30px;
    display: inline-block;
}

.resume_generico .experience_content div span {
    color: #dc3545;
    font-family: "poppins";
    font-weight: bold;
}

.resume_generico .experience_content div h3 {
    font-family: 'poppins';
    margin: 10px 0;
}

.resume_generico .experience_content div p {
    color: #707070;
    font-size: 1.1rem;
}

.resume_generico .experience_content ul li.ativo {
    color: #3e3d3d;
}

/* meus diplomas */

.resume_generico .education_content div {
    background-color: #222;
    padding: 40px;
    position: relative;
    display: none;
    animation: sobesecao 1s ease-in-out forwards;
}

.education_content ul {
    color: #ff5d56;
    gap: 10px;
    display: flex;
    cursor: pointer;
    margin-top: 20px;
    justify-content: center;
}

.resume_generico .education_content div::before {
    content: '';
    border-right: 30px solid transparent;
    border-bottom: 30px solid #222;
    position: absolute;
    top: -20px;
    left: 30px;
    display: inline-block;
}

.resume_generico .education_content div span {
    color: #dc3545;
    font-family: 'poppins';
    font-weight: bold;
}

.resume_generico .education_content div h3 {
    font-family: 'poppins';
    margin: 10px 0;
}

.resume_generico .education_content div p {
    color: #707070;
    font-size: 1.1rem;
}

.education_content ul li.ativo {
    color: #3e3d3d;
}

.resume_generico .education_content div.ativo {
    display: block;
}

/* cursos e skills */

.cursos {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: start;
    padding: 30px;
    gap: 30px;
    justify-content: center;
}

.my_skill {
    display: grid;
}

.my_skill h2 {
    padding: 10px 30px;
    border-radius: 5px;
    background-color: #ff5d56;
    font-size: 1.5rem;
    font-family: 'poppins';
    margin-bottom: 30px;
    justify-self: start;
}

.my_skill h2 li {
    padding-right: 10px;
}

.skill_content {
    font-size: 1.5rem;
    grid-column: 1/2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 10px;
}

.skill_content h3 {
    font-size: 1.5rem;
}

.skill_content ul {
    display: flex;
}

/* fun facts */

.funfacts {
    grid-column: 3/-1;
    grid-row: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.funfacts h2 {
    grid-column: 1/ -1;
    padding: 10px 30px;
    border-radius: 3px;
    font-size: 1.5rem;
    font-family: 'poppins';
    background-color: #ff5d56;
    margin-bottom: 30px;
    justify-self: start;
}

.funfacts h2 li {
    padding-right: 10px;
}

.funfacts ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.funfacts ul li {
    background-color: #222;
    border: 3px solid #2f2b2b;
    display: grid;
    grid-template-columns: auto 1fr;
    align-self: start;
    width: 200px;
    height: 100px;
}

.funfacts ul li i {
    grid-row: 1/3;
    margin: auto;
    padding: 20px;
    font-size: 2rem;
    color: #ff5d56;
    border-right: 2px solid #3e3d3d;
}

.funfacts ul li span {
    font-size: 1.5rem;
    color: white;
    font-family: 'poppins';
    font-weight: bold;
    padding-top: 10px;
    padding-left: 10px;
}

.funfacts ul li p {
    padding-left: 10px;
    color: #707070;
    font-weight: bold;
    font-family: 'poppims';
}

@media (max-width: 1000px){
    .resume_generico .experience_content,.education_content {
        justify-self: center;
        grid-column: 1/-1;
    }

    .resume_generico .education {
        grid-column: 1/-1;
        grid-row: 3;
        justify-self: center;
        margin: 30px 0;
    }

    .resume_generico .experience {
        grid-column: 1/-1;
        grid-row: 1;
        justify-self: center;
    }

    .cursos {
        grid-template-columns: 1fr;
    }

    .cursos .funfacts h2 {
        justify-self: center;
    }

    .cursos .funfacts {
        justify-self: center;
        text-align: center;
        grid-template-columns: 1fr;
        justify-self: center;
        grid-column: 1/-1;
    }

    .cursos .my_skill h2 {
        justify-self: center;
    }

    .cursos .my_skill {
        text-align: center;
        grid-template-columns: 1fr;
        justify-self: center;
        grid-column: 1/-1;
    }

}

@media(max-width: 500px){

    .funfacts ul {
       gap: 3px;
    }

    .funfacts ul li {
        width: 180px;
        height: 100px;
        font-size: .9rem;
    }


}

/* seção projects */

.projects {
    padding: 30px;
    display: grid;
    justify-content: center;
    gap: 30px;
}

.projects ul {
    display: flex;
    justify-content: center;
    gap: 30px;

}

@media(max-width: 550px){
    .projects ul {
        flex-direction: column;
        gap: 5px;
        
    }
}

.projects_models ul li {
    cursor: pointer;
    font-family: 'poppins';
    background-color: #222;
    border: 1px solid #333;
    padding: 6px 20px;
    color: #707070;
}


.projects_models ul li.ativo {
    background-color: #dc3545;
    color: #151515;
    font-weight: bold;
}

.projects_armazenamento ul {
    display: grid;
    margin-top: 60px;
    gap: 20px;
    justify-content: center;
    grid-template-columns: repeat(4, 1fr);
}


.projects_armazenamento ul li {
    display: none;
    max-width: 100%;
    height: 100%;
}

.projects_armazenamento ul li.ativo {
    display: block;
    animation: animationImagemButton 1.4s ease-in-out forwards;
}


@keyframes animationImagemButton {
    0%{
        opacity: 0;
        transform: translate3d(0, -60px, 0);
    }
    100%{
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.projects_armazenamento ul li img {
    max-width: 100%;
    height: 100%;
    border-radius: 4px;
    cursor: pointer;
}

.projects a {
    background-color: #222;
    text-decoration: none;
    justify-self: center;
    padding: 20px 40px;
    border: 1px solid #333;
    color: #707070;
}

/* aqui começa o footer */

footer {
    background-color: #000000;
    padding: 30px;
}

.footer_sociais {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: #f7f7f7;
    flex-wrap: wrap;
    align-items: center;
    position: relative;   
}

.footer_sociais li {
    background-color: #212020;
    border-radius: 50%;
    border: 1px solid #333;
}

.footer_sociais li i{
    padding: 30px;
    font-size: 1.5rem;
    color: #f7f7f7;
}

.footer_sociais li:hover {
    transition: .5s ease-in-out;
    cursor: pointer;
    background-color: #3e3d3d;
}

.footer_sociais::before {
    content: '';
    height: 5px;
    width: 200px;
    position: absolute;
    bottom: -30px;
    background-color: #222;
}

footer .footer_comercial {
    text-align: center;
    color: #ffff;
    margin: 90px auto;
    font-family: 'poppins';
}