/* Estilo para Enciclopedia de Dinosaurios - Tema Futurista y Científico */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    color: #ffffff;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: linear-gradient(90deg, #4b79a1, #283e51);
    color: #fff;
    padding: 1.5rem 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    font-size: 2.8rem;
    text-shadow: 2px 2px #000;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

header nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #76c7c0;
}

.container {
    flex: 1;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

.dinosaur-section {
    margin-bottom: 2rem;
    border-bottom: 2px solid #76c7c0;
    padding-bottom: 1rem;
}

.dinosaur-section h2 {
    font-size: 2rem;
    color: #76c7c0;
    margin-bottom: 1rem;
    text-shadow: 1px 1px #000;
}

.dinosaur-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #283e51;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dinosaur-info:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(118, 199, 192, 0.8);
}

.dinosaur-info img {
    max-width: 35vw;
    width: 35vw;
    height: 40vh;
    border-radius: 8px;
    border: 2px solid #76c7c0;
}

.dinosaur-info p {
    color: #d0d0d0;
    line-height: 1.6;
    font-size: 1rem;
}

footer {
    background: #203a43;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.5);
}

footer .social-media a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 0.5rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

footer .social-media a:hover {
    color: #76c7c0;
}

/* Media Queries */
@media (max-width: 768px) {
    .dinosaur-info {
        flex-direction: column;
        text-align: center;
    }
    .dinosaur-info img {
        max-width: 100%;
        width: 100%;
    }

    .dinosaur-info img {
        max-width: 100%;
    }

    header h1 {
        font-size: 2rem;
    }

    header nav ul {
        gap: 1rem;
    }
}
