body {
    font-family: Arial, sans-serif;
    background-color: #111; /* Fondo negro */
    color: #eee; /* Texto blanco claro */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

h2 {
    color: #fff;
    margin-bottom: 30px; /* Espacio entre el título y el formulario */
    font-size: 24px;
}

form {
    background-color: #222; /* Fondo más oscuro */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 100%; /* Evita que los inputs sobresalgan del formulario */
    box-sizing: border-box; /* Asegura que el padding se considere en el tamaño total */
}

input[type="text"], input[type="email"] {
    width: calc(100% - 24px); /* Ajusta para que los inputs se alineen con el padding del formulario */
    padding: 12px;
    margin: 8px 0;
    background-color: #333; /* Campo de texto más oscuro */
    border: 1px solid #555; /* Borde gris */
    border-radius: 4px;
    color: #eee; /* Texto claro */
    font-size: 16px;
    box-sizing: border-box;
}

input[type="text"]::placeholder, input[type="email"]::placeholder {
    color: #aaa; /* Color del placeholder */
}

button {
    width: 100%;
    padding: 12px;
    background-color: #444; /* Botón gris oscuro */
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #555; /* Botón más claro al hacer hover */
}

#message {
    margin-top: 20px;
}

.privacy-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 10px;
}

.privacy-container input[type="checkbox"] {
    margin-right: 10px;
}

label {
    color: #eee;
    font-size: 14px;
}

/* Estilos responsivos */
@media (min-width: 768px) {
    form {
        max-width: 400px;
    }
}

@media (max-width: 767px) {
    body {
        height: auto;
        padding: 20px 10px;
    }

    form {
        width: 100%;
    }

    h2 {
        font-size: 1.8rem;
    }

    input[type="text"], input[type="email"] {
        font-size: 14px;
        padding: 10px;
    }

    button {
        font-size: 14px;
        padding: 10px;
    }
}

.modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    width: 80%;
    max-width: 600px;
    text-align: left;
}

.modal-content img {
    width: 150px;
    height: 150px;
    margin-right: 20px;
}

.modal-content p {
    font-size: 16px;
    color: #333;
}

.modal-content button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #444;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal-content button:hover {
    background-color: #666;
}