/*importacion de tipografia o las tipografias desde google fonts SIEMPRE HAY QUE PONER ESTO AL PRIMCIPIO*/
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap');


article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{
    display:block;
}

audio,canvas,video{
    display:inline-block;
}

audio:not([controls]){
    display:none;
    height:0;
}

[hidden]{
    display:none;
}

html{
    font-family:sans-serif;
    -ms-text-size-adjust:100%;
    -webkit-text-size-adjust:100%;
}

body{
    margin:0;
}

a:focus{
    outline:thin dotted;
}

a:active,
a:hover{
    outline:0;
}

h1{
    font-size:2em;
    margin:0.67em 0;
	color: white;
	font-family: "Libre Franklin", sans-serif;
	font-optical-sizing: auto;
	font-weight: weight;
	font-style: normal;
}

abbr[title]{
    border-bottom:1px dotted;
}

b,strong{
    font-weight:bold;
}

dfn{
    font-style:italic;
}

hr{
    -moz-box-sizing:content-box;
    box-sizing:content-box;
    height:0;
}



code,kbd,pre,samp{
    font-family:monospace,serif;
    font-size:1em;
}

pre{
    white-space:pre-wrap;
}

q{
    quotes:"\201C" "\201D" "\2018" "\2019";
}

small{
    font-size:80%;
}

sub,sup{
    font-size:75%;
    line-height:0;
    position:relative;
    vertical-align:baseline;
}

sup{
    top:-0.5em;
}

sub{
    bottom:-0.25em;
}

img{
    border:0;
}

svg:not(:root){
    overflow:hidden;
}

figure{
    margin:0;
}

fieldset{
    border:1px solid #c0c0c0;
    margin:0 2px;
    padding:0.35em 0.625em 0.75em;
}

legend{
    border:0;
    padding:0;
}

button,
input,
select,
textarea{
    font-family:inherit;
    font-size:100%;
    margin:0;
}

button,
input{
    line-height:normal;
}

button,
select{
    text-transform:none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"]{
    -webkit-appearance:button;
    appearance:button;
    cursor:pointer;
}

button[disabled],
html input[disabled]{
    cursor:default;
}

input[type="checkbox"],
input[type="radio"]{
    box-sizing:border-box;
    padding:0;
}

input[type="search"]{
    -webkit-appearance:textfield;
    appearance:textfield;
    -moz-box-sizing:content-box;
    -webkit-box-sizing:content-box;
    box-sizing:content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration{
    -webkit-appearance:none;
    appearance:none;
}

button::-moz-focus-inner,
input::-moz-focus-inner{
    border:0;
    padding:0;
}

textarea{
    overflow:auto;
    vertical-align:top;
}

table{
    border-collapse:collapse;
    border-spacing:0;
}

*,
*::before,
*::after{
    box-sizing:border-box;
}
*::after,
*::before {
	box-sizing: border-box;
}

body {
	--color-text: #fff !important;
	--color-bg: #fdf7f7;
	--color-link: #fff;
	--color-link-hover: #000000;
	--color-link-hover2: #005380;
	--color-bg-item1: #005380;;
	--color-bg-item2: #ffffff;
	--color-bg-item3: #3C4856;
	--color-bg-item4: #ffffff;
	--color-bg-item5: #0f1013;
	--color-item-alt: #000000; /*color que se pone al seleccionar una seccion en el menu (hover)*/
	--color-quote: white;
	--color-info: #57535a;
	--color-title: #fcfcfc;
	--color-tagline: white;
	font-family: "europa", Futura, Arial, sans-serif;
	min-height: 100vh;
	color: #57585c;
	color: var(--color-text);
	background-color: #fff;
	background-color: var(--color-bg);
	/*overflow: hidden;  con ese no permite que desplaces hacia abajo*/
	overflow-x: hidden;/*con estos si nos lo va a permitir*/
	overflow-y: auto;
	padding: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Page Loader */
.js .loading::before {
	content: '';
	position: fixed;
	z-index: 100000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--color-bg);
}

.js .loading::after {
	content: '';
	position: fixed;
	z-index: 100000;
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	margin: -30px 0 0 -30px;
	pointer-events: none;
	border-radius: 50%;
	opacity: 0.4;
	background: var(--color-link);
	animation: loaderAnim 0.7s linear infinite alternate forwards;
}

@keyframes loaderAnim {
	to {
		opacity: 1;
		transform: scale3d(0.5,0.5,1);
	}
}


a {
	text-decoration: none;
	color: var(--color-link);
	outline: none;
	transition: color 0.2s;
}

a:hover,
a:focus {
	color: var(--color-link-hover);
}

button:focus,
a:focus {
	outline: none;
}

.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}

