@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Quicksand:wght@300..700&display=swap');

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

@keyframes degradeMove {
    0% {
        background-position: 0% 50%;
    }

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

    100% {
        background-position: 0% 50%;
    }
}


body {
    font-family: Arial, sans-serif;
    color: #fff;
    background: linear-gradient(-45deg, #6a11cb, #2575fc, #ff758c, #ff7eb3);
    background-size: 300% 300%;
    animation: degradeMove 8s ease infinite;
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 0;
    z-index: 100;
}

nav ul {
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
    list-style: none;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
    text-shadow: 2px 2px 8px #6a11cb, 0 0 4px #2575fc;
}

nav ul li a:hover {
    color: #ff4081;
}

#inicio {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#inicio img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

#inicio #particles-js {
    position: absolute;
    /* Posiciona as estrelas atrás do conteúdo */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Coloca as estrelas abaixo do conteúdo */
}

#inicio h1 {
    font-family: fredoka, sans-serif;
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px #6a11cb, 0 0 4px #2575fc;
}

#inicio p {
    font-size: 1.5em;
    font-family: quicksand, sans-serif;
    text-shadow: 2px 2px 8px #6a11cb, 0 0 4px #2575fc;
}

#sobre {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    animation: fadeIn 2s ease;
    flex-wrap: wrap;
}

.foto-perfil img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 6px solid #ffffff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    object-fit: cover;
    transition: transform 0.5s ease;
}

.foto-perfil img:hover {
    transform: scale(1.1);
}

.sobre-texto {
    max-width: 600px;
    text-align: left;
}


#sobre h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 8px #6a11cb, 0 0 4px #2575fc;
}

#sobre p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2em;
    line-height: 1.8;
    color: #fff;
    text-shadow: 2px 2px 8px #6a11cb, 0 0 4px #2575fc;
    margin-bottom: 20px;
    text-align: justify;
    max-width: 600px;
    margin-right: 20px;
}

/* Botão personalizado para CTA */
.btn-sobre {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 24px;
    font-size: 18px;
    color: white;
    background: linear-gradient(90deg, #8A2BE2, #6A11CB);
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-sobre:hover {
    background: linear-gradient(90deg, #6A11CB, #2575FC);
    transform: translateY(-5px);
    /* Efeito de flutuação */
}

/* Carrossel */

.carrossel {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-bottom: 50px;

}

.carrossel-track {
    display: flex;
    gap: 40px;
    animation: scroll 25s linear infinite;
    align-items: center;
}

.carrossel-track img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.carrossel-track img:hover {
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* Responsividade */
@media (max-width: 768px) {
    #sobre {
        flex-direction: column;
        /* Empilha na vertical em telas menores */
        text-align: center;
        /* Centraliza o conteúdo */
    }

    .foto-perfil img {
        width: 250px;
        height: 250px;
    }
}


.social-links {
    display: flex;
    gap: 15px;
    /* Espaço entre os ícones */
    justify-content: center;
    margin-top: 20px;
}

.social-links a {
    font-size: 24px;
    /* Tamanho dos ícones */
    color: #ffffff;
    /* Cor dos ícones */
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    text-shadow: 2px 2px 8px #6a11cb, 0 0 4px #2575fc;
}

.social-links a:hover {
    color: #6a11cb;
    /* Muda a cor no hover */
    transform: scale(1.2);
    /* Efeito de zoom ao passar o mouse */
}

#projetos h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ffffff;
    /* Cor do título */
    text-align: center;
    text-shadow: 2px 2px 8px #6a11cb, 0 0 4px #2575fc;
}

#sobre,
#projetos {
    padding: 60px 20px;
    text-align: center;
    animation: fadeIn 2s ease;
}

.projeto img {
    width: 100%;
    /* Imagem responsiva */
    max-width: 1000px;
    /* Limita a largura máxima */
    height: auto;
    /* Mantém a proporção */
    border-radius: 10px;
    /* Bordas arredondadas */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    /* Sombra suave */
    margin-bottom: 20px;
    /* Espaço abaixo da imagem */
}

.projeto {
    background: rgba(0, 0, 0, 0.5);
    /* Fundo escuro e translúcido */
    padding: 40px 30px;
    margin: 40px auto;
    border-radius: 16px;
    max-width: 1300px;
    color: #f1f1f1;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    /* Sombra suave para realce */
    backdrop-filter: blur(8px);
    /* Efeito vidro (Glassmorphism) */
    -webkit-backdrop-filter: blur(8px);
}


.projeto h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    margin: 30px 0 30px 0;
    color: hsl(0, 0%, 100%);
    text-shadow: 2px 2px 8px #6a11cb, 0 0 4px #2575fc;

}

