body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #111b21;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/cirten.jpg');
    background-size: contain;
    background-position: center; 
    background-repeat: no-repeat; 
    background-attachment: fixed; 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column;
}
  

  /* Estilos del encabezado */
  header {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  form label {
            display: block; 
            margin-bottom: 10px; 
            color: #e7dfdf; 
            font-size: 1.1em; 
            font-weight: bold;
            text-align: center; 
            width: 100%; 
            text-shadow: 1px 1px 2px rgba(0,0,0,0.5); 
        }

        /* Estilos para el campo de entrada del número de WhatsApp */
        form input[type="text"] {
            width: calc(50% - 40px); 
            padding: 12px 18px; 
            margin-bottom: 25px; 
            border: 2px solid #128C7E;
            border-radius: 25px; 
            font-size: 1.1em; 
            box-sizing: border-box; 
            background-color: #f9f9f9;
            color: #333; 
            outline: none; 
            box-shadow: 0 2px 8px rgba(0,0,0,0.2); 
            transition: all 0.3s ease; 
            text-align: center; 
        }

        form input[type="text"]::placeholder {
            color: #888; /* Color del placeholder */
        }

        form input[type="text"]:focus {
            border-color: #25D366; /* Borde verde de WhatsApp al enfocar */
            box-shadow: 0 0 10px rgba(37,211,102,0.5); /* Sombra brillante al enfocar */
            background-color: #fff; /* Fondo blanco al enfocar */
        }

        /* Ajuste para el botón join-button si es necesario, para que no quede pegado al input */
        /* Ya tienes una regla para .join-button, solo asegúrate de que el margen sea suficiente */
        .join-button {
            margin-top: 20px; /* Asegura un buen espacio entre el input y el botón */
        }

        /* Ajustes para el contenedor principal para centrar mejor los elementos del formulario */
        .container form {
            width: 100%; /* Asegura que el formulario ocupe el ancho completo del contenedor */
            display: flex;
            flex-direction: column;
            align-items: center; /* Centra los elementos del formulario horizontalmente */
        }

        /* Responsive adjustments for mobile */
        @media (max-width: 768px) {
            form input[type="text"] {
                width: calc(100% - 30px); /* Ajuste de ancho para móviles */
                padding: 10px 15px;
            }
            form label {
                font-size: 1em;
            }
        }

  .menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
  }

  .menu-icon span {
    width: 100%;
    height: 3px;
    background-color: #333;
  }

  .logo {
    display: flex;
    align-items: center;
  }

  .nav-logo {
    width: 150px;
    height: auto;
  }

  .download-icon {
    color: #25D366;
    font-size: 24px;
  }

  .download-button {
    background-color: #25d366; /* Fondo verde */
    color: rgb(12, 9, 9); /* Color del texto */
    padding: 12px 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Ancho del botón */
    height: 30px; /* Alto del botón */
    box-shadow: 0 4px 10px rgba(52, 160, 27, 0.34); /* Sombra */
    transition: background-color 0.3s ease; /* Transición suave */
    text-decoration: none;
  }

  .download-button:hover {
    background-color:  #128C7E; /* Color de fondo al pasar el mouse */
  }

  /* Estilos del menú */
  .menu {
    display: block;
    background-color: #fff;
    padding: 20px;
  }

  .menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .menu ul li {
    margin: 10px;
  }

  .menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
  }

  .menu ul li a:hover {
    color: #25D366;
  }

  /* Estilos del contenido principal */
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    padding-top: 220px
  }

  .per {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 80%;
    overflow: hidden;
  }

  h1 {
    font-size: 20px;
    color: #e7dfdf;
    margin-bottom: 10px;
    text-align: center;
  }

  .description {
    font-size: 18px;
    color: #eee6e6         ;
    margin-bottom: 20px;
    text-align: center;
  }

  .join-button {
    display: inline-block;
    background-color: #128C7E;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 20px;
    font-size: 16px;
    transition: background-color 0.3s ease;
  }

  .join-button:hover {
    background-color: #17c52bd9;
  }

  /* Estilos del footer */
  footer {
    background-color: #111b21; /* Fondo negro */
    padding: 20px;
    text-align: center;
    margin-top: auto;
  }

  .footer-content {
    display: flex;
    justify-content: center;
    align-items: center; /* Centrar verticalmente */
  }

  /* Estilos responsive para dispositivos móviles */
  @media (max-width: 768px) {
    header {
      padding: 10px;
    }

    .menu-icon {
      display: flex;
      order: 1; /* Mover el icono del menú a la izquierda */
    }

    .logo {
      order: 2;
      justify-content: center;
    }

    .download-icon {
      order: 3; /* Mover el icono de descarga a la derecha */
    }

    .menu {
      display: none;
      padding: 10px;
      position: absolute;
      top: 60px;
      left: 0;
      right: 0;
      z-index: 1;
    }

    .menu.show {
      display: block;
    }

    .menu ul {
      flex-direction: column;
      align-items: center;
    }

    .menu ul li {
      margin: 5px;
    }

    .container {
      padding: 20px;
    }

    .per {
      width: 150px;
    }

    h1, .description {
      text-align: center;
    }

    footer {
      padding: 20px;
    }

    .footer-content {
      display: flex;
      justify-content: center;
      align-items: center; /* Centrar verticalmente */
    }

    .footer-content .download-button {
      width: 200px; /* Ajustar el ancho del botón en versión móvil */
      height: 35px; /* Ajustar el alto del botón en versión móvil */
    }
  }

  
  .loading-container {
    display: none; 
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.loading-circle {
    border: 8px solid #f3f3f3; 
    border-top: 8px solid #128c7e; 
    border-radius: 50%; 
    width: 60px; 
    height: 60px; 
    animation: spin 1s linear infinite; 
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}