@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --cor1: #000000;
    --cor2: #0f0f0fee;
    --cor3: #030117;
    --cor4: #5CE1E6;
    --cor5: #464444;
    --cor6: #f0f8ff;

    --font-titulos: "Nunito", sans-serif;
    --font2: Verdana, Geneva, Tahoma, sans-serif;
    --font3: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-padrao: Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    transition-duration: 0.5s;
    background-color: var(--cor2);
    color: #ffffffc0;
    font-family: var(--font-padrao);
}

#abrirMenu {
    color: #7ff2f6;
}

.logo-menu {
    width: 100%;
    height: 20vh;
    background: url('../logos-joaodev/logo-joaodev.png') center no-repeat;
    background-size: cover;
}

div#painel {
    display: grid;
    grid-template-columns: 1fr 6fr;
    background-color: black;
}

.recepcao {
    width: 100%;
    text-align: center;
}
.recepcao h1 {
    font-family: var(--font-titulos);
}

.recepcao p {
    font-family: var(--font-padrao);
    font-style: italic;
    color: var(--cor4);
}

.recepcao button {
    padding: 10px 15px;
    border-radius: 5px;
    margin-top: 20px;
    background-color: var(--cor1);
    color: white;
    border: 1px solid var(--cor4);
    transition-duration: 0.9s;
}

.recepcao button:hover {
    background-color: white;
    color: black;
    transform: scale(1.1);
}

div#logo {
    width: 100%;
    height: 80vh;
    background-color: black;
    
}

div#logo img {
    height: 40vh;
    text-align: center;
}

.imagem-fundo {
    background: url('../imagens/papel-de-parede.jpg') center no-repeat;
    background-size: cover;
    width: 100%;
    height: 100vh;
    background-color: rgb(0, 0, 0);
}

div#papel-parede img {
    width: 100%;
    height: 80vh;
}

div#txt-papel-parede {
    position: absolute;
    top: 12%;
    margin-left: 5%;
    color: black;
    font-family: var(--font-titulos);
    font-size: 25px;
    width: 350px;
    font-weight: 1000;
    letter-spacing: 1px; /* Define 2px de espaçamento entre as letras (-1) para diminuir */
    text-align: justify; /* Alinha o texto para ocupar todo o espaço horizontal */
}

div#txt-papel-parede span {
    font-size: 35px;
    color: transparent; /* Torna o texto transparente para exibir o gradiente */
    background: linear-gradient(to right, var(--cor1), var(--cor2), #4dbdc1, #63f8fd);
    -webkit-background-clip: text; /* Para navegadores baseados em WebKit (Chrome, Safari) */
    background-clip: text; /* Para outros navegadores */
    background-size: 300%;
    animation: gradiente 4s infinite;
}

.conteiner {
    display: flex;
}

nav {
    background-color: black;
    border-radius: 5px;
    border: 1px solid var(--cor4);
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    text-align: center;
    width: 0;
    height: 0;
    transition: width 0.6s;
}

nav img {
    width: 200px;
}

nav#menu a {
    display: block;
    font-size: 20px;
    padding: 20px;
}

nav#menu p {
    color: var(--cor4);
    margin-top: 30px;
}

.abrir {
    font-size: 30px;
    position: fixed;
    top: 2%;
    right: 2%;
    text-decoration: none;
    text-align: center;
    border: 0;
    background-color: transparent;
    cursor: pointer;
}

#fecharMenu {
    color: red;
    font-size: 20px;
    padding: 5px;
    font-weight: bold;
    background-color: transparent;
    cursor: pointer;
    width: 98%;
    margin-bottom: 20px;
    border: 0;
}

#fecharMenu:hover {
    border: 1px solid var(--cor4);
}

@media (max-width: 600px) {
    ul {
        gap: 30px;
    }
}
nav a {
    list-style: none;
    padding: 15px 60px 15px 60px;
    text-decoration: none;
    color: #ffffffc0;
    font-family: var(--font2);
}
nav a:hover {
    background-color: rgb(37, 37, 37);
    color: white;
    border-radius: 5px;
}

