* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100% !important;
  overflow-x: hidden !important;
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

body {
  background-color: #000000;
  margin: 0;
}
/*
color de fondo:                     --- #000000
color de texto:                     --- #fcc700
colortxt hover:                     --- #c0c0c0
color de hover de contacto en nav:  --- #505050
fonde de cada plan:                 --- #272727


*/
/*intro*/
#logo-intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeOut 1s forwards;
  animation-delay: 3s;
}

#intro-logo {
  width: 200px;
  animation: heartbeat 1.5s ease-in-out infinite, fadeOut 1s forwards 3s;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* INICIA Barra de navegación */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #000000;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 10px 20px;
}

.logotipo {
  display: block;
  width: 266px;
  height: 80px;
  object-fit: contain;
  object-position: center;
}
.top-nav {
  display: flex;
  align-items: center;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.navlist {
  text-align: center;
  align-items: center;
  padding: 1em 1em;
  margin: 1em;
  display: flex;
  color: #fcc700;
  float: right;
  font-weight: 500;
  font-size: large;
  border: solid 2px #000000;
  border-top: none;
  border-bottom: none;
  text-decoration: none;
}

.navlist:hover {
  color: #c0c0c0;
  border: solid 2px #000000;
  border-top: none;
  border-bottom: none;
}

.navlist-contacto {
  text-align: center;
  padding: 0.5em 1em;
  margin: auto 1em;
  display: inline;
  float: right;
  color: #000;
  background-color: #fcc700;
  border-color: #fcc700;
  border: o.3em;
  border-style: solid;
  border-radius: 0.6em;
  font-size: large;
  font-weight: 600;
  text-decoration: none;
}

.navlist-contacto:hover {
  color: #505050;
}

.nav-item {
  display: inline;
  list-style-type: none;
}

.hamburger-menu {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
}

@media (max-width: 767px) {
  .hamburger-menu {
    display: block;
  }

  .top-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: #000000;
    position: fixed;
    top: 60px;
    left: 0;
    transition: transform 0.3s ease-in-out;
    transform: translateY(-100%);
  }

  .top-nav.show {
    display: flex;
    transform: translateY(0);
    padding: 0;
    margin-top: 0;
  }

  .nav-item {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    width: 100%;
    list-style: none;
    font-size: 1.2em;
    color: #fcc700;
    transition: color 0.3s ease;
  }

  .nav-item a.navlist {
    display: inline-block;
    width: auto;
    text-align: center;
    padding: 0px;
    color: #fcc700;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .nav-item a.navlist:hover {
    color: #c0c0c0;
  }

  .navlist-contacto {
    display: inline-block;
    width: auto;
    text-align: center;
    margin: 0;
    padding: 10px 20px;
    background-color: #fcc700;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }

  .logotipo {
    width: 133px;
    height: 40px;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    background-color: #000000;
    object-fit: contain;
    object-position: center;
  }
}
@media (max-height: 400px) {
  .nav-item {
    margin-top: 0px;
    margin-bottom: 0px;
  }
}
@media (min-width: 768px) and (max-width: 1920px) {
  .logotipo {
    width: 200px;
    height: 60px;
    object-fit: contain;
    object-position: center;
  }
  .navlist {
    padding: 1em 0.5em;
    margin: 0.5em;
  }
}
@media (min-width: 1921px) {
  .logotipo {
    width: 400px;
    height: 120px;
    object-fit: contain;
    object-position: center;
  }
  .navlist {
    padding: 1em 1em;
    margin: 1em;
    font-size: xx-large;
  }
  .navlist-contacto {
    font-size: xx-large;
  }
}
/* CIERRE barra de navegación*/

/* INICIA SCROLLBAR */

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #555;
}

::-webkit-scrollbar-thumb:hover {
  background: #333;
}

html {
  scrollbar-width: thin;
  scrollbar-color: #555 #1a1a1a;
}

/* cierra scrollbar */

/*inicia css galeria */

.gallery-container {
  position: relative;
  height: calc(100% - 50px);
  width: 100%;
  overflow: hidden;
  top: auto;
}

.gallery-slide {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

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

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  user-select: none;
  transition: 0.6s ease;
  text-decoration: none;
  z-index: 10;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.indicator-container {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
}

.indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: grey;
  border-radius: 50%;
  transition: background-color 0.6s ease;
  cursor: pointer;
}

