@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sometype+Mono&display=swap');

html {
    font-size: 16px;
}
body {
    margin: 0;
    box-sizing: border-box;
    padding: 0;
    background: linear-gradient(to bottom, #012907, #000000);
    font-size: 1rem;
}

/*QUADRADOS*/
.ava{
    position: absolute;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ava i{
    position: absolute;
    top: -5vh;
    border-radius: 1vw;
    background: rgba(11, 222, 14, 0.5);
    animation: movesq linear infinite;
}

/*Header*/
header {
    z-index: 999;
    position: absolute;
    display: flex;
    flex-direction: row;
    background-color: #000000;
    width: 100vw;
}

header label, header input{
    margin: 0;
    position: relative;
}

.head {
    display: flex;
    flex-direction: column;
    list-style: none;
    position: absolute;
    justify-content: space-around;
    font-size: 1.5vw;
    padding: 1vw;
    margin-left: 2vw;
    margin-top: 60%;
}

.head a{
    color: #fff;
    font-weight: bolder;
    text-align: center;
    margin-top: 15%;
    text-decoration: none;
}

.control2{
    display: flex;
    flex-direction: column;
}


nav{
    display: none;
    justify-content: space-between;
}
nav .logo {
    width: 60%;
    margin-left: 20%;
    margin-top: 225%;
    position: absolute;
}

.menu{
    width: 5vw;
    height: 5vw;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    position: absolute;
    margin-top: 2vw;
    margin-left: 2vw;
    transition: 0.5s ease-in-out;
}
.menu:hover{
    transform: scale(1.1);
}
.hamburguer{
    display: block;
    background-color: #000;
    width: 2vw;
    position: relative;
    height: 0.2vw;
    top: 2.2vw;
    left: 1.5vw;
    transition: 0.5s ease-in-out;
}

.hamburguer:before,
.hamburguer:after {
    background-color: #000;
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    transition: 0.5s ease-in-out;
}

.hamburguer:before{
    top: -1vw;
}

.hamburguer:after{
    bottom: -1vw;
}

.menu-hamburguer {
    display: none;
}

#options:checked ~ label .hamburguer{
    transform: rotate(45deg);
}

#options:checked ~ label .hamburguer:before {
    transform: rotate(90deg);
    top: 0;
}

#options:checked ~ label .hamburguer:after {
    transform: rotate(90deg);
    bottom: 0;
}

.menu-hamburguer ,.menu-hamburguer ~ label{
    position: absolute;
}

/*HOME AGORA*/

#home{
    height: 100vh;
    background-size: cover;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#home {
    display: flex;
    flex-direction: row;
    color: #fff;
    position: relative;
    filter: brightness(0.9);
}
.edit{
    width: 30vw;
}

.first-home{
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;  
}
.second-home {
    position: relative;
    width: 50%;
}
.second-home h1{
    
    font-size: 2vw;
}
.second-home p{
    font-size: 1.5vw;
}
.perfil {
    width: 15vw;
    border-radius: 50%;
    border: 0.5vw solid #000000;
}

.btn:link,
.btn:visited {
    text-transform: uppercase;
    text-decoration: none;
    padding: 2vh 3vh;
    display: inline-block;
    border-radius: 10vw;
    transition: all .2s;
    position: absolute;
}

