html {
    scroll-behavior: smooth;
}

/* --------------------------------------------------------------
# Text
-------------------------------------------------------------- */
p {
    margin-bottom: 0;
}

h2 {
    font-size: clamp(1.35rem, 1.0667rem + 1.4167vw, 2.2rem);
    line-height: 110%;
    text-wrap: balance;
    filter: drop-shadow(0 0 10px #000000);
}

h3 {
    font-size: clamp(1.1rem, 0.85rem + 1.25vw, 1.85rem);
}

h4 {
    font-size: clamp(1rem, 0.75rem + 1.25vw, 1.75rem);
    max-width: 40ch;
}

.lead {
    font-size: clamp(1rem, 0.8rem + 1vw, 1.6rem);
    line-height: 120%;
}

th,
td {
    font-size: clamp(0.85rem, 0.75rem + 0.5vw, 1.15rem);
}

a {
    text-decoration: none;
}

/* --------------------------------------------------------------
# Menú
-------------------------------------------------------------- */
.nav-link {
    font-family: 'ITC Officina Sans Std';
    margin-left: .2rem;
    color: #80686f !important;
    text-transform: uppercase;
}

.hvr-underline-from-left {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    overflow: hidden;
}

.hvr-underline-from-left:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 100%;
    bottom: 0;
    background: #FB4F14;
    height: 1px;
    -webkit-transition-property: right;
    transition-property: right;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.hvr-underline-from-left:hover:before,
.hvr-underline-from-left:focus:before,
.hvr-underline-from-left:active:before {
    right: 0;
}

/* --------------------------------------------------------------
# Dropcap
-------------------------------------------------------------- */
.dropcap {
    background: none repeat scroll 0 0;
    border: 1px solid;
    display: inline-block;
    float: left;
    font-family: "Neutra Display Titling", sans-serif;
    color: #981E32;
    height: 40px;
    line-height: 40px;
    margin: 8px 20px 0 0;
    text-align: center;
    width: 40px;
}

.dropcap.dropcap-large {
    font-size: 44px;
    height: 60px;
    line-height: 60px;
    width: 60px;
    margin-top: -3px;
}

/* --------------------------------------------------------------
# Hero
-------------------------------------------------------------- */
hero-button {
    font-family: 'Neutra Display Titling';
}

hero-lead {
    font-family: 'ITC Officina Sans Std';
}

hero-button {
    font-family: 'Neutra Display Titling' !important;
    font-size: 0px;
}

.navbar h1 {
    font-size: 16px;
    font-family: 'Neutra Display Titling';
}

@media (min-width: 576px) {
    .navbar h1 {
        font-size: 20px;
    }
}

/* --------------------------------------------------------------
# Animated-underline
-------------------------------------------------------------- */
.animated-underline {
    position: relative;
    display: block;
}

.animated-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background-color: #981E32;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s ease-in-out;
}

.animated-underline.animate::after {
    transform: scaleX(1);
}

h3 span.unidades-cifras {
    font-family: 'ITC Officina Sans Std';
    font-size: 0.7em;
}

.dropdown-item {
    font-family: 'ITC Officina Sans Std';
    font-size: 1rem;
    color: #b29fa4;
}

/* --------------------------------------------------------------
# Proyectos-iconos
-------------------------------------------------------------- */
/* .proyectos {
} */
.proyectos .myPath {
    fill: #FB4F14;
    transition: fill 0.3s ease;
}

.proyectos:hover .myPath {
    fill: white;
}

.proyectos .arrow-proyectos {
    fill: #981e32;
    right: 20px;
    bottom: 5px;
    transition: all 0.3s ease;
}

.arrow-proyectos {
    fill: #b29fa4;
    right: 10px;
}

.proyectos:hover .arrow-proyectos {
    fill: white;
    right: 10px;
}

.proyectos:hover {
    border-color: white !important;
    text-align: left;
    text-transform: none;
    color: white;
}

.proyectos h4 {
    transition: all 0.3s ease;
}

.proyectos:hover h4 {
    color: white;
}

.background_animation {
    position: relative;
}

