/* Resetear estilos predeterminados */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
/* Importar la fuente Titillium Web desde Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Titillium+Web:400,600');

body {
  background-color: black;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Estilos de navegación */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000000;
  padding: 1rem;
}

nav ul {
  list-style-type: none;
  display: flex;
  font-family: 'Titillium Web', sans-serif; /* Aplicar la fuente Titillium Web */
  text-transform: uppercase; /* Convertir el texto a mayúsculas */
  font-weight: 600; /* Establecer el peso de la fuente en negrita */
}

nav ul li {
  margin: 0.5em 1em; /* Ajustar el margen para separar los elementos de la lista */
}

nav ul li a {
  color: rgba(255, 255, 255, 0.5); /* Establecer el color inicial del enlace */
  text-decoration: none;
  font-size: 20px;
  padding: 0.5em 0.8em;
  position: relative;
  transition: all 0.35s ease; /* Transición suave para los efectos */
}

/* Estilos para el efecto de borde */
nav ul li a::before,
nav ul li a::after {
  content: '';
  height: 14px;
  width: 14px;
  position: absolute;
  transition: all 0.35s ease;
  opacity: 0;
}

nav ul li a::before {
  right: 0;
  top: 0;
  border-top: 3px solid #3E8914;
  border-right: 3px solid #2E640F;
  transform: translate(-100%, 50%);
}

nav ul li a::after {
  left: 0;
  bottom: 0;
  border-bottom: 3px solid #2E640F;
  border-left: 3px solid #3E8914;
  transform: translate(100%, -50%);
}

nav ul li a:hover::before,
nav ul li a:hover::after {
  transform: translate(0, 0);
  opacity: 1;
}

nav ul li a:hover {
  color: #3DA35D; /* Cambiar el color del enlace al pasar el cursor */
}


  
  .logo h1 {
    color: #fff;
    font-family: 'Titillium Web', sans-serif;
    font-size: 26px;
    padding: 10px 15px;
    display: inline-block;

  }
  
  /* Estilos del botón "Iniciar" */

  .button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
    flex-grow: 1;
  }
  
  .start-button {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50px; /* Esquinas redondeadas más pronunciadas */
    position: relative;
    height: 120px; /* Aumentar la altura del botón */
    font-size: 3em; /* Aumentar el tamaño de la fuente */
    padding: 0 4em; /* Aumentar el relleno del botón */
    cursor: pointer;
    transition: all 0.3s ease; /* Transición suave */
    outline: none;
    overflow: hidden; /* Ocultar desbordamiento */
  }
  
  .start-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: all 0.6s ease; /* Transición más lenta */
  }
  
  .start-button:hover:before {
    transform: translateX(100%); /* Desplazar el efecto de brillo */
  }
  
  .start-button span {
    position: relative;
    z-index: 1; /* Asegurarse de que el texto esté por encima del efecto */
  }
  
  .start-button:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); /* Sombra suave al pasar el cursor */
  }
  
  .start-button:before,
  .start-button:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 4px; /* Aumentar el grosor de las líneas */
    width: 0;
    background: #3E8914; /* Cambiar el color de las líneas a blanco */
    transition: 400ms ease all;
  }
  
  .start-button:after {
    right: inherit;
    top: inherit;
    left: 0;
    bottom: 0;
  }
  
  .start-button:hover:before,
  .start-button:hover:after {
    width: 100%;
    transition: 800ms ease all;
  }

