@font-face {
	font-family: FrankGoth;
	font-weight: normal;
	src: url("files/fonts/FRABK.TTF");
}

@font-face {
	font-family: FrankGoth;
	font-weight: bold;
	src: url("files/fonts/FRAMDCN.TTF");
}

@font-face {
	font-family: FrankGoth;
	font-weight: 800;
	src: url("files/fonts/FRAHV.TTF");
}

:root {
	--text-color: #2E2E2E;
	--accent-color: #DABF73;
}

:root, html, body, a, input, button, select, label {
	cursor: none;
}

html, body {
	padding: 0;
	margin: 0;
	border: 0;
	width: 100%;
	height: 100%;
}

body {
	background-color: white;
	color: var(--text-color);
}

a {
	text-decoration: none;
	color: var(--accent-color);
}

body > header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: auto;
	aspect-ratio: 11.0947;
	background-color: white;
	background-image: url("files/images/header.svg");
	background-repeat: no-repeat;
	background-size: cover;
	z-index: 10;
	border-bottom: 1.3vw solid white;
}

#headlogo {
	position: fixed;
	top: 12px;
	left: 12px;
	width: 15vw;
}

body > header nav > ul {
	position: fixed;
	top: 9vw;
	left: 0;
	width: 100%;
	height: auto;
	padding: 0 0 0.5vw 0;
	margin: 0;
	list-style-type: none;
	text-align: center;
	border-bottom: 2px solid var(--accent-color);
	background-color: white;
	z-index: 10;
}

body > header nav > ul li {
	display: inline-block;

}

#mobilemenu {
	overflow: hidden;
	position: fixed;
	top: 37vw;
	left: 0;
	width: 100%;
	height: auto;
	padding: 0 0 0.5vw 0;
	margin: 0;
	list-style-type: none;
	text-align: center;
	border-bottom: 2px solid var(--accent-color);
	background-color: white;
	transition: max-height 200ms ease-out;
	z-index: 10;
}

#mobilemenu li {
	display: block;
}

#mobilemenu a {
	display: block;
	font-family: FrankGoth, "Franklin Gothic Medium Cond", serif;
	font-size: 9vw;
	font-weight: bold;
	text-decoration: none;
	color: var(--text-color);
	text-align: center;
	transition: color 200ms ease-out;
	padding: 2vw 2vw;
	border-bottom: 1px solid #DABF73;
}

#mobilemenu a:hover, #mobilemenu a.selected {
	color: var(--accent-color);
}

body > header nav > ul a {
	display: inline-block;
	font-family: FrankGoth, "Franklin Gothic Medium Cond", serif;
	font-size: 1.8vw;
	font-weight: bold;
	text-decoration: none;
	color: var(--text-color);
	text-align: center;
	transition: color 200ms ease-out;
	padding: 0 2vw;
}

body > header nav > ul a:hover, body > header nav > ul a.selected {
	color: var(--accent-color);
}

#nservicios > div {
	aspect-ratio: 4.5;
	width: 100%;
	padding: 1vw 1.5vw;
	box-sizing: border-box;
}

#nservicios > div .content {
	height: 100%;
	background-color: var(--accent-color);
	width: 80%;
	color: white;
	box-sizing: border-box;
	padding: 1vw;
	text-align: center;
	transition: background-color 200ms ease-out;
	
}

#nservicios > div .content:hover {
	background-color: var(--text-color);
}

#nservicios > div .content:hover h1 {
	color: var(--accent-color);
}

#nservicios > div .content h1 {
	font-family: FrankGoth, "Franklin Gothic Medium Cond", serif;
	font-weight: 800;
	font-size: 4vw;
	margin: 0;
	transition: color 200ms ease-out;
}

#nservicios > div .content p {
	font-family: FrankGoth, "Franklin Gothic Medium Cond", serif;
	font-size: 2vw;
}

main {
	margin-top: 12.1vw;
}

#cursor {
	border-radius: 50%;
	background-color: var(--accent-color);
	color: white;
	position: fixed;
	top: -20px;
	left: -20px;
	width: 20px;
	height: 20px;
	z-index: 100;
	font-family: FrankGoth, "Franklin Gothic Medium Cond", serif;
	font-size: 0;
	transition: font-size 200ms ease-out, width 200ms ease-out, height 200ms ease-out, opacity 200ms ease-out;
	opacity: 80%;
	display: table;
	pointer-events: none;
}

#cursor.shown {
	width: 100px;
	height: 100px;
	font-size: 13pt;
	opacity: 100%;
}

#cursor > span {
	display: none;
	width: 100%;
	height: 100%;
	text-align: center;
	vertical-align: middle;
	pointer-events: none;
	padding-top: 30px;
}

#cursor.shown > span {
	display: inline-block;
}

.mobileonly {
	display: none !important;
}

#slideshow {
	width: 100%;
	position: relative;
}

#slideshow > div {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: auto;
	transition: left ease-out .8s;
}

#slideshow > div.lhidden {
	left: -100%;
}

#slideshow > div.rhidden {
	left: 100%;
}

.tabletplus {
	display: initial;
}

.tabcontrol {
	display: block;
	position: relative;
}

button, a[role=button] {
	background-color: var(--text-color);
	font-family: FrankGoth, "Franklin Gothic Medium Cond", serif;
	font-weight: bold;
	font-size: 1vw;
	box-sizing: border-box;
	padding: 0.5vw 1vw;
	border-radius: 0.5vw;
	color: white;
	border: 0;
	transition: background-color 200ms ease-out, color 200ms ease-out;
	display: inline-block;
}

button:hover, a[role=button]:hover {
	background-color: var(--accent-color);
	color: var(--text-color);
}

.tabcontrol [role=tablist] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

.tabcontrol [role=tab] {
	background-color: white;
	color: var(--accent-color);
	border: 2px solid var(--accent-color);
	border-bottom: 0;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	position: absolute;
	z-index: 0;
}

.tabcontrol [role=tab][aria-selected=true] {
	z-index: 2;
}

.tabcontrol [role=tabpanel] {
	border: 2px solid var(--accent-color);
	border-radius: 0 0.5vw 0.5vw 0.5vw;
	z-index: 1;
	position: absolute;
	width: 100%;
}

@media (max-width: 767px) {
	body > header nav {
		display: none;
	}
	body > header {
		background-image: url("files/images/mheader.svg");
		aspect-ratio: 4.6304;
	}
	#headlogo {
		width: 23vw;
	}
	.mobileonly {
		display: initial !important;
	}
	.tabletplus {
		display: none;
	}
	#nservicios > div {
		aspect-ratio: 2;
	}
	#nservicios > div .content {
		width: 50%;
	}
	main {
		margin-top: 40vw;
	}
	#nservicios > div .content h1 {
		font-size: 6.5vw;
	}
	#nservicios > div .content p {
		font-size: 4.5vw;
	}
	button, a[role=button] {
		font-size: 5vw;
		padding: 3vw 4vw;
		border-radius: 2vw;
	}
	#contacto [role=tabpanel] {
		padding: 2vw;
		border-radius: 0 2vw 2vw 2vw;
	}
}

@media (any-hover: none) {
	#cursor {
		display: none;
	}
}