@import url('https://fonts.googleapis.com/css2?family=Livvic:wght@400;500;600;700&family=Mooli&display=swap');

:root{
	--blanco: #FFF;
	--gris-web: #EAEBEB;
	--primario: #1072a7;
	--gris-negro: #24282D;
}



body{
	font-family: "Mooli", sans-serif;
}


h1, h2, h3, h4, h5{ 
  font-family: "Livvic", sans-serif;
  font-weight: 600;
  font-style: normal;
}

input, label, textarea, select{
	font-family: "Livvic", sans-serif;
	font-size: 14px !important;
	color: var(--gris-negro) !important;
}

a, p, li{
	font-size: 14px;
}

.color-primario{
	color: var(--primario);
}

.color-gris{
	color: var(--gris-web);
}

.color-negro{
	color: var(--gris-negro);
}

.bg-primario{
	background-color: var(--primario);
}

.bg-gris-negro{
	background-color: var(--gris-negro);
}

.bg-gris{
	background-color: var(--gris-web);
}

.borde-gris-negro{
	border: 1px solid var(--gris-negro);
}

.borde-color-gris{
	border-color: var(--gris-web);
}

.enlace-home{
	width: 120px;
	height: 30px;
}

.enlace-home img{
	width: 100%;
	height: 100%;
}

.btn-menu{
	border: none;
	background: transparent;
	color: var(--primario);
	font-size: 22px;
}

.texto-12{
	font-size: 12px;
}

.select-personalizado{
	position: relative;
	cursor: pointer;
}

.select-personalizado ul{
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	background-color: var(--blanco);
	-webkit-box-shadow: 1px 4px 5px -2px rgba(36,40,45,1);
	-moz-box-shadow: 1px 4px 5px -2px rgba(36,40,45,1);
	box-shadow: 1px 4px 5px -2px rgba(36,40,45,1);
	max-height: 0;
	z-index: 10;
	overflow: hidden;
	transition: max-height .3s ease-in-out;
}

.select-personalizado ul li{
	width: 100%;
	padding: 0;
	border-bottom: 1px solid var(--gris-web);
}

.select-personalizado ul li:last-child{
	border-bottom: none;
}

.select-personalizado ul li button{
	all: unset;
	width: 100%;
	font-size: 14px;
	cursor: pointer;
	box-sizing: border-box;
	padding: .370rem .75rem .370rem .75rem;
}

.select-personalizado ul li button:hover{
	background-color: var(--gris-web);
}

.option-pers{
	font-size: 14px;
}

.select-personalizado .mostrar-select{
	max-height: 230px;
	overflow-y: scroll;
}

.link-terminos{
	font-size: 14px;
	color: var(--primario);

}

.img-qr{
	width: 100%;
	height: 100%;
	width: 150px;
	height: 150px;
	margin: 5px auto;
}

.img-qr img{
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.modal-body{
	max-height: 500px;
	overflow-y: scroll;
}

header .navbar-collapse {
  position: absolute; /* Posiciona el menú respecto al contenedor */
  top: 100%; /* Muestra el menú debajo del navbar */
  left: 0;
  right: 0;
  z-index: 1050; /* Asegura que el menú se superponga a otros elementos */
  background-color: white; /* Fondo para el menú desplegable */
  
}

header .navbar-nav {
  padding: 0 1rem; /* Espaciado interno para el menú */
}

.banner{
	height: 500px;
}

.banner::after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, .2);
}

.navbar-nav a{
	color: var(--primario);
}

.banner img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.texto-banner{
	z-index: 1;
	width: 86%;
	margin: 0 auto;
}

.titulo-banner{
	font-size: clamp(18px, 5vw, 50px);
}

.btn-contacto{
	background: var(--primario);
	color: var(--gris-web);
	border: none;
	border-radius: 5px;
	padding: 4px 10px;
	cursor: pointer;
}

.contenedor{
	max-width: 1440px;
	width: 90%;
	margin: 0 auto;
}

.card img{
	max-height: 300px;
}

.titulo-cancha{
	font-size: 18px;
	margin: 0;
}

.texto-cancha{
	font-size: 14px;
	margin-bottom: 5px;
	line-height: 15px;
	color: var(--gris-negro);
}

