/*=== TOOTLTIPS ===*/

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes tooltipsInstructions {
    0% {
        opacity: 0;
        clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    }

    10% {
        opacity: 1;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    90% {
        opacity: 1;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    100% {
        opacity: 0;
        clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    }
}

.tootltips {
    text-align: center;
}

.tootltips__container {
    display: inline-block;
    position: relative;
    max-width: 500px;
}

.tootltips__img {
    width: 100%;
    border-radius: 10px;
}

.tootltips__dot {
    --color-tooltip: #016d38;
    --size-tooltip: 25px;
    position: absolute;
    display: block;
    width: var(--size-tooltip);
    height: var(--size-tooltip);
    border-radius: 50%;
    background-color: var(--color-tooltip);
}

.tootltips__dot:hover {
    cursor: pointer;
}

.tootltips__dot:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: var(--size-tooltip);
    height: var(--size-tooltip);
    border-radius: 50%;
    background-color: var(--color-tooltip);
    animation: pulse 1s infinite;
    transition: visibility .5s;
}

.tootltips__dot::after {
    color: #fff;
    position: absolute;
    left: 0;
    top: 0;
    width: var(--size-tooltip);
    height: var(--size-tooltip);
    display: flex;
    justify-content: center;
    font-weight: bold;
}

.tootltips__dot:nth-child(even)::after {
    color: #fff;
}

.tootltips__dot:hover:before {
    visibility: hidden;
}

.tpd-skin-dark .tpd-background-content,
.tpd-skin-dark .tpd-background-title {
    background-color: hsl(153, 100%, 34%);
}

.tpd-skin-dark .tpd-content,
.tpd-skin-dark .tpd-title,
.tpd-skin-dark .tpd-close {
    color: #fff;
}

.tpd-skin-light .tpd-background-content,
.tpd-skin-light .tpd-background-title {
    background-color: hsl(45, 100%, 54%);
}

.tpd-skin-light .tpd-content,
.tpd-skin-light .tpd-title,
.tpd-skin-light .tpd-close {
    color: #fff;
}

.tpd-skin-third .tpd-background-content,
.tpd-skin-third .tpd-background-title {
    background-color: hsl(24, 100%, 54%);
}

.tpd-skin-third .tpd-content,
.tpd-skin-third .tpd-title,
.tpd-skin-third .tpd-close {
    color: #fff;
}


.tooltipsInstructions {
    position: sticky;
    bottom: 20px;
    text-align: right;
}

.tooltipsInstructions__info {
    max-width: 50px;
    display: inline-block;
    width: 100%;
    z-index: 2;
    position: relative;
}

.tooltipsInstructions__info img {
    width: 100%;
}

.tooltipsInstructions__container {
    display: grid;
    max-width: 550px;
    margin: 0 auto;
    grid-template-columns: 40px 1fr;
    background-color: hsl(0, 0%, 100%);
    padding: 10px 50px 10px 30px;
    border-radius: 10px;
    border: 2px solid #f1a57f;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);

    animation: tooltipsInstructions 7s;
    transition: clip-path 1s, opacity 1s;
    opacity: 0;
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
}

.tooltipsInstructions__info:hover~.tooltipsInstructions__container {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    opacity: 1;
}

/*-- Tootltip 1 --*/

.tootltips--1 .dot1 {
    top: 48%;
    left: 45%;
}

.tootltips--1 .dot6 {
    top: 80%;
    left: 20%;
}

.tootltips--1 .dot2 {
    top: 35%;
    left: 47%;
}

.tootltips--1 .dot7 {
    top: 86%;
    left: 40%;
}

.tootltips--1 .dot3 {
    top: 55%;
    left: 37%;
}

.tootltips--1 .dot8 {
    top: 86%;
    left: 60%;
}

.tootltips--1 .dot4 {
    top: 23%;
    left: 67%;
}

.tootltips--1 .dot9 {
    top: 80%;
    left: 80%;
}

.tootltips--1 .dot5 {
    top: 38%;
    left: 82%
}

/*-- Fin Tootltip 1 --*/