@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tektur:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-image: url('blur10.png');
    background-size: cover;
}

#container{
    min-height: 100vh;
    min-width: 98vw;
}
/*---MENU mobile---*/
.menu-bar{
    display: none;
}
.menu-bar{
    color: white;
    font-size: 7.5vw;
    margin: 2.5vw;
    background-color: transparent;
    border: none;
}
.menu-mobile{
    display: none;
    height: 90vh;
    min-width: 98.1vw;
    background-color: #6767672c;
}
.menu-mobile ul{
    margin-top: -10vh;
    height: 100vh;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}
.menu-mobile ul li a{
    font-size: 4.5vw;
}
.menu-mobile ul li{
    text-align: center;
}
/*--menu--*/
nav#menu{
    height: 6vh;
    min-width: 98vw;
    text-align: center;
    padding-left: 0vw;
}
nav#menu ul li{
    display: inline-block;    
    list-style-type: none;
    margin-top: 2vh;
    margin-right: 5vw;
}
nav a{
    text-decoration: none;
    color: #ffffff;
    font-size: 1.3vw;
    position: relative;
    font-weight: 100;
}
nav a::after{
    content: "";
    width: 0%;
    height: 2px;
    background-color: #ffffff;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: 0.5s ease-in-out;
}
nav a:hover::after{
    width: 100%;
}

#main{
    min-width: 98vw;
    display: flex;
    height: 93vh;
    flex-direction: column;
}
/*---Head---*/
#head{
    height: 98vh;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    color: white;
    justify-content: space-evenly;

}
.h-header{
    margin-top: 5vh;
    height: 45vh;
    width: 62vw;
    display: flex;
    align-items: center;
    padding-left: 4vw;
    padding-top: 6vh;
   
}
#play{
    width: 10vw;
    margin-bottom: 2.5vh;
}
#text{
    font-family: 'ubuntu';
    text-shadow: 3px 3px 3px #8C2022;
}
.h-header h1{
    display: none;
    margin-left: -1vw;
    font-size: 4.2vw;
    /*animation*/
    border-right: 3px solid;
    width: 16ch;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 1.5s steps(16), blinking 0.5s infinite step-end alternate;
}
@keyframes typing{
    from{
        width: 0;
    }
}
@keyframes blinking{
    50%{
        border-color: transparent;
    }
}
.h-header h2{
    display: none;
    margin-left: 10vw;
    font-size: 1.5vw;
    text-align: end;
}
#h-mid{
    display: flex;
    min-width: 98vw;
    justify-content: center;
    gap: 40px;
    margin-bottom: 2rem;
    margin-top: -2rem;
}
.bt{
    width: 8rem;
    height: 2.8rem;
    font-size: 1.2rem;
    border-radius: 0.3rem;
    color: #e8e8e8e8;
    box-shadow: 1px 1px 3px white;
    border: none;
}
.bt:hover{
    background-color: #e8e8e8e8;
    scale: 1.03;
    transition: background-color 0.2s;
    font-weight: 600;
    cursor: pointer;
}
.git:hover{
    color: rgb(0, 0, 0);
    box-shadow: 1px 1px 5px black;
}
.linked:hover{
    color: rgb(23, 42, 112);
    box-shadow: 1px 1px 5px rgb(23, 42, 112);
}
.bt a{
    text-decoration: none;
    color: #e8e8e8e8;
}
.git{
    background-color: rgba(0, 0, 0, 0.649);
}
.linked{
    background-color: rgba(23, 42, 112, 0.67);
}
#h-bottom{
    margin-top: -1vh;
    height: 50vh;
    width: 58vw;
   
}
#animation{
    width: 18vw;
    margin-top: 1vh;
}
/*-----Sobre mim-----*/
#mid-header{
    min-width: 98vw;
    min-height: 120vh;
    background-image: url("blur02.png");
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}
#container-mid{
    height: 75vh;
    width: 90vw;
    background-color: #3434349d;
    box-shadow: 0px 0px 2px 2px #dca3a4ae;
    border-radius: 0.5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12vh;
}
#Sobremim{
    padding-top: 9vh;
    color: #E8E8E8;
    text-align: center;
}
#Sobremim h2{
    font-size: 2vw;
}
#Sobremim p{
    font-size: 1vw;
    padding-top: 2vh;
    width: 40vw;
}
.vertentes{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5vw;
    font-family: 'Rajdhani', sans-serif;
}
.item{
    width: 12vw;
    height: 29vh;
    border-radius: .2vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all .4s;
    border-bottom: 2px solid #e8e8e8e8;
    color: #ffffffe8;
}
.item h2{
    text-align: center;
    padding-top: 1vw;
    border-bottom: 1px solid #ffffffe8;
    width: 80%;
    margin-bottom: 1vh;
    font-size: 1.4vw;
}
.desenvolvimento h2{
    border-bottom: 1px solid #e8e8e8e8;
}
.item p{
    margin-top: 1vh;
    text-align: center;
    width: 95%;
    font-size: .8vw;
    flex: 1;
}
.soft-skills h2{
    border-bottom: 1px solid rgba(0, 0, 0, 0.91);
    margin-bottom: .7vh;
}
.soft-skills{
    background-color: #f8f8f8;
    color: #000000fb;
    border-bottom: 2px solid #000000e8;
}
.hardware{
    background-color: #9e1e64;
}
.hardware h2{
    margin-bottom: 1vh;
}
.desenvolvimento{
    background-color: #383838;
    color: #ffffffe8;
}
.cloud{
    background-color: #198cce;
}
.blockchain{
    background-color: #fa8638;
}
.item:hover{
    cursor: default;
    scale: 1.23;
    transition: all .4s;
    box-shadow: 0px 0px 10px 1px rgb(221, 221, 221);
}
/*-----mid bottom-----*/
#mid-bottom{
    min-height: 170vh;
    min-width: 98vw;
    background-image: url("blur0.png");
    background-size: cover;
}
#hardSkills{
    border-top: 2px solid #dca3a4ae ;
    border-bottom: 2px solid #dca3a4ae ;
    background-color: #34343474;
    height: 4.8vh;
    min-width: 98vw;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #E8E8E8;
    font-size: 1.2vw;
}
#mid-middle{
    margin-top: 20vh;
    min-width: 98vw;
    min-height: 35vh;
    display: flex;
    justify-content: center;
}
#container-badges{
    height: 40vh;
    width: 90vw;
    background-color: #999a9b0c;
    box-shadow: 0px 0px 2px 2px #dca3a4ae;
    border-radius: 0.5vw;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}
