/*
1. Posicionamiento 
2. Modelo de caja(Box Model)
3. Tipografia
4. Visuales
5. Otros
*/
:root {
    /*Colores*/
    --color-1: #171717;
    --color-2: #FFFFFF;
    --color-3: #7C0B0B;
    --color-4: #CD0404;
    --color-5: #212224;
    --color-6: #414149;
    --color-7: #3A589E;
    --color-8: #313E61;
    --color-9: #E1003C;
    --color-10: #B00B48;
    --color-11: #000000;
    --color-12: #363636;
}

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

html {
    font-family: 'Rubik', sans-serif;
    font-size: 62%;
    /** pa evitar espacio en los bordes de la pagina "overflow: hidden;"**/
}

body {
    background-color: var(--color-1);
}

/**Encabezado-Header**/
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 320px;
    height: auto;
}

.logo {
    object-fit: cover;
    width: 50%;
    max-width: 250px;
    height: auto;
    padding: 10px 0px 0px 0px;
}

.contenedor-header-2 {
    display: flex;
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.contenedor-header-texto {
    color: var(--color-2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 131px;
    height: auto;
    gap: 4px;
    align-items: center;

}

#texto-header-1 {
    width: 100%;
    min-width: 109px;
    font-size: 24px;
    text-align: center;
}

#texto-header-2 {

    width: 100%;
    height: auto;
    min-width: 180px;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 18px;
    text-align: center;
}

#texto-header-3 {
    display: none;
    width: 100%;
    height: auto;
    min-width: 200px;
    font-style: normal;
    font-weight: 300;
    font-size: 15px;
    line-height: 20px;
}

#button-header {
    text-decoration: none;
    width: 100%;
    height: 30px;
    max-width: 110px;
    margin-top: 3px;
    border: 0.8px solid #7C0B0B;
    border-radius: 12px;
    color: var(--color-2);
    background-color: var(--color-4);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.035em;
    text-align: center;
    padding-top: 6.5px;
}

.foto-portada {
    width: 100%;
    height: auto;
    max-width: 420px;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    object-fit: cover;
}

/**Fin del encabezado**/

/**main**/
main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/**contenedor principal 1**/
.contenedor-main-1 {
    width: calc(100% - 100px);
    height: auto;
    background-color: var(--color-5);
    min-width: 281px;
    max-width: 650px;
    border-radius: 12px;
    padding: 10px;
}

h2 {
    color: var(--color-2);
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    padding-bottom: 7px;
}

.contenedor-cursos {
    width: 100%;
    height: auto;
    display: flex;
    gap: 10px;
    overflow-x: scroll;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
}

.contenedor-cursos-elementos {
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    justify-content: center;
    background-color: var(--color-6);
    border-radius: 12px;
    width: 100%;
    min-width: 150px;
    height: auto;
}

.imagen-cursos {
    width: 100%;
    height: auto;
    min-width: 150px;
    object-fit: cover;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.377);
    border-radius: 12px 12px 0px 0px;

}

.cursos-texto {
    width: 90%;
    font-style: normal;
    font-weight: 500;
    font-size: 10px;
    line-height: 12px;
    text-align: center;
    color: var(--color-2);
}

.button-cursos {
    text-decoration: none;
    text-align: center;
    padding-top: 4px;
    width: 35%;
    height: 20px;
    border: 0.8px solid #7C0B0B;
    border-radius: 12px;
    color: var(--color-2);
    background-color: var(--color-4);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.035em;
    margin-bottom: 3px;
    max-width: 80px;
}

/**contenedor principal 2**/
.contenedor-main-2 {
    width: calc(100% - 100px);
    height: auto;
    background-color: var(--color-5);
    min-width: 281px;
    border-radius: 12px;
    margin-top: 10px;
    padding: 10px;
    max-width: 650px;
}

.contenedor-redes-sociales {
    width: 100%;
    height: auto;
    display: flex;
    gap: 10px;
    overflow-x: scroll;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
}

.contenedor-redes-sociales-elementos {
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    justify-content: center;
    background-color: var(--color-6);
    border-radius: 12px;
    width: 100%;
    height: auto;
    min-width: 100px;
}

.imagen-redes-sociales {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.377);
    border-radius: 12px 12px 0px 0px;

}

.redes-sociales-texto {
    width: 90%;
    font-style: normal;
    font-weight: 500;
    font-size: 10px;
    text-align: center;
    color: var(--color-2);
}

#button-redes-sociales-1 {
    text-decoration: none;
    text-align: center;
    padding-top: 4px;
    width: 50%;
    height: 20px;
    border: 0.8px solid var(--color-8);
    border-radius: 7px;
    color: var(--color-2);
    background-color: var(--color-7);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.035em;
    margin-bottom: 4px;
    text-align: center;
    max-width: 50px;
}

#button-redes-sociales-2 {
    text-decoration: none;
    text-align: center;
    padding-top: 4px;
    width: 50%;
    height: 20px;
    border: 0.8px solid #7C0B0B;
    border-radius: 7px;
    color: var(--color-2);
    background-color: var(--color-4);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.035em;
    margin-bottom: 4px;
    text-align: center;
    max-width: 50px;
}

#button-redes-sociales-3 {
    text-decoration: none;
    text-align: center;
    padding-top: 4px;
    width: 50%;
    height: 20px;
    border: 0.8px solid var(--color-3);
    border-radius: 7px;
    color: var(--color-2);
    background-color: var(--color-9);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.035em;
    margin-bottom: 4px;
    text-align: center;
    max-width: 50px;
}

#button-redes-sociales-4 {
    text-decoration: none;
    text-align: center;
    padding-top: 4px;
    width: 50%;
    height: 20px;
    border: 0.8px solid var(--color-8);
    border-radius: 7px;
    color: var(--color-2);
    background-color: var(--color-11);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.035em;
    margin-bottom: 4px;
    text-align: center;
    max-width: 50px;
}

/** Main-3**/
.contenedor-main-3 {
    width: calc(100% - 100px);
    height: auto;
    background-color: var(--color-5);
    min-width: 281px;
    border-radius: 12px;
    margin-top: 10px;
    padding: 10px;
    max-width: 650px;
}

#content {
    display: flex;
    width: 100%;
    height: auto;
    gap: 10px;
    overflow-x: scroll;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
}

.group {
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    gap: 5px;
    margin-bottom: 10px;
    min-width: 180px;
}

.w-full {
    width: 100%;
    height: 103px;
    object-fit: cover;
    border-radius: 2px;
}

.link-video {
    text-decoration: none;
}

.text-descripcion {
    width: 100%;
    color: var(--color-2);
    font-style: normal;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    padding-left: 2px;
}

/** Footer**/
footer {
    min-width: 281px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    margin-top: 10px;

}

.linea-footer {
    width: 100%;
    max-width: 930px;
    height: 5px;
    background: var(--color-4);

}

.contenedor-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 0px;
    padding-left: 15px;
}

.contenedor-redes-footer {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contenedor-redes-footer a {
    text-decoration: none;
}

.redes-footer {
    color: var(--color-2);
}

.contenedor-logo-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-footer {
    object-fit: cover;
    position: relative;
    top: 15px;
    width: 108px;
    height: 50px;
}

.año {
    position: relative;
    bottom: 6px;
}