body{
    background-color: rgb(255, 255, 255);
}


h1{
    text-align: center;
    border-radius: 5px;
    border-width: 6px;
    padding: 10px;

    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 34px;
    font-style: italic;
    color:rgb(0, 0, 0);
    
    animation: 0.5s linear 0s 1 running myFrameDash;
 display:block;
 position:relative;
 font-weight: bold;
 text-shadow: 0px 2px 0px #9f9f9f;
}

h3{
    text-align: center;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    animation: 0.8s linear 0s 1 running myFrameDash;
 display:block;
 position:relative;
 font-weight:bold;
}

p{
    text-align: center;
    padding: 20px;

    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 14px;
    font-style: italic;
    color:rgb(0, 0, 0);
    
    animation: 0.5s linear 0s 1 running myFrameDash;
 display:block;
 position:relative;
}

.Pborder{
    text-align: center;
    padding: 20px;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 15px;
    font-style: italic;
    color:rgb(0, 0, 0);
    background-color: rgba(220, 20, 60, 0.62);
    border: solid 3px;
    border-radius: 4px;
    padding: 12px;
    animation: 0.5s linear 0s 1 running myFrameDash;
 display:block;
 position:relative;
}

.links-a{
    color:rgb(1, 191, 131);
    text-shadow: 1px 1px 2px #000000;
}

button{
     border-radius: 2px;
    border-width: 1px;
    border-color: black;
    
    background: linear-gradient(yellow, orange);

    background-size: 200% auto;

    margin: 0; 
    display: inline-block;
    position: relative;
    
    color: rgb(255, 255, 255); 
    width: 160px; 
    height: 39px;
    font-family: fantasy;
    text-shadow: 1px 2px 1px black;
    font-size: 99%;
    
    animation: 
        0.8s cubic-bezier(0.25, 1, 0.5, 1) 0s 1 running myFrameDash,
        moverDegradado 3s linear infinite;
        
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.25s ease, filter 0.25s ease;
}


.contenedor-boton {
    text-align: center; 
    width: 100%;        
}


.buttonComun {
    border-radius: 2px;
    border-width: 1px;
    border-color: black;
    
    background: rgb(0, 208, 0);
    background-size: 200% auto;


    margin: 0 auto; 
    display: inline-block;
    position: relative;
    
    color: rgb(255, 255, 255); 
    width: 160px; 
    height: 39px;
    font-family: fantasy;
    text-shadow: 1px 2px 1px black;
    font-size: 99%;
    
    animation: 
        0.8s cubic-bezier(0.25, 1, 0.5, 1) 0s 1 running myFrameDash,
        moverDegradado 3s linear infinite;
        
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.25s ease, filter 0.25s ease;
}


button:hover{
    color: rgb(255, 255, 255);

    box-shadow: 0px 8px 3px rgba(126, 135, 6, 0.797); 
    transform: translateY(-5px); 
    filter: brightness(1.1); 
}

button:active{
    color: rgb(255, 255, 255);
    box-shadow: 0px 4px 1px rgba(209, 199, 13, 0.5);
    transform: translateY(1px); 
}

/* AREA PERSONAL TEXTO */
textarea {
    width: 100%;            
    height: 250px;          
    box-sizing: border-box; 
    margin: 20px 0;         
    
    padding: 15px;
    border: 3px solid #000000;
    border-radius: 8px;
    font-size: 16px;
    font-family: sans-serif;
    resize: none;        
    animation: 0.5s linear 0s 1 running myFrameDashSlow;  
}


/* --- CONFIGURACIÓN GLOBAL BANNER --- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

/* --- BANNER SUPERIOR --- */

.banner-superior {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(orange, rgb(158, 66, 0));
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.bloque-izquierdo {
    display: flex;
    align-items: center;
    gap: 15px; 
}

.logo-o-nombre {
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.accesos-rapidos a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
}

/* --- CONTROLES DEL MENÚ LATERAL --- */

#menu-toggle {
    display: none; 
}

.menu-icon {
    font-size: 28px;
    color: white;
    cursor: pointer;
    user-select: none;
}

/* --- PANEL LATERAL (SIDEBAR) --- */

.sidebar {
    position: fixed;
    top: 60px; 
    bottom: 0; /* Asegura que se rellene hasta abajo en cualquier pantalla */
    left: -250px;
    width: 250px;
    background-color: #222;
    transition: left 0.3s ease;
    overflow-y: auto; 
}

.sidebar a {
    display: block;
    padding: 15px 25px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #333;
}

p {
    color: white;
    border: solid;
    background-color: orange;
    text-shadow: 0px 1px 2px black;
    font-size: 20px;
    font-family:Georgia, 'Times New Roman', Times, serif;

    padding: 2px 10px; 
    margin: 4px auto;  
}


