@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap");

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Roboto", sans-serif;
}

header {
	width: 100%;
	position: fixed;
	background: linear-gradient(to right, #12e075, #009045);
	top: 0;
	left: 0;
	z-index: 100;
}

.contenedor {
	width: 90%;
	margin: auto;
}

header .contenedor {
	display: table;
}

main {
	margin-top: 180px;
	position: relative;
	background: #ffffff;
}

section {
	width: 100%;
}

.ir-arriba {
	display: none;
	padding: 10px;
	z-index: 1000;
	color: #000000;
	background: #009045;

	font-size: 50px;
	position: fixed;
	bottom: 45px;
	right: 20px;
	cursor: pointer;
}

.ir-arriba:hover {
	color: #009045;
	background: #000000;
	-webkit-transition: all ease 0.8s;
	-o-transition: all ease 0.8s;
	transition: all ease 0.8s;
}

/*Mensaje de aceptacion de COOKIES*/
#cajacookies {
	box-shadow: 0px 0px 5px 5px #808080;
	background-color: white;
	color: black;
	padding: 10px;
	margin-left: -15px;
	margin-right: -15px;
	margin-bottom: 0px;
	position: fixed;
	top: 0px;
	width: 100%;
}

#cajacookies button {
	color: black;
}

/*preload*/
#contenedor_carga {
	background-color: rgba(0, 0, 0, 0.9);
	height: 100%;
	width: 100%;
	position: fixed;
	-webkit-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
	z-index: 100000;
}

#carga {
	border: 15px solid #009045;
	border-top-color: #f1ce00;
	border-top-style: groove;
	height: 100px;
	width: 100px;
	border-radius: 100%;

	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	-webkit-animation: girar 1.5s linear infinite;
	-o-animation: girar 1.5s linear infinite;
	animation: girar 1.5s linear infinite;
}

.linkTower {
	cursor: pointer;
	text-decoration: none;
}

@keyframes girar {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

/*-----------------------------------*/

/*-----------------------------------*/
@media (min-width: 400px) {
	body {
		overflow-x: hidden;
	}
}

@media (min-width: 700px) {
	body {
		overflow-x: hidden;
	}
}

@media (min-width: 1024px) {
	main {
		margin-top: 130px;
	}
}

@media (min-width: 1440px) {
	main {
		margin-top: 119px;
	}

	.contenedor {
		width: 75%;
		margin: auto;
	}
}
