:root {
    --z-index-header: 100;
    --z-index-nav: 110;
    --z-index-submenu: 90;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: linear-gradient(0deg, #162230 0%, #1f272f 50%, #00161a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.borrar-btn {

    font-weight: bold;
    font-size: 20px;
    background-color: #f05258;
    color: #f9efdd;
    border: 1px solid #f9efdd;
    border-radius: 10px;
    display: block;
    margin: 10px auto 0 auto;
    padding: 10px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.borrar-btn:hover {
    background-color: #f9efdd;
    color: #f05258;
    border: 1px solid #f05258;
}

#borrarBtn {
    width: fit-content;
    position: static;
    left: auto;
    transform: none;
}

.btn {
    padding: 10px;
    background: #9ad0d3;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: background .25s;
    box-shadow: 0 2px 8px #00008080;
}

.btn:hover {
    background: #5eaab2;
    box-shadow: 0 0 16px 2px #ffffff80, 0 2px 8px #00008080;
    background-image: linear-gradient(90deg, #9ad0d3 0%, #5eaab2 100%);
}

button {
    color: white;
    border-radius: 10px;
}

button:active {
    background-color: #ffbf80;
}

button:disabled {
    background-color: #ffbf80;
    cursor: not-allowed;
}

button:focus {
    outline: none;
}

button:hover {
    background-color: teal;
}

.boton-cerrar {
    background-color: darkred;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: large;
    font-weight: bold;
    margin: 10px 0 0 0;
}

.boton-cerrar:hover {
    background-color: black;
    color: white;
}

.modal-exito {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 10px;
    background-color: lightpink !important;
}

.modal-exito .boton-cerrar {
    align-self: center;
}

.calculadora {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calculadora-boton {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    background-image: radial-gradient(circle, #80808080, #80808080);
    color: #00000080;
    cursor: default;

    font-weight: bold;
}

.calculadora-boton.iluminado {
    background-image: radial-gradient(circle, #35843a, #35843a);
    color: white;
    transform: scale(1.1);
    font-weight: bold;
}

.calculadora-container {

    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 10px;
    width: 200px;
    align-self: center;
    position: relative;
    transition: transform 0.3s ease;
}

.calculadora-container:hover {
    border-bottom: 4px solid #9ad0d3;
    box-shadow: 2 2px 8px rgba(154, 208, 211, 0.3);
    transform: translateY(-5px);
}   


.calculadora-fila {
    display: flex;
    justify-content: space-between;
}

.calculadora-titulo {
    text-align: center;
    font-family: monospace;
    color: #9ad0d3;
    text-shadow: #9ad0d340 0px 2px 1px;
 
    margin: 10px;
    font-size: 16px;
    font-weight: bold;
}

.campo-error {
    border-color: #f05258 !important;
    box-shadow: 0 0 5px #f05258 !important;
}

.cantidad-dias-grupo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.cantidad-dias-grupo label {
    color: #d9ef8f;
    text-shadow: #595555 0px 2px 1px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}



.Conversion {
    background-color: #f9efdd;
    padding: 10px;
    border-radius: 10px;

    color: black;
    font-size: 20px;
    text-align: left;

    font-weight: bold;
    position: relative;
    overflow: visible;
    min-height: 200px;
    width: 100%;
}

.Conversion h2 {
    color: black;
    text-align: center;
    font-size: 28px;
    font-weight: bolder;
    margin: 10px;
}

#dias-entre-fechas>*,
#encontrar-fechas>* {
    margin: 10px 0;
}

#dias-entre-fechas>*:last-child,
#encontrar-fechas>*:last-child {
    margin-bottom: 0;
}

.descripcion_uno {
    color: white;
    font-size: 1.2em;
    line-height: 1.6;
    text-shadow: 1px 1px 10px black, -1px -1px 10px black, 1px -1px 10px black, -1px 1px 10px black;
}


.entradas-fechas {
    display: flex;
    gap: 10px;
}

.fecha-grupo {
    padding: 10px;
    border-radius: 10px;
    flex: 1;
}

.fecha-grupo label {
    font-weight: bold;
}

.fecha-grupo input,
.cantidad-dias-grupo input {
    width: 80px;
    padding: 10px;
    border: 3px solid;
    font-size: 1em;
    background-color: transparent;
    color: #f9f0de;
    text-align: center;
    font-weight: bold;
    transition: border-color 0.25s, background-color 0.25s, color 0.25s;
}

.fecha-grupo input::-webkit-outer-spin-button,
.fecha-grupo input::-webkit-inner-spin-button,
.cantidad-dias-grupo input::-webkit-outer-spin-button,
.cantidad-dias-grupo input::-webkit-inner-spin-button {
    -webkit-appearance: none;

}

.fecha-grupo input:focus,
.cantidad-dias-grupo input:focus {
    outline: none;
    border-color: #E5F2FF;
    box-shadow: 0 4px 8px #209f6240, 0 0 0 2px #209f624d;
    transform: translateY(-2px);
    transition: all 0.25s ease;
}

.fecha-grupo div.informacion-fecha {
    margin-top: 10px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0px 0px 2px #c84646;
    transition: all 0.25s ease;
}

.fecha-grupo label {
    margin-left: 0;
    color: #d9ef8f;
    text-shadow: 0px 0px 2px #595555;
    font-size: 20px;
}

#fecha_grupo_1,
#fecha_grupo_2,
#fecha_grupo_inicio {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas:
        "heading    heading    heading"
        "dia-label  mes-label  anno-label"
        "dia-input  mes-input  anno-input"
        "info-fecha info-fecha info-fecha"
        "info-solar info-solar info-solar";
    justify-items: center;
    background: linear-gradient(145deg, #00a8c5, #007a92);
    border: 1px solid #ffffff40;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

#fecha_grupo_1 h3,
#fecha_grupo_2 h3,
#fecha_grupo_inicio h3 {
    grid-area: heading;
}

#fecha_grupo_1 label[for="dia_fecha_1"],
#fecha_grupo_2 label[for="dia_fecha_2"],
#fecha_grupo_inicio label[for="dia_fecha_inicio"] {
    grid-area: dia-label;
}

#fecha_grupo_1 #dia_fecha_1,
#fecha_grupo_2 #dia_fecha_2,
#fecha_grupo_inicio #dia_fecha_inicio {
    grid-area: dia-input;

}

#fecha_grupo_1 label[for="mes_fecha_1"],
#fecha_grupo_2 label[for="mes_fecha_2"],
#fecha_grupo_inicio label[for="mes_fecha_inicio"] {
    grid-area: mes-label;
}

#fecha_grupo_1 #mes_fecha_1,
#fecha_grupo_2 #mes_fecha_2,
#fecha_grupo_inicio #mes_fecha_inicio {
    grid-area: mes-input;

}