button:hover:before,
button:hover:after {
    width: 100%;
    transition: 800ms ease all;
}

 
 
 /* Estilos del modal */
 .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); /* Centra el modal */
    width: 100%; /* Puedes ajustar el ancho según tus necesidades */
    max-width: 1200px; /* Establece un ancho máximo para el modal */
    max-height: 100%; /* Establece una altura máxima para el modal */
    overflow: auto; /* Añade desplazamiento si el contenido del modal es demasiado grande */
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px); /* Añade un desenfoque suave al fondo */
    border-radius: 10px; /* Añade esquinas redondeadas */
    padding: 20px; /* Añade relleno al contenido del modal */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); /* Añade una sombra suave */
}
  
  .modal-content {
    background-color: #ffffff;
    margin: 1% auto; /* Ajuste el valor de margen para centrar verticalmente */
    padding: 30px;
    border-radius: 10px; /* Añade esquinas redondeadas */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); /* Añade una sombra suave */
    width: 45%;
    position: relative;
    animation: modalFadeIn 0.5s ease-in-out; /* Añade una animación de entrada suave */
  }
  
  @keyframes modalFadeIn {
    from {
      opacity: 0;
      transform: translateY(-20px); /* Desplaza el modal hacia arriba antes de mostrarlo */
    }
    to {
      opacity: 1;
      transform: translateY(0); /* Restaura la posición original del modal */
    }
}

  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    transition: color 0.3s ease; /* Añade una transición suave al cambiar de color */
  }
  
  .close:hover,
  .close:focus {
    color: #c50e0e;
    text-decoration: none;
    cursor: pointer;
  }
  
  .button-group {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.modal-button {
    background: linear-gradient(to right, #3E8914, #2E640F);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    padding: 0.8em 2.5em;
    margin: 0 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
  }
  
  .modal-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: all 0.6s ease;
  }
  
  .modal-button:hover:before {
    transform: translateX(100%);
  }
  
  .modal-button span {
    position: relative;
    z-index: 1;
  }
  
  .modal-button:hover {
    background: linear-gradient(to left, #3E8914, #2E640F);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
  }


  
.modal-image {
    max-width: 38%;
    height: auto;
    margin: 0 auto 1rem auto;
    display: block;
    border-radius: 5px; /* Añade esquinas redondeadas a la imagen */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 1); /* Añade una sombra suave a la imagen */
  }


  
  /* Estilos de pie de página */
  .footer-container {
    margin-top: auto;
  }
  
footer {
    background-color: #000000;
    color: #fff;
    font-family: 'Titillium Web', sans-serif;
    text-align: center;
    padding: 1rem;
    font-size: 20px;
  }

.download-button {
    display: inline-block;
    text-decoration: none;
    color: inherit;
  }

#ip-info {
    /* Estilos que deseas aplicar */
    font-size: 30px;
    color: #b93232;
    font-weight: bold;
    text-align: center; /* Centra el texto horizontalmente */
    margin-top: 40x; /* Agrega más margen superior */
    margin-bottom: 40px; /* Agrega margen inferior */
    padding: 0; /* Elimina el relleno por defecto */
}
h2 {
    /* Estilos que deseas aplicar */
    font-size: 24px;
    color: #333;
    text-align: center; /* Centra el texto horizontalmente */
    margin-top: 20px; /* Agrega más margen superior */
    margin-bottom: 20px; /* Agrega margen inferior */
}

p {
    font-size: 20px; /* Tamaño de fuente */
    color: #666666; /* Color de texto */
    text-align: center;
    margin-bottom: 10px; /* Margen inferior */
}

ol {
    margin-left: 20px; /* Sangría del margen izquierdo */
    list-style-type: decimal; /* Tipo de viñetas */
    padding-left: 20px; /* Relleno izquierdo */
}

li {
    font-size: 16px; /* Tamaño de fuente de los elementos de la lista */
    color: #060606; /* Color de texto de los elementos de la lista */
    margin-bottom: 5px; /* Margen inferior entre elementos de la lista */
}

.modal-image2 {
    max-width: 100%; /* Ajusta el ancho máximo de la imagen al contenedor */
    height: auto; /* Permite que la altura se ajuste automáticamente para mantener la relación de aspecto */
    display: block; /* Asegura que la imagen se comporte como un bloque */
    margin: 0 auto; /* Centra la imagen horizontalmente */
}

.modal-button2 {
    padding: 18px 30px;
    background: linear-gradient(to right, #bd0202, #8b0000);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
  
  .modal-button2:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: all 0.6s ease;
  }
  
  .modal-button2:hover:before {
    transform: translateX(100%);
  }
  
  .modal-button2 span {
    position: relative;
    z-index: 1;
  }
  
  .modal-button2:hover {
    background: linear-gradient(to left, #bd0202, #8b0000);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
  }
