/*Import Fonte Poppins*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Paleta de cores */
-Greece-1-hex,
.Azul-Escuro {
    color: #011640;
}
-Greece-2-hex,
.Preto-Azulado {
    color: #00040D;
}
-Greece-3-hex,
.Azul-Mais-Escuro {
    color: #020E26;
}

body {
    background-color: #00040D;
    font-family: "Poppins", sans-serif;
    letter-spacing: 0.15vw;
    color: white;
}

nav {
    display: none;
}

a {
    text-decoration: none;
    color: white;
}

footer{
    text-align: center;
    font-size: 0.7em;
    color: #2e3e68;
    padding: 4vw;
}

.Logo-nome img {
    margin: 2vw;
}

.Logo-nome {
    display: flex;
    align-items: center;
    font-family: 'Berlin Sans FB';
    color: #ffffff;
    text-shadow: 0 0 3px #000000;
    font-weight: bold;

}

.topnav {
    background-color: #020E26;
    overflow: hidden;
    position: relative;
    align-items: center;
}

.topnav #myLinks {
    display: none;
}

.topnav #myLinks a {
    border-bottom: 0.4vh solid #011640;
}

.topnav a {
    color: #ffffff;
    padding: 4vw 2vh;
    text-decoration: none;
    font-size: 1em;
    display: block;
}

.topnav a.icon {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
}

.topnav a:hover {
    color: #ffffff;
}

article {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5);
    grid-column-gap: 0;
    grid-row-gap: 5px;
    justify-items: center;
}

#Apresentacao {
    width: 100%;
    height: 40vh;
    background: #020E26;
    background: -moz-linear-gradient(top, #020E26 0%, #011640 42%, #022D84 100%);
    background: -webkit-linear-gradient(top, #020E26 0%, #011640 42%, #022D84 100%);
    background: linear-gradient(to bottom, #020E26 0%, #011640 42%, #022D84 100%);
    border-radius: 0 0 30% 30%;
}

#Apresentacao p {
    margin-left: 5vw;
    margin-top: 5vw;
    font-size: 1em;
}

#Apresentacao h1 {
    margin-left: 5vw;
    font-size: 2em;
    width: 50vw;
}

#Apresentacao button{
    appearance: none;
    margin-left: 5vw;
    background-color: transparent;
    border: 0.125em solid #767575;
    border-radius: 0.9375em;
    box-sizing: border-box;
    color: #ffffff;
    cursor: pointer;
    font-family: Roobert,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    min-height: 3.75em;
    min-width: 0;
    outline: none;
    text-align: center;
    text-decoration: none;
    -webkit-transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
    transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
}

#animacoes-icon {
    display: none;
}

#Sobre {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

#Sobre .direita {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: justify;
}

.direita p {
    width: 80vw;
}

.direita h2 {
    font-size: 1.3em;
    font-weight: 300;
    color: #ffffff78;
}

#Sobre img {
    border-radius: 10%;
    object-fit: cover;
}

#Sobre .esquerda {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.esquerda p {
    width: 65vw;
    text-align: center;
}

.social {
    display: flex;
    flex-direction: row;
}

.social .btn {
    align-items: center;
    margin: 2vw;
    border: 0.5vw solid #022D84;
    padding: 2.5vw;
    border-radius: 100%;
    background-color: #011640;
}

.btn:hover {
    scale: 1.1;
}

#Habilidades {
    text-align: center;
    margin: 5vw;
}

#Habilidades .tecnologia {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    align-content: center;
}

.tecnologia svg {
    width: 8vw;
}

.tecnologia .hab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #020d2b;
    padding: 3vw;
    border-radius: 2%;
}

.hab:hover {
    box-shadow: 0 0 20px 0 #0e52ff;
    transition: box-shadow 0.5s ease-in-out;
}

#Projetos {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3vh;
}

#cards {
    margin: 2vw;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 0;
    grid-row-gap: 20px;
}