#fecha_grupo_1 label[for="anno_fecha_1"],
#fecha_grupo_2 label[for="anno_fecha_2"],
#fecha_grupo_inicio label[for="anno_fecha_inicio"] {
    grid-area: anno-label;
}

#fecha_grupo_1 #anno_fecha_1,
#fecha_grupo_2 #anno_fecha_2,
#fecha_grupo_inicio #anno_fecha_inicio {
    grid-area: anno-input;

}

#fecha_grupo_1 .informacion-fecha,
#fecha_grupo_2 .informacion-fecha,
#fecha_grupo_inicio .informacion-fecha {
    grid-area: info-fecha;
}

#fecha_grupo_1 #informacion_fecha_1_solar,
#fecha_grupo_2 #informacion_fecha_2_solar {
    grid-area: info-solar;
}

#fecha_grupo_1 input,
#fecha_grupo_2 input {
    width: 90%;
}

.frase-completa {
    font-weight: normal;
}

.frase-completa-contenedor {
    color: blue;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    text-align: left;
    border-radius: 10px;
    background-color: #cde9ee;
    border-left: 4px solid #df2020;
}

.frase-completa-contenedor * {
    font-size: 20px;
}

.palabra-contenedor * {
    font-size: 20px;
}

.palabra-resultado.resultado-lupa * {
    font-size: 20px;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: black;
    color: grey;
    padding: 10px;
    position: absolute;
    left: 0;
    right: 0;
}

.footer-credito {
    text-align: center;
}

.footer-logo img {
    width: 90px;
}

.footer-rrss img {
    width: 60px;
    margin: auto 15px auto 15px;
}

footer p {
    font-family: 'Bree Serif', serif;
    font-size: 18px;
}

header {
    background-color: #0097b2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    height: 120px;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    z-index: var(--z-index-header);
    top: 0;
    left: 0;
    transition: all 0.3s ease;
}

#header-y-nav-contenedor {
    align-self: stretch;
}

h4 {
    font-size: 35px;
}

.instrucciones p {
    width: 95%;
    margin: 0 auto;
    line-height: 1.25;
}

.instrucciones-container {
    position: relative;
    text-align: center;
}

.instrucciones-link {
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    text-decoration: underline;
    color: #f9f0de;
    font-weight: bold;
    margin: 10px 0;
    display: inline-block;
    background: transparent;
    padding: 0;
    border-radius: 0;
    font-size: 16px;
}

.instrucciones {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #f9f9f9;
    border: 1px solid #ccc;
    padding: 10px;
    z-index: 10;
    width: 270px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    color: black;
    border-radius: 10px;
    text-align: left;
}

