/* --- Variables y Estilos Globales --- */
:root {
    --primary-color: #0d2c4f; /* Azul oscuro */
    --secondary-color: #f4f7f6; /* Gris muy claro para fondo */
    --text-color: #333;
    --light-text-color: #fff;
    --card-bg-color: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --font-headings: 'Poppins', sans-serif;
    --font-body: 'Lato', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: #ebdec5;
    color: var(--text-color);
    line-height: 1.6;
}
h2 {
    color: #E67620 !important;
    font-family: var(--font-headings);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}



.container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* --- Encabezado --- */
header {
    background: linear-gradient(90deg, #E67620 30%, #1D478B 70%);
    color: var(--light-text-color);
    padding: 2rem 1rem;
    text-align: center;
}

header h1 {
    font-family: var(--font-headings);
    font-size: 2.5rem;
}
a {
    color: #E67620;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #1D478B;
}
.indice {
    margin: auto;
    display: flex;
    justify-content: center;
    background-color: rgb(255, 255, 255);
    margin-top: 1rem;
    font-size: 1.1rem;
    padding: 0.5rem;
    border-radius: 5px;
    box-shadow: 05px 05px 10px rgba(0, 0, 0, 0.2);
    width: 90%;
    transition: color 0.6s ;
    cursor: pointer;
    


}
.ingreso {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}
button {
    color: #ffffff !important;
    background-color:#eeeeee;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button:hover {
    background-color: #f4f7f6;
    transition: background-color 0.3s ease;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
}
.indice:hover {
    box-shadow: 15px 15px 5px rgba(0, 0, 0, 0.2);
    transition: color 0.6s ;
    
}

/* --- Tarjetas de Tutorial --- */
.tutorial-card {
    background-color: var(--card-bg-color);
    border-radius: 8px;
    box-shadow: 0 4px 35px var(--shadow-color);
    margin-bottom: 2.5rem;
    padding: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: 0.1s ;
    cursor: pointer;


}

.tutorial-card:hover {

    box-shadow: 15px 15px 5px rgba(0, 0, 0, 0.2);
    transition: 0.1s ;
}

.tutorial-card h2 {
    font-family: var(--font-headings);
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.tutorial-card video {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 1rem;
    border: 1px solid #eee;
    height: 80vh;
    object-fit: contain;
}

.tutorial-card p {
    font-size: 1rem;
}

/* --- Pie de Página --- */
footer {
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
    background-color: #e9ecef;
    color: #6c757d;
    font-size: 0.9rem;
}

/* --- Responsividad --- */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .tutorial-card h2 {
        font-size: 1.5rem;
    }
}
