Proyecto

General

Perfil

Descargar (5,7 KB) Estadísticas
| Rama: | Revisión:
!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Catálogo - ONG de Animales</title>
<style>
body {
margin: 0;
font-family: 'Poppins', sans-serif;
background: linear-gradient(135deg, #74ebd5, #acb6e5);
color: #222;
text-align: center;
line-height: 1.6;
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 100vh;
}

header {
margin: 20px 0;
}

h1 {
font-size: 3.5rem;
color: #000;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

p {
font-size: 1.2rem;
margin: 10px auto;
width: 70%;
max-width: 800px;
color: #333;
}

.catalog {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
margin: 30px auto;
padding: 0 20px;
}

.animal-card {
background-color: rgba(255, 255, 255, 0.8);
color: #222;
width: 300px;
border-radius: 15px;
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
overflow: hidden;
position: relative;
}

.animal-card img {
width: 100%;
height: 200px;
object-fit: cover;
border-bottom: 2px solid #ddd;
}

.animal-card h2 {
position: absolute;
top: -10px;
left: 50%;
transform: translateX(-50%);
background-color: rgba(0, 0, 0, 0.6);
color: #fff;
padding: 5px 10px;
border-radius: 5px;
font-size: 1.5rem;
}

.animal-card .content {
padding: 20px;
text-align: center;
}

.animal-card p {
font-size: 1rem;
line-height: 1.5;
color: #666;
}

.adopt-btn {
background-color: #6ab7ff;
color: #fff;
padding: 8px 12px;
font-size: 1rem;
font-weight: bold;
border: none;
border-radius: 50px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 5px;
transition: all 0.3s ease;
position: relative;
}

.adopt-btn:hover {
background-color: #4697e0;
transform: scale(1.1);
}

.adopt-btn:active {
transform: scale(0.95);
}

.adopt-btn span {
font-size: 1.2rem;
}

.back-btn {
background-color: #ff6b6b;
color: #fff;
padding: 6px 12px;
font-size: 0.9rem;
font-weight: bold;
border: none;
border-radius: 50px;
cursor: pointer;
margin-top: 20px;
display: inline-block;
transition: all 0.3s ease;
}

.back-btn:hover {
background-color: #ff4040;
transform: scale(1.1);
}

.back-btn:active {
transform: scale(0.95);
}

footer {
padding: 10px 0;
font-size: 0.9rem;
background-color: #1a1a1a;
color: #fff;
box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
display: flex;
justify-content: center;
align-items: center;
}
</style>
</head>
<body>
<header>
<h1>Catálogo de Animales en Adopción</h1>
<p>En este catálogo puedes ver los distintos animales que puedes adoptar en nuestra web: perros, gatos y roedores. ¡Elige uno y cambia su vida para siempre!</p>
</header>

<section class="catalog">
<!-- Recuadro de Perros -->
<div class="animal-card">
<h2>Perros</h2>
<img src="Imagenes/perros1.png" alt="Perro">
<div class="content">
<p>Amigables y fieles, los perros siempre están listos para llenar tu vida de alegría y amor.</p>
<button class="adopt-btn" onclick="location.href='perros.html'">
<span>&#8594;</span> ¡Adopta!
</button>
</div>
</div>

<!-- Recuadro de Gatos -->
<div class="animal-card">
<h2>Gatos</h2>
<img src="Imagenes/gatos1.png" alt="Gato">
<div class="content">
<p>Independientes y elegantes, los gatos son la compañía ideal para un hogar tranquilo y cálido.</p>
<button class="adopt-btn" onclick="location.href='gatos.html'">
<span>&#8594;</span> ¡Adopta!
</button>
</div>
</div>

<!-- Recuadro de Roedores -->
<div class="animal-card">
<h2>Roedores</h2>
<img src="Imagenes/roedores.png" alt="Roedor">
<div class="content">
<p>Pequeños y encantadores, los roedores son perfectos para quienes buscan una mascota diferente.</p>
<button class="adopt-btn" onclick="location.href='roedores.html'">
<span>&#8594;</span> ¡Adopta!
</button>
</div>
</div>
</section>

<!-- Botón Volver -->
<button class="back-btn" onclick="location.href='principal.html'">Volver a la Página Principal</button>

<footer>
Autor: Alba Collado Cano &bull; Última modificación: 12 de diciembre de 2024
</footer>
</body>
</html>
(1-1/10)