@font-face {
    font-family: 'Gotham';
    src: url('/assets/fonts/gotham/GothamMedium.eot');
    src: url('/assets/fonts/gotham/GothamMedium.eot?#iefix') format('embedded-opentype'),
        url('/assets/fonts/gotham/GothamMedium.woff2') format('woff2'),
        url('/assets/fonts/gotham/GothamMedium.woff') format('woff'),
        url('/assets/fonts/gotham/GothamMedium.ttf') format('truetype'),
        url('/assets/fonts/gotham/GothamMedium.svg#GothamMedium') format('svg');
    font-weight: 500;
    font-style: bold;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('/assets/fonts/gotham/GothamLight.eot');
    src: url('/assets/fonts/gotham/GothamLight.eot?#iefix') format('embedded-opentype'),
        url('/assets/fonts/gotham/GothamLight.woff2') format('woff2'),
        url('/assets/fonts/gotham/GothamLight.woff') format('woff'),
        url('/assets/fonts/gotham/GothamLight.ttf') format('truetype'),
        url('/assets/fonts/gotham/GothamLight.svg#GothamLight') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

* {
	max-width:100%;
}

body {
	margin:0;
	padding:0;
	align-items: center;
	height: 100vh;
	font-family: Gotham;
	font-size:14px;
	overflow:auto;
	display:flex;
	flex-direction: column;
	background-image: linear-gradient(to bottom right, #bbbbbb, #f0f0f0);
	background-attachment: fixed;
}

header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
    min-height: var(--header-height-front);
	width:100%;
	max-width:1920px;
	margin-bottom: 0;
	padding:0 2rem;
	z-index:10;
	position: fixed;
	color: #000;
	background-color: white;
  transition: position 0.2s;
}

#header.stuck {
  position: absolute; /* o relative */
}

header .logo img {
	max-height: calc(var(--header-height-front) / 2);
}

header .mobile {
	font-size:.7rem;
}

header a {  
	font-weight: 300;
	display: inline-block;
}

header a:hover {
	opacity: .7;
}

header nav a.current {
	border-bottom: 1px solid currentColor;
}

header .menu-item {
	max-height: 100px;
	font-size: 1rem;
}

header .menu-item .fab {
	font-size: 1.5rem;
}

header .mobile .menu-item {
	font-size: 1.2em
}

#hamburger-menu {
	padding:2rem;
	position: fixed;
	color: black;
	top: 0;
	left:0;
	width: 300px;
	height: 100vh;
	background: white;
	transform: translateX(-100%);
	transition: transform 0.3s ease;
	box-shadow: 4px 0 10px rgba(0,0,0,0.15);
	z-index: 999;
	text-align: start;
}

#hamburger-menu.is-open {
  transform: translateX(0);
}

#hamburger-menu a {
	padding: 10px 0;
}

#hamburger-menu a .fab {
	font-size: 1.5rem;
	color: #737373;
}

.hamburger {
	position: relative;
	z-index: 1000; /* por encima del menú */
	background: none;
	border: none;
	font-size: 28px;
	cursor: pointer;
}

.hero-title {
	position: relative;
	text-align: left;
	text-shadow:
		0 2px 4px rgba(0, 0, 0, 0.9),
		0 0 2px rgba(0, 0, 0, 0.8);
}

.hero-title-inner {
	position:absolute;
	background: linear-gradient(
		to left,
		rgba(0, 0, 0, 0) 0%,
		rgba(50, 50, 50, .7) 100%
	);
	height:100%;
	width:100%;
	border-radius: 20px;
}

.hero-title.right {
	text-align: right;
	display: flex;
	justify-content: end;
}

.hero-title.right .hero-title-inner {

	background: linear-gradient(
		to right,
		rgba(0, 0, 0, 0) 0%,
		rgba(50, 50, 50, .7) 100%
	);
}

.hero-title h1 {
	position: relative;
	z-index:2;
	color: white;
	margin: 3rem;
	margin-top: 6rem;
	margin-bottom: 1rem;
	font-size: 2.3rem;
	font-weight: bold;
}

.hero-title .desc {
	color: white;
	position: absolute;
	margin: 2.7rem;
	margin-top: 1rem;
	font-size: 1.6rem;
	font-style: italic;
	font-weight: 400;
	width:860px;
	max-width:70%;
	border-left: 2px solid white;
	padding-left: 1rem;
	padding-bottom:1rem;
}

.hero-title .desc-mark {
	width:280px;
	border-bottom: 0.5rem solid white;
	position:absolute;
	bottom:0;
	margin-top: 0;
}

.hero-title.right h1 {
	text-align: right;
}

.hero-title.left .desc-mark {
	left: 0;
}

.hero-title.right .desc-mark {
	right: 0;
}

