body {
    margin: 0;
    padding: 0;
    z-index: 1;
    color: white;
    text-shadow: black 0px 0px 5px;
    background: black;

}

header {
    width: 100%;
    background: rgba(196, 196, 196, 0.11);
    backdrop-filter: blur(3px);
    position: fixed;
    top: 0;
    z-index: 1;
    border-bottom: solid 1px rgba(255, 255, 255, 0.452);
}

header>nav {
    margin-top: 8px;
}

header>nav>ul {
    display: flex;
    flex-direction: row;
    justify-content: end;
}


header>nav>ul>li {
    list-style-type: none;
    padding: 12px;
    transition: .4s;
}

header>nav>ul>li:hover {
    scale: 1.1;
}

header>nav>ul>li>a {
    text-decoration: none;
    color: white;
}

img#avatar {
    position: relative;
    height: 750px;
    margin-top: -10%;
    margin-left: -19%;
}

.in-btn {
    position: absolute;
    margin-top: 30%;
    display: flex;
    left: 16%;
}

.profile-in {
    position: absolute;
    display: flex;
    margin-top: 14%;
    width: 12%;

}

#profile {
    border-radius: 270px;
    width: 210px;
    margin-left: 900px;
    transform: translateX(0px);
    animation: mexer 5s ease-out infinite;
}

@keyframes mexer {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(30px);
    }

    100% {
        transform: translateY(0);
    }
}

.all-projects {
    margin-top: 8%;
    display: flex;
    justify-content: center;
    justify-content: space-evenly;
    width: 95%;
    margin-left: 1%;
    gap: 12px;
}

button.gitrep {
    position: absolute;
    display: flex;
    justify-content: center;
    width: 468px;
    padding: 7px;
    border-radius: 30px;
    margin-top: 21%;
    font-size: 16px;
}

button.gitrep:hover {
    text-decoration: underline;
}



.active {
    display: flex;
}

.projetos {
    margin-top: 17%;
}

.text-project {
    margin-top: 11%;
    font-size: 50px;
    text-align: center;
}

/*.habilidades-all {
    display: flex;
}*/

div.box>img {
    margin-left: 22px;
    width: 95%;
    border-radius: 20px;
    border-width: 5px;
    border-style: inset;
    border-color: rgba(17, 5, 17, 0.315);
    box-shadow: #000 4px 2px 10px;
    transition: .4s;
    filter: gray;

}

div.box {
    filter: grayscale(1);
    -webkit-filter: grayscale(0.7);
    filter: blur(1px);
}

div.box:hover {
    filter: none;
    filter: blur(0px);
}

a {
    text-decoration: none;
    color: black;
}

div.box>#vermais-prjt {
    font-size: 13px;
    position: absolute;
    top: 75%;
    left: 44.6%;
    border-radius: 12px;
    padding: 4px;
}

.habilidades-all {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between; 
    align-items: center; 
    text-align: end; 
  }
  
  .hab-text {
    font-size: 30px;
    position: absolute;
    top: -16%;
    left: 10%;
    font-size: 35px;
    padding-left: 18px;
    padding-top: 78px;
  }

  .habs{
    position: absolute;
    left: 28%;
    top: -23%;
    padding-left: 18px;
  }
  
  .habs img {
  
    max-width: 100%;
    width: 220px; 
    height: auto; 
    border-radius: 25px;
    margin: 10px; 
    transform: translateX(0px);
    animation: mexer 5s ease-out infinite;
  }
  
  div#text_habilidade {
    position: absolute;
    width: 100%;
    left: 2%;
    max-width: 500px;
    margin-top: 4%;
    padding-left: 18px;
  }
  
  div#text_habilidade p {
    font-size: 28px;
    text-justify:inter-ideograph;
  }
footer {
    position: absolute;
    margin-top: 84%;
    width: 99.5vw;
    color: white;
}

.footer-link {
    text-decoration: none;
}

#conteudo-footer {
    background: #352728;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem 3.5rem;
}

#contact h1 {
    margin-bottom: 0.75rem;
}

#redes {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

#redes .footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    width: 2.5rem;
    color: white;
    border-radius: 50%;
    transition: all .5s;
}

#redes .footer-link i {
    font-size: 1.35rem;
}

#redes .footer-link:hover {
    opacity: .8;
    scale: 1.1;
}

#linkedin {
    background: linear-gradient(rgb(72, 72, 243), rgb(121, 94, 240), rgb(120, 120, 240));
}

#github {
    background-color: #46484d;
}

#instagram {
    background: linear-gradient(#7f37c9, #ff2992, #ff9807);
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
}

.footer-list .footer-link {
    color: white;
    transition: all 0.4s;
}

.footer-list .footer-link:hover {
    color: #7f37c9;
}

#input_group button:hover {
    opacity: 0.8;
}

#footer_copyright {
    display: flex;
    justify-content: center;
    background: #191919;
    font-size: 0.9rem;
    padding: 1.5rem;
    font-weight: 100;
}

@media screen and (max-width: 1024px){
    .in-btn{
        top: 13%;
        left: 4%;
    }

    h2.text{
        margin-top: -11%;
    margin-left: -11%;     
    }

    .profile-in{
        margin-left: -25%;
    }

    div.sobre{
        margin-left: -21%;
    }

    #sobree{
        width: 90%;
    }

    div.habs{
        display: grid;
        grid-template-columns: 200px 1fr;
        top: -17%;
        left: 42%;
    }

    #text_habilidade{
        top: -5%;
    }

}



