body{
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: #111111;
}

textarea{
    font-family: "Poppins", sans-serif;
    font-style: normal;
    background-color: #111111;
}

a{
    text-decoration: none;
}

li{
    list-style-type: none;
}

header{
    background-color: #2C2C2C  ;
    color: #fff;
    padding: 20px 80px 40px 80px;
    height: 350px;
    padding-bottom: 100px;
}

.nav-bar{
    display: flex;
    justify-content: end;
    padding: 1.5rem 6rem;
    background-color: #1b1b1b52;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 30px;
    z-index: 2;
}

.nav-list{
    display: flex;
    align-items: center;
}

.nav-list ul{
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
}

.nav-link{
    font-size: 1.15rem;
    font-weight: 400;
}

.nav-link a{
    color: #f4f4f4;
}

.nav-item{
    margin: 0 15px;

}

/* Teste menu responsivo */

.mobile-menu{
    display: none;
}

.menu-mobile-icon{
    display: none;
}

/* ------------------------ */

#image-perfil img{
    border-radius: 50%;
    object-fit: cover;
    width: 200px;
    position: relative;
    animation: flutuar 2s ease-in-out infinite alternate;
}

#headerImg{
    display: flex;
    align-items: center;
    gap: 80px;
    margin-top: 100px;
}

#header{
    background-image: linear-gradient(to right, #262626, #000000);
}

#cv{
    background-color: #A020F0;
    color: #ffffff;
    width: 125px;
    height: 45px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    padding-left: 15px;
}

#cv:hover {
    box-shadow: 2px 2px 7px 1px #6c2e6a85;
}

#texto1 a{
    text-decoration: none;
}

#contato {
    background-color: #A020F0;
    color: #ffffff;
    width: 100px;
    height: 35px;
    text-align: center;
    padding-top: 8px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
}

#contato:hover {
    box-shadow: 2px 2px 7px 1px #6c2e6a85;
}

.msg{
    color: #A020F0;
    border-right: 10px solid #f4f4f4;
    white-space: nowrap;

    overflow: hidden;
    width: 475px;
    animation: mark 1s step-end infinite, write 5s steps(22, end) infinite;
}

@keyframes mark {
    50%{
        border-right-color: transparent;
    }
}

@keyframes write{
    20%{
        width: 475px;
    }    
    70%{
        width: 475px;
    }  
    0%{
        width: 0;
    }  
    100%{
        width: 0;
    }  
}

html{
    scroll-behavior: smooth;
}

#wrepper{
    width: 100%;
}

#image{
    position: relative;
}

#content{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #f4f4f4;
}

#content h1{
    font-size: 60px;
    margin-bottom: -15px;
}

img{
    width: 100%;
    display: block;
    margin: auto;
}   

section {
    padding: 20px;
}

section#sobre {
    background-color: #f4f4f4;
}

#sobre{
    padding: 100px 80px 100px 80px;
    display: flex;
    align-items: center;
    flex-direction: column;
    background-image: linear-gradient(to top, #262626, #000000);

}

#sobre h1{
    color: #9c9c9c;
}

#info{
    display: flex;
    gap: 30px;
}

#sobreMim{
    color: #474a51;
}

#info span{
    color: #9c9c9c;
}

#infoContato{
    color: #9c9c9c;
}

#barra{
    background-color: #474a51;
    width: 250px;
    height: 1px;
}

.social-rede{
    display: flex;
    gap: 10px;
    margin-top: 10px;
    margin-left: 20px;
}

.social-rede img{
    width: 35px;
}

#cardsContainer{
    background-color: #111111;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cardsInterno{
    display: flex; 
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 80px;
}

#cardsContainer h1{
    color: #f4f4f4;
    margin-bottom: 60px;
}

#card{
    position: relative;
    background-color: #5555558a;
    width: 250px;
    height: 200px;
    overflow: hidden;
    color: #f4f4f4;
    padding: 50px 20px 20px 20px;
}

#card img{
    width: 90px;
}

#card h3{
    font-size: 30px;
}

#card span:first-of-type{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, #A020F0);
    animation: animar1 2s linear infinite;
}

@keyframes animar1 {
    0%{
        transform: translateX(-100%);
    }   
    100%{
        transform: translateX(100%);
    }
}

#card span:nth-of-type(2){
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #A020F0);
    animation: animar2 2s linear infinite;
    animation-delay: 1s;
}

@keyframes animar2 {
    0%{
        transform: translateY(-100%);
    }   
    100%{
        transform: translateY(100%);
    }
}

#card span:nth-of-type(3){
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to left, transparent, #A020F0);
    animation: animar3 2s linear infinite;
}

@keyframes animar3 {
    0%{
        transform: translateX(100%);
    }   
    100%{
        transform: translateX(-100%);
    }
}

#card span:last-of-type{
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to top, transparent, #A020F0);
    animation: animar4 2s linear infinite;
    animation-delay: 1s;
}

@keyframes animar4 {
    0%{
        transform: translateY(100%);
    }   
    100%{
        transform: translateY(-100%);
    }
}

.projetos{
    background-color: #111111;
}


section#projetos .projeto{
    margin-bottom: 20px;
}

.slider{
    background-color: #5555558a;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.slider h1{
    color: #f4f4f4;
    font-size: 30px;
    margin-top: 50px;
    margin-bottom: 30px;
}

section.slider{
    margin: 0 auto;
    width: 100%;
    height: 800px;
    padding: 0 !important;
    overflow: hidden;
}

