@import url('gold.css');
@import url('https://fonts.googleapis.com/css2?family=National+Park&family=Sigmar+One&display=swap');

:root {
    --primary: #137481;
    --secondary: #d8a841;
    --text: #78a1c9;
    --bg-primary: #a1a7b1;
    --bg-secondary: #567dad;
    --bg-2: hsl(from var(--bg-secondary) h s 60);
    --bg-3: hsl(from var(--bg-secondary) h s 70);
}

html {
    font-size: 1.8rem;
    font-family: "National Park", sans-serif;
    color: var(--text);
}

body {
    background: var(--bg-secondary);
}

#overlay {
    z-index: 10;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    font-family: "Sigmar One", sans-serif;
    > div {
        backdrop-filter: blur(10px);
    }
    input {
        pointer-events: all;
        text-align: center;
    }
}

button {
    background: aliceblue;
    border-radius: var(--m);
    padding-inline: var(--s);
    cursor: pointer;
    pointer-events: all;
}

#indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    aspect-ratio: 1/1;
    width: 5rem;
    mix-blend-mode: difference;
    filter: drop-shadow(0px 2px 4px var(--primary));
    animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
    50% {
        transform: translate(-50%, -50%) rotateY(360deg);
    }
}

/* globe */

.place-marker {
    width: 20px;
    top: -10px;
    position: relative;
}
.place-marker svg {
    width: 100%;
    height: 100%;
}
.place-name {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    color: white;
    text-shadow: 1px 1px 2px black;
    font-size: 12px;
    pointer-events: all;
    cursor: pointer;
    &:hover {
        scale: 1.1;
        filter: drop-shadow(0px 0px 4px var(--secondary));
    }
}