/* BUTTON COLORS */

.location-button {
    background-color: #2c7be5;
    color: white;
}

.map-button {
    background-color: #00b894;
    color: white;
}

.riddle-button {
    background-color: #fdcb6e;
    color: black;
}

.back-button {
    background-color: #d63031;
    color: white;
}
.answer-button{
    background-color: lavenderblush;
    color:black;
}

.back-button,
.location-button,
.answer-button, 
.riddle-button {
    display: block;
    width: 100%;
    margin: 10px 0;
}

.image-container {
    width: 180px; /* Fixed values */
    height: 240px;
    overflow: hidden; /* Cuts the image out */
    margin-left: auto;
    margin-right: auto; /* Center it*/
}

.person-container { /* Container containing the image */
    width: 180px; /* Fixed values */
    height: 240px;
    overflow: hidden; /* Cuts the image out */
    border-radius: 50% / 45%; /* Creates an oval, if it would be only 50% it would be a circle */
    margin-left: auto;
    margin-right: auto; /* Center it*/
}

.imag-station,
.imag-person { /* Image of explorers has this class */
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-container.speaking, 
.person-container.speaking {
    animation: pulse 0.8s infinite;
    box-shadow: 0 0 0 6px rgba(0, 150, 255, 0.25);
}

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

    50% {
        transform: scale(1.08);
    }

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


/* MAYBE CREATE ONE OWN CLASS */
.monument-theme {
    background: linear-gradient(180deg, #07111f, #0b2540);
    border: 1px solid rgba(180, 220, 255, 0.25);
    box-shadow: 0 0 35px rgba(120, 180, 255, 0.15);
}

.monument-theme h1 {
    letter-spacing: 2px;
    text-shadow: 0 0 12px rgba(180, 220, 255, 0.45);
}

.monument-theme .image-container img {
    filter: brightness(0.65) contrast(1.15) saturate(0.65);
    box-shadow: 0 0 25px rgba(0,0,0,0.6);
}

.monument-theme .subtitle {
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(180, 220, 255, 0.25);
    color: #dbefff;
    font-style: italic;
}

.monument-theme .audio-btn {
    background: #020812;
    box-shadow: 0 0 18px rgba(120, 180, 255, 0.45);
}

.monument-theme .riddle-button {
    background: #c9a24d;
    color: #0b0b0b;
}

.monument-theme .location-button {
    background: #1f4f8f;
}

.monument-theme .back-button {
    background: #6b1f2a;
}

.fog {
    height: 35px;
    margin-top: -25px;
    background: linear-gradient(90deg, transparent, rgba(220,240,255,0.35), transparent);
    filter: blur(10px);
}

.profile-button {
    width: 100%;
    margin: 10px auto;
    display: block;
    padding: 12px;
    border: none;
    border-radius: 12px;
    background: #1f4c6b;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.profile-button:hover {
    background: #2b678f;
}

.profile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 20px;
}

.profile-card {
    background: #f8f4e8;
    color: #1d1d1d;
    max-width: 520px;
    width: 100%;
    border-radius: 18px;
    padding: 24px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    text-align: center;
}

.close-profile {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: #f0d45a;
    font-size: 32px;
    font-weight: bold;
    color: #0b2d4a;
    cursor: pointer;
    padding: 0;
}

.profile-img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #16324f;
}

.profile-subtitle {
    font-weight: bold;
    color: #555;
}

.profile-card {
    background: #f5efe0;
}

.profile-card p {
    color: #2b2418;
}

.profile-subtitle {
    color: #5a4a2f;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 16px 0;
}

.profile-tags span {
    background: #dce8f2;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 14px;
}

.fun-fact {
    margin-top: 16px;
    padding: 12px;
    background: #fff3c4;
    border-radius: 10px;
}


@media (max-width: 600px) {
    .profile-card {
        max-height: 85vh;
        overflow-y: auto;
        padding: 20px;
    }

    .profile-img {
        width: 100px;
        height: 100px;
    }

    .profile-tags span {
        font-size: 13px;
    }
}
.hidden {
    display: none;
}