@media screen and (max-width: 768px) {
    #footer_content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .habs{
        left: -15%;
        top: 16%;
        display: grid;
        grid-template-columns: 200px 1fr;
    }

    footer {
        margin-top: 83.6%;
    }

    div.sobre{
        left: -34%;
    }

    div.text-sobre{
        margin-left: 30%;
        width: 32%;
    }

    div.box>#vermais-prjt {
        margin-top: -3.5%;

    }

    button.gitrep {
        margin-left: 7.7%;
    }

    .in-btn {
        margin-top: 63%;
        margin-left: -13%;
    }

    h2.text {
        margin-top: -10%;
        margin-left: -11%;

    }

    .profile-in{
        margin-left: -55%;
        margin-top: 27%;
    }
    
    .all-projects{
        display: flex;
        flex-direction: row;
    }


}

@media screen and (max-width: 426px) {
    .bg1 {
       background: #221d1d; 
    }

    header{
        height: 70px;
    }

    header>nav>ul{
        margin-top: 0;
        position: absolute;
        margin-left: -18px;
    }

    h2.text{
        width: 100%;
        left: 10%;
    }

    .in-btn{
        margin-top: 52%;
    }
    
    #footer_content {
        grid-template-columns: repeat(1, 1fr);
        padding: 3rem 2rem;
    }

    span.animated {
        font-size: 10px;
    }

    .profile-in{
        display: none;
    }   

    #avatar{
        display: none;
    }

    div.sobre{
        left: 12%;
    }

    .text-sobre{
        width: 20%;
    }
    #sobree{
        width: 386px;
    }

    .gitrep{
        top: 23%;
        left: 26%;
    }



    footer{
        margin-top: 113%;
    }

    div.habs{
        top: 23%;
        left: -25%;
    }

}

/* Estilos para telas pequenas */

@media screen and (max-width: 601px) {

    div.box {
        filter: grayscale(0);
        -webkit-filter: grayscale(0);
        filter: blur(0px);
    }

    .in-btn{
        top: 20%;
    }

    h2.text{
        margin-left: -7%;
    }

    h2 > span.animated{
        font-size: 60px
    }

    .all-projects {
        flex-wrap: wrap;
    }

    div.box>#vermais-prjt {
        margin-top: -6%;
        font-size: 10px;
        width: 75px;
    }


    .all-projects .box {
        width: 45%;
        margin: 10px;
    }

    button.gitrep {
        padding: 4px;
        width: 40%;
        margin-top: 64%;
        font-size: 12px;
    }


    .all-projects2 {
        top: 60%;
    }

    .text-project {
        font-size: 30px;
    }

    div.box>img {
        max-width: 100%;
        border-radius: 0;
    }

    .profile-in{
        position: absolute;
        left: -42%;
        top: 10%;
    }

    #profile{
        width: 228%;
    }

    footer{
        top: 22%;
    }

    .sobre{
        margin-left:-10%;
    }

    .text-sobre > p{
        width: 62.2%;
    }

}





button {
    cursor: pointer;
    transition: .3s;
}

button:hover {
    letter-spacing: 1.6px;
}

#btn-github {
    position: absolute;
    border-radius: 10px;
    padding: 9px;
    width: 180px;
    font-size: 19px;
    background: burlywood;
}

#btn-linkedin {
    position: absolute;
    border-radius: 10px;
    left: 202px;
    padding: 9px;
    width: 180px;
    font-size: 19px;
    background: burlywood;
}


.text-sobre {
    margin-top: -16%;
    margin-left: 38%;
}

div.habs {
    position: absolute;
    margin-top: 10%;
    margin-left: 12%;
    width: 43%;
}

div.habs>img.hab {
    margin: 10px;
    max-width: 250px;
    border-radius: 10px;
    aspect-ratio: 4/3;
    object-fit: contain;
    mix-blend-mode: color-burn;
}

.wrapper {
    height: 100vh;
    overflow-x: hidden;
    perspective: 2px;
    transform-style: preserve-3d;
}



.section {

    position: relative;
    height: 100vh;
    min-height: 984px;
    transform-style: inherit;
}

.section::before {
    content: " ";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: -4px;
    z-index: -2;
    background-repeat: no-repeat;
    transform: translateZ(-1px) scale(1.5);
}

.text {
    position: absolute;
    top: 20%;
    padding: 20px 0;
    left: 16%;
    color: white;
    text-shadow: 0 0 5px #000;
    font-size: 28px;
    text-align: start;
    width: 30%;
}

div.sobre {
    position: absolute;
    top: -7%;
}

.text-sobre {
    position: absolute;
    top: 45%;
    width: 45%;
    padding: 20px 0;
    left: 13%;
    color: white;
    text-shadow: 0 0 5px #000;
    font-size: 25px;
    text-align: start;
}

.text>span {
    font-size: 70px;
}

.bg1::before {
    background: linear-gradient(63.13deg, #352728 54.24%, #8E5D52 51.05%);
}

.bg2 {
    margin-top: 6%;
    min-height: 990px;
}

.bg2::before {
    background: #443535;

}

.bg3::before {
    background: #382b2b;
}

.bg4::before {
    background: #2f3232;
}