.active {
  background-color: white;
}

.large-screen {
  display: block;
}

.small-screen {
  display: none;
}

@media only screen and (max-width: 450px) {
  .large-screen {
    display: none;
  }

  .small-screen {
    display: block;
  }
}
/*cierra css galeria*/

/* INICIA CSS DE SEDES */

.sedes-section {
  text-align: center;
  padding: 20px;
  margin-top: 5%;
  scroll-margin-top: 100px;
}

.sedes-section h2 {
  margin-bottom: 20px;
  font-size: 2em;
  color: #fcc700;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
}

.grid-item {
  background-color: #000;
  border: 1px solid #000;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.grid-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2vh;
  box-shadow: 0 0 10px rgba(0, 0, 0, 1);
}

.grid-item img:hover {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2vh;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  filter: brightness(0.7);
}

.grid-item a {
  text-decoration: none;
  color: inherit;
}

.image-container {
  position: relative;
  display: inline-block;
}

.image-container img {
  display: block;
}

.texto-debajo {
  text-align: center;
  margin-top: 10px;
  font-size: large;
  font-weight: 700;
  color: #fcc700;
}

@media (max-width: 767px) {
  .grid-container {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 2047px) {
  .sedes-section h2 {
    font-size: 6em;
  }
  .texto-debajo {
    font-size: xx-large;
  }
}
/* FIN CSS DE SEDES */

/*inicia css actividades*/

.seccion-contenido {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3em 0em 0em 0em;
  margin: 0;
  gap: 5em;
  background-color: #000;
}
.seccion-contenido h1 {
  text-align: center;
  color: #fcc700;
  display: block;
  padding: 2em 0em 0em 0em;
}
.texto-contenido {
  flex: 1;
  color: #c0c0c0;
  font-size: large;
  font-weight: 600;
  text-decoration: none;
  text-align: left;
  max-width: 500px;
}

.texto-contenido h2 {
  color: #fcc700;
}

.imagen-texto-contenido img {
  max-width: 100%;
  height: auto;
  max-width: 500px;
  margin: 0;
  border-radius: 1vw;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .seccion-contenido {
    flex-direction: column;
    padding: 3em 0em 0em 0em;
  }

  .imagen-texto-contenido {
    order: 2;
  }

  .texto-contenido {
    order: 1;
    padding: 5vw;
  }
}

/*cierra css actividades*/

/* INICIA CSS DE CONTACTO */

.titulo-de-contacto {
  text-align: center;
  margin-top: 10em;
  margin-bottom: 4em;
  color: #fcc700;
}

.contact {
  margin-top: 4em;
  margin-bottom: 14em;
}

.contact-form {
  width: 500px;
  max-width: 100%;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 100px;
  padding: 20px;
  border: 1px solid #fcc700;
  border-radius: 1em;
  position: relative;
  font-family: "Titillium Web", sans-serif;
}

.title-form {
  text-align: center;
  margin-top: 0;
  margin-bottom: 2em;
  color: #fcc700;
}

.input-form,
.label-form,
.submit-form {
  display: block;
  width: 100%;
  font-size: 1.3em;
}

.input-form {
  padding: 20px;
  background: rgba(82, 82, 82, 0.719);
  border: 1px solid rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
  color: #c0c0c0;
  border-radius: 8px;
}

.input-form:focus {
  outline: 1px solid rgba(0, 0, 0, 0.7);
}

.input-form:focus + .label-form {
  margin-top: -138px;
}

.label-form {
  padding-left: 15px;
  position: absolute;
  margin-top: -85px;
  z-index: -20;
  color: #c0c0c0;
  transition: all 0.2s;
}

textarea {
  width: 100%;
  height: 120px;
  padding: 15px;
  margin-bottom: 15px;
  outline: none;
  resize: none;
  font-size: large;
  border: 1px solid rgba(0, 0, 0, 0.3);
  font-family: "Lato", sans-serif;
  background-color: #505050;
  color: #fcc700;
  border-radius: 8px;
}

.submit-form {
  background: #fcc700;
  color: white;
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  font-family: "Lato", sans-serif;
}

.pinup {
  margin-top: -138px;
}

/* FIN CSS DE CONTACTO */

/* INICIO CSS planes */

.contenedor-cajas {
  display: flex;
  justify-content: space-around;
  margin: 20em;
  margin-top: 10em;
}

.caja {
  background-color: #272727;
  padding: 1em;
  width: 30%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 2em;
  box-shadow: 0em 1em 2em rgba(0, 0, 0, 0.4);
  color: #dff8eb;
  margin: 2.5em;
}

.caja h1 {
  font-size: 3em;
  text-align: center;
  margin: 0.2em;
  color: #fcc700;
}

.caja ul {
  list-style-type: circle solid;
  padding: 0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.caja ul li {
  margin: 1em 3em;
  font-size: large;
  font-weight: 600;
  text-decoration: none;
  text-align: left;
  padding-left: 0.5em;
}

.boton-contacto {
  display: inline-block;
  padding: 1em 2em;
  background-color: #fcc700;
  color: #505050;
  text-decoration: none;
  border-radius: 1em;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
  margin-top: auto;
  font-size: x-large;
  font-weight: 700;
}

.boton-contacto:hover {
  background-color: #fcc700;
  color: #505050;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.1);
}

.boton-precio {
  display: inline-block;
  padding: 1em 2em;
  background-color: #c0c0c0;
  color: #505050;
  text-decoration: none;
  border-radius: 1em;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
  margin-top: auto;
  font-size: x-large;
  font-weight: 700;
}
.boton-precio:hover {
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.1);
}

/*inicio de responsive movil de servicios*/
@media (max-width: 768px) {
  .contenedor-cajas {
    flex-direction: column;
    align-items: center;
    margin: 2em;
    margin-top: 5em;
  }

  .caja {
    width: 300px;
  }

  .caja h1 {
    font-size: 2em;
    text-align: center;
    margin: 0.2em;
  }

  .caja ul li {
    font-size: medium;
  }
}

/* Responsive para tablets */
@media (min-width: 769px) and (max-width: 1023px) {
  .contenedor-cajas {
    flex-wrap: wrap;
    justify-content: center;
    margin: 2em;
    margin-top: 7em;
  }

  .caja {
    width: 300px;
    margin: 1em;
  }

  .caja h1 {
    font-size: 2em;
    text-align: center;
    margin: 0.2em;
  }
}

@media (min-width: 1024px) and (max-width: 2047px) {
  .contenedor-cajas {
    flex-wrap: wrap;
    justify-content: center;
    margin: 2em;
    margin-top: 10em;
  }
  .caja {
    width: 350px;
    margin: 1em;
  }
}
@media (min-width: 2048px) {
  .contenedor-cajas {
    flex-wrap: wrap;
    justify-content: center;
    margin: 2em;
    margin-top: 12em;
  }
  .caja {
    width: 450px;
  }
}

/* FIN CSS  */

/* inicia css footer */

footer {
  width: 100%;
  padding: 10em 5em 1em 5em;
}

.contenedor-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lista-footer {
  display: flex;
  flex-direction: column;
  margin: 10px 0px;
}

.footer-link {
  color: #c0c0c0;
  font-weight: 400;
  font-size: medium;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #505050;
}

.derechos {
  color: #c0c0c0;
  font-size: medium;
  font-weight: 400;
  text-align: center;
  margin-top: 0;
}

.derechos a {
  color: #fcc700;
  font-style: italic;
  text-decoration: none;
  transition: color 0.3s ease;
}

.derechos a:hover {
  color: #c0c0c0;
}

.derechos a:visited {
  color: #fcc700;
  text-decoration: none;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-right: 50px;
}
.social-icons img {
  width: 30px;
  height: auto;
  transition: transform 0.3s ease;
}
.social-icons a:hover img {
  transform: scale(1.1);
}

@media (max-width: 767px) {
  footer {
    padding: 10em 1.5em 0.5em 1.5em;
  }
  .contenedor-footer {
    display: inline;
  }
  .social-icons {
    margin-right: 0px;
    margin-top: 20px;
    gap: 10px;
    justify-content: center;
  }
  .social-icons img {
    margin: 10px;
  }
  .lista-footer {
    margin: 10px 10px;
  }
  .footer-link:hover {
    color: #c0c0c0;
  }
  .derechos {
    margin-top: 15px;
  }
  .derechos a {
    color: #fcc700;
    font-style: italic;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .derechos a:hover {
    color: #c0c0c0;
  }

  .derechos a:visited {
    color: #fcc700;
    text-decoration: none;
  }
}
/* cierra css footer */
