/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #6dd5fa, #2980b9);
    color: #333;
}

.navbar {
    background-color: rgba(0, 0, 128, 0.9); /* Fondo azul oscuro */
    padding: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    height: 60px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: row; /* Alinea los elementos horizontalmente */
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 1rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Fondo blanco transparente al pasar el ratón */
}

.container {
    max-width: 800px;
    margin: 5rem auto 2rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    margin-top: 80px; /* Ajusta este valor según la altura de tu navbar */
}

form {
    display: flex;
    flex-direction: column;
}

input, select, button {
    margin-bottom: 1rem;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    background-color: #2980b9;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #1a5276;
}

/* Media query para pantallas pequeñas */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-menu {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }
    .nav-item {
        margin-left: 0;
        margin-bottom: 0.5rem;
    }
    .container {
        margin-top: 120px; /* Ajusta según el tamaño del menú en móviles */
    }
}