.projeto p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
    animation: fadeIn 1.2s ease-in-out forwards;


}

.projeto ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 10px;
    display: grid;
    gap: 8px;
}

.projeto li::before {
    content: "•";
    color: #b569d5;
    display: inline-block;
    width: 1em;
    margin-left: -1em;

}

.projeto li {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
}

.projeto a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.projeto a:hover {
    text-decoration: underline;
    color: #7B1FA2;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    margin-top: 50px;
    display: inline-block;
    padding: 10px 20px;
    font-size: 18px;
    color: white;
    background: #8A2BE2;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: #7B1FA2;
    box-shadow: 0 0 15px #8A2BE2;
}

.fade {
    opacity: 0;
    /* Começa invisível */
    transition: opacity 1.5s ease-in;
    /* Transição suave */
}

.fade.show {
    opacity: 1;
    /* Fica visível */
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        /* Inicia invisível */
    }

    100% {
        opacity: 1;
        /* Torna-se visível */
    }
}

.footer {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 40px 20px;
    color: white;
    text-align: center;
    margin-top: 60px;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    font-size: 24px;
    color: #ffffff;
    transition: transform 0.3s ease, color 0.3s ease;
    text-shadow: 2px 2px 8px #6a11cb, 0 0 4px #2575fc;
}

.footer-links a:hover {
    color: #6a11cb;
    transform: scale(1.2);
}

.footer-copy {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.95rem;
    opacity: 0.8;
}


.foto-perfil img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 4px solid #fff;
    object-fit: cover;
    margin-bottom: 20px;
}

.contato-section {
    padding: 80px 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    margin-bottom: 100px;
}

.container-contato {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 200px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.bloco-esquerdo img {
    max-width: 400px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.bloco-direito {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.bloco-direito h2 {
    font-size: 2.5rem;
    font-family: 'Fredoka', sans-serif;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 2px 2px 8px #6a11cb, 0 0 4px #2575fc;
}

.bloco-direito p {
    font-size: 1.2rem;
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 2px 2px 8px #6a11cb, 0 0 4px #2575fc;
}

.form-contato {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-contato input,
.form-contato textarea {
    padding: 15px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 10px;
    background-color: #f9f9f9;
    color: #333;
    font-family: 'Quicksand', sans-serif;
}

.form-contato input:focus,
.form-contato textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px #6a11cb;
}

.form-contato button {
    padding: 14px 30px;
    background: linear-gradient(90deg, #8A2BE2, #6A11CB);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-contato button:hover {
    background: linear-gradient(90deg, #6A11CB, #2575FC);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .container-contato {
        flex-direction: column;
        text-align: center;
    }

    .bloco-esquerdo img {
        max-width: 250px;
    }

    .bloco-direito {
        padding: 20px;
    }
}




/* Responsividade */
@media (max-width: 1024px) {
    .projeto {
        padding: 30px 20px;
        margin: 30px 15px;
    }

    .projeto h3 {
        font-size: 1.3rem;
    }

    .projeto p,
    .projeto li {
        font-size: 1rem;
    }

    .projeto img {
        max-width: 100%;
        height: auto;
    }
}


@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        align-items: center;
        padding: 5px 0;
        flex-direction: row;
    }

    #inicio h1 {
        font-size: 2em;
    }

    #inicio p {
        font-size: 1.2em;
    }

    .projeto {
        padding: 25px 15px;
        margin: 25px 10px;
    }

    .projeto h3 {
        font-size: 1.5rem;
        text-align: center;
    }

    .projeto p,
    .projeto li {
        font-size: 1.2rem;
        line-height: 1.6;
        text-align: justify;
        text-align: center;
        margin-left: 20px;
        margin-right: 20px;
    }

    .projeto img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

    .projeto ul {
        gap: 6px;
    }

    #sobre p {
        font-size: 1.2em;
        /* Tamanho de fonte menor */
        text-align: center;
    }

    #sobre h2 {
        font-size: 2em;
        /* Tamanho de fonte menor */
        text-align: center;
    }

    .btn-sobre {
        padding: 10px 20px;
        /* Tamanho do botão menor */
        font-size: 16px;
        /* Tamanho da fonte do botão menor */
        margin-left: 210px;
        /* Espaço à esquerda */
    }

    .container-contato {
        flex-direction: column;
        text-align: center;
    }

    .bloco-esquerdo img {
        max-width: 250px;
    }

    .bloco-direito {
        padding: 20px;
    }

}

