/*



esto es un comentario en css



*/

/* reglas para css

1.- se definen estilos para etiquetas, como pueden ser header,footer,div,etc



2.- estilos para identificadores (id) son elementos unicos en el html

en el css se declaran con # ejemplo #nombre y en html se llama mediante atributo id ejemplo  

    <div id="publicidad"> </div>

	

3.- al final se definen los estilos para clases (class) son elementos que se pueden repetir varias veces en el html.

	en css se declara con el punto ej. .nombre-de-clase(estilos) y en html se llaman mediante el atributo class ej: <div class="borde-logos"></div>



4.- todos los estilos se ordenan conforme aparecen en la disposicion del html, teniendo en cuenta la prioridad anterior



5.- os atributos se declaran: {atributo1:valor1;atributo2:valor2....}



6.- los atributos se ordenan alfabeticamente



7.- si tenemos estilos para el comodín * o las etiquetas html y/o body estos son los primeros en definirse



8.-en el body debemos declarar un tamaño de fuente global



9.- si tenemos estilos para resetear elementos html deberan ir antes de cualquier estilo.

*/

/* reseteo */

* {
	/*	background-image: gradient(rgb(236, 209, 169),rgb(137, 231, 231));*/

	/*	background-color: #6cf8fd; */

	border: 0;

	font-size: 1.2em;

	margin: 0;

	padding: 0;
}

article,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}

/* Estilos de sitio Aqui pego las fuentes que vaya a usar*/

