@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body{
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    color: #333;
    margin: 0;
    padding: 0;
}

header{
    width: auto;
    height: auto;
}

.contenedor{
    width: 100%;
    margin: auto;
    background: linear-gradient(160deg, rgba(146,192,246,1) 0%, rgba(42,114,198,1) 30%, rgba(2,63,133,1) 100%);
    margin-bottom: 10px;
}

.menu{
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.menu-nav{
    cursor: pointer;
    width: 50%;
    text-align: center;
    color: #ffff;
}

p{
    font-size: 17px;
    padding: 6px;
    font-weight: 600;
}

.menu-nav:hover p{
    font-size: 19px;
    padding:1px;
}

.activado{
    background-color: #ffff;
    border-left: solid 1px #213668;
    border-top: solid 1px #213668;
    border-right: solid 1px #213668;
    color: #213668;
}

.contenido{
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.titulo{
    text-align: left;
    color: #213668;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-left: 65px;
}

.tabla{
    width: 100%;
    height: 600px;
}

.formulario{
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.formulario .campo{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #213668;
    font-weight: 600;
    padding: 8px;
}

.formulario select{
    border-radius: 5px;
}

.mensualidad, .inscripcion, .actMensual, .costServicio {
    color: #213668;
}

input[type="text"],
input[type="number"]{
    border: solid 1px #d8d8d8;
    padding: 15px;
    border-radius: 15px;
    width: 65%;
    color: #213668;
}

input[type="text"]::placeholder{
    color: #f1f1f1;
}

.campo select{
    font-size: 16px;
    border: 1px solid #d8d8d8;
    padding: 15px;
    border-radius: 15px;
    width: 65%;
    color: #213668;
}

.campo .datos{
    font-weight: bold;
    color: #213668;
}

.campo-boton{
    display: flex;
    justify-content: center;
    margin-right: 25px;
    margin-bottom: 10px;
    margin-top: 15px;
}

input[type="button"]{
    background: #213668;
    color: #ffff;
    margin-bottom: 10px;
    border: none;
    padding: 13px;
    font-weight: 600;
    font-size: medium;
    cursor: pointer;
    border-radius: 15px;
    width: 150px;
}

input[type="button"]:hover{
    background: #ffffff;
    border: solid #213668 1px;
    color: #213668;
}

.formulario .oculto{
    display: none;
}

.amortizacion{
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.cont-amor{
    display: none;
    height: 450px;
    overflow-y: scroll;
}

table th{
    background-color: #213668;
    color: #ffffff;
    padding: 10px;
    text-align: center;
    font-weight: 700;
    border-bottom: 2px solid #ddd;
}


table td{
    padding: 6px;
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
}

table .col1{
    text-align: center;
    font-weight: 900;
}

table .colc{
    border: none;
    text-align: center;
    border-bottom: solid 1px #213668;
}


.amortizacion th{
    padding: 4px;
    font-size: small;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
}

table td, table th {
    border: 1px solid #ddd;
}

table {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    body {
        font-size: 14px; /* Adjust font size for mobile */
    }

    .contenedor {
        padding: 10px; /* Adjust padding for mobile */
    }

    .menu-nav {
        width: 100%; /* Make menu items full width on mobile */
    }

    header {
        padding: 10px; /* Adjust header padding for mobile */
    }
    .mensualidad, .inscripcion, .actMensual, .costServicio {
        font-size: 13px;
    }

    h1, h2, h3, h4, h5, h6 {
        font-size: 1.2em; /* Adjust heading sizes for mobile */
    }
}