#paralax {
    background: url("../imagens/night2000px.jpg" ) center no-repeat fixed;
    background-size: cover;
    background-color: black;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    padding-top: 50px;
    padding-bottom: 100px;
    margin-top: 50px;
}
#paralax p {
    width: 300px;
    height: 270px;
    background-color: rgba(0, 0, 0, 0.096);
    color: #ffffffc0 ;
    text-align: center;
    border-radius: 5px;
    line-height: 2em;
    font-size: 27px;
    margin-left: 100px;
}
#paralax #p2 {
    height: 100px;
}

div#apresentacao {
    display: flex;
    flex-direction: row-reverse;
}
div#text2 {
    max-width: 90%;
    margin: auto;
    margin-top: 150px;
}


#apresentacao p {
    font-family: var(--font-padrao);
    font-size: 18px;
}

#servico p {
    font-family: var(--font-padrao);
    font-size: 18px;
}

div#imagem {
    max-width: 400px;
    margin: auto;
    border: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
}

div#imagem img {
    max-width: 70%;
    margin-bottom: 10px;
    border-radius: 5px;
}

#legendaImg {
    color: white;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

div#text {
    max-width: 600px;
    margin-top: 50px;
    padding: 20px;
    padding-left: 6%;
}
#text2 {
    opacity: 0;
    transition: opacity 2s ease;
    max-width: 400px;
    margin: auto;
    margin-top: 100px;
}
.texto {
    font-size: 20px;
    line-height: 2em;
    padding: 10px;
}

.texto span {
    color: var(--cor4);
}

.texto > h1 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 20px;
}

.aside {
    background-color: #5ce1e66d ;
    font-family: var(--font-padrao);
    width: 600px;
    margin: auto;
    margin-top: 5%;
    padding: 5px;
    border-radius: 10px;
    text-align: center;
}

.aside #p2 {
    font-size: 14px;
    font-style: italic;
}

#abilidades {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    align-items: center;
    margin-top: 50px;
}

#abilidades div {
    width: 300px;
    text-align: center;
    padding: 10px;
    height: 400px;
    padding-top: 50px;
}
#abilidades p {
    margin-top: 30px;
    font-size: 18px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
#abilidades img {
    width: 150px;
}
#js img {
    width: 120px;
    margin-top: 30px;
}
.h1 {
    font-family: var(--font-titulos);
    margin-top: 150px;
    border-bottom: 1px solid var(--cor4);
    max-width: 300px;
    margin-left: 30px;
    font-size: 40px;
    font-weight: bold;
    font-style: italic;
}
.projetos {
    display: grid;
    grid-template-columns: 1fr 2fr;
    margin-bottom: 50px;
    width: 80vw;
    margin: auto;
    margin-top: 100px;
}
.projetos div {
    padding: 10px;
}
.projetos div h2 {
    font-family: var(--font-titulos);
}
.projetos div p {
    font-family: var(--font-padrao);
    line-height: 1.5em;
    margin-top: 20px;
}
.pt-1 {
    display: flex;
}
.teste {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.teste img {
    transition: 0.4s;
}

.teste img:hover {
    transform: scale(1.1);
}

div .pt-1> img {
    width: 80%;
}
.icone-github {
    background-color: var(--cor6);
    border-radius: 50%;
    max-width: 50px;
    height: 50px;
    cursor: pointer;
}

.icone-github:hover {
    box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.574);
}

.icone-insta {
    max-width: 50px;
}
div .pt-2> p {
    margin-bottom: 30px;
}

.pt-2 .a {
    text-decoration: none;
    color: var(--cor6);
}

.pt-2 .a:hover {
    text-decoration: underline;
}

.pt-2  .ver-projeto {
    text-decoration: none;
    color: white;
    border: 1px solid var(--cor5);
    background-color: transparent;
    text-transform: uppercase;
    font-size: 14px;
    padding: 10px;
    border-radius: 5px;
    font-family: Arial, Helvetica, sans-serif;
    transition: background-color 0.3s;
}
.pt-2 .ver-projeto:hover {
    background-color: #5ce1e672;
}
.cursoEmVideo img {
    border-radius: 50%;
}

.modelo-site {
    color: var(--cor4);
    font-size: 10px;
    font-style: italic;
    margin-bottom: 40px;
}

#contato {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    max-width: 600px;
    margin: auto;
    margin-bottom: 100px;
    margin-top: 200px;
}

