body {
  background-color: #1a1917;
}

.contenedor {
	position: relative;
}

.contenedor::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-image: url('../img/fondo.jpg');
	background-size: cover;
	background-position: center;
	z-index: -1;
}

.portada {
	height: 100vh; 
	display: flex;
	justify-content: center;
	align-items: center;
}

.cont-titulo {
	background-color: rgba(255, 255, 255, 0.75);
	padding: 3rem 5rem;
	border-radius: 12px;
	text-align: center;
	
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

h1, h2, h3 {
	text-align: center;
}

.sec-carta {
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 4rem 20px;
	
	background: linear-gradient(
		to bottom, 
		rgba(0, 0, 0, 0) 0%, 
		rgba(0, 0, 0, 0.6) 15%, 
		rgba(0, 0, 0, 0.8) 100%
	);
}

.carta {
	max-width: 800px;
	margin: 4rem auto;
	padding: 4rem;
	
	background-color: #fcf9f2;
	
	background-image: 
		linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(0,0,0,0.02) 50%, rgba(255,255,255,0) 100%),
		url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='paperNoise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paperNoise)' opacity='0.2'/%3E%3C/svg%3E");
	
	border-radius: 8px 3px 12px 5px / 4px 8px 3px 6px;
	border: 1px solid rgba(139, 115, 85, 0.15);

	box-shadow: 
		0 20px 30px rgba(0, 0, 0, 0.4), 
		inset 0 0 40px rgba(139, 115, 85, 0.15); 
	
	color: #2c2a28;
	font-family: 'Georgia', serif;
	line-height: 1.8;
	font-size: 1.15rem;
}

.dibujo {
	width: 100%;
	overflow: hidden;
	margin: 0 0 4rem 0;
}

.dibujo img {
	width: 100%;
}

p {
	text-align: justify;
}

@media (max-width: 850px) {
	.contenedor::before {
		background-image: url('../img/fondo-mobile.jpg');
	}
	.cont-titulo {
		width: 85%;
		padding: 2rem 1.5rem;
	}

	.cont-titulo h1 {
		font-size: 1.8rem;
		margin-bottom: 0.5rem;
	}

	.cont-titulo h3 {
		font-size: 1.1rem;
	}

	.sec-carta {
		padding: 2rem 15px;
	}

	.carta {
		width: 100%;
		padding: 2.5rem 1.5rem;
		margin: 1rem auto;
		font-size: 1.05rem;
		
		box-shadow: 
			0 10px 20px rgba(0, 0, 0, 0.3), 
			inset 0 0 25px rgba(139, 115, 85, 0.12);
	}
}