.letras {
    background-image: linear-gradient(90deg, #00161a 0%, #3ea9bb 50%, #00161a 100%);
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    margin: 10px auto 10px auto;
    border: 1px solid black;
}

.letras form {
    flex-grow: 1;
}

.letras textarea {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    font-size: 20px;
    text-align: center;

    border: 1px solid black;
    resize: none;
    overflow: hidden;
    background-color: #f9efdd;
}

.letras textarea::placeholder {
    color: black;
    font-style: italic;
}

.llamada-a-accion {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    letter-spacing: normal;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.llamada-a-accion h3 {
    font-family: 'Montserrat', sans-serif;
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.llamada-a-accion p {
    font-family: 'Montserrat', sans-serif;
    color: white;
}

.llamada-a-accion button {
    border: 1px solid white;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    animation: persiana 3s ease-in-out infinite;
}

.llamada-a-accion button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    transition: height 0.3s ease;
}

.main-content {
    width: 100%;
    max-width: 1200px;
    margin: 140px auto 10px auto;
    flex-grow: 1;
    padding: 0 10px;
    box-sizing: border-box;
}

main section {
    margin-bottom: 0px;
}

#dias-entre-fechas,
#encontrar-fechas {
    scroll-margin-top: 195px;
}

main section:last-child {
    margin-bottom: 0;
}

.mensaje-error-global {
    color: #f05258;
    font-size: 1.8em;
    font-weight: bold;
    margin-top: 10px;
    min-height: 20px;
}

.mensaje-error-campo {
    color: #f05258;
    font-size: 14px;
    font-weight: bold;
    display: block;
    text-align: center;
    margin-top: 8px;
    grid-column: 1 / -1;
}

.menu-calculadoras-de-dias-y-fechas {
    padding: 0;
    background: none;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 100%;
    margin: 40px auto 115px auto;
    position: relative;
}

.menu-calculadoras-de-dias-y-fechas ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.menu-calculadoras-de-dias-y-fechas li {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 4px #d8f7fd;
    background: #5eaab28f;
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-calculadoras-de-dias-y-fechas li:hover {
    background: #81ebfe;
    box-shadow: inset 0 2px 0 #1f272f, inset 0 -2px 0 #d8f7fd;

}

.menu-calculadoras-de-dias-y-fechas a {
    color: #d8f7fd;
    text-shadow: 1px 1px 1px #162230;
    font-size: 22;
    text-decoration: none;
    font-weight: 600;
}

.menu-calculadoras-de-dias-y-fechas a:hover {
    color: #162230;
    text-shadow: 0 1px 0 #5eaab28f;
}



.menu-item-with-submenu {
    position: relative;
}

.menu-item-with-submenu>a {
    position: relative;
    z-index: 10;
}

.menu-item-with-submenu>a::after {
    content: ' ▼';
    font-size: 0.8em;
    margin-left: 5px;
    padding: 5px;
    transition: transform 0.25s ease;
    display: inline-block;
    cursor: pointer;
}

.menu-item-with-submenu.active>a::after {
    transform: rotate(180deg);
    color: black;
}

.imagen_globo {
    width: 50%;
    display: block;
    margin: 0 auto;
}



@media (min-width: 801px) {

    .menu-item-with-submenu:hover .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

}

.menu-toggle {
    display: none;
    justify-self: end;
}

.menu-close {
    display: none;
}

nav {
    display: flex;
    justify-content: center;
    position: fixed;
    top: 120px;
    width: 100%;
    background: #81ebfe;
    z-index: var(--z-index-nav);
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: black;
    text-decoration: none;
    margin: 0 10px 0 10px;
}

.palabra-contenedor {
    color: white;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    background-color: #fafcfc;
    max-width: 100%;
    white-space: nowrap;
    overflow: visible;
    font-size: 20px;
    border-left: 4px solid #df2020;
}

.palabra-resultado.resultado-lupa {
    display: flex;
    margin: 20px 0 0 0;
    padding: 10px;
    border-radius: 10px;
    background-color: #fafcfc !important;
    border-left: 4px solid green;
}

.palabra-suma {
    color: green;
}

.palabra-texto {
    color: #df2020;
}

.palabras-y-sumas {
    display: flex;
    gap: 10px;

    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

.resultado {
    font-size: 14px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px;
}

.resultados-texto-contenedor {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    max-width: 100%;
}

.resultado-y-calculadora-contenedor {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.resultado-dias {
    font-size: 1.8em;
    font-weight: bold;
    text-shadow: 0px 0px 2px #c84646;
}

.seccion_uno {
    text-align: center;
    margin: 10px auto 10px auto;

}

.seccion_principal {
    display: flex;
    flex-direction: column;
}

.seccion_principal p {
    margin-bottom: 10px;
    max-width: 580px;
}

.seccion_principal h4, label {
    text-align: center;
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.campo {
    display: flex;
    flex-direction: column;
    margin: 0 auto 15px auto;
    width: 50%;
}

.campo label {
    margin-bottom: 5px;
    text-align: left;
}

@media (max-width: 768px) {
    .campo {
        width: 100%;
    }
}

.boton_formulario {
    display: block;
    margin: 0 auto;
    background-color: lightgreen;
    padding: 10px;
    font-weight: bold;
    font-size: larger;
    color: black;
    border: none;
}

.boton_formulario:hover {
    background-color: #32cd32;
    cursor: pointer;
    color: white;
}

.precio-sesion-privada {
    font-size: 48px;
    color: #a5d6a7;
    text-align: center;
    font-weight: bold;
    margin: 20px 0;
    text-shadow: 2px 2px 4px black;
}

.contenedor-precios {
    display: flex;
    justify-content: center;
    gap: 51px;
}

.metodo-pago {
    color: #a5d6a7;
    text-align: center;
    font-weight: bold;
    margin: 20px 0;
    text-shadow: 2px 2px 4px black;
    font-size: 24px;
}

.scroll-tab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    background: teal;
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 12px #ffffff80, 0 1px 4px #00808080;
    font-size: 2em;
    cursor: pointer;
    z-index: 70;
    transition: background 0.25s, box-shadow 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-tab:hover {
    background: teal;
    box-shadow: 0 0 16px 2px #ffffff80, 0 2px 8px #80004080;
    outline: none;
}

.scroll-tab:focus {
    background: #008080;
    box-shadow: 0 0 16px 2px #ffffff80, 0 2px 8px #80004080;
    outline: none;
}

.share-btn {

    font-weight: bold;
    font-size: 20px;
    background-color: #f9efdd;
    color: #f05258;
    border: 1px solid #f05258;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    padding: 10px;
}

.share-btn:hover {
    background-color: #f05258;
    color: #f9efdd;
    border: 1px solid #f9efdd;
}

.spinner {
    display: none;
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
}

.spinner.activo {
    display: block;
}

.spinner .dot1,
.spinner .dot2 {
    width: 20px;
    height: 20px;
    background-color: hsl(210 100% 50%);
    border-radius: 100%;
    display: inline-block;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .dot2 {
    animation-delay: -0.7s;
}

.spinner .mensaje-carga {
    margin-top: 10px;
    font-weight: 600;
    color: #595555;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #5eaab24f;
    border-radius: 0 0 10px 10px;
    border: 1px solid #1d2630;
    box-shadow: 0 8px 25px #5eaab28f,
        0 4px 15px #00808080;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: var(--z-index-submenu);
}

.submenu li {
    display: block;
    padding: 0px;
    margin: 10px 0;
   
}

.submenu li a {
    font-family: 'Bree Serif', serif;
    display: block;
    padding: 10px 10px;
    text-decoration: none;
    font-weight: lighter;
    font-size: 16px;
    text-shadow: 0 0px 1px #162230;
    transition: all 0.25s ease;
    border-radius: 10px;
    border: 1px solid #1d2630;
    box-shadow: 0 8px 25px #5eaab28f,
        0 4px 15px #00808080;
        color: #d8f7fd;
         background:#35666bfb !important;
}

.submenu li a:hover {
    color: #162230;
    text-shadow: 0 1px 0 #5eaab28f;
}

.submenu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.tituloHeader {
    font-family: 'Bree Serif';
    font-size: 80px;
    font-weight: 500;
    color: #1cfdf9;
    text-align: center;
    margin: 0;
    flex: 1;
    line-height: 1;
    letter-spacing: 5px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    transition: font-size 0.3s ease;
}

.titulo_uno {

    font-size: 40px;
    color: white;
    text-shadow: 1px 1px 10px black, -1px -1px 10px black, 1px -1px 10px black, -1px 1px 10px black;
    margin: 10px auto 10px auto;

}

.tool-card {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 6px #00000080;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.25s ease;
    flex: 1 1 280px;
    box-sizing: border-box;
}

.tool-card h3 {
    color: hsl(183, 100%, 38%);
    font-size: 20px;
}

.tool-card:hover {
    transform: translateY(-5px);
}

.tool-card img {
    width: 95%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

.tool-card p {
    font-size: 16px;
    flex-grow: 1;
}

.tools-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin: 10px auto 10px auto;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.calculadoras-page span:not(.resultado-dias-span):not(.instrucciones-link) {
    font-weight: bold;
    font-size: 16px;
    background: #dec9b5;
    padding: 10px;
    border-radius: 10px;
}

.resultado-dias-span {
    font-size: 25.2px;
}


main {
    max-width: 700px;
}

#dias-entre-fechas,
#encontrar-fechas {
    border: 2px solid #daa52060;
    margin: 10px 0;
    background: linear-gradient(135deg, #0097b2 0%, #00a8c5 100%);
    color: #f9f0de;
}

#dias-entre-fechas h2,
#encontrar-fechas h2 {
    font-family: 'Bree Serif', serif;
    font-size: 42px;
    text-align: center;
    letter-spacing: 0.05em;
    background: linear-gradient(90deg, #b9436b 0%, #0097b2 50%, #fecb33 100%);
    background-size: 100% 5px;
    background-position: 0 100%;
    background-repeat: no-repeat;

    font-weight: 900;
}

.calculadoras-page main>section {
    padding: 5px;
    border-radius: 10px;
}

.calculadoras-page .resultado {
    text-align: center;
    border: 3px solid;
}

.calculadoras-page .resultado h3 {
    font-size: 20px;
}

.cantidad-dias-grupo {
    background: linear-gradient(145deg, #00a8c5, #007a92);
    border: 1px solid #ffffff40;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px;
}


@font-face {
    font-family: 'Bree Serif';
    src: url('../fonts/BreeSerif-Regular.ttf');
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-VariableFont_wght.ttf');
}

@font-face {
    font-family: 'Noto Sans';
    src: url('../fonts/Noto/NotoSans-VariableFont_wdth,wght.ttf');
}

@font-face {
    font-family: 'Rammetto One';
    src: url('../fonts/RammettoOne-Regular.ttf');
}

@keyframes animacion_brillo_escala {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        text-shadow: 0 0 8px #ff0080;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
        text-shadow: 0 0 16px #ff0080, 0 0 25px #ff0080;
    }
}

@keyframes glow {
    0% {
        box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.3), inset 0 0 10px #d37878;
    }

    100% {
        box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.3), inset 0 0 20px #d37878, inset 0 0 30px #d37878;
    }
}

@keyframes persiana {
    0% {
        background: repeating-linear-gradient(90deg, #d37878, #d37878 5px, #c4665a 5px, #c4665a 10px);
    }
    
    50% {
        background: repeating-linear-gradient(90deg, #a85d5d, #a85d5d 5px, #d37878 5px, #d37878 10px);
    }
    
    100% {
        background: repeating-linear-gradient(90deg, #d37878, #d37878 5px, #c4665a 5px, #c4665a 10px);
    }
}

.footer-logo img {
    font-size: 60px !important;
}

@media (max-width: 1440px) {
    
    .tituloHeader {
        font-size: 70px;
    }
    
    .llamada-a-accion h3 {
        font-size: 18px;
    }
    
    .llamada-a-accion p {
        font-size: 16px;
    }
    
    .llamada-a-accion button {
        font-size: 13px;
        padding: 7px 14px;
    }
    
    .footer-logo img {
        width: 70px;
    }
    
    .footer-rrss img {
        width: 50px;
        margin: auto 15px auto 15px;
    }
    
    footer p {
        font-family: 'Bree Serif', serif;
        font-size: 18px;
    }
    
}

@media (max-width: 1100px) {
    
    .tituloHeader {
        font-size: 58px;
    }
    
    .llamada-a-accion h3 {
        font-size: 17px;
    }
    
    .llamada-a-accion p {
        font-size: 15px;
    }
    
    .llamada-a-accion button {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .footer-logo img {
        width: 80px;
    }
    
    .footer-rrss img {
        width: 50px;
        margin: auto 15px auto 15px;
    }
    
    footer p {
        font-family: 'Bree Serif', serif;
        font-size: 15px;
    }
    
}


@media (max-width: 1024px) {
    .imagen_globo {
        width: 95%;
    }
}

@media (max-width: 800px) {
    
    header {
        height: 90px;
    }
    
    nav {
        top: 90px;
    }
    
    .main-content {
        width: 75%;
    }
    
    .entradas-fechas {
        flex-direction: row;
    }

    header {
        height: 90px;
        justify-content: space-between;
        padding: 10px 15px;
    }

    .tituloHeader {
        font-size: 48px;
        flex: 1;
        text-align: center;
    }

    .llamada-a-accion {
        display: none;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        padding: 5px;
        position: relative;
    }

    .menu-toggle::before {
        content: '☰';
        color: white;
    }

    nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(22, 34, 48, 0.5);
        border-radius: 10px;
        border: 1px solid #1d2630;
        box-shadow: 0 8px 25px #5eaab28f,
            0 4px 15px #00808080;
        z-index: var(--z-index-nav);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        -webkit-backdrop-filter: blur(15px);
        backdrop-filter: blur(15px);
    }

    nav ul {
        position: relative;
        display: flex;
        flex-direction: column;
        list-style: none;
        align-items: center;
        gap: 30px;
        padding: 40px 30px;
    }

    nav.show ul::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            inset 0 -1px 0 rgba(255, 255, 255, 0.05);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        z-index: -1;
    }

    nav li {
        margin: 0;
        width: auto;
    }

    nav.show ul li a {
        font-family: 'Bree Serif', serif;
        display: block;
        padding: 15px 10px;
        text-decoration: none;
        font-weight: lighter;
        font-size: 16px;
        text-shadow: 0 0px 1px #162230;
        transition: all 0.25s ease;
        border-radius: 10px;
        border: 1px solid #1d2630;
        box-shadow: 0 12px 35px #5eaab266,
            0 6px 20px #0080804d,
            0 2px 8px #00000033,
            inset 0 1px 0 #ffffff1a,
            inset 0 -1px 0 #00000025;
        color: #d8f7fd;
        background: #35666bfb !important;
        text-align: center;
    }

    nav ul li a:hover {
        color: #162230;
        text-shadow: 0 1px 0 #5eaab28f;
    }

    nav.show {
        display: flex;
    }

    .menu-close {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
        background: none;
        border: none;
        font-size: 35px;
        color: white;
        cursor: pointer;
    }

    .menu-close::before {
        content: '✕';
    }

    .submenu {
        position: absolute;
        left: 0;
        top: 100%;
        width: 100%;
        min-width: auto;
        transform: none;
        background: #35666b80 !important;
        border-radius: 25px;
        border: 5px solid #1f272f66;
        margin-top: 10px;
        margin-left: 0;
        padding: 15px;
        box-shadow: 0 12px 35px #1f272f,
            0 6px 20px #1f272f33,
            inset 0 1px 0 #5eaab28f,
            inset 0 -1px 0 #1f272f;
        -webkit-backdrop-filter: blur(15px);
        backdrop-filter: blur(15px);
        z-index: 100;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .submenu.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .submenu li {
        margin: 8px 0;
        padding: 0;
    }

    .submenu li a {
        font-family: 'Bree Serif', serif;
        display: block;
        padding: 15px 15px;
        text-decoration: none;
        font-weight: lighter;
        font-size: 14px;
        text-shadow: 0 0px 1px #162230;
        transition: all 0.25s ease;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        color: #d8f7fd;
        background: rgba(53, 102, 107, 0.8);
        text-align: center;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
    }

    .submenu li a:hover {
        color: #162230;
        text-shadow: 0 1px 0 #5eaab28f;
        background: rgba(255, 255, 255, 0.4);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        cursor: pointer;
    }

    .menu-item-with-submenu {
        position: relative;
    }

    .menu-item-with-submenu:hover>a::after {
        color: #d8f7fd;

    }

    .main-content {
        margin-top: 90px;
    }

    .entradas-fechas {
        flex-direction: row;
    }

    .calculadoras-page .scroll-tab {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
        right: 1px;
        bottom: 70px;
    }

    #dias-entre-fechas,
    #encontrar-fechas {
        padding: 0px 10px 10px;
        margin-top: 5px;
        gap: 10px;
    }

    #dias-entre-fechas h2,
    #encontrar-fechas h2 {
        font-size: 40px;
    }

    .menu-calculadoras-de-dias-y-fechas {
        margin: 0 auto 50px auto;
    }

    .menu-calculadoras-de-dias-y-fechas,
    .menu-calculadoras-de-dias-y-fechas ul {
        flex-direction: row;
    }

    nav menu-calculadoras-de-dias-y-fechas  {
        background: none !important;
    }

    .palabra-resultado:hover {
        transform: translateX(3px);
    }

    .calculadora-container:hover {
        transform: translateY(-3px);
    }

}

@media (max-width: 768px) {

    header {
        height: 110px;
    }

    .tituloHeader {
        font-size: 44px;
    }

    .menu-calculadoras-de-dias-y-fechas {
        margin: 120px auto 5px auto;
        border-radius: none;
        box-shadow: none;
        
    }

    .menu-calculadoras-de-dias-y-fechas li {
        padding: 3px;
        border-radius: none;
    }

    .menu-calculadoras-de-dias-y-fechas a {
        font-size: 12px;
        padding: 5px;
        display: block;
        white-space: nowrap;
    }

    .descripcion_uno {
        margin: 0 10px;
    }

    .titulo_uno {
        
        margin: 40px auto 10px auto;
        
    }

    .Aplicacion {
        margin: 120px auto 20px auto;
    }

    .Aplicacion .TituloApp {
        font-size: 28px;
    }

}

@media (max-width: 628px) {

    header {
        height: 85px;
        justify-content: space-between;
        padding: 10px;
    }

    nav {
        top: 85px;
    }

    .tituloHeader {
        font-size: 38px;
    }

    .logo img {
        height: 65px;
    }

    .main-content {
        margin-top: 85px;
    }

    .main-content {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .scroll-tab {
        margin-right: 10px;
        margin-bottom: 55px;
    }

    .seccion_principal {
        border-radius: 10px;
        width: 100%;
        margin-top: 20px;
        padding: 10px;
    }

}

@media (max-width: 600px) {

    .entradas-fechas {
        flex-direction: column;
        align-items: center;
    }

    .fecha-grupo input,
    .cantidad-dias-grupo input {
        width: calc(100% - 20px);
        max-width: 100px;

    }

    .fecha-grupo label {
        align-self: flex-start;
    }

    .fecha-grupo .informacion-fecha {
        text-align: left;
    }

    .fecha-grupo label {
        text-align: left;
    }

    .fecha-grupo input,
    .cantidad-dias-grupo input {
        max-width: 100%;
    }
}

@media (max-width: 768px) {

    .tool-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 425px) {

    .tools-container {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 0;
        gap: 10px;
    }

    .tool-card {
        width: 100%;
        flex: none;
        min-width: 0;
        box-sizing: border-box;
    }

    .main-content {
        padding: 0 5px;
    }
}


@media (max-width: 425px) {

    header {
        height: 80px;
        padding: 10px;
    }

    nav {
        top: 80px;
    }

    .main-content {
        margin: 10px auto;
    }

    .tituloHeader {
        font-size: 32px;
    }

    .logo img {
        height: 60px;
    }

    .main-content {
        margin-top: 80px;
    }



    .menu-calculadoras-de-dias-y-fechas {
        margin: 5px auto 70px auto;
        height: auto;
        padding: 10px 0;
        width: 100%;
        z-index: 90;
    }

    .menu-calculadoras-de-dias-y-fechas ul {
        flex-direction: row;
    }

    .menu-calculadoras-de-dias-y-fechas li {
        font-size: 14px;
        text-align: center;
    }

    .menu-calculadoras-de-dias-y-fechas ul li a {
        font-size: 14px;
        font-weight: 500;
        padding: 5px 10px;
        white-space: nowrap;
    }

    #dias-entre-fechas,
    #encontrar-fechas {
        margin: 10px;
        scroll-margin-top: 65px;
    }

    #dias-entre-fechas h2,
    #encontrar-fechas h2 {
        font-size: 34px;
    } 

    .submenu {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        margin-left: 0;
        margin-top: 8px;
        width: calc(100% - 40px);
        min-width: auto;
        align-self: stretch;
        padding: 8px 10px;
        box-sizing: border-box;
    }

    /* Hide submenu by default on mobile to avoid taking layout space */
    .submenu {
        display: none;
        opacity: 0;
        visibility: hidden;
    }

    /* Reduce vertical padding and spacing of submenu items to fit more items without scrolling */
    .submenu li {
        margin: 6px 0;
    }

    .submenu li a {
        padding: 8px 10px;
        font-size: 14px;
        border-radius: 8px;
    }

    /* Make nav centered and scrollable when mobile menu is open */
    nav.show {
        align-items: center;
        justify-content: center;
        padding-top: 20px;
        padding-bottom: 20px;
        overflow-y: auto;
        max-height: 100vh;
    }

    nav.show ul {
        padding-bottom: 40px;
        max-width: min(420px, 92%);
        margin: 0 auto;
        box-sizing: border-box;
    }

    /* Show submenu when .show is toggled via JS */
    .submenu.show {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .footer-rrss img {
        width: 45px !important;
        margin: auto 8px auto 8px;

    }

    footer p {
        font-size: 13px !important;
        font-weight: 800;

    }

    .palabra-resultado:hover {
        transform: translateX(2px);
    }

    .calculadora-container:hover {
        transform: translateY(-2px);
    }

    .Aplicacion {
        margin: 140px auto 20px auto;
        max-width: 100%;
        padding: 0 10px;
    }

    .Aplicacion .TituloApp {
        font-size: 24px;
    }

    .app-logo {
        max-width: 100%;
        padding: 10px;
    }

    .containerMovilesV2 {
        border: 10px solid transparent;
        width: 100%;
        padding: 0 10px;
    }

    .movilesV2 {
        padding: 20px;
    }

    .Aplicacion input[type="text"] {
        font-size: 18px;
    }

}

    @media (max-width: 375px) {

        header {
            height: 75px;
        }

        nav {
            top: 75px;
        }

        .tituloHeader {
            font-size: 28px;
        }

        .logo img {
            height: 55px;
        }

        .main-content {
            margin-top: 75px;
        }

    .menu-calculadoras-de-dias-y-fechas ul {
        /* margin: 10px 10px 80px 10px; */
        flex-direction: row;
    }

    .menu-calculadoras-de-dias-y-fechas li {
        padding: 2px;
    }

    .menu-calculadoras-de-dias-y-fechas a {
        font-size: 18px;
    }        #dias-entre-fechas h2,
        #encontrar-fechas h2 {
            font-size: 28px !important;
        }

        .letras textarea {
            font-size: 17px;
        }

        #dias-entre-fechas,
        #encontrar-fechas {
            scroll-margin-top: 45px;
        }

        .share-container {
            text-align: center;
            margin-top: 20px;
        }

        .footer-rrss img {
            width: 35px !important;
            margin: 0 auto 3px auto 3px;


        }

        footer p {
            font-size: 12px !important;
            font-weight: bold !important;

        }

        .footer-logo img {
            width: 60px !important;
        }

        .palabra-resultado:hover {
            transform: translateX(1px);
        }

        .calculadora-container:hover {
            transform: translateY(-1px);
        }

    }

        @media (max-width: 350px) {
    
            header {
                height: 65px;
            }
    
            nav {
                top: 65px;
            }
    
            .tituloHeader {
                font-size: 22px;
            }
    
            .logo img {
                height: 45px;
            }
    
            .main-content {
                margin-top: 65px;
            }
    
            .instrucciones-link {
                margin: 5px 0;
            }
    
    
            #dias-entre-fechas>* {
                margin: 5px 0;
            }
    
            .menu-calculadoras-de-dias-y-fechas ul {
                margin: 10px 15px 0px 15px;
                gap: 5px;
            }

            /* Even tighter submenu item spacing for very small screens */
            .submenu li {
                margin: 5px 0;
            }

            .submenu li a {
                padding: 7px 8px;
                font-size: 13px;
            }
    
            .menu-calculadoras-de-dias-y-fechas li {
                padding: 1px;
            }
    
            .menu-calculadoras-de-dias-y-fechas a {
                font-size: 14px;
            }
    
            #dias-entre-fechas h2,
            #encontrar-fechas h2 {
                font-size: 18px;
                margin: 2px 0;
            }
    
            .letras textarea {
                font-size: 15px;
            }
            
            .footer-rrss img {
                width: 32px !important;
                margin: 0 5px;
                
                
            }
            
            footer p {
                font-size: 11px !important;
                font-weight: 400 !important;
                
            }
            
            .footer-logo img {
                width: 60px !important;
            } 
            
            #fecha_grupo_1 h3, #fecha_grupo_2 h3, #fecha_grupo_inicio h3 {
                font-size: 21px;
            }

            .palabra-resultado:hover {
                transform: none;
            }

            .calculadora-container:hover {
                transform: none;
            }
            
        }.informacion-sesion-privada {
            max-width: none !important;
            color: white;
            font-size: large;
        }

        #mensaje_error {
    color: #f05258;
    font-weight: bold;
    font-size: large;
    background: white;
    padding: 10px;
    margin: 10px 0;
    display: none;
}

