
body {
    background: radial-gradient(circle, #000000, #002244, #004488);
    min-height: 100vh;
    overflow-x: hidden;
}

/* CABEÇALHO */
nav {
    background: rgba(0, 34, 68, 0.8);
    padding: 15px 4%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    transition: 0.3s;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 15px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #00aaff;
    transform: scale(1.1);
}

nav.scrolled {
    background: rgba(0, 34, 68, 0.95);
    padding: 10px 4%;
}

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

    nav ul {
        flex-direction: column;
        gap: 15px;
    }
}

/* TOPO DO SITE */
.topo-do-site {
    padding: 100px 4% 40px;
    text-align: center;
}

#home{
    color: #fff;
    margin-top: 100px;
    font-size: 18px;
    padding: 40px;
}

.foto img{
    position: absolute;
    top: 150px;
    right: 5px;
    border-radius: 45%;
    width: 600px; 
    height: 600px;
}

#projetos{
    margin-top: 200px;
    text-align: center;
    color: #fff;
}

.git {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 123, 255, 0.3);
}

.git:hover {
    background: #0056b3;
    transform: scale(1.05);
}

.projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.project {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #007bff;
    border-radius: 12px;
    padding: 20px;
    width: 350px;
    text-align: center;
    transition: 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 123, 255, 0.3);
}

.project:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.project h3 a {
    text-decoration: none;
    color: #00aaff;
    transition: 0.3s ease-in-out;
}

.project h3 a:hover {
    color: #0056b3;
}