@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Arimo', sans-serif;
}

#container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#image-display {
    position: relative;
    width: 70%;
    padding: 1rem;
}


#image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;

}

.kiosque {
    color: black;
    font-weight: bold;
    text-align: center;
    font-size: 1.5rem;
    margin-top: 1rem;
    padding : 0 2rem;
    text-shadow: 1px 1px 2px grey;
}



#info-panel {
    background-color: #f7a51d;
    position: relative;
    width: 30%;
    height: 100vh;
    overflow: hidden;
    padding: 1rem 0.5rem;
}


#info-panel .titre {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    color: white;
    text-transform: uppercase;
    margin-top: 1rem;
    text-shadow: 1px 1px 2px black;
    
}
.speciality{
    font-size : 1.5rem;
    
}
@keyframes spin-border {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#info-panel .titre::after {
    content: ' ';
    display: block;
    width: 25%;
    height: 4px;
    margin: 0 auto;
    background-color: white;
    margin-top: .5rem;
}

#info-panel .description {
    margin: 1rem;
    font-size: 1.2rem;
    text-align: center;
    color: white;

}

#info-panel>img {
    width: 100%;
    height: auto;

}

#info-panel-content>.job-image {
    width: 80%;
    height: auto;
    max-height: 275px;
    margin: 0 auto;
}

#info-panel-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;

    height: 90%;
    box-sizing: border-box;
}

#info-panel-image-container{
    position: relative;
}
.showing {
    position: absolute;
    /* ou fixed/relative selon ta structure */
    bottom: 29%;
    /* ou ajuste selon ta position */
    left: 71%;
    transform: translateX(-50%);
    background-color: white;
    color: #f7a51d;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    opacity: 0;
    pointer-events: none;
    animation: pulseBubble 12s infinite;
    text-align: center;
}

/* Animation visible 3 sec tous les 10 sec */
@keyframes pulseBubble {

    0%,
    40% {
        opacity: 0;
    }

    50%,70% {
        opacity: 1;
    }

    80%,
    100% {
        opacity: 0;
    }
}

#markersLayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#marker-highlight {
    position: absolute;
    top: 30px;
    /* position verticale dans le info-panel */
    left: calc(49%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: white;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 0 15px #fff;
    transform: scale(0.5);
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: 10;
}

.marker {
    position: absolute;
    width: 25px;
    height: 25px;
    font-style: italic;
    color: white;
    font-size: 1.5rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #f7a51d;
    cursor: pointer;
    border-radius: 100px;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px #f7a51d;
    font-family: 'cursive';
    font-weight: bold;
    background-color: #f7a51d;
}

.marker-instructions {

    width: 50px;
    height: 50px;
    font-style: italic;
    color: #f7a51d;
    font-size: 1.5rem;
    margin: 2rem auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid white;
    cursor: pointer;
    border-radius: 100px;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px white;
    font-family: 'cursive';
    font-weight: bold;
    background-color: white;
}

.secret-marker {
    border: 2px solid #c2c2c2d5;
    position: absolute;
    width: 25px;
    height: 25px;
    font-style: italic;
    color: white;
    font-size: 1.5rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 100px;
    animation: pulse 15s infinite;
    box-shadow: 0 0 12px #d8d8d8d2;
    font-family: 'cursive';
    font-weight: bold;
}

#switch-location-btn {
    position: absolute;
    font-size: 1.2rem;
    text-transform: uppercase;
    top: 1rem;
    left: 1rem;
    padding: 1rem;
    background-color: #f7a51d;
    color: white;
    border: none;

    cursor: pointer;
    font-weight: 800;
    box-shadow: 2px 2px 4px #757575;
}

#switch-location-btn:hover {

    background-color: #fdc05e;
    color: white;

}

.logo-container {
    width: 280px;
    height: 140;
    left: 5%;
    bottom: 5%;


}

#logo {
    max-width: 250px;
    height: auto;
    padding: 2rem 0;
}

.info-icon {
    width: 35px;
    height: auto;
}

.pulse {
    animation: pulse 2s infinite;
}

.pulse-subtil {
    animation: pulse-subtil 2s infinite;
}

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

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

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

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }

}

@keyframes flash {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.flash {
    animation: flash 1s 3;
}

/* Animation fade/slide */
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-25%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(25%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Classes d'animation */
.animate-left {
    animation: slideInLeft 3s ease forwards;
}

.animate-right {
    animation: slideInRight 3s ease forwards;
}

@media (max-width:1050px) {

    #container {
        flex-direction: column;
        position: relative;
    }

    #info-panel {
        width: 100%;
        bottom: 0;
    }

    #switch-location-btn {
        position: absolute;

    }

    #image-display {
        width: 94%;
    }
}