.campo-vacio {
    border: 3px solid #f05258 !important;
}

/***Aplicación de LETRAS A NÚMEROS***/

.Aplicacion {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 160px auto 20px auto;
}

.app-logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    background: transparent !important;
    padding: 15px;
    border-radius: 10px;
    margin: 0 auto;
    box-sizing: border-box;
}

.Aplicacion .TituloApp {
    width: 100%;
    font-family: 'Bree Serif', serif;
    text-align: center;
    color: #f9f0de;
    font-size: 36px;
    margin-bottom: 20px;
}

.letras textarea {
    width: 100%;
    height: 150px;
    font-size: 20px;
    padding: 10px;
    border-radius: 10px;
    border: 2px solid #daa52060;
    margin-bottom: 10px;
    resize: vertical;
}

.intro {
    font-size: 16px;
    color: #f9f0de;
    text-align: center;
    background-color: #5eaab28f;
    border: 1px solid #81ebfe;
    
}

.Aplicacion .resultado {
    background: linear-gradient(0deg, #4a8692 0%, #4a8692 40%, #1f272f 80%, #00161a 100%);
    border: 1px solid #81ebfe;
    color: #d26056;
    font-size: 16px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.4s ease-in-out;
    justify-content: flex-start;
    position: relative;
    flex-direction: column;
    width: 100%;
    height: max-content;
    padding: 0 !important;
    border-radius: 25px;
    box-shadow: 0px 1px 1px #9ad0d3;
    margin: 10px 0 !important;
    box-sizing: border-box;
}

.intro {
    display: flex;
    justify-content: center;
    gap: 3px;
    align-items: center;
    padding: 5px;
    margin: 20px 10px;
    border-radius: 10px;
}

.resultado {
    display: flex;
    justify-content: center;
    gap: 3px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    height: content;
    padding: 5px;
    margin: 20px 10px;
    border-radius: 10px;
}


.intro img {
    width: 50px;
    height: auto;
    margin: 0 5px;
}

.Aplicacion .resultado-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 10px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #9ad0d380;
}