.background_animation:before {
    content: "";
    width: 100%;
    height: 80%;
    background-color: #B29FA440;
    display: inline-block;
    position: absolute;
    z-index: -1;
    bottom: 0;
}

.my-h3 {
    font-size: clamp(1.1rem, 0.8833rem + 1.0833vw, 1.75rem);
}

th span {
    font-family: 'ITC Officina Sans Std';
    font-size: 0.8rem;
    color: #B29FA4;
}

.logo {
    font-size: 1.1rem;
    height: 40px;
    display: flex;
    align-items: center;
    margin: 0;
    padding-left: clamp(0.625rem, -0.4167rem + 5.2083vw, 3.75rem);
    padding-top: 5px;
    z-index: 1;
    position: fixed;
}

.fondo-logo {
    position: fixed;
    width: 100%;
    height: 40px;
    z-index: 2;
}

.list-group-FM {
    font-family: 'Neutra Display Titling';
    line-height: 110%;
}

.list-group-item:hover {
    color: #ffffff;
}

.list-group-item:hover {
    color: #ffffff;
}

.list-group-item {
    background-color: rgba(0, 0, 0, 0);
    color: var(--bs-secondary);
    transition: color .3s ease-in-out;
}

.list-group-item-FM:hover {
    color: var(--bs-white);
}

.list-group-item-SUB {
    font-size: .8REM;
}

.button {
    position: fixed;
    right: 0;
    font-family: 'Neutra Display Titling';
    z-index: 3;
    bottom: 0;
}

@media (min-width: 576px) {
    .button {
        top: 0;
        right: 0;
        bottom: initial;
    }
}

/* --------------------------------------------------------------
# Offcanvas
-------------------------------------------------------------- */
.offcanvas {
    max-width: 80%;
}

/* --------------------------------------------------------------
# Botón Contenidos
-------------------------------------------------------------- */
.btn:focus-visible {
    box-shadow: none;
}

/* --------------------------------------------------------------
# Áreas de actuación
-------------------------------------------------------------- */
.list-group-item.title {
    font-family: 'Neutra Display Titling';
    font-size: clamp(1rem, 0.9167rem + 0.4167vw, 1.25rem);
}

/* --------------------------------------------------------------
# Subcontenidos
-------------------------------------------------------------- */
.subcontenidos {
    padding: 3px 0px 1px 10px;
    font-family: 'Neutra Display Titling';
    font-size: 0.7rem;
    background-color: #fb4f14;
    transition: background-color 0.3s ease;
}

.subcontenidos:hover {
    background-color: #981E32 !important;
}

.subcontenidos svg {
    bottom: 0;
    transition: bottom 0.3s ease;
}

.subcontenidos:hover svg {
    bottom: 5px;
}

.millones {
    font-family: 'Neutra Display Titling';
    font-size: clamp(0.85rem, 0.75rem + 0.5vw, 1.15rem);
}

/* --------------------------------------------------------------
# Progess-bar
-------------------------------------------------------------- */
.progress {
    display: flex;
    height: 1rem;
    overflow: hidden;
    font-size: .75rem;
    background-color: #e9ecef;
    border-radius: .25rem;
}

.progress {
    overflow: visible;
    height: 5px;
    position: relative;
    border-radius: 10px;
    width: 100%;
}

.progress .progress-title {
    position: absolute;
    top: -22px;
}

.progress .progress-bar {
    position: relative;
    overflow: visible;
    border-radius: 10px;
}

.progress .progress-bar span {
    position: absolute;
    top: -30px;
    right: 0;
    opacity: 0;
}

.progress .progress-bar.appear span {
    opacity: 1;
}

.progress-bar-percent {
    position: absolute;
    top: -12px;
    right: -39px;
}

/* progress bar style 01 */
.progress-step-style-01.progress {
    width: 85%;
}

/* progress bar */
.progress {
    overflow: visible;
    height: 5px;
    position: relative;
    border-radius: 10px;
    width: 100%;
}

.progress .progress-title {
    position: absolute;
    top: -22px;
}

.progress .progress-bar {
    position: relative;
    overflow: visible;
    border-radius: 10px;
}

