@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-black: #101010;
    --color-white: #f0f0f0;
    --color-gray: #5c5c5c;
    --color-destaque: #1d2adf;

    --font-title-desktop: 3rem;
    --font-span-desktop: 1.5rem;
    --font-text-desktop: 1.2rem;

    --font-title-mobile: 2rem;
    --font-span-mobile: 1.2rem;
    --font-text-mobile: 1rem;
}

body {
    font-family: "Open Sans", sans-serif;
    background-color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Container Principal na Frente (Camada 10) */
.container {
    width: 100%;
    max-width: 1800px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    box-sizing: border-box;
    min-height: 100vh;
    
    position: relative;
    z-index: 10 !important; /* Garante que fique acima dos meteoros */
}

/* Cards na Frente de Tudo (Camada 20) */
.card {
    background-color: var(--color-white);
    padding: 1rem;
    
    position: relative;
    z-index: 20 !important; /* Garante que esmague o meteoro se passar por baixo */
}

/************** WIDGET 1*/
.top {
    width: 100%;
    min-width: 350px;
    height: 100vh;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/************** Úsuario*/
.user {
    width: 100%;
    height: 60%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem; 
}

.content-user {
    width: 100%;
    max-width: 90%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.img-user {
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-user img {
    width: 150px;
    border-radius: 10px;
}

.info-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.info-user h1 {
    padding-top: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-black);
}

.info-user span {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--color-destaque);
}

.info-user p {
    margin-top: auto; 
    padding-top: 1rem;
    font-size: 1rem;
    color: var(--color-black);
}

/************** Projeto*/
.projeto {
    width: 100%;
    height: 40%;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.content-projeto {
    width: 100%;
    max-width: 400px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.text-projeto {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-destaque);
}

.img-projeto {
    padding-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-projeto img {
    width: 280px;
}

.btn-projeto {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 1rem;
}

.btn {
    background-color: var(--color-destaque);
    color: var(--color-white);
    font-weight: 600;
    padding: .7rem 1.3rem;
    border-radius: 10px;
    text-decoration: none;
}

/************** WIDGET 2*/
.center {
    min-width: 350px;
    width: 100%;
    height: 25vh;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/************** Redes sociais*/
.redes-sociais {
    background-color: transparent;
    width: 100%;
    height: 40%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0!important;
    gap: 1rem;
}

.box-social {
    background-color: var(--color-destaque);
    height: 90px;
    width: 90px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-social i {
    font-size: 2.5rem;
    color: var(--color-white);
}

/************** Skills*/
.skills {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.content-skills {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.text-skills {
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--color-destaque);
}

.skills-icons {
    width: 100%;
    max-width: 90%;
    gap: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skills-icons i {
    color: var(--color-black);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.skills-icons i:hover {
    cursor: pointer;
}

/* Cores específicas para cada ícone das skills*/
.skills-icons .fa-html5:hover { color: #e34f26; }
.skills-icons .fa-css3-alt:hover { color: #1572b6; }
.skills-icons .fa-js:hover { color: #f7df1e; }
.skills-icons .fa-bootstrap:hover { color: #7952b3; }
.skills-icons .fa-database:hover { color: #00758f; }
.skills-icons .fa-java:hover { color: #db1919; }
.skills-icons .fa-github:hover { color: #181717; }

/************** WIDGET 3*/
.bottom {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/************** Serviços*/
.servicos {
    width: 100%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-servicos {
    width: 100%;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
}

.text-servicos h1 {
    font-size: var(--font-title-mobile);
    color: var(--color-black);
}

.text-servicos span {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--color-gray);
}

.servicos-box {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 0 10px;
}

.item-servico {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgb(209, 213, 219) 0px 0px 0px 1px inset;
    width: 100%;
    height: 180px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    background: #f9f9f9;
}

.item-servico i {
    font-size: 2.2rem;
    color: var(--color-destaque);
}

.item-servico span {
    font-size: 1rem;
    color: var(--color-black);
    text-align: center;
    line-height: 1.2;
}

/************** Contato*/
.contato {
    width: 100%;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--color-destaque);
    padding: 1rem;
}

.content-contato {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
}

.text-contato h1 {
    font-size: var(--font-title-mobile);
    color: var(--color-white);
}

.lista-contato {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.lista-contato a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.text-contato span {
    font-size: var(--font-text-mobile);
    font-weight: 400;
    color: var(--color-white);
}

.btn-contato {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn2 {
    background-color: var(--color-black);
    color: var(--color-white);
    font-weight: 600;
    padding: .7rem 1.3rem;
    border-radius: 10px;
    text-decoration: none;
}

/* --- O PALCO DOS METEOROS (Camada 0 - Fundo) --- */
.meteors-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0 !important; /* Atrás de tudo */
    pointer-events: none;
}

/* --- ESTILO "LUZ SUAVE" --- */
.meteor {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 3px; 
    width: 150px; 
    border-radius: 999px;
    
    background: linear-gradient(90deg, #ffffff, transparent);
    
    opacity: 0;
    transform: rotate(-45deg);
    
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
    
    animation: meteor linear forwards;
    will-change: transform, opacity;
}

.meteor::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8);
}

@keyframes meteor {
    0% {
        opacity: 0;
        transform: rotate(-45deg) translateX(0);
    }
    10% {
        opacity: 1; 
    }
    90% {
        opacity: 1; 
    }
    100% {
        opacity: 0;
        transform: rotate(-45deg) translateX(-1500px); 
    }
}