@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Berkshire+Swash&display=swap');


*{
    margin: 0;
    padding: 0;
   font-family: 'Poppins', sans-serif;
   box-sizing: border-box;
   text-decoration: none;
   border: none;
   outline: none;
   scroll-behavior: smooth;
}

:root{
    --bg-color: #030303;
    --segund-bg-color: #323946;
    --text-color: #fff;
    --main-color: rgb(18, 211, 37);
}

html{
    font-size: 62.5%;
    /*overflow: hidden;*/
}

body{
    background: var(--bg-color);
    color:  var(--text-color);
}

section{
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

.header{
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    padding: 2rem 9%;
    background: var(--bg-color);
    display: flex;
    justify-content:space-between;
    align-items: center;
    z-index: 100;
}

.logo img{
    width: 150px;
}

.navbar a{
    font-size: 1.7rem;
    color: var(--text-color);
    margin-left: 4rem;
    transition: .5s;
}

.navbar a:hover{
    color: var(--main-color);
    transform: scale(1.05);
}

#menu-icon{
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;

}

.home{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 120px;
}
.home-content h1{
    font-size: 4.6rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-img img{
    width: 180px;
}



.home-content h3{
    font-size: 3.2rem;
    font-weight: 700;
}

/*ANIMANDO TEXTO h3*/

.anime{
    font-size: 30px;
    font-weight: 500;
}

.anime span{
    position: relative;
}

.anime span::before{
 content: "";
 color: var(--main-color);
 animation: anime-h3 20s infinite;
}

.anime span::after{
    content: "";
    position: absolute;
    height: 100%;
    border-left: 2px solid var(--main-color);
    right: -10px;
    animation: cursor .8s infinite, digitacao 20s steps(25) infinite;
    width: calc(100% + 12px);
    background: var(--bg-color);
}

@keyframes digitacao {
    10%, 15%, 30%, 35%, 50%, 55%, 70%, 90%, 95%{
        width: 0;
    }
    5%, 20%, 25%, 40%, 45%, 60%, 65%, 80%,85%{
         width: calc(100% + 12px);
    } 
}

@keyframes cursor {
    0%{
       border-left: 2px solid var(--bg-color);
    }
}

@keyframes anime-h3{
    0%, 20%{
        content: "Programador!";
    }

    21%, 40%{
        content: "Sistemas Web!";
    }

    41%, 60%{
        content: "Dashboards!";
    }

    61%, 80%{
        content: "Aplicativos Mobile!";
    }

    82%, 100%{
        content: "Suporte e Manutenção!";
    }
}



.home-content p{
    font-size: 1.6rem;
    max-width: 500px;
    text-align: justify;
}

.social-media a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin: 3rem 1rem 1rem 0;
    transition: .5s ease;
}

.social-media a:hover{
    background: var(--main-color);
    color: var(--segund-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
}


.bote{
    padding: 20px 100px;
    background-color: rgb(5, 201, 54);
    color: #ffffff;
    border-radius: 60px;
    text-decoration: none;
    position: absolute;
    overflow: hidden;
    margin-top: 5px;
   
}

.bote::before{
    content: '';
    background-color: chartreuse;
    width: 0;
    height: 0;
    position: absolute;
    top: var(--eixoY);
    left: var(--eixoX);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width .5s, height .5s;
}

.bote span{
    color: #fff;
    font-size: 16px;
    margin-left: -70px;
    margin-top: -10px;
    position: absolute;
    overflow: hidden;
    border: none;
}

.bote span:hover{
    color: var(--segund-bg-color);
}


.bote:hover::before{
    width: 1000px;
    height: 1000px;
}





.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    border-radius: 4rem;
    box-shadow: 0 0 1rem var(--main-color);
    font-size: 1.6rem;
    color: var(--segund-bg-color);
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
    margin-top: 2rem;
}

.btn:hover{
    box-shadow: none;
}

.sobre{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    background: var(--bg-color);
}

.foto-sobre{
    width: 35rem;
}

.foto-sobre img{
    width: 380px;
}

.txt-h2{
text-align: center;
font-size: 38px;
}

.sobre-content h2{
    text-align:left;
    line-height: 1.2;

}

.sobre-content h3{
    font-size: 22px;
}

.sobre-content p{
    font-size: 16px;
    margin: 5px 0 6px ;
    text-align: justify;
}

.servicos h2{
    margin-bottom: 5rem;
    font-size: 50px;
}

 .heading{
     font-size: 30px;
}

 span{
    color: var(--main-color);
 }

