/* Estilos generales para el cuerpo del HTML */
body {
    overflow-x: hidden;
    font-family: 'Noto Sans', sans-serif;
    /* overflow-y: hidden; */
}

/* Estilos para el Div principal con la imagen de fondo */
.main-background-div {
    background-size: cover;
    background-position: center 0;
    width: 100vw;
    height: 100vh;
    position: relative;
    left: -0.7vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 2vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Tooltip para los enlaces de navegación */
.nav-tooltip {
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.nav-tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 120%;
    top: 50%;
    transform: translateY(-50%);
    background: #222;
    color: #fff;
    padding: 0.375em 0.875em;
    border-radius: 0.375em;
    white-space: nowrap;
    z-index: 1000;
    font-size: 0.95em;
    margin-left: 0.625em;
    opacity: 1;
    pointer-events: none;
    box-shadow: 0 0.125em 0.5em rgba(0,0,0,0.15);
    transition: opacity 0.2s;
}

.nav-tooltip::after {
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.nav-tooltip.text-center {
    display: block;
    text-align: center;
}

.nav-tooltip,
.nav-tooltip:visited,
.nav-tooltip:active,
.nav-tooltip:hover {
    text-decoration: none;
}

.nav-Text {
    text-align: left;
    margin-left: 0.625em;
    margin-bottom: 2em;
    font-size: clamp(0.8rem, 1.2vw, 1.3rem); /* escala fluida */
}

/* Estilos para el título principal */
.sio-title {
    font-size: 3.5rem;
    margin-bottom: 1.25em;
    margin-top: 20vw;
    padding-left: 2.5vw;
}

/* Estilos para el párrafo principal */
.sio-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.25em;
    padding-left: 2.5vw;
    text-align: justify;
}

/* Estilos para la caja de información azul */
.blue-info-box {
    padding: 2vw;
    margin-top: 3vw;
}

/* Estilos para el H2 dentro de la caja azul */
.blue-info-h2 {
    font-size: 2rem;
    margin-bottom: 1.25em;
}

/* Estilos para los enlaces dentro de la caja azul */
.blue-info-link {
    font-size: 1.1rem;
}

/* Estilos para los párrafos dentro de la caja azul */
.blue-info-p {
    font-size: 1rem;
    margin-bottom: 0.625em;
}

.miGauge {
    text-align: right;
    width: 100%;
}

/* --- Media Queries para Responsividad --- */

/* Pantallas grandes (1081px - 1550px) */
@media (min-width: 67.56em) and (max-width: 96.88em) {
    .sio-title {
        font-size: 2.8rem;
        margin-top: 90vh;
    }
    .sio-text {
        font-size: 1.1rem;
    }
    .blue-info-h2 {
        font-size: 1.8rem;
    }
    .blue-info-link {
        font-size: 1.05rem;
    }
}

/* Pantallas medianas (651px - 1080px) */
@media (min-width: 40.69em) and (max-width: 67.5em) {
    .sio-title {
        font-size: 2.8rem;
        margin-top: 60vh;
    }
    .sio-text {
        font-size: 1.1rem;
    }
    .blue-info-h2 {
        font-size: 1.8rem;
    }
    .blue-info-link {
        font-size: 1.05rem;
    }
}


/* Pantallas pequeñas (551px - 650px) */
@media (min-width: 34.44em) and (max-width: 40.63em) {
    .main-background-div {
        height: auto;
        min-height: 100vh;
        padding: 2.5vw;
        margin-top: 15vw;
    }
    .sio-title {
        font-size: 2.2rem;
        margin-top: 60vh;
    }
    .sio-text {
        font-size: 1rem;
    }
    .blue-info-h2 {
        font-size: 1.6rem;
    }
    .blue-info-link {
        font-size: 1rem;
    }
    .blue-info-p {
        font-size: 0.95rem;
    }
}

/* Pantallas extra-pequeñas (hasta 550px) */
@media (max-width: 34.38em) {
    .main-background-div {
        height: auto;
        min-height: 100vh;
        padding: 2.5vw;
        margin-top: 28vw;
    }
    .sio-title {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 0.625em;
        margin-top: 15vw;
    }
    .sio-text {
        font-size: 0.9rem;
        text-align: justify;
        margin-bottom: 0.625em;
    }
    .blue-info-box {
        padding: 1vw;
        margin-top: 2vw;
    }
    .blue-info-h2 {
        font-size: 1.3rem;
        text-align: center;
        margin-bottom: 0.625em;
    }
    .blue-info-link {
        font-size: 0.9rem;
    }
    .blue-info-p {
        font-size: 0.85rem;
    }
    .d-block.mt-4.mb-5 {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 1.25em;
        margin-bottom: 1.25em;
    }
}

/* Media queries para escalar automáticamente la imagen de actualidad */
.img-actualidad {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  width: clamp(60px, 13vw, 260px); /* escalado fluido con límites */
  height: auto;
  z-index: 10;
}

/* @media (min-width: 90.63em) {
    img.fixed-bottom.bottom {
        width: 15vw;
        height: auto;
    }
}
@media (max-width: 74.94em) {
    img.fixed-bottom.bottom {
        width: 12vw;
        height: auto;
    }
}
@media (max-width: 62.5em) {
    img.fixed-bottom.bottom {
        width: 10vw;
        height: auto;
    }
}
@media (max-width: 35.5em) {
    img.fixed-bottom.bottom {
        width: 8vw;
        height: auto;
    }
}
@media (max-width: 25em) {
    img.fixed-bottom.bottom {
        display: none;
    }
} */
/* @media (max-height: 31.25em) {
    img.fixed-bottom.bottom {
        display: none;
    }
} */