#title-badges{
    color: #E8E8E8;
    text-align: center;
}
#title-badges h2{
    font-size: 1.8vw;
    margin-bottom: 1vh;
}
#title-badges p{
    font-size: 1vw;
    padding-top: 2vh;
    width: 40vw;
}
#conhecimentos{
    min-width: 98vw;
    box-shadow: 0px 0px 3px 3px #dca3a4ae;
    color: #E8E8E8;
    font-size: 1.5vw;
    background-color: #3434349d; 
    font-weight: 600;
    text-shadow: 2px 2px 2px #7c7c7c;
    height: 6vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
#boxes{

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    min-height: 110vh;

}
.box, .secondbox{
    background-color: #3434349d;
    width: 65vw;
    height: 23vh;
    text-align: justify;
    border-radius: 0.3vw;
    box-shadow: 2px 2px 3px 1px #dca3a4ae, 2px 2px 6px 2px #dca3a4ae;
}
.box{
    margin-left: -13vw;
}
.secondbox{
    margin-left: 13vw;
}
.label h3{
   padding-top: 3vh;
   padding-left: 2vw;
   color: #ffffff;
   font-family: 'ubuntu';
   font-size: 1.4vw;
}
#icons{
    display: flex;
    justify-content: space-evenly;
    margin-top: 4vh;
}
.logo{
    display: flex;
    flex-direction: column;
}
.logo small{
    font-weight: 500;
    font-size: 0.8vw;
    color: #ffffff;
    text-align: center;
    margin-top: 0.5vh;
    width: 3.6vw;
    margin-left: -0.3vw;
}
#icons img{
    width:3vw;
    height: 6vh;
    background-color: rgb(255, 255, 255);
    border-radius: 3px;
    border: 1px solid black;
}
.empty{
    width:3vw;
    height: 6vh;
    border: 2px dashed #E8E8E8;
    border-radius: 3px;
    color: #E8E8E8;
    text-align: center;
    font-size: 2.3vw;
}
/*footer*/
footer{
    padding: 1.5vh 2vw;
    min-width: 98vw;
    background-color: #212121;
    color: #E8E8E8;
    display:flex;
    justify-content: space-around;
    box-shadow: -2px -2px 2px 2px #dca3a4ae;
}
#creditos a, #contato a{
    text-decoration: none;
    color: #dca3a4d4
}
#creditos h4, #contato h4{
    text-decoration: none;
    color: #f0f0f0d4;
    font-size: 1.4rem;
}
#creditos p, #contato p{
    text-decoration: none;
    color: #cececed4;
    font-size: 1rem;
}
#contato{
    line-height: 23px;
}
#contato a:hover{
    text-decoration: underline;
}
/*icon retornar ao topo*/

