@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700;800&family=Roboto:wght@100;300;400&display=swap');
/* Variáveis primárias */
:root {
    --primary-color: #808080;
    --primary-dark: #1F252E;
}
/* Variáveis Logo */
:root {
    --cor-primaria: #6A5ACD;
    --cor-secundaria: #EE6B4D;
    --cor-cinza-claro: #353535;
    --cor-branca: #fff;
    --cor-fundo-escuro: #150E24;
    --cor-fundo-cinza-escuro: #0E0E1F;
    --cor-fundo-cinza-claro: #353535;
  }

* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;

}
video {
    width: 800px; /* ou qualquer largura desejada */
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2em auto;
}
/* Genral */
.container {
    padding: 0 8.4rem;
}

.img-w {
    width: 100%;
}


/* Nav */
header {
    position: relative;
    box-shadow: 0 4px 17px rgba(0, 0, 0, .1);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1;
}
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1em;
    padding: 1rem 0;

}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    opacity: 0;
    animation: leftSideAni 1s ease forwards;
}
.logo a {
    color: #000;
    text-decoration: none;
}
ul {
    display: flex;
    gap: .6rem;
    list-style-type: none;
    background-color: transparent;
    overflow: hidden;
}
li a {
    display: inline-block;
    padding: .3rem 1rem;
    color: var(--nav-text);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: .7px;
    border-radius: 36px;
    line-height: 2;
    transition: .3s;
    opacity: 0;
    animation: navani .3s ease forwards;
    animation-delay: calc(.15s * var(--navAni));
}
li a.active,
li a:hover {
    color: var(--primary-color);
}
#click {
    display: none;
}
.menu {
    display: none;
}

/* Nav Logo */
.logo a {
    background: linear-gradient(45deg, #F5F5F5, #EE6B4D, #F5F5F5);
    background-size: 400%, 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: degrade 10s linear infinite alternate;
}

@keyframes degrade {
    0% {
        background-position-x: 0%;
    }

    100% {
        background-position: 400%;
    }

}
/* Nav End */


/* Section 1 */
.mode {
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--primary-color);
    opacity: 0;
    animation: rightSideAni 1.5s ease forwards;
}
.main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(277px, 1fr));
    row-gap: 2rem;
    align-items: center;
}
.main h3 {
    font-size: 1.5rem;
    opacity: 0;
    animation: topSideAni 1s ease forwards;
}
.main h2 {
    margin-top: 1em;
    font-size: 2.5rem;
    opacity: 0;
    animation: topSideAni 1s ease forwards;
}
.main h1 {
    font-size: 4rem;
    font-weight: 600;
    opacity: 0;
    animation: leftSideAni 1s ease forwards;
    animation-delay: 1s;
}

.main p {
    line-height: 1.7;
    font-size: 1.15rem;
    opacity: 0;
    animation: topSideAni 1.5s ease forwards;
}

.social {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    margin-top: 1.7rem;
}

.social a {
    display: grid;
    place-items: center;
    text-decoration: none;
    color: #000;
    font-size: 1.5rem;
    border: 1.6px solid #000;
    border-radius: 50%;
    padding: 0.39rem;
    text-align: center;
    opacity: 0;
    animation: SocialAni 1s ease forwards;
    animation-delay: calc(.2s * var(--socialAni));
}

.social a:hover {
    color: #fff;
    background-color: #000;
    box-shadow: 0 0 20px #000;
    transition: all .3s ease-in-out;
}
.images img {
    position: relative;
}

