*{
    box-sizing: border-box;
}


/*FONDO DE PANTALLA*/
html{
	background: url(../img/fondo.jpg) center fixed;
	height: 100%;
	width: 100%;
	background-size: cover;
	overflow: hidden;
}

/*TEXTO ROTATIVO*/
.texto{
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 25%;
	left: 15%;
	z-index: -1;
}

.texto-fijo{
    font-family: 'Prata', serif;
    font-size: 50pt;
    margin-bottom: 30px;
}

.subtexto-fijo p{
	font-family: 'Prata', serif;
	font-size: 30pt;
	line-height: 1.5;
}

#texto-aleatorio{
	color: #52A29F;
	font-size: 50pt;
	margin-top: 30px;
}


/*BOTONES*/
/*Botones general*/
.botones{
	display: flex;
	justify-content: space-around;
	position: absolute;
	bottom: 10%;
	width: 100%;
	z-index: -1;
}

/*boton-servicios*/
.btn_1{
	width: 200px;
	height: 70px;
	border-color: #52A29F;
	background-color: white;
	color: #52A29F;
	border-width: 3px;
	border-style: solid;
	display: inline-block;
    padding: 30px;
    line-height: 0px;
	border-radius: 30px;
	font-family: 'IBM Plex Sans', sans-serif;
	text-decoration: none;
	text-align: center;
	font-size: 20px;
}

/*boton-presupuesto*/
.btn_2{
	width: 200px;
	height: 70px;
	border-width: 3px;
	border-style: solid;
	border-color: #52A29F;
	background: #52A29F;
	color: white;
	display: inline-block;
    padding: 30px;
    line-height: 0px;
	border-radius: 30px;
	font-family: 'IBM Plex Sans', sans-serif;
	text-decoration: none;
	text-align: center;
	font-size: 20px;
}


/*cookies*/
#overbox3 {
	position: fixed;
	bottom: 0px;
	left: opx;
	width: 100%;
	z-index: 999999;
	display: block;
	font-family: 'Lato', sans-serif;
	font-size: 12pt;
}
  
#infobox3 {
	display: flex;
	justify-content: center;
	margin: auto;
	position: relative;
	top: 0px;
	height: auto;
	width: 100%;
	background-color: #eeeeee;
}

#infobox3 p{
	margin-right: 5px;
	line-height: 1.3;
	font-size: 13px;
	margin: 5px;
}

#infobox3 button {
    border-width: 3px;
	border-style: solid;
	border-color: #52A29F;
	background: #52A29F;
	color: white;
	border-radius: 30px;
	cursor: pointer;
}

/*RESPONSIVE MAX 1280*/
@media (min-width: 1024px) and (max-width: 1280px) {
	.texto{
		top: 20%;
	}
	.texto-fijo{
		font-size: 50pt;
		margin-bottom: 40px;
	}
	
	.subtexto-fijo p{
		font-size: 30pt;
	}
	
	#texto-aleatorio{
		font-size: 50pt;
		margin-top: 40px;
	}
}
/*RESPONSIVE MAX 1024*/
@media (min-width: 900px) and (max-width: 1024px) {
	.texto{
		display: flex;
		flex-direction: column;
		top: 18%;
		left: 10%;
		z-index: 1;
	}

	.texto-fijo{
		font-size: 45pt;
		margin-bottom: 40px;
	}

	.subtexto-fijo p{
		font-size: 40pt;
	}

	#texto-aleatorio{
		font-size: 45pt;
		margin-top: 40px;
	}
}
/*RESPONSIVE MAX 900px*/
@media (min-width: 460px) and (max-width:900px) {
	.texto{
		top: 10%;
		left: inherit;
		padding: 5%;
	}
	.texto-fijo{
		font-size: 40pt;
		margin-bottom: 10px;
	}
	.subtexto-fijo p{
		font-size: 35pt;
	}
	#texto-aleatorio{
		font-size: 40pt;
	}
	.botones{
		bottom: 10%;
	}
}

/*RESPONSIVE MAX 460px*/
@media (max-width: 460px) {
	html{
		background: url(../img/fondo_movil.jpg) center fixed;
		height: 100%;
		width: 100%;
		background-size: cover;
	}
	.texto{
		top: 12%;
		left: inherit;
		padding: 5%;
	}

	.texto-fijo{
		font-size: 27pt;
		margin-bottom: 20px;
		line-height: 1.3;
	}

	.subtexto-fijo p{
		font-size: 18pt;
		line-height: 1.7;
	}

	#texto-aleatorio{
		font-size: 27pt;
		line-height: 1.3;
		margin-top: inherit;
	}
	/*botones*/
	.botones{
		flex-direction: column;
		bottom: 7%;
	}
	.btn_1, .btn_2{
		margin-left: auto;
		margin-right: auto;
		width: 200px;
		height: 50px;
		padding: 30px;
	}
	.btn_1{
		margin-bottom: 5%;
	}
}

/*RESPONSIVE MAX 350*/
@media (max-width: 350px) {
	html{
		background: url(../img/fondo_movil.jpg) center fixed;
		height: 100%;
		width: 100%;
		background-size: cover;
	}
	.texto{
		top: 10%;
		left: inherit;
		padding: 5%;
	}

	.texto-fijo{
		font-size: 22pt;
		margin-bottom: 10px;
		line-height: 1.4;
	}

	.subtexto-fijo p{
		font-size: 16pt;
		line-height: 1.7;
	}

	#texto-aleatorio{
		font-size: 22pt;
		line-height: 1.3;
		margin-top: inherit;
	}

	/*botones*/
	.botones{
		flex-direction: column;
	}

	.btn_1, .btn_2{
		margin-left: auto;
		margin-right: auto;
	}

	/*boton-servicios*/
	.btn_1{
		height: 60px;
		padding: 30px;
	}
	/*boton-presupuesto*/
	.btn_2{
		height: 60px;
	}
}