html,
body {
    font-family: 'Courier New', monospace;
    height: 100%;
    margin: 0;
    padding: 0;
}

nav {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
    position: relative;
}

nav ul li a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.submenu ul {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 0;
    list-style: none;
    top: 100%;
    left: 0;
    min-width: 100px;
}

.submenu:hover ul {
    display: block;
}

.submenu ul li {
    padding: 10px;
}

.submenu ul li a {
    color: #000;
}

button {
    font-family: 'Courier New', monospace;
}

.logo-container {
    margin-top: 50px;
    text-align: center;
}

.logo-container img {
    max-width: 80%;
    height: auto;
}

#terms-popup {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
}

#terms-popup button {
    font-family: 'Courier New', monospace;
    background: white;
    color: black;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}


#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#contact-form button {
    font-family: 'Courier New', monospace;
    margin-top: 10px;
    padding: 8px 15px;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /* Esto centra verticalmente si quieres que ocupe toda la altura de la pantalla */
}

.page-wrapper {
    font-family: 'Courier New', monospace;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.form-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#contact-form {
    font-family: 'Courier New', monospace;
    width: 80%;
    max-width: 500px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

#terms-popup {
    font-family: 'Courier New', monospace;
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 10px 0;
    z-index: 1000;
}

#terms-popup p {
    margin: 0 0 10px 0;
}

#terms-popup button {
    font-family: 'Courier New', monospace;
    background: white;
    color: black;
    border: none;
    padding: 5px 15px;
    cursor: pointer;
    font-size: 14px;
}

#info-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

#form-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    position: relative;
    top: 10%;
    margin: 0 auto; /* Cambiado de 15% auto a 0 auto */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    font-family: 'Courier New', Courier, monospace;
}


.modal-content h2 {
    margin-top: 0;
}

.modal-content button {
    margin-top: 10px;
    padding: 8px 15px;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
}

#loading-message {
    position: fixed; /* Fija el aviso en la pantalla */
    top: 50%; /* Centra verticalmente */
    left: 50%; /* Centra horizontalmente */
    transform: translate(-50%, -50%); /* Ajusta el centrado */
    background-color: rgba(0, 0, 0, 0.8); /* Fondo oscuro semitransparente */
    color: white; /* Texto en blanco */
    padding: 20px; /* Espaciado interno */
    border-radius: 10px; /* Bordes redondeados */
    text-align: center; /* Centra el texto */
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
}

.spinner {
    border: 4px solid #f3f3f3; /* Color del borde */
    border-top: 4px solid #3498db; /* Color del spinner */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite; /* Animación */
    margin: 10px auto; /* Centra el spinner */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}