.Aplicacion .resultado-header img {
    width: 50px;
    height: auto;
} 

.Aplicacion input[type="text"]:hover {
    border-bottom: 4px solid #9ad0d3;
    background-color:#f2fcfc;
    cursor: pointer;
} 

.Aplicacion input[type="text"] {
    width: 100% !important;
    padding: 5px;
    border: 1px solid #28282880;
    border-radius: 25px;
    box-shadow: 0px 1px 1px #9ad0d3;
    color: #363636;
    font-size: 23px;
    text-align: center;
    font-family:'Montserrat', sans-serif;
}

.Aplicacion input[type="text"]::placeholder {
    color: #666666;
    font-size: 20px;
    opacity: 0.7;
    font-style: italic;
    font-family: 'Montserrat', sans-serif;
}

.Aplicacion input[type="text"]:focus {
    border-bottom: 4px solid #9ad0d3;
    outline: none;
    border-color: #9ad0d3;
    box-shadow: 0 0 5px rgba(154, 208, 211, 0.6);
    background-color: #e8f4f8;
    color: #444444;
    font-family: 'Montserrat', sans-serif;
    font-size: 23px;
    font-style: italic;
    text-align: center;
    
}


.Aplicacion label {
    display: inline-block;
    width: 100%;
    color: #e8f4f8;
    margin: 10px;
    margin-top: 20px;
    padding: 3px;
    box-sizing: border-box;
} 

