/*---------------------------------------
  GENERAL           
-----------------------------------------*/

:root {
    --color1: #F2D71A;
    --color2: #A9A112;
    --color3: #FFFCC6;
    --color4: #FFF98D;
    --color5: #FFFFFF;
    --color6: #231F20;
    --color7: #191617;
    --color8: #FFF8FB;
    --color9: #FFF0F7;
    --color10: #000000;
    --max-width-laptop: 1050px;
    --padding-section: 26px;
}

body {
      overflow-x: hidden;
    }
    
*,*:before,*:after{
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: "Figtree", sans-serif;
  scroll-behavior: smooth;
}

a,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
}

/*---------------------------------------
  WHATSAPP      
-----------------------------------------*/

.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:30px;
	right:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}

.my-float{
	margin-top:13px;
}

/*---------------------------------------
  CONTAINER / SECTION       
-----------------------------------------*/

.site-wrap {
  width: 100%;
}

.section-hero {
  background-image: linear-gradient(106deg, rgba(89,103,123,0.2) 100%, rgba(89,103,123,0.2) 100%, rgba(0,212,255,0) 100%), url(imagenes/cancha-gm-desktop.webp);
  width:100%;
  height: 100dvh;
  min-height: 550px;
  background-position: left center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 25px var(--padding-section);
  overflow:hidden;
  /*animation: sliderfondo infinite 10s linear;*/
}

.overlay {
  border-image-source: linear-gradient(
    hsla(0, 0%, 0%, 0.8), hsla(0, 0%, 10%, 0.30));
  border-image-slice: fill 1;
}

.container-hero {
  max-width: var(--max-width-laptop);
  width: 100%;
  height: 100dvh;
  min-height: 550px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.section-nosotros {
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--color1);
  padding: 0 var(--padding-section);
}