/* Icons */
.icon {
	display: block;
	width: 1.5em;
	height: 1.5em;
	margin: 0 auto;
	fill: currentColor;
}

main {
	position: relative;
	width: 100%;
}

.frame {
	position: relative;
	z-index: 199;
}

.content {
	position: relative;
    z-index: 500;
    height: 100vh;
    overflow: hidden;
}


.background {
	perspective: 1000px;
	padding-bottom:5px;

}

.background,
.background__copy {
	position: absolute; /*con position: fixed; hace que la imagen quede pegada a la ventana del navegador y no forme parte del flujo normal de la página. por eso se cambio a position: absolute;*/
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-image: url(../img/1.jpg);
	background-position: 50% 0%;
	background-size: cover;
	z-index: 1;
}

.background__copy {
	opacity: 0.3;
	transform: translate3d(0,0,0);
}

/* Header */
.codrops-header {
	position: relative;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	justify-items: center;
	align-self: start;
}

.codrops-header__title {
	font-size: 1rem;
	line-height: 1;
	font-weight: normal;
	margin: 0 1rem;
}


.info {
	display: block;
	grid-area: info;
	margin: 1rem 0;
	justify-self: end;
	text-align: center;
}





/*AENAA*/
.content__title {
    font-family: "Libre Franklin", sans-serif;
    font-size: clamp(3rem, 10vw, 8rem);
    mix-blend-mode: screen;
    line-height: 0.8;
    margin: 0;
	text-align: center;
    color: var(--color-title);
    position: relative; /* IMPORTANTE */
    z-index: 600;       /* encima del fondo */
    cursor: default;
}

/*asociacion del estado de aguascalientes de natacion artistica*/
.content__tagline {
	font-family: "Libre Franklin", sans-serif;
    font-size: 25px;
    color: var(--color-tagline);
    position: relative; /* IMPORTANTE */
    z-index: 600;       /* encima del fondo */
    max-width: 90%;
    margin: 1rem auto 0;
    text-align: center;
}

.action {
	background: none;
	border: 0;
	color: #fff;
	cursor: pointer;
	padding: 0;
}

.action--menu {
	z-index: 1000000 !important;       /* encima de todo */
	pointer-events: auto;
	position: fixed; /* Se queda fijo en pantalla */
	top: 1.5rem;
	right: 1.5rem;
	pointer-events: auto;

}

.menu--open .action--menu {
	pointer-events: none;
}

/*MENU*/
.action--close { /*posicion del icono del menu*/
	z-index: 1000001;       /* encima de todo */
	position: fixed; /* Se queda fijo en pantalla */
	top: 1.5rem;
	right: 1.75rem;
	z-index: 1000;
	opacity: 0;
	padding: 0 0.5rem;
}

.icon--menu {
	width: 3rem; /*tamaño del icono de menu*/
}

.icon--close {
	width: 3rem;
}

.menu {
	text-align: center;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	position: fixed; /*con position: fixed; hace que la imagen quede pegada a la ventana del navegador y no forme parte del flujo normal de la página. por eso se cambio a position: absolute;*/
	top: 0;
	left: 0;
	z-index: 999999;
	display: grid;
	grid-template-columns: 100%;
	grid-template-rows: repeat(3,33.33%);
	pointer-events: none;
}

.menu--open {
	pointer-events: auto;
	z-index: 9999;
}

/*SECCIONES*/
.menu__item {
    width: 100%;
    position: relative;
    overflow: hidden;
}