.card {
    padding: 20px;
    width: 300px;
    min-height: 370px;
    border-radius: 20px;
    background: #010a23;
    transition: 0.4s;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 15px 0 0 10px;
}

.card-image img {
    width: 100%;
    height: 100%;
    border-radius: 5%;
}

.card-body {
    margin: 13px 0 0 10px;
    color: rgb(184, 184, 184);
    font-size: 15px;
    text-align: justify;
}

.footer {
    display: flex;
    justify-content: space-between;
    margin-top: 3vh;
}

.footer button {
    appearance: none;
    background-color: transparent;
    border: 0.125em solid #767575;
    border-radius: 0.9375em;
    box-sizing: border-box;
    color: #ffffff;
    cursor: pointer;
    font-family: Roobert,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    margin: 0;
    min-height: 3.75em;
    min-width: 0;
    outline: none;
    padding: 1em 2.3em;
    text-align: center;
    text-decoration: none;
    -webkit-transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
    transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
}

button:hover {
    color: #fff;
    background-color: #1A1A1A;
    -webkit-box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
}

button:active {
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #010819;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 400px;
    text-align: justify;
    align-items: center;
}

.modal-content img {
    display: none;
}

.close-btn {
    cursor: pointer;
    color: red;
    float: right;
}

#Contatos{
    text-align: center;
    display: flex;
    flex-direction: column;
}

#entre-contato{
    display: flex;
    flex-direction: column;
    font-size: 1em;
}

.ctt svg{
    background-color: #0116408e;
    padding: 3vw;
    border-radius: 100%;
}

.ctt .info-ctt{
    display: none;
}

.orcamento{
    background-color: #010a23;
    width: 80vw;
    padding: 5vw;
    border-radius: 5%;
}

