@import url('https://fonts.googleapis.com/css2?family=Caprasimo&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@1,300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Ubuntu:ital,wght@1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
  }

  body {
    background: #fefefe;
  }

  /* Estilos para el banner */
  .banner {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }

  .banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fade-in 1s ease-in-out forwards;
  }

  .banner-content {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.366);
    width: 100%;
    padding: 50px;
    box-sizing: border-box;
  }

  .banner-title {
    font-size: 48px;
    color: #fefefe;
    opacity: 0;
    animation: fade-in-up 1s ease-in-out forwards;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.319);
    margin-left: 50%;
  }

  .banner-description {
    font-size: 24px;
    color: #fefefe;
    margin-top: 20px;
    opacity: 0;
    animation: fade-in-up 1s ease-in-out forwards;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin-left: 50%;
  }

  .banner-button {
    display: inline-block;
    background-color: rgb(3, 149, 149);
    color: #fefefe;
    font-size: 20px;
    padding: 15px 40px;
    border-radius: 30px;
    margin-top: 20px;
    margin-left: 26%;
    opacity: 0;
    animation: fade-in-up 1s ease-in-out forwards;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease-in-out;
  }

  .banner-button:hover {
    background-color: #333;
  }

  /* Efecto de aparición */
  @keyframes fade-in {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  @keyframes fade-in-up {
    0% {
      opacity: 0;
      transform: translate(-50%, -50%) translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translate(-50%, -50%) translateY(0);
    }
  }

  /* Efecto de movimiento con el scroll */
  @keyframes parallax {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(50%);
    }
  }
  
  /* Configuración de la imagen de fondo */
  .banner-image {
    background-image: url("../img/desconocido.JPG");
    background-size: cover;
    background-position: center;
  }

  .title {
    text-align: center;
    font-size: 50px;
    color: #6a6a6a;
    margin-top: 100px;
    font-weight: 100;
    font-family: 'Caprasimo', cursive;
    margin-top: 110px;
  }

  .container {
    width: 100%;
    max-width: 1200px;
    height: 430px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
    margin-bottom: 110px;
  }

  .container .card {
    width: 330px;
    height: 430px;
    border-radius: 8px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin: 20px;
    text-align: center;
    transition: all 0.25s;
  }

  .container .card:hover {
    transform: translateY(-15px);
    box-shadow: 0 12px 16px rgba(0, 0, 0, 0.2);
  }

  .container .card img {
    width: 330px;
    height: 220px;
  }

  .container .card h4 {
    font-weight: 600;
    font-size: 30px;
    font-family: 'Caprasimo', cursive;
    margin-bottom: 1  5px;
  }

  .container .card p {
    padding: 0 1rem;
    font-size: 18px;
    font-weight: 300;
    color: rgb(176, 176, 176);
    font-family: 'Roboto', sans-serif;
    margin-bottom: 10px;
  }

  .container .card a {
    font-weight: 500;
    text-decoration: none;
    color: #3498db;
  }


  .section {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  
  .column {
    position: relative;
    width: 33.33%;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 255, 0.2);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }
  
  .column:hover .overlay {
    opacity: 1;
  }
  
  .counter {
    font-size: 24px;
    font-weight: bold;
    animation: increment 2s ease-in-out forwards;
  }
  
  @keyframes increment {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .contact-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgb(3, 149, 149);
    color: #fff;
    border: none;
    cursor: pointer;
  }
  
  .contact-button:hover {
    background-color: #333;
  }


  




  .section {
    display: flex;
    justify-content: space-between;
    width: 100%;
    overflow: hidden;
  }
  
  .column {
    position: relative;
    width: 33.33%;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.737);
    color: #fff;
    opacity: 1;
  }

  .overlay h2 {
    font-size: 30px;
    text-align: center;
    margin-bottom: 10px;
    font-family: 'Ubuntu', sans-serif;
  }

  .overlay p {
    font-size: 20px;
    font-family: 'Ubuntu', sans-serif;
  }
  
  .counter {
    font-size: 34px;
    font-weight: bold;
    animation: increment 2s ease-in-out forwards;
    font-family: 'Ubuntu', sans-serif;
  }
  
  @keyframes increment {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .contact-button {
    display: inline-block;
    font-size: 20px;
    padding: 10px 70px;
    background-color: rgb(3, 149, 149);
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 30px;
    margin-top: 20px;
  }
  
  .contact-button:hover {
    background-color: #333;
  }
  
  @media screen and (max-width: 768px) {
    .section {
      flex-direction: column;
    }
    
    .column {
      width: 100%;
    }
  }




  .custom-section {
    text-align: center;
    padding: 70px;
    background-color: rgb(70, 70, 70);
  }
  
  .custom-title {
    text-align: center;
    font-size: 50px;
    color: white;
    font-weight: 100;
    font-family: 'Caprasimo', cursive;
    margin-bottom: 20px;
  }
  
  .custom-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-family: 'Caprasimo', cursive;
  }
  
  .custom-text {
    flex-basis: 60%;
    text-align: left;
    margin-bottom: 10px;
    font-size: 20px;
    font-family: 'Open Sans', sans-serif;
    color: white;
  }
  
  .custom-button {
    flex-basis: 35%;
    padding: 10px 20px;
    background-color: rgb(3, 149, 149);
    font-size: 20px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 30px;
  }
  
  .custom-button:hover {
    background-color: #333;
  }

  .espacio {
    margin-left: 15px;
  }
  
  @media screen and (max-width: 768px) {
    .custom-content {
      flex-direction: column;
      align-items: stretch;
    }
    
    .custom-text, .custom-button {
      flex-basis: 100%;
    }
  }




  .seccion-unica {
    text-align: left;
    padding: 20px;
    background-color: rgb(70, 70, 70);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .titulo {
    text-align: left;
    margin-bottom: 0px;
    font-size: 50px;
    color: white;
    margin-top: 100px;
    font-weight: 100;
    font-family: 'Caprasimo', cursive;
    width: 100%;
  }
  
  .contenido {
    flex: 1 1 50%;
  }
  
  .texto {
    text-align: left;
    margin-bottom: 10px;
    font-size: 20px;
    font-family: 'Open Sans', sans-serif;
    color: white;
  }
  
  .subtitulo {
    text-align: left;
    font-size: 35px;
    margin-bottom: 10px;
    color: white;
  }
  
  .imagen-wrapper {
    display: flex;
    justify-content: flex-end;
    flex: 1 1 50%;
  }
  
  .imagen {
    width: 600px;
    height: 500px;
  }
  
  @media screen and (max-width: 768px) {
    .seccion-unica {
      padding: 10px;
    }
  
    .titulo {
      font-size: 20px;
    }
  
    .imagen {
      width: 100%;
      height: auto;
    }
  }




  .c-seccion {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: white;
    margin-top: 100px;
    margin-bottom: 100px;
  }
  
  .c-imagen-wrapper {
    flex: 0 0 50%;
    text-align: left;
  }
  
  .c-imagen {
    width: 600px;
    height: 500px;
  }
  
  .c-contenido {
    flex: 0 0 50%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .c-titulo {
    font-size: 50px;
    margin-bottom: 50px;
    color: #6a6a6a;
    margin-top: 100px;
    font-weight: 100;
    font-family: 'Caprasimo', cursive;
  }
  
  .c-texto {
    margin-bottom: 50px;
    font-size: 20px;
    font-family: 'Open Sans', sans-serif;
    color: #6a6a6a;
  }
  
  .c-boton {
    flex-basis: 35%;
    padding: 10px 20px;
    background-color: rgb(3, 149, 149);
    font-size: 20px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 30px;
  }
  
  .c-boton:hover {
    background-color: #333;
  }
  
  @media screen and (max-width: 768px) {
    .c-seccion {
      padding: 10px;
      flex-direction: column;
    }
  
    .c-imagen-wrapper {
      flex: 0 0 100%;
      text-align: center;
    }
  
    .c-imagen {
      width: 100%;
      height: auto;
    }
  
    .c-contenido {
      flex: 0 0 100%;
      text-align: center;
      align-items: center;
      margin-top: 20px;
    }
  
    .c-titulo, .c-texto {
      text-align: center;
    }
  }