.images::before {
    background: linear-gradient(145deg, #e2e8ec, #ffffff);
    box-shadow: 5px 5px 15px #D1D9E6, -5px -5px 15px #ffffff;
}

.images {
    width: 80%;
    margin-left: auto;
    position: relative;
    z-index: -1;
}
.images {
    opacity: 0;
    animation: imageAni 1s ease forwards;
    animation-delay: 1.5s;
}

/* Section 1 End */

/* Dark Mode */

.dark-mode {
    background-color: var(--primary-dark);
    color: #ffffff;
}

.mode input {
    display: none;
}

:is(.dark-mode) {
    .social a {
        color: var(--primary-color);
        border: 1.6px solid var(--primary-color);
    }

    .social a:hover {
        color: var(--primary-dark);
        background-color: var(--primary-color);
        box-shadow: 0 0 20px var(--primary-color);
    }

    .logo a {
        color: #fff;
    }

    .images::before {
        background: linear-gradient(145deg, #1f252e, #2e3239);
        box-shadow: 10px 10px 19px #1c1e22, -10px -10px 19px #1b1f27;
    }
}

.dark-mode header {
    box-shadow: 0 4px 17px rgb(80 80 80 / 31%);
    background: var(--primary-dark);
}


/* Curriculo */
.curriculo {
    text-align: center;
    margin-top: 10em;
}
.row_c {
    display: grid;
    grid-template-columns: auto 10em auto;
    justify-content: center;
    
}
.row_c p {
    font-size: 2.5em;
    transform: translateY(2em);
}
.button{
    margin-top: 1em;
    position: relative;
    height: 47.5px;
    width: 180px;
    background: #666666;
    border-radius: 55px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    overflow: hidden;

    background: linear-gradient(45deg, #F5F5F5, #EE6B4D, #F5F5F5);
    background-size: 400%, 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: degrade 15s linear infinite alternate;
}

@keyframes degrade {
    0% {
        background-position-x: 0%;
    }

    100% {
        background-position: 400%;
    }
}

.button.active {
    height: 20px;
    width: 200px;
}
.button::before{
    position: absolute;
    content: '';
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    border-radius: 55px;
    background: #999999;
}
.button.active::before{
    animation: layer 6s ease-in-out forwards;
}
@keyframes layer {
    100% {
        left: 0%;
    }
    
}
.button .content {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2 ease;
    transition-delay: 0.2s;
}
.button.active .content{
    transform: translateY(60px);
}
.content i,
.content .button-text{
    font-size: 18PX;
    margin-left: 8PX;
}
.button .content a {
    font-size: 2em;
}
.button .content po {
    font-size: 1.7em;
}

/* tag link prokjetos */
.projetos__link {
    display: flex;
    justify-content: space-evenly;
} 

/* para pc */
@media screen and (max-width: 1310px) {
    .projetos {
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .row_c {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Sobre */
/* Habilidades */

.socialum {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    margin-top: 1.7em;
}

.socialum i {
    display: grid;
    place-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: 50%;
    padding: 0.39rem;
    text-align: center;
    opacity: 0;
    animation: SocialAni 1s ease forwards;
    animation-delay: calc(.2s * var(--socialAni));
}
.socialum {
    display: flex;
    flex-wrap: wrap;
    gap: 20px
}

.socialum div {
    display: flex;
    align-items: center; 
    gap: 10px; 
}

.socialum div i {
    font-size: 3em;
    
}

.socialum div h3 {
    margin: 0; 
}

.socialum div p {
    margin: 5px 0 0;
}

@media screen and (max-width: 768px) {
    .detail .socialum {
        display: flex;
        grid-template-columns: auto max-content;
        gap: 10px; 
        align-items: center;
        justify-content: start;
      }
    .socialum i {
        font-size: 3em;
    }

}

/* Projetos */
.projetos {
    display: grid;
    margin-top: 2em;

}
.projetos img {
    width: 1em;
    height: 1em;
}
.projetos i {
    padding-right: 4px;
}
.projetos a {
    text-decoration: none;
    color: inherit;
    padding-right: 2em;
}

/* Contatos */
.footer_social_media a {
    text-decoration: none;
    color: inherit;
}
.contatos {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;  
    margin-left: 2em;
    margin-bottom: 1em;
}
.footer_social_media {
    display: grid;
    grid-template-columns: 15em 14em 12em 15em;
    align-items: center;
    justify-content: center;
    text-align: center;    
}
.footer_contacts {
    margin-bottom: 1em;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

}
.footer{
    display: flex;
    justify-content: center;
    margin-bottom: 1em;
}
/* para pc Contatos */
@media screen and (max-width: 983px) {
    .footer_social_media {
        display: grid;
        grid-template-columns: repeat(1, 1fr); /* Cria três colunas de largura igual */
        grid-gap: 1px;
    }
    .contatos {
        display: flex;
        justify-content: center;
        align-items: center; 
        margin-left: 0em;
        margin-bottom: 3em;
        grid-gap: 1px;
        border: 1px solid;
    }
}


/* Animation */
@keyframes leftSideAni {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes navani {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes rightSideAni {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes topSideAni {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes SocialAni {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
/* @keyframes ImgAni {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-9px);
    }
    100% {
        transform: translateX(0);
    }
} */
@keyframes imageAni {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media screen and (max-width: 1024px) {
    .container {
        padding: 0 4.4rem;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 1.6rem;
    }

}

@media screen and (max-width:600px) {

    header {
        height: auto;
    }

    ul {
        background: #fff;
        width: 100%;
        height: 100vh;
        position: absolute;
        display: flex;
        flex-direction: column;
        text-align: center;
        top: 3.4rem;
        left: -100%;
        z-index: 111111;
    }

    .menu {
        display: block;
        font-size: 1.5rem;
        font-weight: bold;
        color: #000;
    }

    #click:checked~ul {
        left: 0%;
        transition: all 0.3s ease;
    }

    .dark-mode .menu {
        color: var(--primary-color);
    }

    .dark-mode ul {
        background: var(--primary-dark);
    }

    .mode {
        position: absolute;
        right: 4rem;
    }

    .images {
        width: 100%;
        margin: auto;
    }

    .main {
        margin-top: 2rem;
    }
}