.zap  {
    width: 100px;
    height: 100px;
    position: fixed;
    bottom: 3%;
    z-index: 8;
    right: 1%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.zap:hover {
    transform: scale(1.2);
    transition: 0.5s;
}

.zap img {
    width: 70px;
}

#contato img {
    width: 100px;
    border-radius: 50%;
}
#conteiner-contato {
    display: flex;
    gap: 30px;
    justify-content: center;
}
#icones {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 200px;
    margin: auto;
    margin-top: 50px;
    padding: 10px;
    border-bottom: 1px solid var(--cor4);
}
#icones > .github {
    background-color: var(--cor6);
    border-radius: 20%;
}
#a-github {
    background-color: var(--cor6);
    border-radius: 50% ;
    cursor: pointer;
}
#icones img {
    width: 40px;
    transition: 0.5s;
}

#icones img:hover {
    transform: translateY(-8px);
    box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.632);
}

.a-youtube img {
    width: 50px;
}

#aside1 {
    margin-top: 50px;
}

.btn-criar {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.btn-criar div button {
    width: 50%;
    background-color: transparent;
    color: black;
    font-family: var(--font-titulos);
    padding: 10px 15px;
    border: 1px solid var(--cor4);
    border-radius: 5px;
    transition: 0.5s;
    cursor: pointer;
    color: white;
}

.btn-criar div button:hover {
    background-color: white;
    color: black;
    transform: scale(1.1);
}

footer {
    background-color: var(--cor4);
    text-align: center;
}
footer a {
    font-size: 10px;
    color: green;
    margin: 10px;
}
footer h1 {
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--cor3);
}
footer div {
    max-width: 700px;
    margin: auto;
}
.scrollLeft {
    animation: lll 1.5s;
}
.scrollRight {
    animation: rrr 1.5s;
}
.scrollRightM {
    animation: rrrm 1s;
}
.scrollOpacity {
    opacity: 1;
}
.scrollTop {
    animation: ttt 1.5s;
}

@keyframes gradiente {
    10% {
      background-position: 10%;
    }
    25% {
        background-position: 25%;
    }
    50% {
        background-position: 50%;
    }
    75% {
        background-position: 75%;
    }
    100% {
      background-position: 100%;
    }
  }

@keyframes ttt {
    from {
      translate: 0 10vh;
    }

    to {
      translate: 0 0;
    }
  }
@keyframes lll {
    from {
      translate: -10vw 0;
    }

    to {
      translate: 0 0;
    }
  }
  @keyframes rrr {
    from {
      translate: 20vw 0;
    }

    to {
      translate: 0 0;
    }
  }
  @keyframes rrrm {
    from {
      translate: 5vw 0;
    }

    to {
      translate: 0 0;
    }
  }


  @media (max-width: 1200px) {
    div#txt-papel-parede {
        font-size: 25px;
        width: 250px;
    }

    
  }

  @media (max-width: 1000px) {

    .aside {
        max-width: 90%;
    }

    div#apresentacao {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        margin-top: 100px;
    }

    div#txt-papel-parede span {
        font-size: 25px;
    }

    .texto {
        font-size: 16px;
    }

    ul {
        gap: 50px;
    }
    nav a {
        font-size: 13px;
        padding: 15px 15px 15px 15px;
    }
    #abilidades div {
        max-width: 200px;
    }
    #abilidades p{
        font-size: 16px;
    }
    #abilidades img {
        width: 130px;
    }
    #js img {
        width: 110px;
        margin-top: 15px;
    }
    div#imagem {
        margin-top: 100px;
    }
}

@media (max-width: 900px) {
        div#txt-papel-parede {
            font-size: 18px;
            width: 200px;
        }
    }
  
@media (max-width: 800px) {

    .teste {
        flex-direction: row;
    }

    .pt-1 {
        flex-direction: column;
    }

    div .pt-1> img {
        width: 320px;
        border-radius: 5px;
    }

    .projetos {
        display: flex;
        flex-direction: column;
        max-width: 350px;
    }

    .imagem-fundo {
        height: calc(100vh - 28vh);
    }

    div#txt-papel-parede {
        top: 40vh;
    }

    div#logo {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 28vh;
        flex: 1;
    }

    div#logo img {
        width: 200px;
        height: 200px;
        flex: 1;
    }

    div#painel {
        display: block;
    }

    .texto {
        font-size: 14px;
    }
}

