Gente
Gente
```
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>University Network - Valorizando Estudantes</title>
<style>
/* Reset e estilos gerais */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: #f5f7fa;
color: #333;
line-height: 1.6;
}
.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
padding: 15px;
}
/* Estilos de Navegação */
nav {
background-color: #2c3e50;
padding: 15px 0;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
position: sticky;
top: 0;
z-index: 100;
}
.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
color: #fff;
font-size: 24px;
font-weight: bold;
display: flex;
align-items: center;
}
.logo span {
color: #3498db;
}
.nav-links {
display: flex;
list-style: none;
}
.nav-links li {
margin-left: 20px;
}
.nav-links a {
color: #fff;
text-decoration: none;
transition: color 0.3s;
font-weight: 500;
}
.nav-links a:hover {
color: #3498db;
}
.menu-toggle {
display: none;
flex-direction: column;
cursor: pointer;
}
.bar {
width: 25px;
height: 3px;
background-color: white;
margin: 3px 0;
transition: 0.4s;
}
/* Seção Hero */
.hero {
background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80,
0.7)), url('/api/placeholder/1200/600') no-repeat center center;
background-size: cover;
padding: 100px 0;
color: white;
text-align: center;
}
.hero h1 {
font-size: 48px;
margin-bottom: 20px;
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero p {
font-size: 20px;
max-width: 700px;
margin: 0 auto 30px;
}
.btn {
display: inline-block;
padding: 12px 30px;
background-color: #3498db;
color: white;
border: none;
border-radius: 4px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: background-color 0.3s;
text-decoration: none;
}
.btn:hover {
background-color: #2980b9;
}
/* Seção Features */
.features {
padding: 80px 0;
background: #fff;
}
.section-title {
text-align: center;
font-size: 36px;
margin-bottom: 60px;
color: #2c3e50;
position: relative;
}
.section-title::after {
content: '';
display: block;
width: 80px;
height: 4px;
background: #3498db;
margin: 15px auto 0;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
.feature-card {
background: #f9f9f9;
border-radius: 8px;
padding: 30px;
text-align: center;
transition: transform 0.3s, box-shadow 0.3s;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.feature-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.feature-icon {
background-color: #3498db;
color: white;
width: 70px;
height: 70px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 20px;
font-size: 30px;
}
.feature-card h3 {
font-size: 22px;
margin-bottom: 15px;
color: #2c3e50;
}
/* Seção de Equipe */
.team {
padding: 80px 0;
background-color: #f5f7fa;
}
.team-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
}
.team-card {
background: #fff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
transition: transform 0.3s;
}
.team-card:hover {
transform: translateY(-10px);
}
.team-img {
width: 100%;
height: 250px;
object-fit: cover;
}
.team-info {
padding: 20px;
text-align: center;
}
.team-info h3 {
font-size: 20px;
margin-bottom: 5px;
color: #2c3e50;
}
.team-info p {
color: #7f8c8d;
margin-bottom: 15px;
}
.social-links {
display: flex;
justify-content: center;
gap: 15px;
}
.social-link {
color: #3498db;
font-size: 18px;
transition: color 0.3s;
}
.social-link:hover {
color: #2980b9;
}
/* Seção Login/Cadastro */
.auth-section {
padding: 80px 0;
background-color: #fff;
}
.auth-container {
display: flex;
justify-content: space-between;
gap: 40px;
max-width: 900px;
margin: 0 auto;
}
.auth-box {
flex: 1;
background: #f5f7fa;
border-radius: 8px;
padding: 30px;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.auth-box h2 {
text-align: center;
font-size: 24px;
margin-bottom: 25px;
color: #2c3e50;
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
margin-bottom: 8px;
font-weight: 500;
color: #2c3e50;
}
.form-control {
width: 100%;
padding: 12px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
transition: border-color 0.3s;
}
.form-control:focus {
border-color: #3498db;
outline: none;
}
.btn-block {
display: block;
width: 100%;
margin-top: 10px;
}
/* Footer */
footer {
background-color: #2c3e50;
color: #ecf0f1;
padding: 40px 0 20px;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 30px;
margin-bottom: 30px;
}
.footer-column h3 {
font-size: 20px;
margin-bottom: 20px;
position: relative;
padding-bottom: 10px;
}
.footer-column h3::after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 40px;
height: 3px;
background: #3498db;
}
.footer-links {
list-style: none;
}
.footer-links li {
margin-bottom: 10px;
}
.footer-links a {
color: #bdc3c7;
text-decoration: none;
transition: color 0.3s;
}
.footer-links a:hover {
color: #3498db;
}
.footer-bottom {
text-align: center;
padding-top: 20px;
border-top: 1px solid #34495e;
}
/* Responsividade */
@media (max-width: 768px) {
.menu-toggle {
display: flex;
}
.nav-links {
position: absolute;
top: 70px;
left: 0;
background: #2c3e50;
width: 100%;
flex-direction: column;
align-items: center;
padding: 20px 0;
transform: translateY(-150%);
transition: transform 0.4s ease;
box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}
.nav-links.active {
transform: translateY(0);
}
.nav-links li {
margin: 15px 0;
}
.hero h1 {
font-size: 32px;
}
.hero p {
font-size: 18px;
}
.auth-container {
flex-direction: column;
}
}
</style>
</head>
<body>
<!-- Navegação -->
<nav>
<div class="container nav-container">
<div class="logo">University<span>Network</span></div>
<div class="menu-toggle">
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
</div>
<ul class="nav-links">
<li><a href="#inicio">Início</a></li>
<li><a href="#recursos">Recursos</a></li>
<li><a href="#equipe">Equipe</a></li>
<li><a href="#entrar">Entrar</a></li>
<li><a href="#cadastro" class="btn">Cadastre-se</a></li>
</ul>
</div>
</nav>
<script>
// Menu mobile toggle
const menuToggle = document.querySelector('.menu-toggle');
const navLinks = document.querySelector('.nav-links');
menuToggle.addEventListener('click', () => {
navLinks.classList.toggle('active');
if (target) {
window.scrollTo({
top: target.offsetTop - 70,
behavior: 'smooth'
});
}
});
});
// Formulários
const loginForm = document.getElementById('loginForm');
const registerForm = document.getElementById('registerForm');
loginForm.addEventListener('submit', function(e) {
e.preventDefault();
const email = document.getElementById('email').value;
const password = document.getElementById('password').value;
// Simulação de login
alert(`Login efetuado com sucesso! E-mail: ${email}`);
// Aqui você adicionaria a lógica real de login
});
registerForm.addEventListener('submit', function(e) {
e.preventDefault();
const name = document.getElementById('name').value;
const email = document.getElementById('reg-email').value;
const university = document.getElementById('university').value;
// Simulação de cadastro
alert(`Cadastro realizado com sucesso! Bem-vindo(a), ${name}!`);
// Aqui você adicionaria a lógica real de cadastro
});
</script>
</body>
</html>
```
3. **Funcionalidades simples**:
- Menu responsivo que se transforma em menu hambúrguer em dispositivos móveis
- Smooth scroll para navegação interna
- Simulação de envio de formulários
- Animações suaves nos cards e interações
O código está pronto para uso e pode ser facilmente expandido conforme suas
necessidades!