*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "DM Serif Text", serif;
    /*font-family: 'poppins', sans-serif;*/
}

body{
    background: linear-gradient(to right, #cb6ce6, #ffffff);
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: #c703ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo{
    position: relative;
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    cursor: default;
    opacity: 0;
    animation: slideRight 1s ease forwards;
}

.navbar a{
    display: inline-block;
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;
    opacity: 0;
    animation: slideTop .5s ease forwards;
    animation-delay: calc(var(--i));
}

.navbar a:hover{
    color: #7f099f;
}


/*Seção - 1*/

.home{
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: url('../imagem/Fundo.png') no-repeat;
    background-size: cover;
    background-position: center;
    padding: 70px 10% 0;
    color: white;
}

.home-content{
    max-width: 600px;
}

.home-content h3{
    font-size: 32px;
    font-weight: 700;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: .7s;
}

.home-content h1{
    font-size: 56px;
    font-weight: 700;
    margin: -3px 0;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
}

.home-content p{
    font-size: 20px;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}


/*Redes sociais*/

.home-sci {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.home-sci a {
  width: 45px;
  height: 45px;
  background: white;
  color: #cb6ce6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  transition: 0.5s ease;
  margin-bottom: 25px;
  opacity: 0;
  animation: slideLeft 1s ease forwards;
  animation-delay: calc(.2s * var(--i));
}

.home-sci a:hover {
  background: #cb6ce6;
  color: white;
  transform: translateY(-5px);
}

a img {
  width: 40px;
  transition: 0.3s;
}

a img:hover {
  transform: scale(1.1);
}


/*Botão*/

.btn-box {
    display: inline-block;
    padding: 12px 28px;
    background: #c703ff;
    border-radius: 40px;
    color: white;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop .5s ease forwards;
    animation-delay: 2s;
    box-shadow: 0 0 5px #c703ff,
    0 0 15px #c703ff, 0 0 30px #c703ff;
}

.btn-box:hover {
    box-shadow: 0 0 5px #c703ff,
    0 0 25px #c703ff, 0 0 50px #c703ff,
    0 0 100px #c703ff, 0 0 200px #c703ff;
}

/*Texto aleatório*/

#texto-dinamico {
  color: #c703ff;
  font-weight: bold;
  border-right: 2px solid #c703ff;
  padding-right: 5px;
  animation: piscar 0.7s infinite;
}

@keyframes piscar {
  0% { border-color: transparent; }
  50% { border-color: #c703ff; }
  100% { border-color: transparent; }
}


/*Seção - Sobre*/

.about{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 1.5rem;
}

.about-img img{
    padding-bottom: 20%;
    max-width: 630px;
    height: auto;
    width: 100%;
    border-radius: 8px;
    padding-left: 10%;
    padding-top: 15%;
}

.about-text h2{
    font-size: 60px;
    color: #fff;
}

.about-text h2 span{
    color: #c703ff;
}

.about-text h4{
    font-size: 29px;
    font-weight: 600;
    color: #fff;
    line-height: 1.7;
    margin: 15px 0 30px ;
}

.about-text p{
    max-width: 680px;
    width: 100%;
    color: #000;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 4rem;
}


/*Seção - Projetos*/

.projects{
    color: #000;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 4rem;
}

.sub-title{
    text-align: center;
    font-size: 60px;
    margin-bottom: 70px;
    color: white;
}

.sub-title span{
    color: #c703ff;
}

.container{
    padding: 90px;
}

.projects-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(259px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.projects-list div{
    background-color: transparent;
    padding: 40px;
    font-size: 16px;
    font-weight: 13px;
    border-right: 10px;
    border-radius: 20px;
    transition: backgroud 0.5s, transform 0.5s;
    box-shadow: 1px 1px 20px #7f099f,
                1px 1px 40px #7f099f;
}

.projects-list div i{
    font-size: 50px;
    margin-bottom: 30px;
}

.projects-list div h2{
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.projects-list div a{
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    margin-top: 20px;
    display: inline-block;
}

.read{
    display: inline-block;
    padding: 12px 28px;
    background: #c703ff;
    border-radius: 40px;
    font-size: 16px;
    color: white;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop .5s ease forwards;
    animation-delay: 2s;
    box-shadow: 0 0 5px #c703ff,
    0 0 15px #c703ff, 0 0 30px #c703ff;
}

.read:hover {
    box-shadow: 0 0 5px #c703ff,
    0 0 25px #c703ff, 0 0 50px #c703ff,
    0 0 100px #c703ff, 0 0 200px #c703ff;
}

.projects-list div:hover{
    transform: translateY(-10px);
}


/*Skills*/
.skills{
    display: flex;
    flex-wrap: wrap;
}

.container1{
    width: 600px;
    height: 500px;
    padding: 75px 90px;
    margin-left: 120px;
}

.heading1{
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-thickness: 5px;
    margin-bottom: 50px;
    color: #fff;
}

.navbar{
    font-size: 23px;
}

.tecnica-bars .bar{
    margin: 20px 0;
}

.tecnica-bars .bar:first-child{
    margin-top: 0;
}

.tecnica-bars .bar:last-child{
    margin-bottom: 0;
}

.tecnica-bars i{
    font-size: 20px;
    padding: 4px;
}

.tecnica-bars .bar .info{
    margin-bottom: 5px;
}

.tecnica-bars .bar .info span{
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    animation: showText 0.5s 1s linear forwards;
    opacity: 0;
}

.tecnica-bars .bar .progresse-line{
    position: relative;
    border-radius: 10px;
    width: 100%;
    height: 5px;
    background-color: #fff;
    animation: animate 1s cubic-bezier(1,0,0.5,1) forwards;
    transform: scaleX(0);
    transform-origin: left;
}

@keyframes animate {
    100%{
        transform: scaleX(1);
    }
}

.tecnica-bars .bar .progresse-line span{
    height: 100%;
    background-color: #c703ff;
    position: absolute;
    border-radius: 10px;
    animation: animate 1s 1s cubic-bezier(1,0,0.5,1) forwards;
    transform: scaleX(0);
    transform-origin: left;
}

.progresse-line.logs span{
    width: 55%;
}

.progresse-line.layouts span{
    width: 70%;
}

.progresse-line.css span{
    width: 65%;
}

.progresse-line.html span{
    width: 65%;
}

.progresse-line.java span{
    width: 60%;
}

.progresse-line.javascript span{
    width: 65%;
}

.progresse-line.mitre span{
    width: 50%;
}

.progresse-line.node span{
    width: 60%;
}

.progresse-line.python span{
    width: 70%;
}

.progresse-line.react span{
    width: 50%;
}

.progresse-line.native span{
    width: 50%;
}

.progresse-line.sql span{
    width: 60%;
}

.progresse-line.ui span{
    width: 65%;
}

.progresse-line span::after{
    position: absolute;
    padding: 1px 8px;
    background-color: #fff;
    color: #c703ff;
    font-size: 12px;
    border-radius: 3px;
    top: -28px;
    right: -20px;
    animation: showText 0.5s 1.5s linear forwards;
    opacity: 0;
}

.progresse-line.logs span::after{
    content: "55%";
}

.progresse-line.layouts span::after{
    content: "70%";
}

.progresse-line.css span::after{
    content: "65%";
}

.progresse-line.html span::after{
    content: "65%";
}

.progresse-line.java span::after{
    content: "60%";
}

.progresse-line.javascript span::after{
    content: "65%";
}

.progresse-line.mitre span::after{
    content: "50%";
}

.progresse-line.node span::after{
    content: "60%";
}

.progresse-line.python span::after{
    content: "70%";
}

.progresse-line.react span::after{
    content: "50%";
}

.progresse-line.native span::after{
    content: "50%";
}

.progresse-line.sql span::after{
    content: "60%";
}

.progresse-line.ui span::after{
    content: "65%";
}

.progresse-line span::before{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-bottom-width: 0px;
    border-right-width: 0px;
    border-top-color: #fff;
    top: -10px;
    right: 0;
    animation: showText 0.5s 1.5s linear forwards;
    opacity: 0;
}

@keyframes showText {
    100%{
        opacity: 1;
    }
}

/*Soft Skills*/
.radials-bars{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
}

.radials-bars .radial-bar{
    width: 50%;
    height: 170px;
    margin-bottom: 10px;
    position: relative;
}

.radials-bars .radial-bar svg{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    width: 120px;
    height: 160px;
}

.radials-bars .radial-bar .progress-bar{
    stroke-width: 10;
    stroke: #fff;
    fill: transparent;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    stroke-linecap: round;
    animation: animate-bar 1s linear forwards;
}

@keyframes animate-bar {
    100%{
        stroke-dashoffset: -1;
    }
}

.path{
    stroke-width: 10;
    stroke: #c703ff;
    fill: transparent;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    stroke-linecap: round;
}

.path-1{animation: animate-path1 1s 1s linear forwards;}
.path-2{animation: animate-path2 1s 1s linear forwards;}
.path-3{animation: animate-path3 1s 1s linear forwards;}
.path-4{animation: animate-path4 1s 1s linear forwards;}
.path-5{animation: animate-path5 1s 1s linear forwards;}
.path-6{animation: animate-path6 1s 1s linear forwards;}
.path-7{animation: animate-path7 1s 1s linear forwards;}
.path-8{animation: animate-path8 1s 1s linear forwards;}

@keyframes animate-path1 {
    100%{
        stroke-dashoffset: 100;
    }
    
}

@keyframes animate-path2 {
    100%{
        stroke-dashoffset: 75;
    }
    
}

@keyframes animate-path3 {
    100%{
        stroke-dashoffset: 75;
    }
    
}

@keyframes animate-path4 {
    100%{
        stroke-dashoffset: 126;
    }
    
}

@keyframes animate-path5 {
    100%{
        stroke-dashoffset: 50;
    }
    
}

@keyframes animate-path6 {
    100%{
        stroke-dashoffset: 100;
    }
    
}

@keyframes animate-path7 {
    100%{
        stroke-dashoffset: 75;
    }
    
}

@keyframes animate-path8 {
    100%{
        stroke-dashoffset: 50;
    }
    
}

.radial-bar .porcentagem{
    position: absolute;
    top: 50%;
    left: 50%;
    color: #c703ff;
    transform: translate(-50%, -50%);
    font-size: 17px;
    font-weight: 500;
    animation: showText 0.5s 1s linear forwards;
    opacity: 0;
}

.radial-bar .text{
    width: 100%;
    position: absolute;
    text-align: center;
    color: #000;
    left: 24%;
    bottom: -5px;
    transform: translateX(-50px);
    font-size: 17px;
    font-weight: 500;
    animation: showText 0.5s 1s linear forwards;
    opacity: 0;
}

/*Contato*/
.contact{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 3rem;
    padding-left: 30px;
    margin-top: 200px;
}

.contact-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    gap: 1rem;
    margin-top: -100px;
}


.contact-text h2{
    font-size: 60px;
    line-height: 1;
    text-align: center;
    color: #fff;
}

.contact-text h2 span{
    color: #c703ff;
}

.contact-text h4{
    margin: 15px 0;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.contact-text p{
    color: #fff;
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 2rem;
}

.contact-icons a{
    text-decoration: none;
}

.contact-icons i{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    margin: 30px 15px 30px 0;
    transition: .5s ease;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(.2s * var(--i));
}

.contact-icons i:hover{
    background: #c703ff;
    color: #fff;
    box-shadow: 0 0 20px #c703ff,;
}

.contact-form {
    width: 100%;
}

.contact-form form{ 
    position: relative;
}

.contact-form form input,form textarea::placeholder{
    color: #fff;
    font-weight: 500;
}

.contact-form form input::placeholder{
    color: #fff;
    font-weight: 500;
}

.contact-form form input,form textarea{
    border: none;
    outline: none;
    width: 90%;
    padding: 18px;
    background: #cb6ce6;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    color: #fff;
}

.contact-form textarea{
    resize: none;
    height: 220px;
}

.contact-form form .send{
    display: inline-block;
    padding: 12px 28px;
    background: #c703ff;
    border-radius: 0.5rem;
    font-size: 16px;
    color: white;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop .5s ease forwards;
    animation-delay: 2s;
    box-shadow: 0 0 5px #c703ff,
    0 0 15px #c703ff, 0 0 30px #c703ff;
}

.contact-form form .send:hover {
    box-shadow: 0 0 5px #c703ff,
    0 0 25px #c703ff, 0 0 50px #c703ff,
    0 0 100px #c703ff, 0 0 200px #c703ff;
}

/*Footer*/
.last-text p{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #c703ff;
    color: #fff;
    font-weight: 300;
    margin-top: 70px;
}

.top{
    position: fixed;
    bottom: 2.1rem;
    right: 2.1rem;
}

.top i{
    color: #fff;
    background: #dd94f1;
    font-size: 20px;
    padding: 12px;
    border-radius: 50%;
}

/*Projetos*/
.main-text{
    padding-top: 130px;
    margin-top: 420px;
}

.main-text h2{
    font-size: 60px;
    line-height: 1;
    text-align: center;
    color: #fff;
}

.main-text h2 span{
    color: #c703ff;
}

.portfolio-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1300px;   
    margin: 50px auto;   
    padding: 0 40px;  
}

.row{
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.row img{
    width: 100%;
    border-radius: 8px;
    display: block;
    transition: transform 0.5s;
}

.layer{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.1), #c703ff);
    position: absolute;
    border-radius: 8px;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 40px;
    transition: height 0.5s;
}

.layer h5{
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.layer p{
    color: #fff;
    font-size: 1rem;
    line-height: 1.8;
}

.layer i{
    margin-top: 20px;
    font-size: 20px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.row:hover img{
    transform: scale(1.1);
}

.row:hover .layer{
    height: 100%;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 80%;
    max-height: 80%;
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(199, 3, 255, 0.6);
    animation: zoom 0.3s ease;
}

@keyframes zoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover {
    color: #c703ff;
}


/*Tipo Canva Entrada dos elementos*/

@keyframes slideRight {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideTop {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideBottom {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/*Responsividade - Celular*/

@media (max-width: 768px) {

  /* Header */
  .header {
    padding: 15px 5%;
    flex-direction: column;
    gap: 10px;
  }

  .navbar a {
    font-size: 18px;
    margin-left: 15px;
  }

  /* Home */
  .home {
    flex-direction: column;
    text-align: center;
    padding: 120px 5% 0;
  }

  .home-content h1 {
    font-size: 38px;
  }

  .home-content h3 {
    font-size: 24px;
  }

  .home-content p {
    font-size: 16px;
  }

  .home-sci {
    justify-content: center;
  }

  /* Sobre */
  .about {
    grid-template-columns: 1fr;
    padding: 40px 5%;
  }

  .about-img img {
    padding: 0;
  }

  .about-text h2 {
    font-size: 40px;
    text-align: center;
  }

  .about-text p {
    font-size: 16px;
    text-align: justify;
  }

  /* Projetos */
  .container {
    padding: 40px 5%;
  }

  .sub-title {
    font-size: 40px;
  }

  /* Skills */
  .skills {
    flex-direction: column;
    align-items: center;
  }

  .container1 {
    width: 100%;
    margin: 0;
    padding: 40px 20px;
  }

  /* Contato */
  .contact {
    grid-template-columns: 1fr;
    margin-top: 100px;
  }

  .contact-text {
    align-items: center;
    text-align: center;
    margin-top: 0;
  }

  .contact-form form input,
  .contact-form form textarea {
    width: 100%;
  }
}


/*Tablet*/

@media (max-width: 1024px) {

  .home-content h1 {
    font-size: 46px;
  }

  .about-text h2 {
    font-size: 48px;
  }

  .container1 {
    margin-left: 0;
    width: 100%;
  }

  .contact {
    padding-left: 10px;
  }
}

/*Notebook*/

@media (max-width: 1366px) {

  .container {
    padding: 60px;
  }

  .home-content {
    max-width: 500px;
  }
}
