* {margin:0;padding:0;}


body {
	background:#FFFFFA;
}

.contenidocrear {
	width: 500px;
	margin: 20px auto;
	text-align: justify;
	border: 3px solid #FFF; /* Aņade un borde */
	padding: 20px; /* Aņade espacio interior */
	margin-bottom: 15px; /* Aņade espacio exterior */
	background-color: rgb(171, 10, 61)
}

h1, h2, h3, h4, h5 ,h6 {
	color: rgb(171, 10, 61);
}

h4 {
	color: rgb(171, 10, 61);
	padding: 3px; /* Aņade espacio interior */
	margin-bottom: 3px; /* Aņade espacio exterior */
}

.contenido p {
	margin-bottom: 1em;
}

.ir-arribaa {
	padding: 20px;
	display: inline-block;
	background: brown;
	color: #fff;
	position: fixed;
	font-size: 20px;
	bottom: 20px;
	right: 20px;
	display: none;
	cursor: pointer;
}


.ir-arriba {
	background-color: green;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	bottom: 40px;
	box-sizing: border-box;
	color: rgb(255, 255, 255);
	cursor: pointer;
	display: block;
	font-family: Rufina, serif;
	font-size: 20px;
	height: 30px;
	line-height: 30px;
	outline-color: rgb(255, 255, 255);
	outline-style: none;
	outline-width: 0px;
	position: fixed;
	right: 15px;
	text-align: center;
	text-decoration-color: rgb(255, 255, 255);
	text-decoration-line: none;
	text-decoration-style: solid;
	text-size-adjust: 100%;
	transition-delay: 0s;
	transition-duration: 0.3s;
	transition-property: all;
	transition-timing-function: ease;
	width: 30px;
	z-index: 333;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.ir-editar {
	background-color: rgb(171, 10, 61);
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	bottom: 40px;
	box-sizing: border-box;
	color: rgb(255, 255, 255);
	cursor: pointer;
	display: block;
	font-family: Helvetica Neue, Helvetica, Arial,sans-serif;
	font-size: 14px;
	height: 30px;
	line-height: 30px;
	outline-color: rgb(255, 255, 255);
	outline-style: none;
	outline-width: 0px;
	position: fixed;
	right: 110px;
	text-align: center;
	text-decoration-color: rgb(255, 255, 255);
	text-decoration-line: none;
	text-decoration-style: solid;
	text-size-adjust: 100%;
	transition-delay: 0s;
	transition-duration: 0.3s;
	transition-property: all;
	transition-timing-function: ease;
	width: 80px;
	z-index: 333;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.ir-guardar {
	background-color: rgb(171, 10, 61);
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	bottom: 40px;
	box-sizing: border-box;
	color: rgb(255, 255, 255);
	cursor: pointer;
	display: block;
	font-family: Rufina, serif;
	font-size: 20px;
	height: 30px;
	line-height: 30px;
	outline-color: rgb(255, 255, 255);
	outline-style: none;
	outline-width: 0px;
	position: fixed;
	right: 150px;
	text-align: center;
	text-decoration-color: rgb(255, 255, 255);
	text-decoration-line: none;
	text-decoration-style: solid;
	text-size-adjust: 100%;
	transition-delay: 0s;
	transition-duration: 0.3s;
	transition-property: all;
	transition-timing-function: ease;
	width: 30px;
	z-index: 333;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


.ir-imprimir {
	color: rgb(255, 255, 255);
	background-color: rgb(171, 10, 61);
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	bottom: 75px;
	box-sizing: border-box;
	cursor: pointer;
	display: block;
	font-family: Gill Sans MT, Gill Sans, Helvetica, Arial,sans-serif;
	font-size: 14px;
	height: 30px;
	line-height: 30px;
	outline-color: rgb(255, 255, 255);
	outline-style: none;
	outline-width: 0px;
	position: fixed;
	right: 100px;
	text-align: center;
	text-decoration-color: rgb(255, 255, 255);
	text-decoration-line: none;
	text-decoration-style: solid;
	text-size-adjust: 100%;
	transition-delay: 0s;
	transition-duration: 0.3s;
	transition-property: all;
	transition-timing-function: ease;
	width: 80px;
	z-index: 333;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.ir-abandonar {
	background-color: red;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	bottom: 40px;
	box-sizing: border-box;
	color: rgb(255, 255, 255);
	cursor: pointer;
	display: block;
	font-family: Rufina, serif;
	font-size: 20px;
	height: 30px;
	line-height: 30px;
	outline-color: rgb(255, 255, 255);
	outline-style: none;
	outline-width: 0px;
	position: fixed;
	right: 70px;
	text-align: center;
	text-decoration-color: rgb(255, 255, 255);
	text-decoration-line: none;
	text-decoration-style: solid;
	text-size-adjust: 100%;
	transition-delay: 0s;
	transition-duration: 0.3s;
	transition-property: all;
	transition-timing-function: ease;
	width: 30px;
	z-index: 333;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

:root {
	--font-size: 1.5;
}

body {
	font-size: calc(var(--font-size) * 1em);
}

.font-controls {
	position: absolute;
	top: 3em;
	right: .5em;
	display: flex;
	font-size: 1.5em;
}

.font-control {
	margin-left: .5em;
	padding: .25em;
	border: 1px solid #000;
	cursor: pointer;

}