@charset "UTF-8";

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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0a4d3a 0%, #1a5f4a 25%, #2d7a5a 50%, #0f2027 100%);
    color: #ffffff;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Estrelas de fundo */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 160px 30px, rgba(255,255,255,0.9), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    z-index: -1;
    animation: twinkle 1s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(34, 197, 94, 0.3); }
    50% { box-shadow: 0 0 30px rgba(34, 197, 94, 0.6); }
}
/* Cabeçalho */
header {
    width: 100%;
    height: 50px;
    background: rgba(13, 38, 30, 0.8);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(34, 197, 94, 0.3);
    position: fixed;
    z-index: 888;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

header > h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: white !important;
    margin: 0;
    margin-left: 30px;
}

header div.menu-btn {
    margin-right: 30px;
}

header div.menu-btn div {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    width: 25px;
    height: 4px;
    margin: 5px;
    border-radius: 20px;
    background-color: white;
}

header div.menu-btn div.cute {
    position: relative;
    left: 10px;
    width: 15px;
    transition: 0.3s ease-in-out;
}

header div.menu-btn div.cute.toggle {
    background-color: transparent;
    width: 0px;
}

.menu-btn .deg-1, .menu-btn .deg-2 {
    transition: 0.3s ease-in-out;
}

div.menu-btn .deg-1.toggle {
    transform: rotate(45deg);
    position: relative;
    top: 10px;
}

div.menu-btn .deg-2.toggle {
    transform: rotate(-45deg);
    position: relative;
    bottom: 8px;
    
}

/* Navegação */
nav.nav-desktop {
    width: 100%;
    height: 50px;
    padding: 1rem 0;
    display: none;
}

nav ul.nav-desktop-ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    
}

div.nav-modal {
    display: flex;
    justify-content: flex-end;
    position: fixed;
    right: 0;
    z-index: 999;
    width: 100%;
    height: 0%;
    margin-top: 50px;
    background-color: rgba(0, 0, 0, 0.80);
    transition: 0.5s ease-in-out;
}

div.nav-modal.toggle {
    height: 100%;
}

nav.nav-mobile {
    position: relative;
    left: 0;
    background: rgba(13, 38, 30, 0.8);
    backdrop-filter: blur(3px);
    border: 1px solid rgba(34, 197, 94, 0.5);
    border-top: 0;
    border-bottom: 0;
    width: 50%;
    height: 0%;
    overflow: hidden;
    transition: 0.5s ease-in-out;
}

nav.nav-mobile.toggle {
    height: 100%;
}


ul.nav-mobile-ul {
    list-style: none;
}

ul.nav-mobile-ul{
    margin-top: 10px;
    padding: 2px;
}

nav.nav-mobile span img {
    margin-right: 5px;
    position: relative;
    top: 2px;
    width: 20px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    user-select: none;
}

nav a:hover {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    transform: translateY(-2px);
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Seções */
section {
    padding: 6rem 0;
    margin-top: 80px;
}

section:first-of-type {
    margin-top: 0;
}

h1, h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    background: linear-gradient(45deg, #22c55e, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2rem;
}

/* Seção Sobre */
.init {
    text-align: center;
    position: relative;
}

.init p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* conteúdo principal */
main.main-content {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    background-color: #0f2027;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}

section.projects-content {
    position: relative;
    top: -60px;
    width: 90%;
    border: 1px solid rgba(34, 197, 94, 0.616);
    border-radius: 24px;
    background-color: rgb(245, 245, 245);
}

/* Seção Projetos */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.712);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(34, 197, 94, 0.3);
    box-shadow: 0 0px 5px rgba(19, 112, 53, 0.050);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
    border-color: rgba(34, 197, 94, 0.6);
    animation: glow 2s infinite;
}

.project-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #22c55e, #10b981);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.project-content h3 {
    color: #22c55e;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.project-content p {
    color: #000000;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Seção Contato */
.contact-form {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #22c55e;
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, #22c55e, #10b981);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.4);
}

/* Responsividade */
@media (max-width: 768px) {
    nav ul {
        gap: 1rem;
    }

    nav a {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }

    h1, h2 {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        flex-direction: column;
        text-align: center;
    }

    .container {
        padding: 0 1rem;
    }

    section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    h1, h2 {
        font-size: 1.5rem;
    }

    .about p {
        font-size: 1rem;
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}