@font-face {
    font-family: 'OpenDyslexic';
    src: url('../fonts/OpenDyslexic-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OpenDyslexic';
    src: url('../fonts/OpenDyslexic-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'OpenDyslexic';
    src: url('fonts/OpenDyslexic-Italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'OpenDyslexic';
    src: url('fonts/OpenDyslexic-BoldItalic.otf') format('opentype');
    font-weight: bold;
    font-style: italic;
}



/*boton*/
.boton_accesibilidad {
    position: fixed;
    right: 14px;
    bottom: 14px;
    border-radius: 100%;
    box-shadow: 1px 1px 5px 2px rgb(0 0 0 / .2);
    background-color: #fff;
    transition: background-color 0.2s, bottom 0.4s ease;
    padding: 0;
    margin: 0;
    border: none;
    height: 48px;
    width: 48px;
    z-index: 90;
}

.boton_accesibilidad>svg {
    width: 50px;
    height: 50px;
    position: absolute;
    top: -1px;
    left: -1px;
}

.boton_accesibilidad>svg>path {
    fill: #009aae;
}

.boton_accesibilidad:hover>svg>path {
    fill: #00aec3;
}

/*panel*/
.panel_accesibilidad {
    overflow: auto;
    position: fixed;
    right: -1px;
    bottom: 70px;
    border-radius: 4px;
    background-color: #dfdfdfeb;
    backdrop-filter: blur(15px);
    transition-property: transform;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: 300ms;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -1px rgb(0 0 0 / .06);
    transform: translate(100%, 0);
    width: fit-content;
    height: min-content;
    max-height: calc(100% - 75px - 50px);
    z-index: 100;
}

.panel_accesibilidad.visible {
    transform: translate(0, 0);
}

.accesibilidad_header {
    display: flex;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 14px;
    padding-right: 14px;
    justify-content: space-between;
    color: #fff;
    background: linear-gradient(270deg, #00acc0, #dc198a);
}

.accesibilidad_header p {
    font-weight: 600;
    font-size: 24px;
    margin: 0.5em 0;
}

.accesibilidad_close_button {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    background-color: transparent;
    border: none;
    padding: 0;
    align-self: center;
    cursor: pointer;
}

.buttons_container {
    display: grid;
    padding: 16px 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 9px;
}

.buttons_container button, .boton_reset {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background-color: #f9fafb;
    padding: 16px 8px;
    border: solid 1px #f9fafb;
    font-weight: 700;
    position: relative;
    box-sizing: border-box;
    font-family: inherit;
}

.buttons_container button:hover, .boton_reset:hover {
    background-color: #e5e7eb;
    border-color: #009aae;
}

.buttons_container button.active, .boton_reset.active {
    background-color: #e1e3e6;
    border-color: #009aae;
}

.buttons_container button.active:hover, .boton_reset.active:hover {
    background-color: #cae7ea;
}

.buttons_container button svg, .boton_reset svg {
    width: 24px;
    height: 24px;
}

.boton_reset{
    margin: 0px 0px 14px 20px;
    flex-direction: row;
    padding: 8px 14px;
}

.boton_reset svg{
    margin-left: 6px;
}

/*funcionalidad cursor grande solo si el ancho es mas de 800px*/
@media (min-width: 800px) {
    body:has(.cursor_grande), body:has(.cursor_grande) div, body:has(.cursor_grande) button, body:has(.cursor_grande) a, body:has(.cursor_grande) img, body:has(.cursor_grande) input, body:has(.cursor_grande) textarea, body:has(.cursor_grande) select, body:has(.cursor_grande) video, body:has(.cursor_grande) audio, body:has(.cursor_grande) iframe, body:has(.cursor_grande) canvas, body:has(.cursor_grande) svg, body:has(.cursor_grande) table, body:has(.cursor_grande) form, body:has(.cursor_grande) label, body:has(.cursor_grande) p, body:has(.cursor_grande) h1, body:has(.cursor_grande) h2, body:has(.cursor_grande) h3, body:has(.cursor_grande) h4, body:has(.cursor_grande) h5, body:has(.cursor_grande) h6, body:has(.cursor_grande) span{
        cursor: url('../images/bigCursor.svg'), auto !important;
    }

    .guideline{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 0.5rem;
        background-color: black;
        pointer-events: none;
        z-index: 999;
    }
}

@media (max-width: 800px) {
    button.boton_cursor{
        display: none;
    }
}

/*funcionalidad gran texto*/
.boton_grantexto::after{
    content: attr(level);
    position: absolute;
    bottom: 0px;    
    font-size: 16px;
    font-weight: 900;
    left: 52%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

/*funcionalidad boton imagenes*/

.ocultar_imagenes img {
    display: none !important;
}
.ocultar_imagenes *{
    background-image: none !important;
}

/*funcionalidad detener animaciones*/

.detener_animaciones * {
    animation-play-state: paused !important;
    transition: none !important;
    transform: none !important;
    animation: none !important;
}

/*generales*/

.ocultar_imagenes a, .dislexia a, .texto_grande_3 a, .texto_grande_2 a, .texto_grande_1 a, .texto_grande_4 a{
    overflow-wrap: break-word;
}