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

body {
    font-family: 'Arial', sans-serif;
    background-image: url('fondo.png');
    
    
}
video{
    max-width: 900px;
    margin: 30px auto;
    padding: 50px 40px;
    padding-right: 120px;
    
}
.fondo{
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}
/* Overlay oscuro para mejor contraste */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.4);
    pointer-events: none;
    z-index: 1;
}

/* Estrellas animadas */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent);
    background-size: 200% 200%;
    animation: twinkle 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Logo del dinosaurio flotando arriba */
nav {
    background: transparent;
    padding: 20px 0;
    position: relative;
    z-index: 100;
    text-align: center;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav li {
    display: inline-block;
}

nav .logo {
    margin: 0 auto;
}

nav .logo img {
    filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.6));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Contenedor principal - Color rosado/lila como en la foto */
.contenedor1 {
    max-width: 900px;
    margin: 30px auto;
    padding: 50px 40px;
    background: linear-gradient(135deg, #e8d5f2 0%, #d4b5e8 50%, #c9a8e0 100%);
    border-radius: 30px;
    box-shadow: 0 15px 60px rgba(200, 150, 230, 0.5);
    text-align: center;
    position: relative;
    z-index: 10;
}

.contenedor1 h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 3.5em;
    color: #4a90e2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    letter-spacing: 3px;
    line-height: 1.2;
}

.contenedor1 p {
    font-family: 'Arial', sans-serif;
    font-size: 1.3em;
    color: #5a5a8a;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: center;
    font-style: italic;
}

/* Contenedor de botones */
.botones-container1 {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Botones azules */
.contenedor1 a {
    display: inline-block;
    padding: 20px 50px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Fredoka One', cursive;
    font-size: 1.4em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contenedor1 a:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(74, 144, 226, 0.6);
    background: linear-gradient(135deg, #357abd 0%, #4a90e2 100%);
}

.contenedor1 a:active {
    transform: translateY(-2px) scale(1.02);
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 15px 0;
    }
    
    nav .logo img {
        width: 150px;
        height: 150px;
    }
    
    .contenedor1 {
        margin: 30px 20px;
        padding: 40px 20px;
    }
    
    .contenedor1 h1 {
        font-size: 2.5em;
    }
    
    .contenedor1 p {
        font-size: 1.1em;
    }
    
    .contenedor1 a {
        padding: 15px 35px;
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .contenedor1 h1 {
        font-size: 2em;
    }
    
    .botones-container1 {
        flex-direction: column;
        align-items: center;
    }
    
    .contenedor1 a {
        width: 100%;
        max-width: 250px;
    }
}