body {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(to bottom, #007bff, #004080);
    color: #fff;
    text-align: center;
    min-height: 100vh;
}



.bodyE {
    font-family: "Poppins", sans-serif;
    background: none;
    color: #35546f;
    text-align: center;
    min-height: 98vh;
    
}


.titulo {
    font-size: 24px;
    font-weight: bold;
}

.descripcion {
    font-size: 16px;
    max-width: 600px;
    margin: auto;
    padding: 0 0%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

img {
    max-width: 100%;
    height: auto;
    xborder-radius: 10px;
    xbox-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background-color: #ffcc00;
    color: #000;
    border: none;
}

.btn-primary:hover {
    background-color: #e6b800;
}



.btnE-primary {
    background-color: #324a51;
    color: #FFF;
    border: none;
}

.btnE-primary:hover {
    background-color: #324a51;
    color: #d0e0fd;
}
.btnE-primary:visited {
    background-color: #324a51;
    color: #FFF;
}




/* Cabecera */
.header {
    width: 100%;
    background-color: #007BFF;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.icon {
    font-size: 24px;
    cursor: pointer;
}

/* Contenedor principal */
.container {
    text-align: center;
    padding: 20px;
    max-width: 600px;
    width: 90%;
    margin-top: 70px;
    box-sizing: border-box;
}

.containerE {
    text-align: center;
    xpadding: 20px;
    xmax-width: 600px;
    xwidth: 90%;
    margin-top: 0px;
    box-sizing: border-box;
    max-width: 450px;
}




.contenedorE {
    display: flex;
    justify-content: space-evenly; /* Distribuye los elementos equitativamente */
    align-items: center; /* Alinea verticalmente */
    width: 100%; /* Ocupa todo el ancho disponible */
    gap: 10px; /* Espacio entre elementos */
}

.itemE {
    flex: 1; /* Ocupa el mismo espacio cada uno */
    text-align: center; /* Centra el texto */
    font-weight: bold;
    font-size:18px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.itemE img {
    max-width: 80%; /* Para que la imagen no se desborde */
    height: auto; /* Mantiene la proporción */
}







/* Estilos para los tabs */
.tab-menu {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab-menu h2 {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    color: white;
    transition: color 0.3s;
}

.tab-menu h2.active {
    text-decoration: underline;
    font-weight: bold;
    color: white;
}

.tab-menu h2.inactive {
    color: #99c2ff; /* Azul tenue */
}

/* Sección de opciones */
.option {
    display: none;
}

.option.active {
    display: block;
}

/* Estilos para las opciones */
.option .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.option .col {
    flex: 1 1 30%;
    max-width: 30%;
    padding: 10px;
}

.option img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}















/* Estilos para los tabs */
.tab-menu {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab-menu h2 {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #99c2ff; /* Azul tenue por defecto */
    transition: all 0.3s;
}

.tab-menu h2.active {
    text-decoration: underline;
    font-weight: bold;
    color: white; /* Color blanco cuando está activo */
}

/* Sección de opciones */
.option {
    display: none;
}

.option.active {
    display: block;
}







/* Contenedor de opciones */
.option .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px; /* Espaciado entre elementos */
}

/* Cada opción ocupa el 30% del ancho para formar 3 por fila */
.option .col {
    flex: 1 1 30%; /* Ocupa 30% del espacio disponible */
    max-width: 30%;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}

/* Estilo de cada opción */
.option .col img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

/* Efecto hover */
.option .col img:hover {
    transform: scale(1.05);
}






.img-titulo{
margin-bottom: 0px;
font-size: 18px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}








.marco-img{
    background-color:#33adb0;
    color:#FFF;
    padding:20px;
    }
.submarco-img{
    border:5px solid #FFF;
}





/* Adaptación para celulares */
@media screen and (max-width: 768px) {
    .option .col {
        flex: 1 1 calc(33.33% - 10px); /* Mínimo 3 por fila */
        max-width: calc(33.33% - 10px);
    }
}













/* Responsive */
@media screen and (max-width: 768px) {
    .header {
        padding: 10px 15px;
    }

    .icon {
        font-size: 20px;
    }

    .container {
        margin-top: 120px;
    }

    .option .col {
        flex: 1 1 30%;
        max-width: 30%;
    }
}
