/* ================================
   IMPORT VT323
================================ */
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

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

/* ================================
   BODY
================================ */
body {
    font-family: 'VT323', monospace;
    font-size: 26px;
    color: #ffffff;
    line-height: 1.6;
    background:
        linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
        url('Fondo.jpg') center center/cover no-repeat;
}

/* ================================
   FILA SUPERIOR
================================ */
.fila-superior {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    padding: 25px;
    background-color: rgba(0,0,0,0.8);

    border: 30px solid transparent;
    border-image: url("Prueba.png") 30 stretch;

    border-radius: 15px;
    overflow: hidden;
}

.fila-superior h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 65px;
    letter-spacing: 3px;
    color: #ffcc00;
    text-shadow:
        -0.046em -0.046em 0 #3c57cf,
         0.046em -0.046em 0 #3c57cf,
        -0.046em  0.046em 0 #3c57cf,
         0.046em  0.046em 0 #3c57cf,
         0em     0.092em 0 black;
    text-align: center;
}

/* ================================
   COLUMNAS
================================ */
.columna {
    float: left;
    min-height: 500px;
    padding: 25px;
    background-color: rgba(0,0,0,0.8);

    border: 30px solid transparent;
    border-image: url("Prueba.png") 30 stretch;

    border-radius: 15px;
    overflow: hidden;
}

.izquierda { width: 30%; }
.derecha { width: 68%; float: right; line-height: 1.7; }

.derecha2 { 
    width: 90%; 
    float: none; 
    line-height: 1.7; 
    margin: 10px auto;
    padding: 20px;
}

/* ================================
   LISTAS
================================ */
ul {
    margin: 15px 0 25px 40px;
}
li {
    margin-bottom: 15px;
}

/* ================================
   COLORES
================================ */
.izquierda h2 { color: #3c57cf; }

.derecha h3, .derecha h4,
.derecha2 h3, .derecha2 h4 { 
    color: #3c57cf; 
}

.izquierda li { color: #ffcc00; }

/* ================================
   ENLACES
================================ */
a, .T_img {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s, opacity 0.3s;
}

a:hover { 
    color: #e0b60e; 
    opacity: 0.8; 
}

.T_img:hover { 
    opacity: 0.9999; 
}

/* ================================
   IMÁGENES
================================ */
.columna img {
    width: 75%;
    height: auto;
    display: block;
    margin: 15px auto 25px auto;
    border-radius: 8px;
}

/* ================================
   BOTONES
================================ */
.boton {
    font-family: 'VT323', monospace;
    font-size: 24px;
    transition: color 0.3s ease;
}

.boton:hover { 
    color: #e0b60e; 
    opacity: 0.8; 
}

.botones-final {
    display: flex;
    justify-content: space-between;
}

/* ================================
   PARÁGRAFOS
================================ */
.pa { 
    margin-left: 50px; 
}

/* ================================
   VIDEOS
================================ */
.videos {
    display: flex;
    margin-top: 20px;
    justify-content: center;
}

.video-col {
    flex: 1;
    display: flex;
    justify-content: center;
}

.video-col video {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin-top: 20px;
}

/* ================================
   CLEAR FLOATS
================================ */
.filla:after {
    content: "";
    display: table;
    clear: both;
}

/* ================================
   RESPONSIVE
================================ */

/* ================================
   TABLET
================================ */
@media screen and (max-width: 768px) {

    body {
        font-size: 22px;
    }

    .columna {
        width: 100%;
        float: none;
        margin-bottom: 25px; /* separación vertical */
    }

    .derecha2 {
        width: 95%;
        padding: 15px;
    }

    .fila-superior {
        border-width: 20px; /* mantiene proporción */
        padding: 20px;
    }

    .fila-superior h1 {
        font-size: 50px;
    }

    .videos {
        flex-direction: column;
        margin-top: 15px;
    }
    
    .video-col {
        justify-content: center;
        margin-bottom: 20px;
    }

    .video-col video {
        max-width: 90%;
    }
}

/* ================================
   MÓVIL
================================ */
@media screen and (max-width: 480px) {

    body {
        font-size: 18px;
    }

    .columna {
        width: 100%;
        float: none;
        margin-bottom: 20px; /* separación vertical */
    }

    .derecha2 {
        width: 100%;
        padding: 10px;
    }

    .fila-superior {
        border-width: 15px; /* proporcional al diseño */
        padding: 15px;
    }

    .fila-superior h1 {
        font-size: 38px;
    }

    .pa {
        margin-left: 20px;
    }

    .video-col video {
        max-width: 100%;
    }
    
    .boton {
        font-size: 20px;
    }
}
