* {
    box-sizing: border-box;
}

.hotspotsInteractivo1 {
    --colorMarca1: #033F87;
    --colorMarca2: #FFB41D;
    --colorMarca3: #E52843;
    --colorTexto: #333333;

    width: 100%;
    padding: 1em;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: center;
}

.hotspotsInteractivo1 .lg-container {
    position: relative;
}

.hotspotsInteractivo1 .lg-image {
    display: block;
    height: 100%;
    width: 1200px;
    max-width: 100%;
}

.hotspotsInteractivo1 .lg-hotspot {
    position: absolute;
    margin: 0;
    padding: 0;
    transform: translate(-50%, -50%);
    z-index: 0;
    width: 3.3%;
}

.hotspotsInteractivo1 .lg-hotspot.visto {
    position: absolute;
}

.hotspotsInteractivo1 .lg-hotspot.visto::after {
    content: '✓';
    position: absolute;
    top: -10%;
    left: 25%;
    background: #006D31;
    color: white;
    border-radius: 50%;
    width: 75%;
    height: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5vw;
    border: 0.3vw solid #e6e6e6;
}

.hotspotsInteractivo1 .lg-item2.lg-hotspot.visto::after,
.hotspotsInteractivo1 .lg-item4.lg-hotspot.visto::after {
    left: -10px;
}

.hotspotsInteractivo1 .lg-hotspot--selected {
    z-index: 2;
}

.hotspotsInteractivo1 .lg-hotspot--selected .lg-hotspot__label {
    display: flex;
}

.hotspotsInteractivo1 .lg-hotspot__close {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--colorMarca1);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    transform: scale(1);
    transition: transform 0.3s;
}

.hotspotsInteractivo1 .lg-hotspot__close:hover {
    transform: scale(1.05);
}

.hotspotsInteractivo1 .lg-hotspot__button {
    position: relative;
}

.hotspotsInteractivo1 .hotspots-item .lg-hotspot__button img {
    z-index: 1;
    pointer-events: none;
    /* animation: pulse 1s ease-in-out infinite; */
}

.hotspotsInteractivo1 .hotspots-item.activo .lg-hotspot__button img {
    cursor: pointer;
    transform: scale(1);
    transition: transform .3s;
    pointer-events: all;
}

.hotspotsInteractivo1 .hotspots-item.activo.lg-item1 .lg-hotspot__button img {
    animation: pulse 1s ease-in-out infinite;
}

.hotspotsInteractivo1 .hotspots-item.activo.lg-item2 .lg-hotspot__button img {
    animation: pulse2 1s ease-in-out infinite;
}

.hotspotsInteractivo1 .hotspots-item.activo.lg-item3 .lg-hotspot__button img {
    animation: pulse3 1s ease-in-out infinite;
}

.hotspotsInteractivo1 .hotspots-item.activo.lg-item4 .lg-hotspot__button img {
    animation: pulse4 1s ease-in-out infinite;
}

.hotspotsInteractivo1 .hotspots-item.activo.lg-item5 .lg-hotspot__button img {
    animation: pulse5 1s ease-in-out infinite;
}

.hotspotsInteractivo1 .activo.lg-hotspot:hover .lg-hotspot__button img,
.hotspotsInteractivo1 .activo.lg-hotspot:active .lg-hotspot__button img {
    transform: scale(1.05);
}

.hotspotsInteractivo1 .hotspots-item.visto .lg-hotspot__button img {
    animation: none;
}

.hotspotsInteractivo1 .hotspots-item.visto .lg-hotspot__button img::before {
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    animation: none;
}

.hotspotsInteractivo1 .lg-hotspot__label {
    position: absolute;
    width: 250px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-size: 20px;
    line-height: 1.2;
    z-index: -1;
    border-radius: 5px;
    user-select: none;
    display: none;
    flex-flow: column;
    transition: all 0.1s linear;
}

@media (max-width: 576px) {
    .hotspotsInteractivo1 .lg-hotspot__label {
        width: 200px;
    }
}

.hotspotsInteractivo1 .lg-hotspot__label.left {
    right: calc(100% - 50px);
    transform: translateX(-10px);
}

.hotspotsInteractivo1 .lg-hotspot__label.right {
    left: calc(100% - 50px);
    transform: translateX(10px);
}

.hotspotsInteractivo1 .lg-hotspot__label.top {
    bottom: 100%;
    transform: translateY(-10px);
}

.hotspotsInteractivo1 .lg-hotspot__label.bottom {
    top: 100%;
    transform: translateY(10px);
}

.hotspotsInteractivo1 .lg-hotspot__label .lg-hotspot__title {
    margin: 0;
    padding: 10px 20px 10px 10px;
    background-color: var(--colorMarca2);
    font-size: 24px;
    font-weight: normal;
    color: white;
    border-radius: 5px 5px 0 0;
    border-bottom: 3px solid var(--colorMarca1);
    text-align: center;
    font-weight: bold;
}

.hotspotsInteractivo1 .lg-hotspot__label p {
    margin: 0;
    padding: 15px;
    color: var(--colorTexto);
}

.hotspotsInteractivo1 .lg-item1 {
    top: 19%;
    left: 64%;
}

.hotspotsInteractivo1 .lg-item2 {
    top: 29.3%;
    left: 27.5%;
}

.hotspotsInteractivo1 .lg-item3 {
    top: 40%;
    left: 64%;
}

.hotspotsInteractivo1 .lg-item4 {
    top: 50.5%;
    left: 27.5%;
}

.hotspotsInteractivo1 .lg-item5 {
    top: 61%;
    left: 64%;
}


@keyframes pulse {
    0% {
        transform: translateX(0);
        filter: drop-shadow(2px 0 0 #FFE69A);
    }

    40% {
        transform: translateX(10px);
        filter: drop-shadow(7px 0 0 #FFE69A);
    }

    100% {
        transform: translateX(0);
        filter: drop-shadow(2px 0 0 #FFE69A);
    }
}

@keyframes pulse2 {
    0% {
        transform: translateX(0);
        filter: drop-shadow(-2px 0 0 #AAD5B6);
    }

    40% {
        transform: translateX(-10px);
        filter: drop-shadow(-7px 0 0 #AAD5B6);
    }

    100% {
        transform: translateX(0);
        filter: drop-shadow(-2px 0 0 #AAD5B6);
    }
}

@keyframes pulse3 {
    0% {
        transform: translateX(0);
        filter: drop-shadow(2px 0 0 #8DC8CD);
    }

    40% {
        transform: translateX(10px);
        filter: drop-shadow(7px 0 0 #8DC8CD);
    }

    100% {
        transform: translateX(0);
        filter: drop-shadow(2px 0 0 #8DC8CD);
    }
}

@keyframes pulse4 {
    0% {
        transform: translateX(0);
        filter: drop-shadow(-2px 0 0 #F6B5C2);
    }

    40% {
        transform: translateX(-10px);
        filter: drop-shadow(-7px 0 0 #F6B5C2);
    }

    100% {
        transform: translateX(0);
        filter: drop-shadow(-2px 0 0 #F6B5C2);
    }
}

@keyframes pulse5 {
    0% {
        transform: translateX(0);
        filter: drop-shadow(2px 0 0 #EAC6A0);
    }

    40% {
        transform: translateX(10px);
        filter: drop-shadow(7px 0 0 #EAC6A0);
    }

    100% {
        transform: translateX(0);
        filter: drop-shadow(2px 0 0 #EAC6A0);
    }
}