.slider-content{
    width: 400%;
    height: auto;
    display: flex;
}

.slider-content input{
    display: none;
} 

.slide-box{
    width: 25%;
    height: 200px;
    position: relative;
    text-align: center;
    transition: 1s;
}

.slide-box img{
    max-width: 1000px;
}

.nav-manual, .nav-auto {
    margin-bottom: 50px;
    width: 100%;
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.nav-manual .manual-btn{
    position: relative;
    margin-top: 270px;
    border: 1px solid #A020F0;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.5s;
}

.nav-manual .manual-btn:not(:last-child), .nav-auto div:not(:last-child){
    margin-right: 10px;
}

.nav-manual .manual-btn:hover{
    background-color: #A020F0;
}

#radio1:checked ~  .primeiro{
    margin-left: 0%;
}

#radio2:checked ~ .primeiro{
    margin-left: -25%;
}

#radio3:checked ~ .primeiro{
    margin-left: -25%;
}

#radio4:checked ~ .primeiro{
    margin-left: -50%;
} 

#radio1:checked ~ .nav-auto .auto-btn1{
    background-color: #A020F0;
}

#formContato{
    background-color: #111111;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 200px;
    padding-bottom: 120px;
}

#form-contato input, textarea{
    border: none;
    outline: none; 
}

#formContato h2, label{
    color: #f4f4f4;
}

form{
    display: flex;
    flex-direction: column;
    margin-bottom: 60px;
    background-color: #ffffff18;
    width:400px;
    padding: 20px;
}

form label {
    margin-top: 10px;
}

form input, form textarea{
    padding: 10px;
    margin-top: 5px;
    background-color: #686868ab;
    color: #f4f4f4;
}

.containerMdg {
    text-align: center;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.thank-you-message h1 {
    font-size: 2.5rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

#next{
    display: none;
}

#enviar{
    background-color: #A020F0;
}



form button{
    margin-top: 10px;
    padding: 10px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}

form button:hover{
    background-color: #555;
}

footer {
    background-color: #111111;
    color: #fff;
    width: 100%;
    position: fixed;
    bottom: 0;
    display: flex;
    justify-content: center;
}

@keyframes flutuar {
    0%{
        top: 0px;
    }
    100%{
        top: 30px;
    }
}

@media(max-width: 900px){
    section.slider{
        height: 700px;
    }    
    .nav-manual .manual-btn{
        margin-top:150px;
    } 

    #info{
        display: flex;
        flex-direction: column;
    }

    #info h1{
        font-size: 15px;
    }

    #headerImg{
        display: flex;
        flex-direction: column;
        margin-top: 80px;
        margin-bottom: 30px;
        gap: 25px;
    }

    #headerImg img{
        width: 100px;
        position: relative;
        right: 40px;
    }

    #texto1{
        margin-top: 0px;
        margin-left: 20px;
        width: 300px;

    }

    #texto1 h1{
        font-size: 15px;
    }

    #texto1 p{
        font-size: 13px;
    }

    .msg{
        font-size: 12px;
    }

    #content h1{
        font-size: 30px;
        margin-bottom: -15px;
    }
    #content p{
        font-size: 12px;
     
    }
    @keyframes write{
        20%{
            width: 235px;
        }    
        70%{
            width: 235px;
        }  
        0%{
            width: 0;
        }  
        100%{
            width: 0;
        }  
    }

    .nav-list{
        display: none;
    }

    .nav-links ul{
        display: flex;
    }

    .menu-mobile-icon{
        display: block;
    }

    .menu-mobile-icon img{
        width: 25px;
        position: relative;
        left: 40px;
    }

    .menu-mobile-icon button{
        background-color: transparent;
        border: none;
        cursor: pointer;
    }

    .mobile-menu ul{
        background-color: #111111;
        width: 100%;
        position: fixed;
        top: 60px;
        right: 0px;
        z-index: 1;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .mobile-menu ul li:hover{
        background-color: #474a5144;
    }

    .mobile-menu ul li{
        text-align: center;
        height: 40px;
        padding-top: 10px;
    }

    .open{
        display: block;
    }
}

@media(max-width: 750px){
    section.slider{
        height: 600px;
    }    
    .nav-manual .manual-btn{
        margin-top:50px;
    } 
}

@media(max-width: 550px){
    section.slider{
        height: 500px;
    }    
    .nav-manual .manual-btn{
        margin-top:0px;
    } 
    form{
        display: flex;
        flex-direction: column;
        margin-bottom: 60px;
        background-color: #ffffff18;
        width:300px;
        padding: 20px;
    }
    #success{
        font-size: 17px;
    }
}

#loading {
    color: #fff;
    margin-top: 10px;
    position:  fixed;
    z-index: 2000;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #0e0d0dc5;
    width: 100%;
    height: 100%;
    justify-content: center;
    font-size: 20px; 
}

#success {
    color: #fff;
    height: 60px;  
    background-color: transparent;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.fade-out {
    opacity: 0;
    transition: opacity 1s ease; /* duração de 1 segundo */
}

.hidden {
    display: none;
}

#error {
    display: none;
    color: red;
    margin-top: 10px;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

.enviando{
    width:60px;
    height: 60px;  
    background-color: transparent;
    align-items: center;
    justify-content: center;
    border: 12px solid #A020F0;
    border-radius: 50%;
    border-right: 12px solid transparent;

    animation: loading 1s ease-in-out infinite; 
}

@keyframes loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}