/*=== 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 {
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: center;
}

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

.tootltips__img {
    width: 100%;
}

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

[data-tipped-options*="light"].tootltips__dot {
    --color-tooltip: #E1AA25;
}

.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:hover:before {
    visibility: hidden;
}

.tpd-skin-dark .tpd-background-content,
.tpd-skin-dark .tpd-background-title {
    background-color: #b9efee;
}

.tpd-skin-dark .tpd-content,
.tpd-skin-dark .tpd-title,
.tpd-skin-dark .tpd-close {
    color: hsl(177, 49%, 33%);
}

.tpd-skin-light .tpd-background-content,
.tpd-skin-light .tpd-background-title {
    background-color: hsl(42, 76%, 81%);
}

.tpd-skin-light .tpd-content,
.tpd-skin-light .tpd-title,
.tpd-skin-light .tpd-close {
    color: hsl(40, 86%, 30%);
}


.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: 14%;
    left: 18%;
}

.tootltips--1 .dot2 {
    top: 36%;
    left: 40%;
}

.tootltips--1 .dot3 {
    top: 51%;
    left: 7%;
}

.tootltips--1 .dot4 {
    top: 57%;
    left: 7%;
}

.tootltips--1 .dot5 {
    top: 64%;
    left: 7%;
}

.tootltips--1 .dot6 {
    top: 70%;
    left: 7%;
}

.tootltips--1 .dot7 {
    top: 19%;
    left: 100%;
}

.tootltips--1 .dot8 {
    top: 28%;
    left: 75%;
}

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

.tootltips--1 .dot10 {
    top: 86%;
    left: 89%;
}

/*-- Fin Tootltip 1 --*/