.Aplicacion .btnConvertir {
    margin-top: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
    background-color: #d26056;
    font-weight: bold;
    border-radius: 25px;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
    box-shadow: 0px 1px 5px #9ad0d3;
    
} 

/* Contenedor de cada resultado */
.palabra-resultado {
  display: block;
  width: 100%;
  margin: 5px 0;
  padding: 8px 12px;
  border-radius: 6px;
  background-color: #f2fcfc !important;
  border-left: 4px solid #d26056;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
}

.palabra-resultado:hover {
    border-bottom: 4px solid #9ad0d3;
    box-shadow: 2 2px 8px rgba(154, 208, 211, 0.3);
    transform: translateX(5px);
}.palabra-resultado {
    transition: transform 0.3s ease;
}

/* Palabra en mayúsculas */
.palabra-texto {
    color: #d26056;
    font-size: 19px;
    letter-spacing: 1px;
}

/* Valores numéricos entre corchetes */
.palabra-valores {
    color: #2980b9;
    font-family: monospace;
    margin: 0 5px;
    font-size: 19px;
}

/* Resultado de la suma */
.palabra-suma {
    color: #35843a;
    font-weight: bold;
    margin-left: 5px;
    font-size: 19px;
}

/* Estilo para la última palabra con el total general */
.palabra-resultado:last-of-type {
    margin-top: 20px;
    border-left: 4px solid #35843a;
    background-color: #fafcfc !important;
}

