* {
    margin: 0;
    padding: 0;
    box-sizing: border box;
  }
  
  @font-face {
    font-family: 'Montserrat-BlackItalic';
    src: url('Fonts/Montserrat-BlackItalic.ttf') format('truetype');
  }
  
  @font-face {
    font-family: 'Montserrat-Black';
    src: url('Fonts/Montserrat-Black.ttf') format('truetype');
  }
  
  @font-face {
    font-family: 'Montserrat-Thin';
    src: url('Fonts/Montserrat-Thin.ttf') format('truetype');
  }
  
  @font-face {
    font-family: 'Montserrat-Bold';
    src: url('Fonts/Montserrat-Bold.ttf') format('truetype');
  }

  :root
{
  --white-color: #fff;
  --dark-color: #222;
  --body-bg-color: #fff;
  --section-bg-color: #202834;
  --navigation-item-hover-color: #3b5378;


  --text-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  --box-shadow: 0 5px 25px rgb(0 0 0 /20%);

  --scroll-bar-color: #fff;
  --scroll-thumb-color: #282f4e;
  --scroll-thumb-hover-color: #454f6b;
}
  
  html {
    font-size: 20px; /* Tamaño de fuente base en píxeles */
  }
  
  header {
    min-height: 1000px;
    position: relative; 
  }
  
  header video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Otros estilos personalizados */
  }
  
  .Encabezado {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    /* Puedes usar 'space-around' en lugar de 'space-between' si quieres un poco más de espacio */
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1280px;
    padding-right: 48px;
  }
  
  
  .MenuEncabezado {
    position: relative;
    top: 0.4rem;
  }
  
  .mostrar-menu,
  .ocultar-menu {
    font-size: 7.5rem;
    display: none;
  }
  
  .mostrar-menu {
    order: 1;
    color: rgba(0, 0, 0, 0.8);
    font-weight: bold;
  }
  
  .ocultar-menu {
    color: #ffffff;
    position: relative;
    top: 0px;
    font-weight: bold;
  }
  
  #check {
    display: none;
  }
  
  .LogoEncabezado 
  {
    position: relative;
    top: 10px;
    width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .LogoEncabezado img
  {
    max-width: 100%;
    max-height: 100%;
  }
  
  nav {
    background-color: none;
  }
  
  nav ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
    display: flex;
    justify-content: center;
  }
  
  nav li {
    position: relative;
  }
  
  nav a {
    display: block;
    padding: 11px;
    text-decoration: none;
    color: black;
    font-size: 1.1rem;
    font-family: Arial, Helvetica, sans-serif;
  }
  
  nav a:hover,
  nav a:focus {
    text-decoration: underline;
  }
  
  /* Estilos para la lista desplegable */
  nav ul ul 
  {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.9); /* Cambio de color de fondo a negro */
    color: white; /* Cambio de color de las letras a blanco */
    padding: 0;
    margin: 0;
    border: 1px solid none;
    z-index: 2;
    text-align: center;
  }
  
  nav ul ul li {
    width: 100%;
    border-top: 1px solid #cccccc;
  }
  
  nav ul li:hover > ul {
    display: inline-block;
  }
  
  .icono-idioma {
    display: block;
    width: 1.1rem;
    height: 1.1rem;
    background-image: url("IdiomaNegro.png");
    background-repeat: no-repeat;
    background-size: 100%;
    align-items: center;
  }

  #CenterFormat
  {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  header #CenterFormat .ContactUs
  {
    padding-top: 25px;
    max-width: 1000px;
    font-size: 2rem;
  }
  
  .ContactUs .title
  {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  
   #Title
  {
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    line-height: 1;
    font-family: 'Montserrat-Bold';
    color: black;
    font-size: 2.5rem;
  }
  
  #Subtitle
  {
    line-height: 1.5;
    font-family: 'Montserrat-Bold';
    font-size: 1.5rem;
    color: black;
    margin-bottom: 10px;
    text-align: left;
  }

  #Subtitle1
  {
    line-height: 1.5;
    font-family: 'Montserrat-Bold';
    font-size: 0.9rem;
    color: black;
    margin-top: 10px;
    margin-bottom: 5px;
    text-align: left;
  }

  #Subtitle2
  {
    line-height: 1.5;
    font-family: 'Montserrat-Bold';
    font-weight: bold;
    font-size: 0.7rem;
    color: black;
    margin-top: 10px;
    margin-bottom: 5px;
    text-align: left;
  }

  #Subtitle3
  {
    line-height: 1.5;
    font-family: 'Montserrat-Bold';
    font-weight: bold;
    font-size: 0.7rem;
    margin-top: 10px;
    margin-bottom: 5px;
    text-align: left;
    text-decoration: none;
    color: #000000;
  }

  #Subtitle3w
  {
    line-height: 1.5;
    font-family: 'Montserrat-Bold';
    font-weight: bold;
    font-size: 0.7rem;
    margin-top: 10px;
    margin-bottom: 5px;
    text-align: left;
    text-decoration: none;
    color: #000000;
  }

  #Subtitle3w span
  {
    font-size: 1.35rem;
  }

  #Subtitle3w:hover
  {
    color: #fff;
  }

  #Subtitle2, #Subtitle3:hover
  {
    color: #fff;
  }

  .info .infoBox div a
  {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    text-decoration: none;
  }

  .info .infoBox div a span
  {
    min-width: 40px;
    height: 40px;
    color: #fff;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    border-radius: 50%;
    margin-right: 15px;
  }

  .info .infoBox div a span:hover
  {
    color: #000000;
    background: #fff;
  }


  #Icons
  {
    font-size: 1rem;
  }

  .form
  {
    grid-area: form;
  }

  .info
  {
    grid-area: info;
  }

  .map
  {
    grid-area: map;
  }

  .contact
  {
    padding: 30px;
    text-shadow: var(--text-shadow);
    box-shadow: 0 5px 35px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--);
    border-radius: 15px;
  }


  
  .box
  {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 5fr 4fr;
    grid-template-areas: "form info" "form map";
    grid-gap: 20px;
    margin-top: 5px;
  }

  .formBox
  {
    position: relative;
    width: 100%;
  }

  .formBox .row50
  {
    display: flex;
    gap: 20px;
  }

  .inputBox
  {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    width: 50%;
  }

  .formBox .row100 .inputBox
  {
    width: 100%;
  }

  .inputBox input
  {
    padding: 10px;
    font-size: 0.7rem;
    outline: none;
    border: 1px solid #333;
  }

  .inputBox textarea
  {
    padding: 10px;
    font-size: 0.65rem;
    outline: none;
    border: 1px solid #333;
    resize: none;
    min-height: 200px;
    margin-bottom: 10px;
  }

  .g-recaptcha
  {
    position: relative;
    padding-bottom: 15px;
  }

  .inputBox input[type="submit"] {
    background: #000000;
    border: none;
    font-size: 1rem;
    max-width: 120px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    border-radius: 10px;
    transition: 0.3s ease;
  }
  
  /* Efecto hover solo cuando está habilitado */
  .inputBox input[type="submit"]:enabled:hover {
    background: #ffffff;
    border: 1px solid #000000;
    color: black;
  }
  
  /* Estilo cuando está deshabilitado */
  .inputBox input[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
  

  .sci
  {
    margin-top: 20px;
    display: flex;
  }

  .sci li
  {
    list-style: none;
    margin-right: 15px;
  }

  .sci li a
  {
    color:black;
    font-size: 2rem;
  }

  .sci li a:hover
  {
    color: #ffff;
  }



  #Test iframe
  {
    width: 100%;
    height: 100%;
  }

  .map
  {
    max-height: fit-content;
    margin-bottom: 0px;
    padding: 0;
    max-height: max-content;
  }

  .alert-success
  {
    z-index: 1;
    background: black;
    color: #fff;
    font-size: 1.2rem;
    padding: 20px 40px;
    min-width: 420px;
    position: fixed;
    font-family: 'Montserrat-Bold';
    right: 0;
    top: 90px;
    border-radius: 5px;
  }

  .alert-error
  {
    z-index: 1;
    background: black;
    color: #fff;
    font-size: 1.2rem;
    padding: 20px 40px;
    min-width: 420px;
    position:fixed;
    font-family: 'Montserrat-Bold';
    right: 0;
    top: 90px;
    border-radius: 5px;
    max-width: 100vw;
  }

  footer 
  {
    /* Estilos para el footer en general */
    background-color: #157139;
    position: relative;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    display: flex;
    justify-content: space-between;
  }
  
  #CenterFooter 
  {
    padding-top: 60px;
    max-width: 1280px;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    gap: 5%;
    line-height: 1rem;
  }
  
  #CenterFooter h7 
  { /* Eliminar márgenes por defecto */
    font-size: 1.2rem; /* Tamaño de fuente deseado */
    color: #000000; /* Color de texto deseado */
    font-family: Arial, 'Helvetica', sans-serif;
    font-weight: bold;
    text-decoration: none;
  }
  
  #CenterFooter h7 a, #CenterFooter p a
  { /* Eliminar márgenes por defecto */
    text-decoration: none;
    color: #000000;
  }
  
  #CenterFooter h7 a:hover, #CenterFooter p a:hover
  { /* Eliminar márgenes por defecto */
    text-decoration: none;
    color: #ffffff;
  }
  
  #CenterFooter h8
  { /* Eliminar márgenes por defecto */
    font-size: 0.9rem; /* Tamaño de fuente deseado */
    color: #000000; /* Color de texto deseado */
    font-family: Arial, 'Helvetica', sans-serif;
  }
  
  #TextHF
  { /* Eliminar márgenes por defecto */
    font-size: 0.9rem; /* Tamaño de fuente deseado */
    color: #000000; /* Color de texto deseado */
    font-family: Arial, 'Helvetica', sans-serif;
  }
  
  .HoursFooter
  {
    text-align: left;
    min-width: 30%;
  }
  
  .ContactFooter
  {
    text-align: left;
    min-width: 20%;
  }
  
  #Copyright
  { /* Eliminar márgenes por defecto */
    font-size: 0.7rem; /* Tamaño de fuente deseado */
    color: #000000; /* Color de texto deseado */
    font-family: Arial, 'Helvetica', sans-serif;
    margin-top: 35px;
    margin-bottom: 10px;
  }

  @media (max-width: 900px)
  {
    header #CenterFormat .ContactUs
    {
      max-width: 100%;
      font-size: 2rem;
    }

    .formBox .row50
    {
      display: flex;
      gap: 0;
      flex-direction: column;
    }

    .box 
    {
      position: relative;
      display: flex;
      flex-direction: column;
      grid-template-columns:1fr;
      grid-template-rows: auto;
      grid-template-areas:
          "form info"
          "form map";
      grid-gap: 20px;
      margin-top: 5px;
    }

    .inputBox
    {
      width: 95%;
    }

    header 
    {
      min-height: 1725px;
      position: relative; 
    }
  }
  
  @media (max-width: 1023px) 
  {
    html
    {
      font-size: 20px;
    }
  
    #Title
    {
      font-size: 1.6rem;
    }
  
  
    #Subtitle
    {
      line-height: 1.1;
      font-size: 1.1rem;
      padding-bottom: 15px;
    }
  
    
  
    .TextoFooter h7
    {
      font-size: 0.5rem;
    }
  
    .TextoFooter span 
    {
    font-size: 0.6rem;
    }
  
    header 
    {
      height: 1550px;
      position: relative;
    }
  
    .mostrar-menu
    {
      position: absolute;
      top: -74px;
      right: -44px;
    }
  
    .ocultar-menu
    {
      position: absolute;
      top: -28px;
      right: 5px;
    }
  
    .mostrar-menu,
    .ocultar-menu {
      display: block;
      font-size: 5rem;
    }
    .menu {
      position: fixed;
      width: 100%;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.8);
      right: -100%;
      top: 0;
      text-align: center;
      padding: 60px 0px;
      z-index: 999;
      transition: 0.8s;
    }
    nav a 
    {
      color: rgb(255, 255, 255);
    }
    nav ul {
      flex-direction: column;
    }
    nav ul ul {
      position: static;
      display: none;
      margin-top: 5px;
    }
    
    nav ul ul li {
      border-top: none;
      background-color: rgb(0, 0, 0, 0.4);
      color: rgb(143, 143, 143);
    }
    nav a:hover {
      background-color: rgb(0, 0, 0);
      color: rgb(255, 255, 255);
    }
    
    /* Estilos para mostrar/ocultar el menú desplegable */
    #check:checked ~ .menu {
      right: 0;
      align-items: center;
    }
    .icono-idioma {
      display: block;
      width: 2rem;
      height: 2rem;
      background-image: url("IdiomaBlanco.png");
      background-repeat: no-repeat;
      background-size: 100%;
      margin-left: auto;
      margin-right: auto;
    }
  
    .menu a 
    {
      font-size: 1.5rem;
    }
    .Encabezado {
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      position: relative;
      object-position: center;
      height: 75px;
    }
    .LogoEncabezado
    {
      position: relative;
      top: 5px;
      right: -10px;
      height: 230px;
      width: 127px;
    }

    .alert-error
    {
      font-size: 1rem;
      padding: 4px;
      min-width: 80vw;
      position:fixed;
      font-family: 'Montserrat-Bold';
      max-width: 90vw;
    }

    .alert-success
    {
      font-size: 1rem;
      padding: 4px;
      min-width: 80vw;
      position:fixed;
      font-family: 'Montserrat-Bold';
      max-width: 90vw;
    }
    
    footer 
{
  /* Estilos para el footer en general */
  background-color: #157139;
  position: relative;
  justify-content: center;
  align-items: center;
}


#CenterFooter 
{
  padding-top: 0px;
  width: 100%;
  max-width: 1280px;
  display: flex;
  gap: 5%;
  align-content: center;
  justify-content: center;
  margin-left: 5px;
  margin-right: 5px;
  flex-direction: column;
  line-height: 0.7rem;  
}

#FirstDiv {
  order: 2; /* Cambia el orden para que aparezca después */
}