.progress .progress-bar span {
    position: absolute;
    top: -30px;
    right: 0;
    opacity: 0;
}

.progress .progress-bar.appear span {
    opacity: 1;
}

.progress-bar-percent {
    position: absolute;
    top: -12px;
    right: -39px;
}

/* progress bar style 01 */
.progress-step-style-01.progress {
    width: 85%;
}

.bg-extra-dark-gray {
    background-color: #1c1c1c;
}

.bg-transparent-black-very-light {
    background-color: rgba(0, 0, 0, 0.15) !important;
}

.margin-55px-bottom {
    margin-bottom: 55px;
}

/* progress bar */
.progress {
    overflow: visible;
    height: 5px;
    position: relative;
    width: 100%;
}

.progress .progress-title {
    position: absolute;
    top: -22px;
}

.progress .progress-bar {
    position: relative;
    overflow: visible;
    border-radius: 10px;
}

.progress .progress-bar span {
    position: absolute;
    top: -30px;
    right: 0;
    opacity: 0;
}

.progress .progress-bar.appear span {
    opacity: 1;
}

.progress-bar-percent {
    position: absolute;
    top: -12px;
    right: -39px;
}

/* progress bar style 01 */
.progress-step-style-01.progress {
    width: 85%;
}

.cursor {
    cursor: default !important;
}

.separata {
    font-family: 'Neutra Display Titling';
    color: #ffffff;
    min-height: 300px;
}

@media (min-width: 576px) {
    .separata {
        min-height: 350px;
    }
}

.separata:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #FB4F14;
    opacity: 1;
    mix-blend-mode: multiply;

    /* background: linear-gradient(0deg, rgba(252, 94, 40, 255) 26%, rgb(255, 255, 255) 100%) */
}

.proyectos-image {
    fill-rule: evenodd;
    clip-rule: evenodd;
    stroke-linejoin: round;
    stroke-miterlimit: 2;
}

/* --------------------------------------------------------------
# Botón cambio idioma
-------------------------------------------------------------- */
.my-content-button {
    transition: .3s ease all;
    vertical-align: middle;
    display: inline-block;
}

.my-content-button:hover {
    background-color: var(--bs-secondary) !important;
    border-top: 0;
    border-bottom: 0;
}

.offcanvas-backdrop {
    background-color: transparent !important;
}

.proyecto_ejemplo {
    font-family: 'Neutra Display Titling';
    font-size: 0.7rem;
}

.button_ejemplos {
    color: #b29fa4;
}

.button_ejemplos:hover {
    color: #fb4f14 !important;
    border-color: #fb4f14 !important;
}

.button_ejemplos:hover .arrow {
    transform: translateX(6px);
    transition: .3s ease all;
}

.button_ejemplos_css {
    display: inline-flex;
    line-height: 1;
    padding: 0.5rem 1rem;
    color: #b29fa4;
    font-family: 'Neutra Display Titling';
    border: 1px solid #b29fa4;
    font-size: 1rem;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background-color: #ffffff;
}

.button_ejemplos_css:hover {
    color: #fb4f14;
    border-color: #fb4f14;
}

.button_ejemplos_css:hover .arrow {
    transform: translateX(6px);
    transition: .3s ease all;
    color: #fb4f14;
}

.background_epigrafes {
    background-image: linear-gradient(0deg, rgba(178, 159, 164, 0.2) 0%, rgba(0, 0, 0, 0) 48%);
}

/* --------------------------------------------------------------
# Flecha hacia arriba en APLICACIONES
-------------------------------------------------------------- */
.subcontenidos > span {
    transition: transform 300ms ease;
    transform: translateY(2px);
    background-color: transparent;
    font-size: 0.75rem;
}

.subcontenidos:hover > span {
    transform: translateY(-2px);
}

/* --------------------------------------------------------------
# Evitar que se vea (teléfonos Xiaomi)
-------------------------------------------------------------- */
.wow {
    visibility: hidden;
}

.no-flash {
    opacity: 0;
    display: inline-block;
}

@keyframes slideInLeftFix {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate__slideInLeftFix {
    animation-name: slideInLeftFix;
}