@media screen and (min-width: 760px) {
    ::-webkit-scrollbar {
        width: 10px;
    }

    ::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: #00040D;
    }

    ::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background-color: #010a23;
    }

    @keyframes go-left {
        0% {
            opacity: 0;
            transform: translateX(-120px);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes go-right {
        0% {
            opacity: 0;
            transform: translateX(120px);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes go-upper {
        0% {
            opacity: 0;
            transform: translateY(120px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes animacao {
        0% {
            -webkit-transform: translate(15px);
        }
        25%{
            -webkit-transform: translateY(20px);
        }
        50% {
            -webkit-transform: translate(-15px);
        }
        75%{
            -webkit-transform: translateY(-30px);
        }
        100% {
            -webkit-transform: translate(15px);
        }
    }

    .topnav a.icon {
        display: none;
        position: absolute;
        right: 0;
        top: 0;
    }

    header {
        display: none;
    }

    nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background-color: #05112bc8;
        font-size: 1em;
        height: 15vh;
        box-shadow: 0 11px 23px 3px rgba(0, 0, 0, 0.25);
    }

    #menu a {
        text-decoration: none;
        color: #ffffff;
        margin: 1vw;
    }

    #menu a:hover {
        border-bottom: 0.2vh solid #ffffff;
    }

    #Apresentacao {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        height: 65vh;
        padding-top: 5vh;
        line-height: 12vh;
    }

    #Apresentacao #txt-apre {
        animation: go-left 2s;
        line-height: 10vh;
    }

    #Apresentacao p {
        font-size: 1.5em;
        margin: 0 0 0 10vw;
        font-style: italic;
    }

    #Apresentacao h1 {
        font-size: 3.5em;
        width: 40vw;
        margin: 0 0 0 10vw;
    }

    #Apresentacao button{
        margin: 0 0 0 10vw;
        appearance: none;
        background-color: transparent;
        border: 0.125em solid #767575;
        border-radius: 0.9375em;
        box-sizing: border-box;
        color: #ffffff;
        cursor: pointer;
        font-family: Roobert,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
        font-size: 16px;
        font-weight: 600;
        line-height: normal;
        min-height: 3.75em;
        min-width: 0;
        outline: none;
        padding: 1em;
        text-align: center;
        text-decoration: none;
        -webkit-transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
        transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
    }

    #Apresentacao #animacoes-icon {
        display: inherit;
        margin-right: 20vw;
        margin-top: 10vh;
    }

    #animacoes-icon svg {
        color: #022d845a;
    }

    #icon-code {
        position: relative;
        top: 10vw;
        left: -10vw;
        animation: animacao 6.5s infinite ;
    }

    #icon-chaves {
        position: relative;
        top: -3vw;
        left: -10vw;
        animation: animacao 5.5s infinite;
    }

    #icon-database {
        position: relative;
        top: 5vw;
        left: 5vw;
        animation: animacao 6s infinite;
    }

    #Sobre {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 10vh;
    }

    .esquerda{
        animation: go-left 2s ease-in-out forwards;
        animation-timeline: view();
        animation-range: cover 0% cover 50%;
    }

    .direita{
        animation: go-right 2s ease-in-out forwards;
        animation-timeline: view();
        animation-range: cover 0% cover 50%;
    }

    #Sobre .esquerda p {
        width: 27vw;
    }

    #Sobre .direita p {
        width: 50vw;
    }

    #Sobre .social .btn {
        padding: 1vw;
        margin: 1vw;
        border: 0.3vw solid #022D84;
    }

    #Habilidades .tecnologia {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 10px;
        grid-row-gap: 10px;
        align-content: center;
        animation: go-upper 2s forwards;
        animation-timeline: view();
        animation-range: cover 0% cover 50%;
    }

    .tecnologia svg {
        width: 5vw;
    }

    .tecnologia .hab {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #010a23;
        padding: 1vw;
        font-size: 0.9em;
    }

    .hab:hover {
        box-shadow: 0 0 20px 0 #0e52ff;
        transition: box-shadow 0.3s ease-in-out;
    }

    #cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 2fr;
        grid-column-gap: 15px;
        grid-row-gap: 15px;
        animation: go-right 2s ease-in-out;
        animation-timeline: view();
        animation-range: cover 0% cover 50%;
    }

    .card {
        min-height: 40vh;
    }

    .card img{
        height: 27vh;
    }

    .modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        justify-content: space-evenly;
        align-items: center;
    }

    .modal-content {
        display: flex;
        justify-content: space-evenly;
        flex-direction: row;
        background-color: #010b25;
        padding: 20px;
        border-radius: 8px;
        width: 100%;
        max-width: 50vw;
        text-align: justify;
        align-items: center;
    }

    .close-btn {
        position: relative;
        top: -19vw;
        left: 49vw;
        cursor: pointer;
        color: red;
        border: 0.1vw solid red;
        border-radius: 40%;
        align-items: center;
        padding: 0.3vw;
    }

    .textos-modal {
        display: flex;
        flex-direction: column;
        width: 30vw;
    }

    .textos-modal p {
        font-weight: 200;
    }

    .modal-content img {
        display: inherit;
        width: 20vw;
        height: 100%;
        margin-right: 2vw;
        border-radius: 3%;
    }

    #Contatos{
        text-align: center;
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    
    #entre-contato{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        font-size: 0.7em;
    }

    .ctt{
        width: 12vw;
        display: flex;
        align-items: center;
        flex-direction: column;
        margin: 3vw;
        animation: go-upper 2s ease-in-out;
        animation-timeline: view();
        animation-range: cover 0% cover 50%;
    }

    .ctt p{
        margin: 1vh;
    }
    
    .ctt svg{
        background-color: #0116408e;
        padding: 1vw;
        border-radius: 50%;
    }
    
    .ctt .info-ctt{
        display: inherit;
        font-weight: 200;
    }

    .orcamento{
        border-radius: 4%;
        padding: 3vw;
        width: 60vw;
        animation: go-right 2s ease-in-out;
        animation-timeline: view();
        animation-range: cover 0% cover 50%;
    }

}