@media (max-width: 700px) {

    #abilidades #js img {
        width: 50%;
    }

    #abilidades img {
        width: 60% ;
    }

    #abilidades div {
        max-width: 400px;
        
    }

    #abilidades {
        display: flex;
        flex-direction: column;
    }
}

@media (max-height: 600px) {

    nav {
        overflow-y: auto;
    }

    .logo-menu {
        width: 150px;
        height: 150px;
    }

    nav#menu a {
        font-size: 15px;
        padding: 10px;
        overflow-y: auto;
    }

    nav p {
        font-size: 15px;
    }

    #conteiner-contato h1 {
        font-size: 20px;
    }

    #conteiner-contato p {
        font-style: italic;
    }

  }

@media (max-width: 500px) {

    .zap img {
        width: 50px;
    }

    div#txt-papel-parede {
        width: 150px;
    }

    div#txt-papel-parede p {
        font-size: 15px;
    }

    div#txt-papel-parede span {
        font-size: 19px;
    }

    nav {
        justify-content: center;
        gap: 20px;
    }
    nav a {
        font-size: 10px;
        padding: 10px 10px 10px 10px;
    }
    div .pt-2> p {
        font-size: 15px;
    }
    .pt-2 a {
        font-size: 15px;
    }

    .texto {
        letter-spacing: 1px;
        line-height: 35px;
    }

    div#text {
        max-width: 500px;
    }

    div#text2 {
        max-width: 500px;
        padding-left: 6%;
    }

    section#abilidades div {
        height: 250px;
        margin-top: 80px;
    }

    div#imagem {
        padding: 10px;
        text-align: center;
        border-radius: 20px;
    }

    div#imagem #minha-img {
        border-radius: 20px;
    }

    .h1 {
        width: 210px;
        font-size: 30px;
    }

    div.projetos {
        max-width: 280px;
        margin: auto;
        margin-top: 100px;
    }

    div .pt-1> img {
        width: 220px;
        border-radius: 5px;
    }

    div.projetos > p {
        font-size: 14px;
    }

    div.texto p {
        font-size: 13px;
    }
}

@media (max-width: 400px) {

    div#txt-papel-parede {
        width: 150px;
        text-align: left;
        
    }

    .recepcao h1 {
        font-size: 16px;
    }

    div#logo img {
        height: 7vh;
    }

    #abilidades #js> img {
        width: 30%;
    }

    #abilidades img {
        width: 40% ;
    }

    #abilidades div {
        max-width: 400px;
        
    }

    #conteiner-contato h1 {
        font-size: 16px;
    }

    #conteiner-contato p {
        font-size: 12px;
    }
}

@media (max-width: 340px) {

    #text2 {
        font-size: 12px;
    }

    #text {
        font-size: 12px;
    }

    #menu {
        width: 150px;
    }

    .logo img {
        width: 80px;
    }

    .recepcao {
        width: 80%;
        font-size: 10px;
    }

    .recepcao h1 {
        font-size: 10px;
    }

    .recepcao p {
        font-size: 8px;
        display: none;
    }

    .recepcao button {
        max-width: 90%;
    }
}

@media (max-height: 712px) {

    div#logo img {
        width: 150px;
        height: 150px;
    }

    .recepcao h1 {
        font-size: 25px;
    }

    .recepcao p {
        font-size: 15px;
    }

    .recepcao button {
        padding: 8px;
        margin-top: 5px;
    }

}

@media (max-height: 514px) {
    div#logo img {
        width: 100px;
        height: 100px;
    }

    .recepcao h1 {
        font-size: 20px;
    }

    .recepcao p {
        font-size: 10px;
    }

    .recepcao button {
        padding: 3px;
        margin-top: 0;
    }
  }

  @media (max-height: 400px) {
    nav {
        overflow-y: auto;
    }

    .logo-menu {
        width: 80px;
        height: 80px;
    }

    nav#menu a {
        font-size: 10px;
        padding: 5px;
        overflow-y: auto;
    }

    nav p {
        font-size: 10px;
    }

    nav {
        width: 150px;
    }

  }