.link-cancha{
	color: var(--gris-negro);
	text-decoration: none;
}

.btn-reserva{
	color: var(--gris-web);
	background: var(--primario);
	border: none;
	border-radius: 5px;
	font-size: 14px;
	padding: 5px 12px;
}

.img-nosotros{
	width: 50%;
	max-width: 600px;
}

.text-nosotros{
	width: 90%;
	max-width: 800px;
}

.texto-contacto{
	width: 90%;
	max-width: 600px;
	padding: 0;
	margin: 0 auto;
}

.form-contacto{
	width: 90%;
	max-width: 500px;
	margin: 0 auto;
	/*box-shadow: 0 0.5rem 1rem rgba(234, 235, 235, 0.15);*/
}

	header{
		position: fixed;
   	top: 0;
	   right: 0;
	   left: 0;
	   z-index: 10;
	   background: #FFF;
	   box-shadow: inset 0 0 0 0 var(--gris-negro);
		-webkit-transition: ease-out 0.2s;
		-moz-transition: ease-out 0.2s;
		transition: ease-out 0.2s;
	}

.contenedor-error{
	height: calc(100vh - 140px);
	display: flex;
	align-items: center;
}	

.img-error img{
	width: 100%
}

.titulo-error{
	font-size: clamp(40px, 6vw, 200px);
}

@media(max-width: 767px){
	.img-error{
		width: 90%;
		margin: 0 auto;
	}
}

@media(min-width: 576px){
	header{
		background: none;
	}

	header .navbar-collapse {
		position: static;
		background: transparent;
	}

	header .navbar-nav {
	  padding: 0;
	}

	.navbar-nav a{
		color: var(--gris-web);
	  	box-shadow: inset 0 0 0 0 var(--gris-negro);
	}	

	.card img{
		max-height: 250px;
	}

	.header-fijo{
		max-width: 100%;
		box-shadow: inset 0 100px 0 0 var(--gris-negro);
	}

	.contenedor-error{
		height: calc(100vh - 119px);
	}
}

@media (min-width: 768px) {
	.banner{
		height: 600px;
	}

	.texto-banner{
		box-sizing: border-box;
    	width: 100%;
		max-width: 680px;
	}

}

@media(min-width: 992px){
	a, p, li{
		font-size: 16px;
	}

	.modal-body{
		max-height: none;
	}

	.texto-banner{
		max-width: 800px;
	}

	.btn-contacto, .btn-reserva{
		border-radius: 6px;
		padding: 6px 15px;
	  	box-shadow: inset 0 0 0 0 var(--gris-negro);
		-webkit-transition: ease-out 0.4s;
		-moz-transition: ease-out 0.4s;
		transition: ease-out 0.4s;
	}

	.btn-contacto:hover, .btn-reserva:hover{
		box-shadow: inset 0 100px 0 0 var(--gris-negro);
	}

	.navbar-nav a{
		padding-left: 15px !important;
		padding-right: 15px !important;
	  	box-shadow: inset 0 0 0 0 var(--primario);
		-webkit-transition: ease-out 0.4s;
		-moz-transition: ease-out 0.4s;
		transition: ease-out 0.4s;		
	}	

	.navbar-nav a:hover{
		box-shadow: inset 0 100px 0 0 var(--primario);
		color: var(--gris-web) !important;
	}


	.texto-banner p, .btn-contacto{
		font-size: 18px;
	}

	.link-cancha:hover .link-span{
		text-decoration: underline;
	}

	.contenedor-error{
		height: calc(100vh - 104px);
	}
}

@media (min-width: 1200px) {
	.banner{
		height: 100vh;
	}

	.enlace-home{
		width: 150px;
		height: 40px;
	}
}

.nav-link:focus, .nav-link:hover{
	color: var(--blanco) !important;
}

.invalido{
  border-color: var(--bs-form-invalid-border-color);
  padding-right: calc(1.5em + .75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(.375em + .1875rem) center;
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);	
}

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: var(--primario);
  color: white;
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
  z-index: 9000;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.hidden {
  display: none;
}

.header-negro{
	box-shadow: inset 0 100px 0 0 var(--gris-negro);
}