.btn:hover {
    transform: translateY(-0.2vw);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.btn-white {
    background-color: #06ee29;
    color: #000000;
    font-family: 'Sometype Mono';
    font-size: 2vh;
    box-shadow: 5px 10px 30px #06ee29;
    text-shadow: 0.2vh 0.1vh rgba(0, 0, 0, 0.338);
    font-weight: bold;
}

.btn::after {
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
    border-radius: 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all .4s;
}

.btn-white::after {
    background-color: #ffffff;
}

.btn:hover::after {
    transform: scaleX(1.4) scaleY(1.6);
    opacity: 0;
}

.btn-animated {
    animation: moveInBottom 5s ease-out;
    animation-fill-mode: backwards;
}

@keyframes moveInBottom {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.anim{
    font-size: 2em;
    width: 0%;
    color: rgb(238, 241, 239);
    margin-left: 0;
    font-family: 'Special Elite';
    white-space: nowrap;
    overflow: hidden;
    border-right: 5px solid rgba(255, 255, 255, 0.75);
}

.typing-border {
   animation: blinkCursor 500ms steps(50) infinite normal, typing 5s steps(100) 2s infinite alternate;  
}

.typing-border2{
    animation: blinkCursor 500ms steps(50) infinite normal, typing2 5s steps(100) 7s infinite alternate;
}

/*about*/

#about {
    height: 100vh;
    position: relative;
}
.container1 {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hist{
    position: relative;
    background-color: #06ee29;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 50%;
    border-radius: 5%;
    box-shadow: 5rem 4rem 2rem green;
    padding: 3vw;
}

.hist p {
    text-shadow: 2px 2px rgba(0, 0, 0, 0.131);
    margin: 0;
    font-family: 'Sometype Mono';
    padding: 0;
    box-sizing: border-box;
    font-weight: bolder;
    color: #000000;
}

.expl {
    font-size: 2vw;
    line-height: 3vw;
}

/*Projects*/

#projects{
    height: 100vh;
}
.shape{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;
}
.cc{
    display: none;
}
.container-carrousel{
    position: relative;
    padding: 0;
    background-color: #06ee29d1;
    width: 40vw;
    height: 68vh;
    margin: 0 auto;
    border-radius: 5vw;
    box-shadow: 15px 15px 15px #06ee29;
}
.gallery-wrapper{
    width: 40vw;
    overflow-x: auto;
    display: flex;
    flex-direction: column;
}
.gallery-wrapper::-webkit-scrollbar{
    display: none;
}

.gallery{
    display: flex;
    flex-direction: row nowrap;
    gap: 25px;
    margin: 0 auto;
}
.gallery img{
    margin-bottom: 2vh;
    margin-left: 2.5vw;
}

.details{
    display: flex;
    justify-content: center;
    height: 14.5vw;
    padding: 0;
    margin: 0 auto;
    width: 40vw;
}

.tech, .explain {
    color: #000000;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    align-items: center;
    width: 20vw;
    font-family: 'Sometype Mono';
    font-weight: bolder;
}
.tech h3, .explain h3 {
    border-bottom: 0.3vw solid black;
    color: #000000;
    display: flex;
    padding: 0;
    margin-top: 0;
    flex-direction: column;
    font-size: 2vh;
    align-items: center;
}
.explain p, .tech span{
    font-size: 1.7vh;
    text-align: center;
    margin-left: 2vw;
}
.arrow-left,
.arrow-right {
    position: absolute;
    top: 5vw;
    left: 0;
    right: auto;
    height: 10vw;
    font-size: 2vw;
    width: 2vw;
    text-align: center;
    color: #ffffff;
    border-radius: 1vh;
    cursor: pointer;
    border: none;
    opacity: 0.5;
    padding: 0;
    transition: all 600ms ease-in-out;
    background: #000;
}
.arrow-right{
    background: linear-gradient(to right black 0%, transparent 200%);
    left: auto;
    right: 0;
}

.arrow-right:hover,
.arrow-left:hover{
    color: #fff;
    opacity: 1;
}

.item{
    width: 35vw;
    height: 40vh;
    flex-shrink: 0;
    opacity: 0.6;
    transition:  all 600ms ease-in-out;
    margin: 2vw 4vh;
    border-radius: 1.2vw;
}

.current-item{
    opacity: 1;
}

/*Skills*/
#skills{
    height: 100vh;
}

.container3 {
    display: flex;
    flex-direction: column;
    height: 100vh;
    font-family: 'Sometype mono';
}

.container3 div{
    justify-content: center;
    align-items: center;
    margin-left: 2vw;
    margin-bottom: 0;
    display: flex;
    flex-direction: row;
    height: 40vh;
}

.card-tech div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    font-weight: bold;

    align-items: center;
    height: 35vh;
    background-color: #06ee29;
    margin-top: 0;
    border-radius: 10%;
    margin-bottom: 0;
    padding: 0;
    width: 13vw;
    box-shadow: inset #0000007a 1vh 1vh 5vh;
}

i{
    font-size: 8vw;
    color: #000;
}

.back, .front {
    color: #fff;
    text-align: center;
    font-size: 2vw;
    margin-top: 0;
}