#topo img:hover{
    cursor: pointer;
}
#topo{
    position: fixed;
    bottom: 0.7vw;
    right: 0.7vw;
    animation: MoveUp 2s infinite ;
}

@keyframes MoveUp{
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(1vh);
    }
    100% {
        transform: translateY(0);
    }
}

/*projetos*/

#projetos{
    min-height: 95vh;
    background-image: url("blur02.png");

}
#container-slider{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 95vh;
    margin-top: 10vh;
}
.container-slider{
    width: 80vw;
    min-height: 70vh;
    background-color: #34343462;
    box-shadow: 0px 0px 2px 2px #ecdadbae;
    border-radius: 0.5vw;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
    margin-bottom: 15vh;
}
#header-slider{
    height: 5.9vh;
    width: 20vw;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5vw;
    color: #55a5bb;
    font-family: 'ubuntu';
    border-bottom: 2px solid #7e7e7ee8;
    background-color: #34343400;
    border-radius: 1vw;
}
#header-slider h2{
    font-size: 2.8vw;
}
#mid-legenda h4{
    color: #e8e8e8e8;
    font-size: 1vw;
}
#bottom-slider{
    height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80vw;
}
.carrossel{
    position: relative;
    display: flex;
    width: 68vw;
    height: 45vh;
    overflow-x: auto;
    gap: 1vw;
}
.carrossel img{
    width: 22vw;
    height: 24vh;
    border-radius: 1rem 1rem 0 0;
    border: 2px solid rgb(40, 40, 40);
}
.describe{
    width: 22vw;
    height: 16vh;
    border-radius: 0 0 1rem 1rem;
    background-color: #55a5bb;
    color: #2c2c2ce8;
    text-align: center;
    margin-top: -2vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
    font-family: 'IBM Plex Mono', monospace;
    border: 2px solid rgb(41, 41, 41);

}
.describe p{
    width: 20vw;
    line-height: 2.6vh;
}
.btns{
    display: flex;
    justify-content: space-evenly;
    width: 22vw;
}
.link:hover{
    background-color: #e8e8e8e8;
    color: black;
    font-weight: 600;
    transition: background-color 0.5s;
    cursor: pointer;
}
.link{
    width: 5.3vw;
    height: 3.2vh;
    border-radius: 0.2rem;
    border: none;
    background-color: #212121;
    color: #E8E8E8;
}
.slider{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0.5;
    transition: all 750ms ease-in-out;
}
.on{
    opacity: 1;
}
#prev-bt img, #next-bt img{
    width: 3vw;
    height: 5vh;
    cursor: pointer;
}
#prev-bt, #next-bt{
    border: none;
    background-color: transparent;
}
/* This is from w3schools */
/* 
https://www.w3schools.com/howto/howto_css_hide_scrollbars.asp */
/* Hide scrollbar for Chrome, Safari and Opera */
.carrossel::-webkit-scrollbar {
    display: none;
  }
  .carrolssel {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }
  @media screen and (max-width: 1500px) {
    #icons img{
        height: 6.9vh;
        width: 4vw;
    }
    .empty{
        height: 6.9vh;
        width: 4vw;
    }
    .logo small{
        font-size: 1vw;
        width: 5.2vw;
    }
    .link{
        width: 6.5vw;
        font-size: 1vw;
    }
    .describe{
        height: 19vh;
    }
    .carrossel img{
        height: 26vh;
    }
  }

