﻿.responsive-table {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.button-image {
    display: inline-block;
    /*border: 2px solid #94c7ec;
            padding: 20px;
            background-color: #94c7ec;*/
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .button-image:hover {
        background-color: #94c7ec;
    }

    .button-image img {
        margin: auto;
    }

.transparent-table {
    border: none;
    background-color: transparent;
    width: 100%;
}

@media (min-width: 768px) {
    .transparent-table {
        width: 50%;
    }
}

.bounce-left {
    animation: bounceInLeft 2s;
}

.bounce-out {
    animation: bounceOutRight 2s;
}

.vertical.carousel .carousel-control {
    bottom: auto;
    width: 100%;
    height: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));
    background: -moz-linear-gradient(top, rgba(0,0,0,0.5) 0, rgba(0,0,0,0) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0) 100%);
}

.vertical.carousel {
    max-height: 95vh;
    width: auto;
}

    .vertical.carousel .carousel-control.right {
        top: auto;
        bottom: 0;
        background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.5)));
        background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    }

    .vertical.carousel .carousel-control .glyphicon {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }

    .vertical.carousel .carousel-indicators {
        bottom: auto;
        top: 50%;
        left: auto;
        right: 10px;
        width: 14px;
        margin: 0;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    .vertical.carousel .carousel-inner {
        aspect-ratio: 1 / 1;
        max-height: 95vh;
        width: auto;
        margin: auto;
    }

        .vertical.carousel .carousel-inner > .item {
            left: 0;
            top: 0;
            max-height: 95vh;
            width: auto;
            aspect-ratio: 1 / 1;
            margin: auto;
        }

            .vertical.carousel .carousel-inner > .item > img {
                /*width: 100%;*/
                /*max-height: 95vh;
               display: block;
               margin: auto;*/
            }

            .vertical.carousel .carousel-inner > .item.next,
            .vertical.carousel .carousel-inner > .item.active.right {
                -webkit-transform: translate3d(0, 100%, 0);
                transform: translate3d(0, 100%, 0);
                top: 0;
            }

            .vertical.carousel .carousel-inner > .item.prev,
            .vertical.carousel .carousel-inner > .item.active.left {
                -webkit-transform: translate3d(0, -100%, 0);
                transform: translate3d(0, -100%, 0);
                top: 0;
            }

                .vertical.carousel .carousel-inner > .item.next.left,
                .vertical.carousel .carousel-inner > .item.prev.right,
                .vertical.carousel .carousel-inner > .item.active {
                    -webkit-transform: translate3d(0, 0, 0);
                    transform: translate3d(0, 0, 0);
                    top: 0;
                }

        .vertical.carousel .carousel-inner > .active,
        .vertical.carousel .carousel-inner > .next.left,
        .vertical.carousel .carousel-inner .prev.right {
            top: 0;
        }

            .vertical.carousel .carousel-inner > .next,
            .vertical.carousel .carousel-inner > .active.right {
                top: 100%;
                left: 0;
            }

            .vertical.carousel .carousel-inner > .prev,
            .vertical.carousel .carousel-inner > .active.left {
                top: -100%;
                left: 0;
            }

.vertically-centered {
    position: relative;
    left: 0%;
    right: 0%;
    top: 25%;
    /*-ms-transform: translateY(-50%);*/
    /*transform: translateY(-50%);*/
}

.number-counter {
    display: inline-block;
}
/*.text-item-center {
            position: absolute;
            font-size: 2.5vh;
            color: white;
            text-align: center;
            margin: auto;
            width: 75%;
            margin-left: 12.5%;
            margin-right: 12.5%;
        }

        .text-item-left {
            position: absolute;
            font-size: 2.5vh;
            color: white;
        }*/

/* ellipse */
.ellipse {
    background-color: rgba(255,255,0,.5);
    border: 5px solid transparent;
    position: absolute;
    justify-content: center;
    height: 40%;
    width: 100%;
    border-radius: 50%;
    bottom: 10%;
    left: 0%;
    box-sizing: border-box;
    stroke-dasharray: 1130;
    stroke-dashoffset: 1130;
    z-index: 1;
}

    .ellipse::before {
        content: '';
        justify-content: center;
        height: 100%;
        width: 100%;
        border-radius: 50%;
        top: 0%;
        left: 0%;
        position: absolute;
        border: 3px solid #ff0;
        animation: sparkle 2s infinite;
    }

/* keyframes for sparkling effect */
@keyframes sparkle {
    0% {
        background-color: rgba(255, 255, 0, .8);
        border-color: rgba(255, 255, 0, 0.5); /* semi-transparent yellow */
    }

    25% {
        background-color: rgba(255, 255, 0, 0.4);
        border-color: rgba(255, 255, 0, 1); /* full yellow */
    }

    50% {
        background-color: rgba(255, 255, 0, 0.65);
        border-color: rgba(255, 255, 0, 0.5);
    }

    75% {
        background-color: rgba(255, 255, 0, 0.4);
        border-color: rgba(255, 255, 0, 0.75); /* brighter yellow */
    }

    100% {
        background-color: rgba(255, 255, 0, 0.8);
        border-color: rgba(255, 255, 0, 0.5);
    }
}

.text-container {
    position: absolute;
    top: 20%;
    bottom: 10%;
    left: 0;
    right: 3%;
    color: white;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
    word-wrap: break-word;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sentence {
    margin-bottom: 20px; /* Control space between sentences */
    display: inline-block;
    z-index: 2;
}

.number-counter {
    font-weight: bold;
}

.img-container {
    position: relative;
    width: 100%;
    height: auto;
    /*display: flex;
            justify-content: center;*/
    align-items: center;
}

.image {
    width: 100%;
    height: auto;
}

/* ANIMATIONS FOR 4 MUNICIPIOS */
.enter-left, .enter-right, .enter-bottom, .fade-in {
    opacity: 0;
    position: relative;
    display: inline-block;
    animation-duration: 1s;
    animation-fill-mode: both; /* keeps the final state of the animation */
}

.fade-in {
    animation-name: fadeIn;
    animation-delay: .1s;
}

.enter-left {
    animation-name: enterFromLeft;
    animation-delay: 0.5s; /* delay to stagger entry */
}

.enter-right {
    animation-name: enterFromRight;
    animation-delay: 1s;
}

.enter-bottom {
    animation-name: enterFromBottom;
    animation-delay: 1.5s;
}

/* Define animations */
@keyframes enterFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes enterFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes enterFromBottom {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Button style */
.btn {
    padding: 0.5em 1em;
    margin: 0.5em;
    background: var(--dk-blue);
    float: right;
    border-radius: 0.25em;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: bold;
}

    .btn a {
        color: var(--black);
        text-decoration: none;
    }