.front{
    margin-bottom: 0;
    margin-top: 2vh;
}

.card-tech{
    margin: 0;
}
.card-tech span{
    font-size: 1.7vw;
    color: #000;
    text-shadow: #0000004c 0.3vw 0.3vw;
    margin-top: 2vh;
    
}

.tag {
    width: 9rem;
}

/*contacts*/
#contacts {
    height: 100vh;
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    width: 100vw;
    position: relative;
    background: linear-gradient(to left, #012907 0%, #000000 50%);
}

#contacts div{
    width: 50%;  
}

.rocket-div{
    position: relative;
    width: 100%;
    height: 100%;
    
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rocket-div i{
    position: absolute;
    top: -5vh;
    background: rgba(255, 255, 255, 0.5);
    animation: animateStars linear infinite;
}

.rocket{
    position: relative;
    animation:  ROKETO 0.2s ease infinite;
}
.rocket:before{
    content: '';
    position: absolute;
    bottom: -10.5vw;
    left: 9.3vw;
    transform: translateX(-50%);
    width: 3vw;
    border-top-right-radius: 1vw;
    border-top-left-radius: 1vw;
    height: 22vh;
    background: linear-gradient(#06ee29, transparent);
}
.rocket:after{
    content: '';
    position: absolute;
    bottom: -10.5vw;
    left: 9.3vw;
    transform: translateX(-50%);
    width: 4vw;
    height: 21vh;
    background: linear-gradient(#06ee29, transparent);
    filter: blur(1vw);
}

.rocket-img{
    width: 15vw;
    text-shadow: 10px 10px white;
    margin-left: 2vw;
    padding: 0;
}

.form-content{
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.form{
    background-color: #048217;
    box-shadow: 1vh 1vh 1vh #06ee29;
    height: 75vh;
    border-radius: 1vh;
}
form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 70vh;
    margin-top: 2.5vh;
    box-sizing: border-box;
}

/*Inputs and text area*/
label{
    font-family: 'Sometype mono';
    font-size: 2vw;
    
    font-weight: bolder;
}
#msg{
    height: 20vh;
    width: 20vw;
    margin: 1.5vh;
    border-radius: 1vw;
    text-align: center;
    padding: 1vw;
}
input{
    margin: 1vw;
    border-radius: 1vw;
    height: 5vh;
    width: 20vw;
    font-size: 1.9vh;
    font-weight: bolder;
    padding: 0.7vw;
    border: none;
}

.button{
    background-color: #06ee29;
    box-shadow: 0.2vw 0.2vw 1vw rgba(0, 0, 0, 0.491);
    width: 10vw;
    position: relative;
    height: 10vh;
    font-weight: bold;
    font-family: 'Sometype mono';
    font-size: 1.5vw;
    border-radius: 2vh;
}


/*Icones*/
.cont-inf{
    position: absolute;
    bottom: 0;
    width: 15vw;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    
    gap: 0.3vw;
    padding: 0;
}
.cont-inf img{
    width: 3vw;
    margin: 0;
    padding: 0;
}

footer p{
    margin: 0;
    padding: 0;
}
/*animações*/
@keyframes blinkCursor{
    from {
        border-right-color: rgba(255, 255, 255, 0.75);
    }
    to {
        border-right-color: transparent;
    }
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 25vw;
    }
}
@keyframes typing2 {
    from {
        width: 0;
    }
    to {
        width: 17vw;
    }
}

@keyframes ROKETO{
    0%,100% {
        transform:  translateY(-15px);
    }
    50%{
        transform:  translateY(15px);
    }
}

@keyframes animateStars {
    0%{
        transform: translateY(0);
    }
    0%{
        transform: translateY(200vh);
    }
}

@keyframes movesq {
    0%{
        transform: translateY(0);
        rotate: 45deg;
        
    }
    20%{
        transform: translateY(200vh);
        rotate: 80deg;
    }
    40%{
        transform: translateY(200vh);
        rotate: 60deg;
    }
    40%{
        transform: translateY(200vh);
       
    }
    60%{
        transform: translateY(200vh);
        
    }
    100%{
        transform: translateY(200vh);
        
    }
}