/*IMAGEN*/
.menu__item-inner {
	overflow: hidden;
    transform: translate3d(100%,0,0);
    height: 100%;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.menu__item--1 .menu__item-inner {
	background: var(--color-bg-item1);
}
.menu__item--2 .menu__item-inner {
	background: var(--color-bg-item2);
}
.menu__item--3 .menu__item-inner {
	background: var(--color-bg-item3);
}
.menu__item--4 .menu__item-inner {
	background: var(--color-bg-item4);
}
.menu__item--5 .menu__item-inner {
	background: var(--color-bg-item5);
}

.menu__item--4, 
.menu__item--5 {
	display: none;
}

.label {
	display: none;
}

.mainmenu__item {
	opacity: 0;
}


.mainmenu__item,
.sidemenu__item {
	position: relative;
	overflow: hidden;
	transition: color 0.1s;
	margin: 0.25rem 0;
	display: block;
}

/*quienes somos*/
.sidemenu__item {
	font-family: "Bricolage Grotesque", sans-serif !important;
	font-optical-sizing: auto !important;
	font-weight: weight !important;
	font-style: normal !important;
	font-variation-settings:
    "wdth" 100 !important;
	font-size:20px !important;
	position: relative;
	overflow: hidden;
	transition: color 0.1s;
	margin: 0.25rem 0;
	display: block;
}

.sidemenu__item-inner {
	display: block;
	transform: translate3d(0,100%,0);
}

/*SECCION DE LA IMAGEN*/
.menu__item-map {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: url(../img/2.jpg) no-repeat 50% 50%;
	background-size: cover;
	transition: transform 0.8s cubic-bezier(0.2,1,0.8,1);
	color: transparent;
}

.menu__item-inner:hover .menu__item-map {
	transform: scale3d(1.1,1.1,1);
}

.menu__item-hoverlink:hover {
	color: var(--color-link);
}
/*seccion de texto*/
.quote {
	font-family: "Bricolage Grotesque", sans-serif;
	font-optical-sizing: auto;
	font-weight: weight;
	font-style: normal;
	font-variation-settings:
    "wdth" 100;
	font-size: 20px;
	padding: 1rem;
	text-align: center;
	max-width: 70%;
	color: var(--color-quote);
}

.menu__item-link {
	text-align: left;
	align-self: flex-start;
	justify-self: start;
	font-size: 1.5rem;
	width: 100%;
	line-height: 1;
	padding: 2rem ;
	margin: 3rem 0 auto;
	display: flex;
	flex-direction: column;
	height: calc(100% - 3rem);
}

.menu__item-link::after {
	content: '\27F6';
	display: block;
	margin-top: auto;
	font-size: 0.95rem;
}

/*IMAGEN*/
.menu__item-img {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: url(../img/3.jpg) no-repeat 50% 50%;
	background-size: cover;
	transition: transform 0.8s cubic-bezier(0.2,1,0.8,1);
	color: transparent;
}

main{
	position: relative;
	z-index: 10;
}

html,
body{
    width:100%;
    max-width:100%;
    overflow-x:hidden !important;
}

main{
    width:100%;
    overflow-x:hidden;
}

.menu{
    width:100vw;
    max-width:100vw;
}

@media screen and (min-width: 53em) {
	body {
		padding: 0;
	}
	.content {
		width:100%;
    	min-height:100vh;
		position: relative;
		z-index: 500;
		min-height: 100vh;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	
	.frame {
		position: absolute;
		z-index: 199;
		top: 0;
		left: 0;
		display: grid;
		align-content: space-between;
		width: 100%;
		max-width: none;
		height: 100vh;
		padding: 1.5rem;
		pointer-events: none;
		grid-template-columns: 50% 50%;
		grid-template-rows: auto auto auto;
		grid-template-areas: 
		'codropsheader info'
		'... ...'
		'github ...';
	}
	.codrops-header {
		grid-area: codropsheader;
		padding: 0;
		justify-content: start;
	}
	.codrops-links {
		margin: 0;
	}
	.frame a {
		pointer-events: auto;
	}

	.menu {
		width: 100%;
		height: 100vh;
		overflow: hidden;
		position: fixed; /*con position: fixed; hace que la imagen quede pegada a la ventana del navegador y no forme parte del flujo normal de la página. por eso se cambio a position: absolute;*/
		top: 0;
		left: 0;
		z-index: 999999;
		grid-template-columns: 20% 30% 50%;
		grid-template-rows: 60% 40%;
		grid-template-areas: 
            "item3 item2 item1"
            "item4 item5 item1";
	}
	.menu__item {
		height: 100%;
	}
	.menu__item--1 {
		grid-area: item1;
	}
	.menu__item--2 {
		grid-area: item2;
	}
	.menu__item--3 {
		grid-area: item3;
	}
	.menu__item--4 {
		grid-area: item4;
	}
	.menu__item--5 {
		grid-area: item5;
	}
	.menu__item--4, 
	.menu__item--5 {
		display: block;
	}
	.menu__item-inner {
		align-items: center;
	}
	.label {
		display: block;
		color: var(--color-item-alt);
		position: absolute;
		z-index: 1000;
		font-size: 0.85rem;
		font-weight: bold;
		margin: 0;
		white-space: nowrap;
	}
	.label--topleft {
		top: 2rem;
		left: 2rem;
	}
	.label--vert,
	.label--vert-mirror {
		-webkit-writing-mode: vertical-rl;
		writing-mode: vertical-rl;
	}
	.label--vert-mirror {
		transform: rotate(180deg);
	}
	.label--bottomright {
		bottom: 2rem;
		right: 2rem;
	}
	.label::before {
		content: '------------- ';
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		letter-spacing: -1px;
		margin: 0 0.75rem 0 0;
	}
	.label--vert::before,
	.label--vert-mirror::before {
		margin: 0.75rem 0;
	}
	.mainmenu,
	.sidemenu {
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.mainmenu {
		counter-reset: menuitem;
	}
	.mainmenu__item {
		font-family: "Bricolage Grotesque", sans-serif;
		font-optical-sizing: auto;
		font-weight: weight;
		font-style: normal;
		font-variation-settings:"wdth" 100;
		font-size: 5vw;
		text-transform: none;
		overflow: visible;
		margin: 0.5rem 0;
		padding: 0 0.5rem;
		position: relative;
		transition: color 0.3s;
	}
	.mainmenu__item:hover {
		color: var(--color-item-alt);
	}
	
	.mainmenu__item::after {
		content: '';
		width: 100%;
		top: 90%;/*pone la linea del selector debajo enlugar de enmedio*/
		height: 3px; /*grosor de la linea*/
		background: var(--color-link-hover);
		position: absolute;
		left: 0;
		opacity: 0;
		transform: scale3d(0,1,1);
		transition: transform 0.3s, opacity 0.3s;
		transform-origin: 100% 50%;
	}
	.mainmenu__item:hover::after {
		opacity: 1;
		transform: scale3d(1,1,1);
	}
	.sidemenu__item {
		letter-spacing: 0.15rem;
		font-size: 0.85rem;
	}
	.menu__item-hoverlink {
		font-size: 1.25rem;
		border-bottom: 2px solid #fff;
		opacity: 0;
		transition: opacity 0.3s;
	}
	.menu__item-inner:hover .menu__item-hoverlink {
		opacity: 1;
	}
} 

/*media para la imagen y texto del inicio*/
@media (max-width: 1400px){
	.menu__item-map {
	margin-top:60px !important;
	margin-left:60px;
	width: 70%;
	height: 70%;
	background-size: cover;
	}

	/*.menu__item-map {
	background-size:360px;
	}*/

}

@media (max-width: 992px){
	.menu__item-map {
	margin-top:60px !important;
	margin-left:40px;
	width: 75%;
	height: 75%;
	background-size: cover;
	}

	/*.menu__item-map {
	background-size:360px;
	}*/

}


@media (max-width: 768px){
	
    .content__title{
		padding-top:50px;
        font-size: 4rem; /* Reduce el tamaño del título para que no se corte */
        line-height: 1; /* Ajusta la separación vertical */
    }

    .content__tagline{
        font-size: 1rem; /* Reduce ligeramente el tamaño del subtítulo */
        padding: 0 20px; /* Agrega espacio a los lados para que no toque los bordes */
    }

    .content{
        padding-top: 80px;/* Baja el contenido para que no choque con el icono del menú */
    }
	

    .menu{
        grid-template-columns:100%;
        grid-template-rows:30vh 30vh 40vh;
    }

    .menu__item--1,
    .menu__item--2,
    .menu__item--3{
        display:block;
    }

    .menu__item--4,
    .menu__item--5{
        display:none;
    }

    .mainmenu{
        justify-content:center;
    }

    .mainmenu__item{
        font-size:24px !important;
        margin:8px 0;
    }

    .sidemenu{
        justify-content:center;
    }

    .sidemenu__item{
        font-size:18px !important;
        margin:6px 0;
    }

    .menu__item-map{
        width:100%;
        height:100%;
        margin:0 !important;
        background-position:center;
        background-size:contain;
    }
	
}

@media (max-width: 576px){
	.menu{
        grid-template-rows:25vh 30vh 35vh;
    }

    .mainmenu__item{
        font-size:15px !important;
    }

    .sidemenu__item{
        font-size:16px !important;
    }

    .content__title{

        /* Hace el título aún más pequeño para móviles */
        font-size: 3rem !important;
    }

    .content__tagline{

        /* Reduce un poco más el subtítulo */
        font-size: 0.9rem !important;
    }

	.background {
	padding-bottom:5px !important;
	}

	.menu__item--3,
	.sidemenu__item {
	font-size:10px !important;
	}


	.menu__item--5,
	.quote {
	font-size:10px !important;
	}

}

html,
body {
    margin: 0;
    overflow-x: hidden;
}

main {
    overflow: hidden;
}

.menu {
    width: 100%;
    max-width: 100%;
}

html,
body {
    overflow-x: hidden;
}