.Aplicacion .btnConvertir #btnConvertir{
    color: #fafcfc;
    font-weight: bold;
    font-size: 16px !important;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    text-align: center;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.4s ease-in-out;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 2px #162230; 
}

.Aplicacion .btnConvertir:hover {
    background-color: #ffbb62;
    box-shadow: 0px 1px 5px #9ad0d3;
}

.Aplicacion .btnConvertir a {
    color: #cccc;
}

.Aplicacion #btnConvertir a {
    width: 100%;
    margin-top: 0;
    font-size: 60px;
    color: #35843a;
} 

.Aplicacion .Conversion {
    width: calc(100% - 20px) !important;
    height: max-content;
    overflow-y: auto;
    overflow-x: hidden;
    background: transparent;
    padding: 0 !important;
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin: 10px !important;
    box-sizing: border-box;
    color: #d26056;
    font-size: 14px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tituloConversion {
    font-size: 16px;
    color: #f9f0de;
    margin-top: 40px;
}

.Aplicacion .btnConvertir a#btnConvertir {
    font-size: 20px !important;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 2px 2px 2px #28282880;
    letter-spacing: 1.5px;
    
}

.Aplicacion .btnConvertir a#btnConvertir:hover {
    transform: scale(1.05);
    /* Efecto de agrandar al pasar el cursor */
    text-shadow: 3px 3px 3px #28282880;
    
}