.hero-title.right .desc {
	border-right: 2px solid white;
	border-left: none;
	padding-right: 1rem;
	right:0;
}

/* Mostrar hamburguesa y ocultar X por defecto */
.icon-hamburger {
	display: inline;
}
.icon-close {
	display: none;
}

/* Cuando el menú está abierto, cambiar íconos */
.hamburger.is-active .icon-hamburger {
	display: none;
}
.hamburger.is-active .icon-close {
	display: inline;
}

main {
	z-index:1;
	position: relative;
	background:white;
	max-width:1920px;
	padding-bottom: 5rem;
}

section {
	background: white;
	padding:1.3rem 2rem;
}

.blur {
	opacity: .3;
}

main.had-header:not(.footered) {
    height: calc(var(--main-height-front) - 4rem + var(--footer-height));
	padding-bottom:8rem;
}

.page-content {
	margin-top:2rem;
	font-size:1.2rem;
}

div.wrapper {
	display:flex;
	justify-content:start;
	align-items:center;
	flex-direction:column;
	width:100%;
	z-index:2;
	max-width:1920px;
	background: #F3E3D4;
}

.main-image {
	max-width:100%;
	max-height:100%;
	border-radius:20px;
}

img {
	display: inline-block;
	max-height: 100%;
}

a {
	color:inherit;
	text-decoration:none;
	font-weight:bold;
}

.main-title {
	font-size: 2.3em;
	line-height: 3rem;
}

#home {
	min-height: 500px;
	display: flex;
	justify-content: center;
	align-items: center;
}

#inscripciones {
	text-transform:uppercase;
	font-size:1.5em;
	font-weight: 300;
}

#inscripciones li {
	margin-bottom:10px;
}

#main-menu-desktop {
	width:100%;
}

#link-separator {
	background: rgb(120,120,120);
	height: 12px;
	width: 2px;
	display:inline-block;
	margin: 0 10px;
}

.bi {
    width: 1em;
    height: 1em;
    vertical-align: -.125em;
    fill: currentcolor;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 16px;
	width: 100%;
}

.gallery .item .image-container{
	overflow:hidden;
	border-radius: 8px;
}

.gallery .item img {
	width: 100%;
	display: block;
	transition: transform 0.3s ease; /* Suaviza el efecto */
}

.gallery img:hover {
	transform: scale(1.05); /* Aplica zoom al pasar el mouse */
}

footer {
    width: 100vw;
	max-width:1920px;
	position: relative;
	text-align: left;
	background-color:#FFF;
	padding:2rem;
	border-top: 1px solid rgb(217, 217, 217);
	z-index:1;
	position: relative;
}

#footer-column-1 {
	flex-grow: 2;
}

#footer-column-2 {
	flex-grow: 3;
}

footer .logos-container {
    width: 100vw;
    display: flex;
    justify-content: center;
	position:absolute;
	bottom:0;
}

footer .logos {
    display: flex;
    bottom: 10px;
    z-index: 2;  justify-content: space-evenly;
    max-width: 1920px;
	width:100%;
    flex-wrap: wrap;
    gap: 40px;  
	padding: 40px;
	margin-bottom:40px;
}

footer .logo {
	text-align:center;
}

footer .logo img {
    width: auto;
    height: 3rem;
	max-height: 70px;
    max-width: none;
    max-height: none;
}

footer .menu-item a {
	font-size:1.6rem;
	text-transform: uppercase;
	font-weight: 400;
	color: rgb(185, 185, 185)
}

footer .menu-item a:hover {
	color: black;
}

h1 {
	font-style: italic;
	font-weight: bold;
	font-size: 1.5rem;
	text-transform: uppercase;
	margin-top: 1rem;
}

h2 {
	font-weight: lighter;
	font-size: 1.2rem;
}

h2.section-title {
	font-weight: bold;
	font-size: 2rem;
}

.children-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
  justify-content: flex-start; /* Alinea a la izquierda */
}

.children-gallery .child-containder {
  flex: 0 0 calc((100% - 6%) / 4); /* 4 columnas - 3 gaps de 20px */
  max-width: 320px;
  box-sizing: border-box;
  border: 2px solid rgb(214, 214, 214);
  margin-bottom:2%;
}

.child-containder .inner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.children-gallery .child-containder .inner {
	display: block;
}

#bibliografia h1 {
	font-size: 1.5rem;
	font-style: italic;
}

#bibliografia h2 {
	font-size: 1.2rem;
	font-style: italic;
}

.paralax-bg {
	width:100vw;
	max-width:1920px;
	position:fixed;
	z-index:0;
	left:0;
	right:0;
	top: 85px;
	margin:auto;
	background-color: #fff;
}

.floated-on-text {
	height:500px;
	width:auto;
	border-radius:20px;
}