.skew-cc{
  width:100%;
  height:60px;
  position:relative;
  left:0px;
  background: linear-gradient(to right bottom, var(--color1) 49%,var(--color5) 50%),    linear-gradient(-50deg, var(--color9) 16px, #000 0);
}

.container-nosotros {
  max-width: var(--max-width-laptop);
  width: 100%;
  margin: 60px auto 0px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
}

.section-alquiler {
  width: 100%;
  display: flex;
  flex-direction: row;
  background-color: var(--color5);
  padding: 0 var(--padding-section);
}

.container-alquiler {
  max-width: var(--max-width-laptop);
  width: 100%;
  margin: 50px auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.section-instalaciones {
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--color5);
  padding: 0 var(--padding-section);
}

.container-instalaciones {
  max-width: var(--max-width-laptop);
  width: 100%;
  margin: 25px auto 50px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
}

.section-mapa {
  width: 100%;
  filter:grayscale(0%);
  margin: 0;
  padding: 0;
  line-height: 0;
}

.section-mapa:hover {
  filter: grayscale(0%);
}

footer {
  background-color: var(--color6);
  width: 100%;
  display: flex;
  margin: 0;
  color: var(--color5);
}

.footer-container {
  max-width: var(--max-width-laptop);
  width: 100%;
  min-height: 100px;
  margin: 40px auto;
  padding: 0 var(--padding-section);
}

/*---------------------------------------
 BOTON ACCION          
-----------------------------------------*/

.button-hero {
  --border: 2.5px;
  --color: var(--color1); 
  font-family: "Figtree", sans-serif;
  margin: 0;
  font-size: 12.5px;
  padding: 14px 30px;
  cursor: pointer;
  border: none;
  font-weight: 900;
  text-shadow: 0px 5px 10px #0004;
  color: var(--color10);
  box-shadow: 
    0 0 0 200px inset var(--c,#0000),
    0 0 0 var(--border) inset var(--color);
  background: linear-gradient(var(--color) 0 0) bottom/100% 0% no-repeat;
  transition: color var(--t,0.3s), background-size 0.3s;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  background-color: var(--color4);
  animation: slide-in 800ms;
}

.button-hero:before,
.button-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  clip-path: polygon(0 0,100% 0,calc(100% + 200vmax) 200vmax,200vmax calc(100% + 200vmax),0 100%);
  box-shadow: 0 0 0 200vmax var(--color);
  filter: brightness(1.1);
}

.button-hero:after {
  inset: 0 0 0 auto;
  filter: brightness(0.9);
}

.button-hero:hover,
.button-hero:active{
  background-size: 100% 100%;
  color: var(--color10);
  --t: 0.2s 0.1s;
}

.button-hero:focus-visible {
  outline-offset: calc(-1*var(--border));
  outline: var(--border) solid #000a;
}

.button-hero:active {
  --c: #0005;
  transform: translate(4px,4px);
  transition: none;
}

/*---------------------------------------
 BOTON NAVEGACION        
-----------------------------------------*/

.hover-3 {
  --b: 0.1em; /* the thickness of the line */
  --c: var(--color1); /* the color */
  color: var(--color9);
  padding-block: var(--b);
  background: linear-gradient(var(--c) 50%, #000 0) 0%
      calc(100% - var(--_p, 0%)) / 100% 200%,
    linear-gradient(var(--c) 0 0) 0% var(--_p, 0%) / var(--_p, 0%) var(--b)
      no-repeat;
  -webkit-background-clip: text, padding-box;
  background-clip: text, padding-box;
  transition: 0.3s var(--_s, 0s) linear,
    background-size 0.3s calc(0.3s - var(--_s, 0s));
}
.hover-3:hover {
  --_p: 100%;
  --_s: 0.3s;
  color: var(--color1);
}

/*---------------------------------------
  NAVEGATION            
-----------------------------------------*/

.navegation {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  color: var(--color8);
  padding: 10px 10px 0;
}

.navegation__logo {
  width: 92px;
  align-items: center;
}

.navegation__logo > img {
    width: 100%;
    height: auto;
    animation: fade-in 1.3s linear;
}

.navegation__buttons {
  display: flex;
  align-items: center;
  font-family: "Nunito", sans-serif;
  animation: fade-in 1.3s linear;
}

.navegation__buttons > ul {
  display: flex;
  list-style: none;
}

.navegation__buttons > * > li {
  padding: 0 0 0 24px;
  font-size: 15px;
  letter-spacing: 0.2px;
  font-weight: 600;
}

/*---------------------------------------
  NAVEGATION MOBILE          
-----------------------------------------*/

.outer-menu {
  position: relative;
  top: 0;
  left: -60px;
  z-index: 1;
  display: none;
  font-family: "Nunito", sans-serif;
}

.outer-menu .checkbox-toggle {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  cursor: pointer;
  width: 60px;
  height: 60px;
  opacity: 0;
}

.outer-menu .checkbox-toggle:checked + .hamburger > div {
  transform: rotate(135deg);
}

.outer-menu .checkbox-toggle:checked + .hamburger > div:before,
.outer-menu .checkbox-toggle:checked + .hamburger > div:after {
  top: 0;
  transform: rotate(90deg);
}

.outer-menu .checkbox-toggle:checked ~ .menu {
  pointer-events: auto;
  visibility: visible;
}

.outer-menu .checkbox-toggle:checked ~ .menu > div > div {
  opacity: 1;
  transition: opacity 0.4s ease 0.4s;
}

.outer-menu .hamburger {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 60px;
  height: 60px;
  padding: 0.5em 1em;
  background: var(--color10); /* fondo burguer */
  border-radius: 0 0.12em 0.12em 0;
  cursor: pointer;
  transition: box-shadow 0.4s ease;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.outer-menu .hamburger > div {
  position: relative;
  flex: none;
  width: 100%;
  height: 2px;
  background: var(--color9);
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.outer-menu .hamburger > div:before,
.outer-menu .hamburger > div:after {
  content: '';
  position: absolute;
  z-index: 1;
  top: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: inherit;
  transition: all 0.4s ease;
}

.outer-menu .hamburger > div:after {
  top: 10px;
}

.outer-menu .menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  outline: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.outer-menu .menu > div {
  width: 100%;
  height: 100%;
  color: var(--color10);
  background: var(--color1);
  transition: all 0.4s ease;
  flex: none;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.outer-menu .menu > div > div {
  text-align: center;
  max-width: 90vw;
  max-height: 100vh;
  opacity: 0;
  transition: opacity 0.5s ease;
  overflow-y: hidden;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.outer-menu .menu > div > div > ul {
  list-style: none;
  padding: 0 16px;
  margin: 0;
  display: block;
  max-height: 100vh;
  color: var(--color10); /*color botones*/
}

.outer-menu .menu > div > div > ul > li {
  padding: 0;
  margin: 30px;
  font-size: 22px;
  display: block;
}

.outer-menu .menu > div > div > ul > li > a {
  position: relative;
  display: inline;
  cursor: pointer;
  transition: color 0.4s ease;
}

.outer-menu .menu > div > div > ul > li > a:hover {
  color: var(--color10); /*color botones hover*/
}

.outer-menu .menu > div > div > ul > li > a:hover:after {
  width: 100%;
}

.outer-menu .menu > div > div > ul > li > a:after {
  content: '';
  position: absolute;
  z-index: 1;
  bottom: -0.15em;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color10); /*color subrayado botones*/
  transition: width 0.4s ease;
}

/*---------------------------------------
  HERO  
-----------------------------------------*/

.hero-texto {
  width: 100%;
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
}

.slider {
 width: 100%;
 padding-top: 60px;
 padding-bottom: auto;
 display: flex;
 flex-direction: column;
 text-align: center;
 justify-content: start;
 align-items: center;
}

.hero-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider > h1 {
  color: var(--color1);
  font-size: 55px;
  line-height: 56px;
  max-width: 600px;
  text-transform: uppercase;
  font-weight: 900;
  text-shadow: 0px 5px 10px #0004; 
 /*text-shadow: 0.1em 0.1em 0 hsl(0, 0%, 0%);*/
  font-family: "Figtree", sans-serif;
  animation: LeftAppear 1.3s;
}

.slider > p {
  margin: 5px auto 24px;
  line-height: 22px;
  max-width: 600px;
  color: white;
  font-size: 17px;
  font-weight: 300;
  text-wrap: pretty;
  font-family: "Figtree", sans-serif;
  text-shadow: 0px 5px 10px #0004;
  animation: fade-in 2s linear;
}

.hero-blank {
  width: 100%;
  flex-grow: 1;
}

.flecha {
  width: 100%;
  z-index: 999;
  color: white;
  text-align: center;
}

.arrow {
  width: 100%;
  max-height: 100px;
  display: flex;
  justify-content: center;
  padding: 0 0 60px 0;
  transform: translate(-50%, -50%);
  transform: rotate(0deg);
  cursor: pointer;
}

.arrow span {
  display: block;
  width: 20px;
  height: 20px;
  border-bottom: 5px solid white;
  border-right: 5px solid white;
  transform: rotate(45deg);
  margin: -10px;
  animation: animate 3s infinite;
}

.arrow span:nth-child(2) {
  animation-delay: -0.3s;
}

.arrow span:nth-child(3) {
  animation-delay: -0.6s;
}

/*---------------------------------------
  NOSOTROS   
-----------------------------------------*/

.nosotros-grid { 
    display: grid;
    grid-template-rows: repeat(auto-fit, 1fr);
    grid-template-columns: 55% 45%;
    gap: 0px 6px;
  }

.nosotros-texto {
  width: 100%;
  font-family: "Figtree", sans-serif;
  padding-right: 40px;
}

.nosotros-texto > h2 {
  font-size: 32px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.5px;
  padding: 0;
  margin: 0;
}

.divider-nosotros {
  width: 100%;
  height: 0.6px;
  background-color: var(--color6);
  margin: 4px auto 12px auto;
}

.nosotros-texto > h3 {
  font-size: 21px;
  padding: 10px 0 4px 0;
  font-weight: 700;
}

.nosotros-texto > p {
  font-size: 15px;
  padding: 2px 0 8px 0;
  text-wrap: pretty;
  line-height: 18px;
}

.nosotros-texto > * > a {
  text-decoration: underline;
}

.nosotros-texto > * > a:hover {
  text-shadow: var(--color10) 0px 0px 0px;
}

.nosotros-foto {
  width: 100%;
  background-color: var(--color5);
  background-image: url(imagenes/gm-sports_nosotros.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nosotros-sponsors {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 45px auto 35px;
  justify-content: space-evenly;
}

.nosotros-sponsors > img {
  height: 35px;
  -webkit-filter:  grayscale(100%) brightness(60%) contrast(10000000%);
    opacity: .7;
    margin: 10px 2px;
}

/*---------------------------------------
  ALQUILER         
-----------------------------------------*/

.alquiler_titulo {
  width: 100%;
  text-align: center;
}

.alquiler_titulo > h2 {
  font-size: 32px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.5px;
  padding: 0;
  margin: 0;
}

.divider-alquiler {
  width: 100%;
  height: 0.6px;
  background-color: var(--color6);
  margin: 4px auto 12px auto;
}

.band {
  display: grid;
 /* grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 20px;
  width: 100%;
  margin: 0 auto;
  }

.item-1 > * > article > h3 {
  font-size: 24px;
  letter-spacing: -0.2px;
}

.card {
  max-width: 780px;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #444;
  position: relative;
  top: 0;
  transition: all 0.1s ease-in;
}

.card:hover {
  top: -2px;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
}

.card article {
  padding: 20px;
  display: flex;

  flex: 1;
  justify-content: space-between;
  flex-direction: column;
}
.card .thumb {
  padding-bottom: 60%;
  background-size: cover;
  background-position: center center;
}

.card p {
  flex: 1; /* make p grow to fill available space*/
  line-height: 18px;
  font-size: 14.5px;
}

.card span {
  font-size: 14px;
  font-weight: bold;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0px;
  margin: 8px 0 16px 0;
}

.d-2 {
  --b: 2.5px; /* border length*/
  --c: 8px; /* the cube perspective */
  --g: calc(var(--c) * 0.707); /* 0.707 = cos(45deg) = sin(45deg) */
  text-transform: uppercase;
  padding: 6px;
  color: var(--color7);
  transition: 0.5s;
  font-size: 12px;
  font-family: "Figtree", sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
  cursor: pointer;
  border: solid transparent;
  border-width: var(--b) calc(var(--c) + var(--b)) calc(var(--c) + var(--b))
    var(--b);
  background: linear-gradient(
        45deg,
        transparent var(--g),
        rgba(255, 255, 255, 0.6) 0
      )
      right / var(--c) 100%,
    linear-gradient(-135deg, transparent var(--g), rgba(255, 255, 255, 0.3) 0)
      bottom / 100% var(--c),
    conic-gradient(
      from -180deg at top var(--b) left var(--b),
      currentColor 270deg,
      transparent 0
    ),
    conic-gradient(
      from 0deg at bottom calc(var(--c) + var(--b)) right
        calc(var(--c) + var(--b)),
      currentColor 270deg,
      transparent 0
    );
  background-repeat: no-repeat;
  background-origin: border-box;
 
  transform: translate(0, 0);
  clip-path: polygon(
    100% var(--c),
    calc(100% - var(--c)) 0%,
    0% 0%,
    0% calc(100% - var(--c)),
    var(--c) 100%,
    100% 100%,
    100% 100%
  );
  color: var(--color10);
}

.d-2:hover {
  transform: translate(0px, -2px);
  color: var(--color2);
}

/*---------------------------------------
  INSTALACIONES - SLIDER       
-----------------------------------------*/

.instalaciones-columnas > ul {
  list-style: square;
}

.instalaciones-detalle {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 15px;
}

.instalaciones-detalle_grupo {
  display: flex;
  flex-direction: column;
  background-color: var(--color1);
  padding: 18px 4px;
  border: solid 6px var(--color2);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.instalaciones-detalle_grupo:hover {
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
  background-color: var(--color4);
}

.grupo-icono {
  text-align: center;
}

.grupo-detalle {
  text-align: center;
  font-size: 14px;
  text-wrap: pretty;
  font-weight: 500;
  letter-spacing: 0.2px;
  line-height: 16px;
}

.grupo-detalle > ul {
  list-style: none;
}

.grupo-detalle > ul > li {
  padding:0.5px 0;
}

.container-slider {
  padding: 20px 0;
  width: 100%;
}

.carousel {
  height: 450px;
  width: 100%;
  overflow: hidden;
  text-align: center;
  position: relative;
  padding: 0;
  list-style: none;
}

.carousel__controls,
.carousel__activator {
  display: none;
}

.my-carousel {
  border-radius: 0px;
  margin: 0px;
}



.carousel__activator:nth-of-type(1):checked ~ .carousel__slide:nth-of-type(1) {
  transition: opacity 0.5s, transform 0.5s;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  transform: scale(1);
}
.carousel__activator:nth-of-type(1):checked ~ .carousel__controls:nth-of-type(1) {
  display: block;
  opacity: 1;
}
.carousel__activator:nth-of-type(1):checked ~ .carousel__indicators .carousel__indicator:nth-of-type(1) {
  opacity: 1;
}


.carousel__activator:nth-of-type(2):checked ~ .carousel__slide:nth-of-type(2) {
  transition: opacity 0.5s, transform 0.5s;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  transform: scale(1);
}
.carousel__activator:nth-of-type(2):checked ~ .carousel__controls:nth-of-type(2) {
  display: block;
  opacity: 1;
}
.carousel__activator:nth-of-type(2):checked ~ .carousel__indicators .carousel__indicator:nth-of-type(2) {
  opacity: 1;
}


.carousel__activator:nth-of-type(3):checked ~ .carousel__slide:nth-of-type(3) {
  transition: opacity 0.5s, transform 0.5s;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  transform: scale(1);
}
.carousel__activator:nth-of-type(3):checked ~ .carousel__controls:nth-of-type(3) {
  display: block;
  opacity: 1;
}
.carousel__activator:nth-of-type(3):checked ~ .carousel__indicators .carousel__indicator:nth-of-type(3) {
  opacity: 1;
}


.carousel__activator:nth-of-type(4):checked ~ .carousel__slide:nth-of-type(4) {
  transition: opacity 0.5s, transform 0.5s;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  transform: scale(1);
}
.carousel__activator:nth-of-type(4):checked ~ .carousel__controls:nth-of-type(4) {
  display: block;
  opacity: 1;
}
.carousel__activator:nth-of-type(4):checked ~ .carousel__indicators .carousel__indicator:nth-of-type(4) {
  opacity: 1;
}


.carousel__activator:nth-of-type(5):checked ~ .carousel__slide:nth-of-type(5) {
  transition: opacity 0.5s, transform 0.5s;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  transform: scale(1);
}
.carousel__activator:nth-of-type(5):checked ~ .carousel__controls:nth-of-type(5) {
  display: block;
  opacity: 1;
}
.carousel__activator:nth-of-type(5):checked ~ .carousel__indicators .carousel__indicator:nth-of-type(5) {
  opacity: 1;
}


.carousel__activator:nth-of-type(6):checked ~ .carousel__slide:nth-of-type(6) {
  transition: opacity 0.5s, transform 0.5s;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  transform: scale(1);
}
.carousel__activator:nth-of-type(6):checked ~ .carousel__controls:nth-of-type(6) {
  display: block;
  opacity: 1;
}
.carousel__activator:nth-of-type(6):checked ~ .carousel__indicators .carousel__indicator:nth-of-type(6) {
  opacity: 1;
}


.carousel__slide:nth-of-type(1),
.carousel--thumb .carousel__indicators .carousel__indicator:nth-of-type(1) {
  background-image: url("imagenes/instalaciones1.webp");
  background-size: cover;
  background-position: center;
}
.carousel__slide:nth-of-type(2),
.carousel--thumb .carousel__indicators .carousel__indicator:nth-of-type(2) {
  background-image: url("imagenes/instalaciones2.webp");
  background-size: cover;
  background-position: center;
}
.carousel__slide:nth-of-type(3),
.carousel--thumb .carousel__indicators .carousel__indicator:nth-of-type(3) {
  background-image: url("imagenes/instalaciones3.webp");
  background-size: cover;
  background-position: center;
}
.carousel__slide:nth-of-type(4),
.carousel--thumb .carousel__indicators .carousel__indicator:nth-of-type(4) {
  background-image: url("imagenes/instalaciones4.webp");
  background-size: cover;
  background-position: center;
}
.carousel__slide:nth-of-type(5),
.carousel--thumb .carousel__indicators .carousel__indicator:nth-of-type(5) {
  background-image: url("imagenes/instalaciones5.webp");
  background-size: cover;
  background-position: center;
}
.carousel__slide:nth-of-type(6),
.carousel--thumb .carousel__indicators .carousel__indicator:nth-of-type(6) {
  background-image: url("imagenes/instalaciones6.webp");
  background-size: cover;
  background-position: center;
}



.carousel__control {
  height: 30px;
  width: 30px;
  margin-top: -15px;
  top: 50%;
  position: absolute;
  display: block;
  cursor: pointer;
  border-width: 5px 5px 0 0;
  border-style: solid;
  border-color: var(--color1);
  opacity: 0.8;
  outline: 0;
  z-index: 3;
}
.carousel__control:hover {
  opacity: 1;
}
.carousel__control--backward {
  left: 20px;
  transform: rotate(-135deg);
}
.carousel__control--forward {
  right: 20px;
  transform: rotate(45deg);
}
.carousel__indicators {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}
.carousel__indicator {
  height: 15px;
  width: 15px;
  border-radius: 100%;
  display: inline-block;
  z-index: 2;
  cursor: pointer;
  opacity: 0.75;
  margin: 0 2.5px 0 2.5px;
  background-color: var(--color9);
}
.carousel__indicator:hover {
  opacity: 1;
}


.carousel__slide {
  height: 100%;
  position: absolute;
  overflow-y: auto;
  opacity: 0;
  overflow: hidden;
}

/*---------------------------------------
  FOOTER           
-----------------------------------------*/

  .grid-footer { 
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    grid-gap: 30px;
    align-items: top;
    font-size: 14px;
  }

  .logo-imagen-footer {
    width: 48px;
    margin: 0 0 6px 0;
}

.logo-imagen-footer > img {
    width: 100%;
}

.grid-footer-texto {
  border-right: solid 1px var(--color2);
  line-height: 22px;
}

.grid-footer-texto:last-child {
  border-right: none;
}

.grid-footer-texto > h2 {
  text-transform: uppercase;
  padding: 0 0 10px 0;
  color: var(--color1);
  font-size: 17px;
  font-weight: 900;
}

.grid-footer-texto > ul {
  list-style: none;
}

.grid-footer-texto * a:hover {
  color:var(--color1);
  transition: all 0.2s ease;
  text-shadow: var(--color2) 0px 0.2px 2px;
}

.grid-footer-texto > a > img {
  width: 105px;
  filter:invert(1);
  padding: 3px 0 0 0;
}

/*---------------------------------------
  KEY FRAMES         
-----------------------------------------*/

@keyframes sliderfondo {
  0% {
    background-image: url(imagenes/close-up-football-field.jpg);
  }
  25% {
    background-image: url(imagenes/close-up-football-field.jpg);
  }

  26% {
    background-image: url(imagenes/high-angle-tennis-palette-balls-arrangement.jpg);
  }
  100% {
    background-image: url(imagenes/high-angle-tennis-palette-balls-arrangement.jpg);
  }
}

@keyframes LoadBackground {
	0% {
		background-position: center bottom;
		background-size: 100%;
	}

	100% {
		background-position: center bottom;
		background-size: 103%;
	}
}

@keyframes LeftAppear {
	0% {
		opacity: 0;
		transform: translateX(-40px);
	}
	100% {
		opacity: 1;
		transform: translateX(0px);
	}
}

@keyframes FadeLeft {
	0% {
		opacity: 0;
		transform: translateX(-20px);
	}
	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slide-in {
  from {transform: translateX(200%);}
  to {transform: translateX(0%);}
  }

@keyframes fade-in {
  0% {opacity: 0;}
  100% {opacity: 1;}
  }

@keyframes LoadDiv {
	0% {
		opacity: 1;
		transform: scale(1);
	}
	100% {
		opacity: 0;
		transform: scale(1.2);
	}
}

@keyframes animate {
  0% {
      opacity: 0;
      transform: rotate(45deg) translate(-40px, -40px);
  }
  50% {
      opacity: 1;
  }
  100% {
      opacity: 0;
      transform: rotate(45deg) translate(0px, 0px);
      border-color: tomato
  }
}

/*---------------------------------------
  MEDIA QUERY           
-----------------------------------------*/

@media (max-width: 768px) {
  .menu-button-container {
    display: flex;
  }
  .navegation__buttons {
    display: none;
  }
  .outer-menu {
    display: block;
  }
  .section-hero {
    background-image: linear-gradient(106deg, rgba(89,103,123,0.2) 100%, rgba(89,103,123,0.2) 100%, rgba(0,212,255,0) 100%), url(imagenes/cancha-gm-mobile.webp);
  }
  .slider {
    justify-content:center;
  }
  .slider > h1 {
    font-size: 41px;
    line-height: 43px;
    text-wrap: balance;
    padding: 0 0 10px 0;
  }
  .slider > p {
    margin:4px auto 24px;
    line-height: 21px;
    text-wrap: balance;
    font-size: 16px;
  }
  .container-nosotros {
    margin: 40px auto 0px;
  }
  .nosotros-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(auto, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 15px;
  }
  .nosotros-texto {
    padding-right: 0px;
  }
  .nosotros-foto {
    height: 200px;
  }
  .nosotros-sponsors {
    flex-direction: row;
    align-items: center;
    justify-content:space-evenly;
    margin: 25px auto;
  }
  .nosotros-sponsors > img {
    display: block;
    max-height:34px;
    width: auto;
    height: auto;
    margin: 10px 6px;
  }
  .container-alquiler {
    margin: 20px auto 20px;
  }
  .container-instalaciones {
    margin: 20px auto 20px;
  }
  .instalaciones-detalle_grupo {
    display: flex;
    flex-direction: row-reverse;
    padding: 2px 18px;
    align-items: center;
    justify-content: space-between;
  }
  .instalaciones-detalle {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
    gap: 10px;
  }
  .grupo-icono {
  }
  .grupo-detalle {
    text-align: left;
  }
  .footer-container {
    margin: 20px auto;
  }
  .grid-footer { 
    grid-gap: 0px;
  }
  .grid-footer-texto {
    padding: 20px 0 20px 0;
    border-right: none;
    border-bottom: solid 1px var(--color2);
  }
  .grid-footer-texto:last-child {
    border-bottom: none;
  }
}