@font-face {
	font-family: "Vasca";
	src: url("../fonts/Vasca.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "Vascan";
	src: url("../fonts/Vascan.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "Allura";
	src: url("../fonts/Allura-Regular.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "Segoesc";
	src: url("../fonts/Segoesc.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "Respective";
	src: url("../fonts/Respective_Slanted.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "ChopinScript";
	src: url("../fonts/ChopinScript.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "PinyonScript";
	src: url("../fonts/PinyonScript-Regular.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "VladimirScript";
	src: url("../fonts/VLADIMIR.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}

body {
	background: url("../img/Fondo2.jpeg");
	background-position: center center;
	background-repeat: repeat-x;
	background-attachment: fixed;
	background-size: contain;
	color: 0;
	font-family: "Allura";
	font-size: 1em;
	left: 2%;
	perspective: 800px;
	perspective-origin: 70% 30%;

	/* width:96%;    */
}

a {
	color: #336;
	font-family: "PinyonScript";
	font-weight: bold;
	text-decoration: none;
	transition: all 0.8s;
}

a:hover {
	color: aquamarine;
	font-family: "Allura";
	transition: all 0.8s;
}

/*

sup{

	font-size:80%;

	vertical-align:sup;

}

*/

sub {
	font-size: 80%;
	vertical-align: sub;
}

figcaption {
	font-size: 0.85em;
	padding: 0.25em;
	text-align: center;
}

footer {
	padding-top: 0;
}

img,
video {
	max-width: 100%;
}

header,
section#contenido,
footer {
	background: transparent;
	margin: 0 auto;
	max-width: 96%;
	text-align: center;
}

header,
section#contenido2 {
	font-family: "ChopinScript";
	background: transparent;
	margin: 0 auto;
	max-width: 100%;
	text-align: center;
}

header h1,
nav {
	display: inline-block;
	font-size: 120%;
	padding: 1%;
	vertical-align: bottom;
	text-align: left;
	width: 50%;
	transform: all 0.8s ease-out;
}

header {
	display: inline;
}


hr {
	text-align: center;
	color: aqua;
	border-color: rgb(201, 178, 115);
	height: 5px;
	margin-left: 20%;
	width: 58%;
}

nav {
	text-align: center;
	text-decoration: none;
	width: 100%;
}

nav ul {
	list-style: none;
}

nav li {
	display: inline-block;
	padding: 1%;
	vertical-align: top;
}

nav a {
	background: rgba(222, 184, 135, 0.493);
	border: 0.1em solid rgb(56, 112, 94);
	border-radius: 25%;
	color: #006;
	display: block;
	font-family: "VladimirScript";
	font-size: 120%;
	padding: 1%;
	transition: all 0.8s ease-in;
}

nav a:hover {
	background: rgb(236, 194, 138);
	border: 0.1em solid #006;
	border-radius: 40%;
	color: rgb(56, 112, 94);
	font-family: "PinyonScript";
	font-size: 120%;
	position: relative;
	top: -85%;
	transform: scale(115%);
	transition: all 0.8s ease-out;
}

section#principal,
aside {
	background-size: 100%;
	border-radius: 5%;
	display: inline-block;
	font-family: "ChopinScript";
	margin: 0%;
	max-width: 90%;
	padding: 2%;
	vertical-align: top;
	width: 85%;
}

section#principal2 {
	background: url("../img/saco-carta.jpg");
	background-size: 100%;
	border-radius: 5%;
	display: inline-block;
	font-family: "ChopinScript";
	margin: 3%;
	max-width: 98%;
	padding: 3%;
	vertical-align: top;
	width: 90%;
}

section#principal {
	margin-bottom: 0;
}

article#galeria-inicio {
	border-radius: 0.5em;
	margin: 0.5em;
	padding: 0.5em;
	text-align: left;
	width: 95%;
}

aside {
	width: 30%;
}

aside img {
	border-radius: 0.5em;
}

footer {
	font-family: "ChopinScript";
	text-align: center;
	color: #000;
	font-size: 170%;
	padding: 0.75em 0;
}

Logota {
	position: static;
	max-width: 10%;
}

RR {
	font-size: 250%;
}

GG {
	font-size: 150%;
}

Esen {
	font-size: 125%;
}

Cia {
	font-size: 125%;
	position: relative;
	right: 0.45em;
}

fi {
	position: relative;
	transition: all 0.8s ease-in;
}

fi:hover {
	right: 0.4em;
	transition: all 0.8s ease-out;
}

fd {
	position: relative;
	transition: all 0.8s ease-in;
}

fd:hover {
	left: 0.4em;
	transition: all 0.8s ease-out;
}

barra {
	font-family: "Times new roman";
	position: relative;
	top: 0.1em;
	font-size: 140%;
	font-weight: bold;
	font-style: italic;
}

iva {
	font-family: "Times new roman";
	font-size: 90%;
	font-style: italic;
}

tit {
	font-size: 185%;
}

carta {
	font-size: 110%;
}

aler {
	font-family: "Times new roman";
	line-height: 0.5;
	font-size: 50%;
}

mini {
	font-size: 65% !important;
}

rojo {
	color: darkred;
}

.clogo {
	position: absolute;
	top: 0.2%;
	left: 6%;
	width: 12%;
	transition: all 0.8s ease-in;
}

.clogo:hover {
	width: 15%;
	transition: all 0.8s ease-out;
}

.cpano {
	border-radius: 20% 0 20% 0;
	transition: all 0.8s ease-in;
	width: 100%;
}

.cpano:hover {
	border-radius: 0 20% 0 20%;
	transition: all 0.8s ease-out;
	width: 100%;
}

.centrado {
	margin: 5%;
	position: relative;
}

.centrado img {
	border-radius: 5%;
	max-width: 60%;
}

.mapa {
	margin: 2%;
	position: relative;
	padding-bottom: 75%;
	overflow: hidden;
}

.mapa iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.presentacion {
	background: transparent;
	border-radius: 5%;
	margin: 2%;
	font-family: "ChopinScript";
	font-size: 200%;
	padding: 3%;
	position: center;
	text-align: center;
}

.publi {
	font-family: verdana;
	font-size: 50%;
}

.Overlay {
	background: rgba(0, 0, 0, 0.5);
	position: fixed;
	top: 5%;
	bottom: 5%;
	left: 5%;
	right: 5%;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: top;
	padding: 10%;
	border-radius: 0.7%;
}

.Overlay.inactiva {
	transform: scale(0.1);
	transform: translatey(-25);
}

.Ppup {
	background: #f6f6f6;
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
	border-radius: 5%;
	padding: 5%;
	font-family: Allura;
	text-align: center;
	transition: 1s ease all;
}

.Ppup h3 {
	font-size: 300%;
}

.Ppup h4 {
	font-size: 240%;
}

.Ppup1 {
	background: #f6f6f6;
	padding: 5%;
	font-family: Allura;
	text-align: center;
}

.Ppup2 {
	background: #f6f6f6;
	padding: 5%;
	font-family: Allura;
	text-align: center;
}

.Popup {
	background: #f6f6f6;
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
	border-radius: 5%;
	padding: 5%;
	font-family: Vascan;
	text-align: center;
	transition: 1s ease all;
}

.Popup h3 {
	font-size: 180%;
}

.Popup h4 {
	font-size: 140%;
}

.Popup1 {
	background: #f6f6f6;
	padding: 5%;
	font-family: Vascan;
	text-align: center;
}

.Popup2 {
	background: #f6f6f6;
	padding: 5%;
	font-family: Vascan;
	text-align: center;
}

.galeria {
	width: 95%;
	margin: auto;
	list-style: none;
	padding: 14px;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

.galeria li {
	margin: 5px;
}

.galeria img {
	width: 200px;
	height: 125px;
	border-radius: 40%;
	transition: 0.8s ease-out;
}

.galeria img:hover {
	width: 240px;
	height: 150px;
	border-radius: 10%;
	transition: 0.8s ease-in;
}

/*Estilos del modal*/

.modal {
	display: none;
	transition: 0.8s ease-out;
}

.modal:target {
	display: block;
	position: fixed;
	background: rgba(0, 0, 0, 0.6);
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transition: 0.8s ease-in;
}

.modal h3 {
	align-self: stretch;
	color: #fff;
	font-size: 30px;
	text-align: center;
	margin: 5% auto 0 auto;
}

.imagen {
	width: 100vw;
	height: auto;
	/*   50%;   */
	display: flex;
	justify-content: center;
	align-items: center;
}

.imagen h3 {
	align-self: stretch;
	color: #fff;
	font-size: 30px;
	text-align: center;
	margin: 5% auto 0 auto;
}

.imagen a {
	color: #fff;
	font-size: 40px;
	text-decoration: none;
	margin: 0 10px;
}

.imagen li:hover {
	scale: 150%;
}

.imagen a:nth-child(2) {
	margin: 0;
	height: 100%;
	flex-shrink: 2;
}

.imagen img {

	position: relative;

	width: 70vw; /* Ancho ajustado para mayor ajuste */

	height: auto;

	max-width: 100%;
        /* Scale: 104%; -- Eliminado, se integra en transform */
	border: 20px solid aquamarine;

	box-sizing: content-box;

	transform: translate(-3%, 3%) rotate(-3deg) scale(1.02); /* Escala integrada en transform */

	transition: all 0.8s ease-in;

}



.im2 {

	align-items: center;

	position: relative;

	width: 70vw; /* Ancho ajustado para mayor ajuste */

	height: auto;        

	max-width: 70%;

	border: 20px solid bisque;

	box-sizing: border-box;

	transform: rotate(3deg);

	transition: 0.8s ease-in-out;

}

.cerrar {
	font-family: "Courier New", Courier, monospace;
	display: block;
	background: #fff;
	width: 25px;
	height: 25px;
	margin: 15px auto;
	text-align: center;
	text-decoration: none;
	font-size: 25px;
	color: #000;
	padding: 5px;
	border-radius: 50%;
	line-height: 25px;
}

.cerrar:hover {
	color: #000;
	font-family: "Courier New", Courier, monospace;
	transform: scale(125%);
}

.flecha {
	color: aquamarine;
	font-family: "Courier New", Courier, monospace;
	position: relative;
}

.flecha:hover {
	color: bisque;
	font-family: "Courier New", Courier, monospace;
	transform: scale(125%);
}

@media (min-width: 1601px) {
	header h1 {
		text-align: left;
		width: 95%;
	}

	header {
		display: block;
	}

	nav {
		text-align: right;
		width: 90%;
	}

	nav li {
		font-size: 140%;
	}

	section#contenido {
		margin-bottom: 1.5%;
		width: 85%;
	}

	section#contenido2 {
		margin-bottom: 1.5%;
		width: 95%;
	}

	section#principal {
		max-width: 85%;
	}

	.presentacion {
		padding: 8%;
		font-size: 160%;
	}

	.M2 {
		padding-right: 2%;
	}


}

@media (max-width: 1600px) {
	header h1 {
		text-align: left;
		width: 90%;
	}

	header {
		display: block;
	}

	nav {
		text-align: right;
		width: 90%;
	}

	nav li {
		font-size: 120%;
	}

	.presentacion {
		font-size: 140%;
	}

	.im2 {
		width: 80vw;
		height: auto;
		border: 20px solid bisque;
	}

	.imagen img {
		border: 20px solid aquamarine;
	}

	.cerrar {
		width: 25px;
		height: 25px;
	}

	.galeria img {
		width: 200px;
		height: 125px;
	}

	.galeria img:hover {
		width: 240px;
		height: 150px;
	}

}

@media (max-width: 1200px) {
	header h1 {
		display: inline;
		width: 95%;
	}

	nav {
		text-align: center;
		width: 88%;
	}

	nav li {
		font-size: 100%;
	}

	article#galeria-inicio {
		width: 95%;
	}

	aside {
		width: 20%;
	}

	.presentacion {
		font-size: 120%;
	}

	.im2 {
		width: 80vw;
		height: auto;
		border: 15px solid bisque;
	}

	.imagen img {
		border: 15px solid aquamarine;
	}

	.cerrar {
		width: 20px;
		height: 20px;
	}

	.galeria img {
		width: 160px;
		height: 100px;
	}

	.galeria img:hover {
		width: 192px;
		height: 120px;
	}
}

@media (max-width: 800px) {
	nav {
		text-align: center;
		width: 97%;
	}

	nav li {
		font-size: 70%;
	}

	article#galeria-inicio {
		width: 90%;
	}

	aside {
		width: 18%;
	}

	footer {
		font-size: 130%;
	}

	.presentacion {
		margin: 0;
		font-size: 100%;
	}

	.im2 {
		width: 90vw;
		height: auto;
		border: 12px solid bisque;
	}

	.imagen img {
		border: 12px solid aquamarine;
	}

	.cerrar {
		width: 15px;
		height: 15px;
	}

	.galeria img {
		width: 128px;
		height: 80px;
	}

	.galeria img:hover {
		width: 154px;
		height: 96px;
	}
}

@media (max-width: 600px) {
	nav {
		width: 45%;
	}

	nav li {
		display: inline;
		font-size: 80%;
		margin: 0px;
		padding: 0;
	}

	section#contenido {
		font-size: 160%;
		margin-bottom: 0%;
		width: 98%;
	}

	section#principal,
	aside {
		display: block;
		width: 100%;
	}

	footer {
		font-size: 100%;
	}

	.presentacion {
		font-size: 80%;
	}

	.im2 {
		width: 95vw;
		height: auto;
		border: 8px solid bisque;
	}

	.imagen img {
		border: 8px solid aquamarine;
	}

	.cerrar {
		width: 10px;
		height: 10px;
	}

	.galeria img {
		width: 102px;
		height: 64px;
	}

	.galeria img:hover {
		width: 122px;
		height: 76px;
	}
}

/* Regla para ajustar el tamaño de los enlaces en la página de contacto */
.presentacion .contact-info a {
  font-size: 85%;
}