<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mi Página Web Destacada</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
color: #fff;
min-height: 100vh;
overflow-x: hidden;
}
#particles-js {
position: absolute;
width: 100%;
height: 100%;
z-index: -1;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
position: relative;
z-index: 1;
}
header {
padding: 30px 0;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 28px;
font-weight: 700;
background: linear-gradient(45deg, #ff8a00, #e52e71);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
nav ul {
display: flex;
list-style: none;
}
nav ul li {
margin-left: 30px;
}
nav ul li a {
color: #fff;
text-decoration: none;
font-weight: 500;
transition: all 0.3s ease;
padding: 8px 12px;
border-radius: 4px;
}
nav ul li a:hover {
background: rgba(255, 255, 255, 0.1);
transform: translateY(-2px);
}
.hero {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
min-height: 80vh;
}
h1 {
font-size: 4rem;
margin-bottom: 20px;
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
background: linear-gradient(45deg, #ff8a00, #e52e71, #ff8a00);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-size: 200% auto;
animation: gradient 3s linear infinite;
}
@keyframes gradient {
0% { background-position: 0% center; }
100% { background-position: 200% center; }
}
p {
font-size: 1.2rem;
max-width: 600px;
margin-bottom: 30px;
line-height: 1.6;
}
.btn {
display: inline-block;
padding: 15px 40px;
background: linear-gradient(45deg, #ff8a00, #e52e71);
color: white;
text-decoration: none;
border-radius: 30px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
transition: all 0.3s ease;
box-shadow: 0 10px 20px rgba(229, 46, 113, 0.3);
}
.btn:hover {
transform: translateY(-5px);
box-shadow: 0 15px 25px rgba(229, 46, 113, 0.4);
}
.features {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
margin: 80px 0;
}
.feature {
width: 300px;
padding: 30px;
margin: 20px;
background: rgba(255, 255, 255, 0.1);
border-radius: 15px;
text-align: center;
backdrop-filter: blur(10px);
transition: all 0.3s ease;
}
.feature:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.feature i {
font-size: 40px;
margin-bottom: 20px;
background: linear-gradient(45deg, #ff8a00, #e52e71);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
footer {
text-align: center;
padding: 30px 0;
margin-top: 50px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 768px) {
h1 {
font-size: 2.5rem;
}
nav ul {
display: none;
}
}
</style>
</head>
<body>
<div id="particles-js"></div>
<div class="container">
<header>
<div class="logo">MiSitioWeb</div>
<nav>
<ul>
<li><a href="#">Inicio</a></li>
<li><a href="#">Servicios</a></li>
<li><a href="#">Portafolio</a></li>
<li><a href="#">Contacto</a></li>
</ul>
</nav>
</header>
<section class="hero">
<h1>IMPACTA CON TU PRESENCIA WEB</h1>
<p>Una solución moderna y elegante para destacar en el mundo digital. Diseñada para cautivar a tu audiencia desde el primer momento.</p>
<a href="#" class="btn">Descubre cómo</a>
</section>
<section class="features">
<div class="feature">
<i>🔥</i>
<h3>Diseño Único</h3>
<p>Destaca con un diseño personalizado que refleja la esencia de tu marca.</p>
</div>
<div class="feature">
<i>🚀</i>
<h3>Rendimiento Optimizado</h3>
<p>Velocidad y eficiencia para una experiencia de usuario excepcional.</p>
</div>
<div class="feature">
<i>💫</i>
<h3>Efectos Visuales</h3>
<p>Elementos interactivos que sorprenden y cautivan a tus visitantes.</p>
</div>
</section>
</div>
<footer>
<p>© 2023 MiSitioWeb. Todos los derechos reservados.</p>
</footer>
<!-- Script para el efecto de partículas -->
<script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function() {
particlesJS('particles-js', {
"particles": {
"number": {
"value": 80,
"density": {
"enable": true,
"value_area": 800
}
},
"color": {
"value": "#ffffff"
},
"shape": {
"type": "circle",
"stroke": {
"width": 0,
"color": "#000000"
}
},
"opacity": {
"value": 0.5,
"random": false,
"anim": {
"enable": false,
"speed": 1,
"opacity_min": 0.1,
"sync": false
}
},
"size": {
"value": 3,
"random": true,
"anim": {
"enable": false,
"speed": 40,
"size_min": 0.1,
"sync": false
}
},
"line_linked": {
"enable": true,
"distance": 150,
"color": "#ffffff",
"opacity": 0.4,
"width": 1
},
"move": {
"enable": true,
"speed": 3,
"direction": "none",
"random": false,
"straight": false,
"out_mode": "out",
"bounce": false,
"attract": {
"enable": false,
"rotateX": 600,
"rotateY": 1200
}
}
},
"interactivity": {
"detect_on": "canvas",
"events": {
"onhover": {
"enable": true,
"mode": "grab"
},
"onclick": {
"enable": true,
"mode": "push"
},
"resize": true
},
"modes": {
"grab": {
"distance": 140,
"line_linked": {
"opacity": 1
}
},
"push": {
"particles_nb": 4
}
}
},
"retina_detect": true
});
});
</script>
</body>
</html>