@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

*{
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    max-width: 100%;
}
.navbar {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #001a57;
    padding: 10px;
}

.navbar img {
    height: 50px;
    margin-right: 20px;
}

.navbar .item-left{
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.navbar .title {
    display: flex;
    align-items: center;
    color: white;
    font-size: 1.5em;
    margin-left: auto;
}
.cont-section{
    padding: 0 40px 0 40px;
}

.cont-home {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}
.about h2{
    font-size: clamp(1.5rem, 2vw + 1rem, 3rem);/* Tamaño mínimo 1.5rem, máximo 3rem, ajustado por 2vw */
}
.about p{
    font-size: clamp(0.875rem, 1vw + 0.5rem, 1.25rem);/* Tamaño mínimo 1.5rem, máximo 3rem, ajustado por 2vw */
}
.about {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    max-width: 100%;
    height: auto;
}

.cont-buscar{
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.cont-buscar .search-container{
    flex: 1;
    width: 100%;
}

.select-container select{
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#myTable{
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .cont-home {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        order: -1;
    }
}

 #searchInput {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
@media (min-width: 600px) {
    #searchInput {
        width: 100%;
    }
}
@media (min-width: 768px) {
    #searchInput {
        width: 100%;
    }
}
@media (min-width: 992px) {
    #searchInput {
        width: 100%;
    }
}
table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
td {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
    box-sizing: border-box;
}
tr:nth-child(even) {
    background-color: #f9f9f9;
}
@media screen and (max-width: 600px) {
    table {
        border: 0;
    }
    table thead {
        display: none;
    }
    table tr {
        display: block;
        margin-bottom: 10px;
    }
    table td {
        display: block;
        border-bottom: 1px solid #dddddd;
        position: relative;
        box-sizing: border-box;
    }
    table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 10px;
        font-weight: bold;
        text-align: left;
        white-space: nowrap;
    }
}
.accordion {
    cursor: pointer;
    background-color: #3498db;
    color: white;
    border: none;
    outline: none;
    transition: 0.4s;
    width: 100%;
    text-align: left;
    padding: 10px;
    margin-bottom: 10px;
}
.accordion:after {
    content: '\002B';
    font-size: 13px;
    color: #777;
    float: right;
}
.active:after {
    content: "\2212";
}
.panel {
    display: none;
    overflow: hidden;
}
.tab {
    display: flex; /* Cambiado de overflow: hidden a display: flex */
    flex-wrap: wrap;
    margin-top: 10px;
}
.tab button {
    background-color: white; /* Cambiado a un color gris claro */
    border: none;
    border-right: 1px solid #3498db69;
    outline: none;
    padding: 10px;
    cursor: pointer;
    flex: 1; /* Añadido para que todos los botones tengan el mismo tamaño */
    transition: 0.3s;
    font-size: 16px;
    color: #333;
}

.tab button:hover {
    background-color: #3498db69;
    color: #000;
}

.tab button.active {
    background-color: #3498db;
    color: white;
}

.tabcontent {
    display: none;
    padding: 20px;
    border-top: none;
}
@media screen and (max-width: 600px) {
    .tab button {
        width: 100%;
        float: none;
        display: block;
    }
    .tabcontent {
        display: block; /* Asegura que el contenido del tab se muestre */
        width: 100%; /* Asegura que el contenido ocupe todo el ancho */
    }
}
.nested-tab {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}

.nested-tab button {
    border: none;
    border-right: 1px solid #3498db69;
    outline: none;
    cursor: pointer;
    padding: 10px;
    transition: 0.3s;
    flex: 1;
    font-size: 14px;
    color: #333;
    background-color: white;
}

@media screen and (max-width: 600px) {
    .nested-tab button {
        width: 100%; /* Asegura que los botones de nested-tab se muestren correctamente */
        float: none;
        display: block;
    }
    .nested-tabcontent {
        display: block; /* Asegura que el contenido de nested-tab se muestre */
        width: 100%; /* Asegura que el contenido ocupe todo el ancho */
    }
}

.nested-tab button:hover {
    background-color: #3498db69; /* Un tono más claro de #3498db para el hover */
    color: #fff;
}

.nested-tab button.active {
    background-color: #3498db;
    color: white;
}

.nested-tabcontent {
    border: 1px solid #3498db;
    display: none;
    padding: 10px;
    border-top: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* footer */
.footer {
    background-color: #3498db;
    color: white;
    font-size: 20px;
    margin: 0;
}

.footer p{
    margin: 10px;
    text-align: center;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-developer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer-developer .logo {
    width: 100px;
    height: 100px;
}