@media screen and (max-width: 1399px) {
  #container-badges{
    height: 52vh;
}
}

  @media screen and (max-width: 1024px) {
    nav a{
        font-size: 2.1vw;   
    }
    nav#menu ul {
        margin-left: 6vw;
    }
    .h-header h1{
        font-size: 5.5vw;
    }
    .h-header h2{
        font-size: 2.2vw;
    }
    #play{
        width: 14vw;
        margin-left: -5vw;
    }
    #animation{
        margin-top: 3vh;
        width: 27vw;
    }
    #Sobremim h2{
        font-size: 3.6vw;
    }
    #Sobremim p{
        font-size: 1.8vw;
        width: 60vw;
    }
    .item{
        width: 16vw;
    }
    .item h2{
        font-size: 2vw;
    }
    .item p{
        font-size: 1.5vw;
    }
    /**/
    #conhecimentos{
        height: 8vh;
        font-size: 2.5vw;
    }
    .box, .secondbox{
        width: 83vw;
        height: 23vh;
    }
    .label h3{
        font-size: 2.4vw;
    }
    #icons img{
        height: 7vh;
        width: 6.5vw;
    }
    .empty{
        height: 7vh;
        width: 6.5vw;
    }
    .logo small{
        font-size: 1.2vw;
        width: 6vw;
    }
    .link{
        width: 6.5vw;
        font-size: 1.2vw;
    }
    #header-slider h2{
        font-size: 5vw;
    }
    #header-slider{
        width: 35vw;
    }
    .carrossel img{
        height: 18vh;
        border: 2px solid rgb(40, 40, 40);
    }
    .describe{
        height: 14.5vh;
    }
    .describe p{
        font-size: 1.3vw;
    }
    #mid-legenda h4{
        font-size: 2vw;
  }
  #mid-middle{
    display: none;
  }
  #hardSkills{
    font-size: 3vw;
  }
  }

  @media screen and (max-width: 768px) {
    nav a{
        font-size: 2.5vw;   
    }
    .h-header h1{
        font-size: 6.1vw;
    }
    .h-header h2{
        font-size: 2.2vw;
    }
    #play{
        width: 16vw;
        margin-left: -8vw;
    }
    #animation{
        margin-top: 3vh;
        width: 35vw;
    }
    /* sobre */
    #Sobremim h2{
        font-size: 4.2vw;
    }
    #Sobremim p{
        font-size: 2.2vw;
    }
    .item{
        width: 18vw;
    }
    .item h2{
        font-size: 2vw;
        margin-bottom: 0;
    }
    .item p{
        font-size: 1.7vw;
    }
    .label h3{
        font-size: 2.8vw;
    }
    .vertentes{
        gap: 3vw;
    }
    /* icons */
    .box, .secondbox{
        margin-left: 0;
        width: 94vw;
        height: 23vh;
    }
    #icons img{
        height: 5.5vh;
        width: 7vw;
    }
    .empty{
        height: 5.5vh;
        width: 7vw;
    }
    .logo small{
        font-size: 1.7vw;
        width: 6.8vw;
    }
    .rsp{
        display: none;
    }
    /* slider */
    .container-slider{
        width: 95vw;
    }
    #header-slider h2{
        font-size: 6vw;
    }
    #bottom-slider{
        width: 92vw;
    }
    .carrossel{
        width: 85vw;
    }
    .carrossel img{
        width: 39vw;
    }
    .describe{
        width: 39vw;
    }
    #prev-bt img, #next-bt img{
        width: 6.5vw;
        height: 5.5vh;
    }
    .describe p{
        font-size: 1.9vw;
        width: 32vw;
    }
    .describe h3{
        font-size: 2.7vw;
    }
    .link{
        width: 10vw;
        font-size: 1.6vw;
    }
    #creditos h4, #contato h4{
        font-size: 2.6vw;
    }
    #projetos{
        width: 100vw;
    }
    #mid-bottom{
        width: 100vw;
    }
    #mid-header{
        width: 100vw;
    }
    footer{
        width: 100vw;
    }
    #conhecimentos{
        width: 100vw;
        font-size: 2.8vw;
    }
    #mid-legenda h4{
        font-size: 2.5vw;
  }
  #mid-bottom{
    min-height: 110vh;
  }
  #boxes{
    margin-top: 1vh;
  }
  #contato{
    padding-bottom: 2vw;
    justify-content: space-around;
}
  }
  @media screen and (max-width: 600px) {
    .menu-mobile ul{
        height: 105vh;
    }
    .menu-mobile{
        height: 105vh;
    }
    .on{
        display: block;
    }
    .off{
        display: none;
    }
    #menu{
        display: none;
    }
    .menu-bar{
        display: block;
        margin: 5vw;
        font-size: 10vw;
    }
    .h-header{
        width: 70vw;
    }
    .h-header h1{
        font-size: 8vw;
        margin-left: -2vw;
    }
    .h-header h2{
        font-size: 3vw;
    }
    #play{
        width: 19vw;
        margin-left: -16vw;
    }
    #animation{
        margin-top: 3vh;
        width: 40vw;
    }
    /* */
    #container-mid{
        height: 95vh;
    }
    #Sobremim{
        padding-top: 4vh;
        height: 30vh;
    }
    #Sobremim h2{
        font-size: 5vw;
    }
    #Sobremim p{
        font-size: 2.4vw;
        text-align: justify;
    }
    .vertentes{
        flex-wrap: wrap;
        width: 85vw;
        margin-top: -6vh;
    }
    .item{
        width: 32vw;
    }
    .item h2{
        font-size: 3vw;
        margin-bottom: 0;
    }
    .item p{
        font-size: 2.6vw;
    }
    
    /*---*/

    .label h3{
        font-size: 3.2vw;
    }
    .box, .secondbox{
        margin-left: 0;
        width: 94vw;
        height: 23vh;
        box-shadow: 0px 0px 8px 2.5px #dca3a4ae;
    }
    #icons img{
        height: 7vh;
        width: 9.5vw;
    }
    .empty{
        height: 7vh;
        width: 9.5vw;
    }
    .logo small{
        font-size: 2.3vw;
        width: 9.5vw;
    }
    .rsp{
        display: none;
    }

    
    /*---*/

    .container-slider{
        width: 98vw;
    }
    #header-slider h2{
        font-size: 7vw;
    }
    #bottom-slider{
        width: 98vw;
    }
    .carrossel{
        width: 95vw;
        gap: .5vw;
        height: 36vh;
    }
    .carrossel img{
        width: 42vw;
        height: 22.5vh;
    }
    .describe{
        width: 42vw;
        height: 15vh;
    }
    #prev-bt img, #next-bt img{
        width: 6.5vw;
        height: 5.5vh;
    }
    .describe p{
        font-size: 2.1vw;
        width: 35vw;
    }
    .describe h3{
        font-size: 2.7vw;
    }
    .link{
        width: 13vw;
        font-size: 1.8vw;
    }
    .btns{
        width: 35vw;
    }
    #conhecimentos{
        font-size: 3.7vw;
    }
    #creditos h4, #contato h4{
        font-size: 3.2vw;
    }
    #creditos p, #contato p, #creditos a{
        font-size: 2.7vw;
    }
    #mid-legenda h4{
        font-size: 3.5vw;
  }
  }

  @media screen and (max-width: 520px) {
    #conhecimentos{
        font-size: 4.2vw;
    }
    #header-slider h2{
        font-size: 8vw;
    }
    .carrossel{
        width: 80vw;
        gap: .5vw;
        height: 36vh;
    }
    .carrossel img{
        width: 80vw;
        height: 22.5vh;
    }
    .describe{
        width: 80vw;
        height: 15vh;
    }
    #prev-bt img, #next-bt img{
        width: 8.5vw;
        height: 5.5vh;
    }
    .describe p{
        font-size: 3vw;
        width: 70vw;
    }
    .describe h3{
        font-size: 4vw;
        margin-top: 1vh;
    }
    .link{
        width: 19vw;
        font-size: 2.8vw;
    }
    .btns{
        width: 60vw;
    }
    
  }
  @media screen and (max-width: 450px) {
    .menu-mobile ul{
        height: 95vh;
    }
    .h-header{
        margin-top: 1vh;
    }
    #play{
        margin-top: -12.6vh;
    }
    .bt{
        width: 27vw;
        font-size: 1.1rem;
    }
    #animation{
        width: 55vw;
    }
    #Sobremim h2{
        font-size: 6.2vw;
    }
    #Sobremim p{
        font-size: 3.5vw;
        text-align: justify;
        width: 80vw;
    }
    .item{
        width: 38vw;
    }
    .item h2{
        font-size: 4vw;
        margin-bottom: 0;
        padding-top: 1vh;
    }
    .item p{
        font-size: 3.3vw;
    }
    #conhecimentos{
        font-size: 5.3vw;
    }
    .box, .secondbox{
        width: 92vw;
        height: 20vh;
    }
    .label h3{
        font-size: 4.5vw;
    }
    #icons img{
        width: 11vw;
        height: 6vh;
    }
    .empty{
        height: 6vh;
        width: 11vw;
    }
    .logo small{
        font-size: 2.5vw;
        width: 11vw;
    }
    #header-slider h2{
        font-size: 8.5vw;
    }
    #creditos h4, #contato h4{
        font-size: 3.6vw;
    }
    #creditos p, #contato p, #creditos a{
        font-size: 3vw;
    }
    .h-header h1{
        margin-top: -10vh;
    }
    #h-mid{
        margin-top: -18vh;
    }
    #mid-legenda h4{
        font-size: 4.5vw;
    }
    #h-bottom{
        margin-top: -5vh;
    }
  #mid-bottom{
    min-height: 100vh;
  }
  #boxes{
    margin-top: 0;
    height: 80vh;
  }
  #contato{
    justify-content: space-between;
    padding-bottom: 1.8vh;
  }
  #container-mid{
    height: 96vh;
    padding-bottom: 4vh;
}
    #Sobremim{
        height: 35vh;
    }

}