.Postt {
    position: relative;       
    display: flex;
    align-items: center;      
    

    width: 92%;               
    max-width: 680px;         
    min-width: 280px;         
    margin: 30px auto;        
    

    background-color: #ebebeb; 
    border: 1px solid #bfbfbf; 
    border-radius: 12px;       
    

    padding: 25px 20px 20px 50px; 
    
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;    
}


.icono-lapiz {
    position: absolute;       
    top: 9px;      
    left: 18px;               
    width: 18px;     
    height: 18px;
    color: darkred;      
    opacity: 0.8;             
}

/* texto dentro del Post */
.contenido-post {
    margin: 0;                
    color: #2d3748;           
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.5;         
    text-align: left;         
}


.sidebar a:hover {
    background-color: #444;
}

#menu-toggle:checked ~ .sidebar {
    left: 0;
}

/* --- CUERPO DE LA PÁGINA --- */

.contenido-pagina {
    margin-top: 80px; 
}

.logo{
    color: rgb(220, 243, 245);
    text-shadow: 0px 2px 0px  #000000;
    font-size: 20px;
    font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

/* fin banner*/




/* CONTENEDORES Y ALINEACIÓN EN EL CENTRO */
.parent {
    display: flex;
    justify-content: center;
    width: 100%;
}

.contenedor-fila {
    display: flex;
    flex-direction: row;
    align-items: center;     /* Centra verticalmente la imagen con el botón */
    justify-content: center;   /* Centra todo horizontalmente en la pantalla */
    gap: 20px;
    width: fit-content;
    margin: 0 auto;            /* Asegura el centrado absoluto en la página */
}

/* TAMAÑO FIJO PARA LAS IMÁGENES*/
.social-img {
    width: 100px;               /* Ancho fijo para que siempre sean idénticas */
    height: 100px;              /* Alto fijo */
    object-fit: contain;       /* Evita que la imagen se deforme o estire */
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    cursor: pointer;
}

/* EFECTOS DE LAS IMÁGENES */
.social-img:hover {
    transform: translateY(-5px); 
    filter: brightness(1.1); 
}

.social-img:active {
    transform: translateY(1px); 
}

/* BOTÓN CON TAMAÑO FIJO  */
.buttonCenter {
    border-radius: 2px;
    border-width: 1px;
    border-color: black;
    background: rgb(0, 208, 0);
    background-size: 200% auto;
    margin: 0; 
    display: inline-block;
    position: relative;
    
    color: rgb(255, 255, 255); 
    width: 160px;              /* Ancho fijo inamovible */
    height: 42px;              /* Alto fijo inamovible */
    font-family: fantasy;
    text-shadow: 1px 2px 1px black;
    font-size: 99%;
    
    animation: 
        0.8s cubic-bezier(0.25, 1, 0.5, 1) 0s 1 running myFrameDash,
        moverDegradado 3s linear infinite;
        
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.25s ease, filter 0.25s ease;
}


/* interaccion: */
body.bloquear-scroll {
    overflow: hidden !important;
    touch-action: none !important; /* Bloquea gestos táctiles en móviles */
    -ms-touch-action: none !important;
}



.video-container {
    position: relative;
    aspect-ratio: 16 / 9; 
    height: auto;
    overflow: hidden;
    margin-bottom: 25px;
    border-radius: 6px;
    background: rgb(255, 205, 5);
    border: none;
    
    width: 60%;
    
    min-width: 320px;
    max-width: 1280px;

    margin-left: auto;
    margin-right: auto;
}

.video-ajustable {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: contain; 
    object-position: center; 
}



.contenedor-novedades {
    display: flex;
    flex-direction: column; 
    gap: 15px;             
    
    width: 90%;           
    max-width: 450px;      
    margin: 40px auto;     
    padding: 20px;          
    
    background-color: #e3f2fd; 
    border-radius: 16px;    
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); 
}

.item-novedad {
    display: block;        
    text-align: center;     
    padding: 15px 10px;    
    background-color: #ffffff; 
    color: #4a5568;         
    
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 500;
    
    border-radius: 10px;   
    border-left: 5px solid #90caf9;
    
    transition: transform 0.2s ease;
}


.item-novedad:hover {
    transform: translateY(-2px); 
}


@keyframes myFrameDash {
    0% {
        transform: scale(0);  
        opacity: 0;            
    }
    70% {
        transform: scale(1.2); 
        opacity: 0.7;
    }
    100% {
        transform: scale(1);  
        opacity: 1;            
    }
}

@keyframes myFrameDashSlow {
    0% {
        transform: scale(0);   
        opacity: 0;            
    }
    70% {
        transform: scale(1.09); 
        opacity: 0.8;
    }
    100% {
        transform: scale(1);   
        opacity: 1;            
    }
}