@media (max-width: 480px) {

    header nav ul {
        flex-direction: column;
        align-items: center;
        padding: 5px 0;
        flex-direction: row;
    }

    #inicio h1 {
        font-size: 1.8em;
    }

    #inicio p {
        font-size: 1em;
    }

    .projeto {
        padding: 20px 10px;
        margin: 20px 8px;
    }

    .projeto h3 {
        font-size: 1.1rem;
    }

    .projeto p,
    .projeto li {
        font-size: 0.9rem;
        text-align: center;
        margin-left: 30px;
        margin-right: 30px;
    }

    .projeto a {
        font-size: 0.9rem;
        /* Tamanho da fonte do link */
        margin-bottom: 20px;
        /* Espaço abaixo do link */
    }

    #inicio {
        height: auto;
        /* Permite que o conteúdo se ajuste */
        padding: 200px 20px;
        /* Mais espaço para o conteúdo */
    }

    .foto-perfil img {
        width: 300px;
        /* Tamanho menor para telas pequenas */
        height: 300px;
    }

    #sobre p {
        font-size: 1em;
        /* Tamanho de fonte menor */
        text-align: center;
    }

    #sobre h2 {
        font-size: 2em;
        /* Tamanho de fonte menor */
        text-align: center;
    }

    .btn-sobre {
        padding: 10px 20px;
        /* Tamanho do botão menor */
        font-size: 16px;
        /* Tamanho da fonte do botão menor */
        margin-left: 110px;
        /* Espaço à esquerda */
    }

    #projetos h2 {
        font-size: 2em;
        /* Tamanho de fonte menor */
    }

    .carrossel-track img {
        height: 60px;
        width: auto;
    }

    .carrossel-track {
        animation-duration: 8s;
    }

    .container-contato h2 {
        font-size: 2rem;
    }

    .container-contato p {
        font-size: 1rem;
        margin-left: 20px;
        margin-right: 20px;
    }

    .form-contato input,
    .form-contato textarea {
        font-size: 0.9rem;
        padding: 10px;
    }

    .form-contato button {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .footer-copy {
        font-size: 0.8rem;
        margin-top: 20px;
    }

    .bloco-direito h2 {
        font-size: 1.8rem;
    }

    .bloco-direito p {
        font-size: 1rem;
    }

    .form-contato input,
    .form-contato textarea {
        font-size: 0.95rem;
    }

    .form-contato button {
        font-size: 1rem;
        padding: 12px 24px;
    }

    .container-contato {
        gap:40px;
    }

}