.projetos .container-projetos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    justify-content: center;
}

.projetos .projeto {
    max-width: 250px;
    max-height: 260px;
    position: relative;
    display: none;
    transition: transform 0.3s;
    border-radius: 5px;
    overflow: hidden;
}

.projetos .projeto.ativo {
    display: block;
}

.projetos .projeto a {
    color: var(--cor-texto-branco);
}

.projetos .projeto:hover {
    transform: scale(1.02);
    cursor: pointer;
}

.projetos .projeto h3 {
    background-color: var(--cor-fundo-projeto-titulo);
    width: 100%;
    padding: 10px 20px;
    position: absolute;
    bottom: 0;
    z-index: 2;
    transition: opacity 0.3s ease-in-out;
}

.projetos .projeto .informacoes-projeto {
    background-color: var(--cor-fundo-projeto-titulo);
    color: var(--cor-texto-branco);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    font-weight: 600;
    opacity: 0;
    transition: 0.3s;
    padding: 20px;
}

.projetos .projeto:hover .informacoes-projeto {
    opacity: 1;
    background-color: var(--cor-fundo-projeto-hover);
}

.projetos .projeto:hover h3 {
    opacity: 0;
}

.projetos .btn-mostrar-projetos {
    background: none;
    border: 1px solid #fff;
    border-radius: 15px;
    color: #fff;
    width: 180px;
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.projetos .btn-mostrar-projetos:hover {
    background-color: var(--cor-destaque);
    transition: 0.3s;
}

.projetos .btn-mostrar-projetos.remover {
    display: none;
}

.projetos .links-projeto {
    display: flex;
    gap: 20px; 
    margin-top: 20px; 
}

.projetos .btn-projeto {
    text-decoration: none;
    color: var(--cor-texto-branco);
    background-color: rgba(0, 0, 0, 0.3); 
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid var(--cor-texto-branco);
    font-weight: 600;
    transition: background-color 0.3s, border-color 0.3s;
    cursor: pointer; 
}

.projetos .btn-projeto:hover {
    background-color: var(--cor-destaque); 
    border-color: var(--cor-destaque);
    color: var(--cor-fundo-hover-menu);
}