.anchor-on-section {
	margin-bottom:2rem;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.schedule-table th,
.schedule-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
}

.schedule-table th {
    background: #f5f5f5;
    font-weight: bold;
}

.activity {
    padding: 6px 8px;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
}

.mobile-schedule {
	margin-top: 20px;
}

.day-card {
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 12px;
	margin-bottom: 12px;
}

.day-card h3 {
	margin: 0 0 8px;
}

.slot {
	background: #f7f7f7;
	border-left: 4px solid #333;
	padding: 8px;
	margin-bottom: 6px;
	border-radius: 4px;
}

.slot .time {
	font-weight: bold;
	margin-bottom: 2px;
}

.slot .name {
	font-size: 14px;
}

.instructor {
	font-weight: 400;
	text-transform: uppercase;
	font-size: 0.9rem;
}

/* Móvil pequeño (hasta 480px) */
@media (max-width: 480px) {
	body {
		text-align: center;
	}

	.desktop:not(.mobile), .laptop:not(.mobile), .tablet:not(.mobile) {
		display:none !important;
	}

	.children-gallery .child-containder {
		flex: 0 0 calc((100% - 6%) / 2); /* 4 columnas - 3 gaps de 20px */
	}
		
	.floated-on-text {
		height:auto;
		width:100%;
		margin-bottom:1rem;
	}
}

.back-to-top,
.floating-whats-up {
  position: fixed;
  bottom: 70px;
  right: 20px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: #096898;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: none; /* oculto por defecto */
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
  transition: opacity 0.3s ease;
  z-index: 999;
}

.floating-whats-up {
  display: flex;
  opacity: 1;
  bottom: 20px;
  background: #09982f;
}

.back-to-top.show {
  display: flex;
  opacity: 1;
}

.activity-flag {
	display:inline-block;
	width:15px;
	height:15px;
	margin-right: 1rem;
}

/* Móviles normales (481px a 767px) */
@media (min-width: 481px) and (max-width: 767px) {
	body {
		text-align: center;
	}

	.desktop:not(.mobile), .laptop:not(.mobile), .tablet:not(.mobile) {
		display:none !important;
	}

  	.hv-link {
		width:auto;
		text-align: left;
		display:inline-block;
	}
		
	.pv-link {
		width:auto;
		text-align: right;
		display:inline-block;
	}

	.link-separator {
		height: 12px;
		margin: 0 10px;
	}

	.children-gallery .child-containder {
		flex: 0 0 calc((100% - 6%) / 3); /* 4 columnas - 3 gaps de 20px */
	}

	.floated-on-text {
		height:auto;
		width:100%;
		margin-bottom:1rem;
	}

	.hero-title h1 {
		margin-top: 1.2rem;
		margin-bottom: .5rem;
		margin-left: 1rem;
    	margin-right: 1rem;
		font-size: 1.8rem;
	}

	.hero-title .desc {
		font-size: 1rem;
		border-width: 1px;
		padding-left: 1rem;
		max-width: 70%;
		margin-left: 1rem;
    	margin-right: 1rem;
		margin-top:0;
	}
}

/* Tablets (768px a 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
	.desktop:not(.tablet), .laptop:not(.tablet), .mobile:not(.tablet) {
		display:none !important;
	}

	.hv-link {
		width:65px;
		text-align: left;
		display:inline-block;
	}
		
	.pv-link {
		width:75px;
		text-align: right;
		display:inline-block;
	}

	.link-separator {
		height: 30px;
		margin:0;
	}

	.gallery {
        grid-template-columns: repeat(2, 1fr);
    }

	.children-gallery .child-containder {
		flex: 0 0 calc((100% - 6%) / 3); /* 4 columnas - 3 gaps de 20px */
	}

	.hero-title h1 {
		margin-top: 4rem;
		font-size: 1.8rem;
	}

	.hero-title .desc {
		font-size: 1.2rem;
	}
}

/* Laptops (1025px a 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
	.desktop:not(.laptop), .tablet:not(.laptop), .mobile:not(.laptop) {
		display:none !important;
	}

	.gallery {
        grid-template-columns: repeat(3, 1fr);
    }

	.hero-title h1 {
		margin-top: 4rem;
		font-size: 2.3rem;
	}

	.hero-title .desc {
		font-size: 1.4rem;
	}
}

/* Escritorios grandes (1201px en adelante) */
@media (min-width: 1201px) {
	.laptop:not(.desktop), .tablet:not(.desktop), .mobile:not(.desktop) {
		display:none !important;
	}

	.gallery {
		grid-template-columns: repeat(4, 1fr);
	}

	.children-gallery .child-containder {
		flex: 0 0 calc((100% - 6%) / 5); /* 4 columnas - 3 gaps de 20px */
	}
}