.servicos-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.servicos-container .servicos-box{
    flex: 1 1 30rem;
    background: var(--bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 4rem;
    text-align: center;
    border: 1rem solid var(--segund-bg-color);
    transition: .5s ease;
    cursor: pointer;

}

.servicos-container .servicos-box:hover{
    border-color:var(--main-color);
    transform: scale(1.02);
}

.servicos-box i{
    font-size: 40px;
    color: var(--main-color);
}

.servicos-box h3{
    font-size: 20px;
}

.servicos-box p{
    font-size: 12px;
    margin: 1rem 0 3rem;
    text-align: justify;
}

.servicos-box a{
    font-size: 12px;
}



/* ESTILIZAR PORTIFOLIO */

.portifolio{
    background: var(--bg-color);
}

.portifolio h2{
    margin-bottom: 5rem;
}

.portifolio-container{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    align-items: center;
    gap: 2.5rem;

}

.portifolio-container .portifolio-box{
    position: relative;
    border-radius: 2rem;
    box-shadow: 0 0 1rem var(--bg-color);
    overflow: hidden;
    display: flex;
}

.portifolio-box img{
    width: 100%;
    transition: .5s ease;
}

.portifolio-box img:hover{
    transform: scale(1.1);
}

.portifolio-box .portifoliio-layer{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,.1), var(--main-color));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 4rem;
    transform: translateY(100%);
    transition: .5s ease;

}

.portifolio-box:hover .portifoliio-layer{
    transform: translateY(0);
}

.portifoliio-layer h4{
    font-size: 14px;
}

.portifoliio-layer p{
    font-size: 12px;
    color: #000;
    margin: .3rem 0 1rem;
}

.portifoliio-layer a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: var(--text-color);
    border-radius: 50%;
}

.portifoliio-layer a i{
    font-size: 3rem;
    color: var(--segund-bg-color);
}



.contato{
    margin-bottom: 5rem;
}

.contato form{
    max-width: 700px;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}

.contato form .input-box{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contato form .input-box input, .contato form  textarea{
    width: 100%;
    padding: 1.5rem;
    font-size: 16px;
    color: var(--text-color);
    background: var(--segund-bg-color);
    border-radius: .8rem;
    margin: .7rem 0;

}

.contato form .input-box input{
    width: 49%;
}

.contato form  textarea{
    resize: none;
}

.contato form .btn{
    margin-top: 10px;
    cursor: pointer;
}

.footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    margin-top: 35px;
    background: var(--segund-bg-color);
   
   
}

 .footer p{
    font-family: 'Franklin Gothic Medium', sans-serif;
    font-size: 12px;
   
    
}

.footer-iconTop a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--main-color);
    border-radius: .8rem;
    transition: .52 ease;
}

.footer-iconTop a:hover{
    box-shadow: 0 0 1rem var(--main-color);
}

.footer-iconTop a i{
    font-size: 20px;
}


@media screen and (max-width:1200px){
    html{
        font-size: 55%;
       
    }

       .sobre img{
        width: 100%;
    }
}



@media (max-width:991px){
    .header{
        padding: 2rem 3%;
    }

    section{
        padding: 10rem 3% 2rem;
    }
    .sobre img{
        width: 100%;
    }

    .servico{
        padding-bottom: 7rem;
    }

    .portifolio{
        padding-bottom: 7rem;
    }

    .contato{
        min-height: auto;
    }

    .footer{
        padding: 2rem 3%;
    }
}

@media screen and (max-width:768px){

    #menu-icon{
        display: block;
    }


    .navbar{
        position: absolute;
        top:100%;
        left:0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0,0,0,.2);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.2);
        display: none;
    }

    .navbar.active{
        display: block;
    }

    .navbar a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    .home{
       flex-direction: column; 
    }

    .home-content h3{
        font-size: 2.2rem;
    }

    .home-content h1{
        font-size: 3rem;
    }

    .home-content p{
        font-size: 1.5rem;
    }

    .home-img img{
        width: 50vw;
        margin-top: -70px;
      
    }

    .sobre{
        flex-direction: column;
    }

    .sobre img{
        width: 100%;
        
    }

    .txt-h2{
        font-size: 12px;
    }

    .sobre-content h3{
        font-size: 14px;
    }

    .sobre-content p{
        width: 100%;
        font-size: 12px;
    }


    .servico h2{
        margin-bottom: 3rem;
    }

    .portifolio h2{
        margin-bottom: 3rem;
    }

    .portifolio-container{
        grid-template-columns: repeat(2,1fr);
    }

}

@media screen and (max-width:517px){
    .portifolio-container{
        grid-template-columns: 1fr;
    }

     .sobre img{
        width: 100%;
        
    }
}



@media screen and (max-width:430px){
    html{
        font-size: 50%;
    }

    .contato form .input-box input{
        width: 100%;
    }

    .sobre img{
        width: 100%;
        
    }

    .footer{
        flex-direction: column-reverse;
       
    }

   .footer p{
   
    font-size: 1.5rem;
    text-align: center;
    margin-top: 2rem;
    
  }
}

@media screen and (max-width:365px){
    .home-img img{
        width: 90vw;
    }
     .sobre img{
        width: 100%;
        
    }

    .footer{
        flex-direction: column-reverse;
       
    }

   .footer p{
   
    font-size: 1rem;
    text-align: center;
    margin-top: 2rem;
    
  }
}