#SecondDiv {
  order: 1;
  margin-top: 10px; /* Cambia el orden para que aparezca antes */
}

#ThirdDiv {
  order: 3; /* Cambia el orden para que aparezca antes */
}

#CenterFooter h7 
{ /* Eliminar márgenes por defecto */
  font-size: 0.9rem; /* Tamaño de fuente deseado */
  color: #000000; /* Color de texto deseado */
  font-family: Arial, 'Helvetica', sans-serif;
  font-weight: bold;
  text-decoration: none;
}

#CenterFooter h7 a, #CenterFooter p a
{ /* Eliminar márgenes por defecto */
  text-decoration: none;
  color: #000000;
}

#CenterFooter h7 a:hover, #CenterFooter p a:hover
{ /* Eliminar márgenes por defecto */
  text-decoration: none;
  color: #ffffff;
  text-align: center;
}

footer #CenterFooter h8
{ /* Eliminar márgenes por defecto */
  font-size: 0.6rem; /* Tamaño de fuente deseado */
  color: #000000; /* Color de texto deseado */
  font-family: Arial, 'Helvetica', sans-serif;
  text-align: center;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 5px;
}

#TextHF
{ /* Eliminar márgenes por defecto */
  font-size: 0.8rem; /* Tamaño de fuente deseado */
  color: #000000; /* Color de texto deseado */
  font-family: Arial, 'Helvetica', sans-serif;
  text-align: center;
}

.HoursFooter
{
  text-align: center;
  min-width: 40%;
  margin-top: 10px;
}

.ContactFooter
{
  text-align: center;
  min-width: 50%;
}

#Copyright
{ /* Eliminar márgenes por defecto */
  font-size: 0.5rem; /* Tamaño de fuente deseado */
  color: #000000; /* Color de texto deseado */
  font-family: Arial, 'Helvetica', sans-serif;
  margin-top: 5px;
  margin-bottom: 5px;
}
  
  }
  
  @media  (max-height: 425px) 
  {
    
  
    .menu a 
    {
      font-size: 1rem;
    }
  
    .icono-idioma {
      width: 1rem;
      height: 1rem;
    }
  }
  
  