body {
    margin: 0;
    overflow: hidden;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}

.boton-info {
    color: #418fde;
    font-size: 0.75em;
}

.map-container {
    position: fixed;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: calc(100%);
}

#map-canvas {
    flex: 1;
    width: 100%;
}

.overlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    z-index: 1000;
    pointer-events: none;
}

.overlay.top {
    top: 0.5em;
    left: 50%;
    transform: translateX(-50%);
}

.overlay.bottom {
    bottom: 0.5em;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    padding: 0.3em;
}

.overlay.top-right {
    top: 0.5em;
    right: 0.5em;
    transform: none;
}

.square {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: .5em;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    background-color: #ffffff;
    color: #171717;
    pointer-events: auto;
}

.square .titulo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

a.square {
    text-decoration: none;
}

a:active.square {
    filter: invert();
}

.square,
.subtitulo {
    font-size: 14px;
    line-height: 1.2;
}

.leaflet-image-layer,
img {
    image-rendering: pixelated;
}

#frame-slider {
    width: 100%;
}

#show-about-phone {
    visibility: hidden;
}

/* ocultar titulo tanto el celular vertical y horizontal */

@media (max-width: 768px),
(max-height: 600px) {
    .overlay.top {
        animation: ocultar 10s forwards;
    }

    #show-about-phone {
        visibility: visible;
    }

    @keyframes ocultar {
        0% {
            opacity: 1;
        }

        90% {
            opacity: 1;
        }

        100% {
            opacity: 0;
            visibility: hidden;
        }
    }
}

/* letra mas chica en el slider */

@media (max-device-width: 768px) {
    .titulo {
        font-size: 0.9em;
    }

}

/* mover slider a la derecha en telefono horizontal y letra mucho maas chica */

@media (max-device-height: 600px) {
    .overlay.bottom {
        width: auto;
        right: 0.5em;
        transform: none;
    }

    .overlay.bottom .subtitulo {
        font-size: 0.5em;
    }
}