/* Estilos home */

/** 0. Fuentes */
/** 1. Base */
/** 2. Layout: l */
/** 3. Componentes: c- */
/** 4. Paginas: p- */
/** 5. Otros: body-fixed */

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/** 1. Base */

body {
	background-attachment: fixed;
    background-color: transparent;
	background-image: url(../images/bkg_index.jpg);
    background-repeat: no-repeat;
    background-position: top left;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    position: relative;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/** 2. Layout: l */

.l-container {
	display: flex;
	flex-flow: column;
}
.l-page {
	display: flex;
	flex-flow: column;
	justify-content: center;
	flex-grow: 1;
	position: relative;
}

.p-home .l-page__content {
	position: relative;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/** 3. Componentes: c- */

/* Cartela */

.c-cartela {
	padding-bottom: 2rem;
	width: 100%;
}

.c-cartela__content {
	background-color: rgba(0,0,0,8);
	border-radius: 1rem;
	display: flex;
	flex-flow: column;
	margin: 4rem 0 0;
	max-width: 61rem;
	padding: 3rem;
	text-align: left;
	width: 100%;
}

.c-cartela h1 {
	color: #ffffff;
	font-size: 3rem;
	line-height: 1.2;
	margin-bottom: 2.5rem;
	text-align: left;
}

.c-cartela h2 {
	color: #ffffff;
	font-size: 2.2rem;
}

.c-cartela p {
	color: var(--font-text-primary);
	font-size: 1.6rem;
	line-height: 1.4;
	max-width: 500px;
	width: 100%;
}

.o-content__enlace {
	margin-bottom: 0;
	margin-top: 3rem;
	width: 100%;
}
.o-content__enlace a {background-color: var(--color-tertiary);min-width: max-content;padding: 1.8rem 3.5rem;}

@media (min-width: 768px) {
	.c-cartela__content {
		margin: 7rem 0 0;
	}
	.c-cartela h1 {font-size: 5rem;}
	.c-cartela h2 {font-size: 2.6rem;}
	.c-cartela p {
		font-size: 1.8rem
	}
	.o-content__enlace a {margin-bottom: 0;}
}

@media (min-width: 991px) {
	.c-cartela__content {
		margin: 1rem 0 1rem;
	}
}