
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 3%;
    background-image: url('../imagen/fondo.png');
    background-size: cover;
    background-position: center; /* Centrar la imagen */
    background-repeat: no-repeat; /* No repetir la imagen */
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh; /* Ajustar a la altura completa de la ventana */
    position: relative;
    overflow: auto;
}
.header {
    width: 100%;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.header img {
    width: 100%;
    height: auto;
}

.menu-item {
    margin-top: 20px;
    padding: 15px 20px;
    color: white;
    text-align: center;
    border: none;
    background-color: #0077cc;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s, color 0.3s;
    width: auto; /* Ajustar el ancho automáticamente */
    height: auto; /* Ajustar la altura automáticamente */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px; /* Tamaño de fuente ajustado */
    border-radius: 5px; /* Bordes redondeados */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Sombra para un efecto más profesional */
    position: relative; /* Necesario para el submenú */
}
.menu-item:hover {
    transform: scale(1.05); /* Aumentar ligeramente el tamaño al pasar el mouse */
    background-color: #005c99;
    color: #ffffff;
}
.menu-item img {
    width: 40px; /* Ajusta el tamaño según sea necesario */
    height: 40px; /* Ajusta el tamaño según sea necesario */
    object-fit: cover;
    border-radius: 5px;
}


.container {
    background-color: rgba(0, 51, 102, 0.9);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin-top: 20px;
    position: relative;
    z-index: 1;
    width: calc(100% - 40px);
    max-width: 600px;
}

.form-container {
    background-color: rgba(0, 51, 102, 0.8);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 2;
    max-height: 80%;
    overflow-y: auto;
    margin-top: 20px;
}
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.form-group input, .form-group select {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}
.form-group input:focus, .form-group select:focus {
    border-color: #005c99;
    outline: none;
}
.form-group button {
    background-color: #0077cc;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: background-color 0.3s;
}
.form-group button:hover {
    background-color: #005c99;
}