.containerMovilesV2 {
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    margin: 20px auto;
    box-sizing: border-box;
}

.movilesV2 {
    width: 100%;
    background-color: #f2f2f2;
    border: 2px solid #ffffff;  /* Borde blanco para contraste con el body oscuro */
    border-radius: 5px;
    margin: 0;
    justify-content: center;
    padding: 35px;
    color: #333333;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2), 0 2px 6px rgba(0, 0, 0, 0.3);  /* Sombra clara para resaltar + sutil oscura para profundidad */
}

.elegant-separator {
    border: 0;
    height: 10px;
    background: linear-gradient(to left, #f0f0f0, #8c8c8c, #f0f0f0);
    margin: 20px 0;
}

.Aplicacion .resultado-header .share-icon {
    position: static;
    background: #f2fcfc;
    border: none;
    color: #d26056;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.Aplicacion .resultado-header .share-icon i,
.Aplicacion .resultado-header .share-icon i.fas,
.Aplicacion .resultado-header .share-icon i.fa-share-alt {
    font-size: 28px !important;
    line-height: 1;
}

.Aplicacion .resultado-header .share-icon:hover {
    background: none;
    transform: scale(1.1);
    color: #f2fcfc;
}

.seccion_beneficios {
    background: linear-gradient(135deg, #9ad0d3 0%, #008080 100%);
    color: #fcfcfc;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(154, 208, 211, 0.3);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
}

.seccion_beneficios h2 {
    font-family: 'Helvetica', sans-serif;
    text-shadow: #9ad0d380 0px 0px 8px;
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.8em;
    padding-right: 170px;
}

.seccion_beneficios ul {
    list-style: none;
    padding: 0;
    padding-right: 170px;
}

.seccion_beneficios li {
    margin: 10px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

@media (max-width: 425px) {
    .seccion_beneficios {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }
    
    .seccion_beneficios img {
        position: static !important;
        width: 100%;
        height: auto;
        margin-bottom: 15px;
        border: 4px solid #008080;
        border-radius: 15px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    }
    
    .seccion_beneficios h2 {
        padding-right: 0;
        margin-bottom: 10px;
        font-size: 1.5em ;
    }

    .seccion_beneficios ul {
        padding-right: 0;
        text-align: left;
        width: 100%;
    }
    
    footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 15px;
    }
    
    .footer-credito {
        text-align: center;
        order: 3;
    }
    
    .footer-logo {
        order: 1;
    }
    
    .footer-rrss {
        order: 2;
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .logo img {
        height: 80px;
    }
}





.fila_imagen {
    border: 4px solid #008080;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    display: block;
    width: 100%;
    margin: 20px 0;
}

.icono_sesion {
    width: 310px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 10px;
}

.imagen_mapa {
    width: 150px;
    height: auto;
    position: absolute;
    top: 20px;
    right: 20px;
    border: 4px solid #008080;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.color-rojo {
    color: #df4b4b;
}

.youtube-videos {
    color: white;
}

.youtube-videos a:link {
    color: white;
}

.youtube-videos a:visited {
    color: lightgray;
}

.youtube-videos {
    text-align: center;
}

.videos-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}


.enlace-descarga {
    text-decoration: none;
    color: inherit;
    text-align: center;
    font-size: 22px !important;
}


.titulo-descarga {
    cursor: pointer;
}


.imagen-tabla-periodica {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    margin: 20px 0;
}


.boton-descarga-tabla {
    display: inline-block;
    margin-top: 10px;
}

.directorio-lgc .tool-card {
    max-width: 320px;
}

.directorio-lgc .titulo-seccion {
    color: white;
    text-align: center;
    font-size: 2rem;
    margin: 2rem 0;
}

.directorio-lgc .titulo-seccion-segunda {
    color: white;
    text-align: center;
    font-size: 2rem;
    margin: 3rem 0 2rem 0;
}

.directorio-lgc .enlaces-referente {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.directorio-lgc .enlaces-referente li {
    margin: 0.5rem 0;
}

.directorio-lgc .enlaces-referente a {
    color: #4a90e2;
}
