body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(to bottom right, #f0f4f8, #d9e4f5);
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.navegacao {
    background: linear-gradient(to bottom, #1e3a8a, #264c9a);
    color: white;
    padding: 20px 40px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    box-sizing: border-box;
}

.menu-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-end;
}

.menu-container button {
    background-color: white;
    color: #1e3a8a;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.menu-container button:hover {
    background-color: #dbeafe;
}

.btn-nav {
    background: #fdb500;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    white-space: nowrap;
}

.btn-nav:hover {
    background: #ebebeb;
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color: black;
}

.btn-nav:active {
    transform: scale(0.98);
}

.btn-nav:focus {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.tituloP {
    font-size: 2rem;
    font-weight: bold;
    color: #1e3a8a;
    text-align: center;
    position: relative;
}

.tituloP::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: #fdb500;
    margin: 8px auto 0;
    border-radius: 2px;
}

.container-projetos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.projetos {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: white;
    border-radius: 12px;
    padding: 24px;
    width: 340px;
    gap: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.projetos:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px) scale(1.02);
}

.title-Projeto {
    font-size: 1.1rem;
    font-weight: bold;
    color: #1e3a8a;
}

.descricao-Projeto {
    font-size: 0.95rem;
    color: #374151;
}

.botoes-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.botoes-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
}

.botoes-links a:hover {
    transform: scale(1.05);
}

.btn-github {
    background-color: #1e3a8a;
    color: white;
}

.btn-demonstracao {
    background-color: #fdb500;
    color: white;
}

.btn-semDemo {
    background-color: #374151;
    color: white;
}

.colunas {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    box-sizing: border-box;
    row-gap: 32px;
    gap: 32px;
    align-items: center;
    justify-content: center;
}

a i {
    margin-right: 6px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .menu-container {
        justify-content: center;
        padding: 12px;
        gap: 8px;
    }

    .btn-nav {
        flex: 1 1 100px;
        max-width: 140px;
        font-size: 1rem;
        text-align: center;
    }
    
    .navegacao{
        height: 65%;
    }
    .projetos{
        padding: 10px;
    }

}
