/* ENLIGHTENED BERGAMO - Main Styles */

@font-face {
    font-family: 'Manolo Mono';
    src: url('ManoloMono.woff2') format('woff2'),
         url('ManoloMono.otf') format('otf');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0;
    background-color: #000;
    color: #02BF02;
    font-family: 'Manolo Mono', monospace;
    font-size: xx-large;
    height: 100vh;
    overflow: hidden;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #000;
}

.content {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

.logo {
    width: 150px;
    height: 150px;
    animation: spin 4s linear infinite;
    transform-style: preserve-3d;
    display: none; /* Hide the rotating logo */
}

@keyframes spin {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: right;
    font-size: xx-small;
    z-index: 2;
    padding: 10px;
    text-shadow: 0 0 5px rgba(0,0,0,0.8);
}

/* Disable map interactions */
.leaflet-control-container {
    display: none;
}

/* Custom marker styles */
.enlightened-marker {
    filter: drop-shadow(0 0 5px #02BF02);
}

.enlightened-marker img {
    width: 16px;
    height: 16px;
}

/* Triangle styles */
.triangle-edge {
    stroke-width: 2;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    fill: none;
    opacity: 0.8;
}

.triangle-edge.enlightened {
    stroke: #02BF02;
}

.triangle-edge-1 {
    animation: drawLine var(--line-duration) linear forwards;
}

.triangle-edge-2 {
    animation: drawLine var(--line-duration) linear calc(var(--line-duration)) forwards;
}

.triangle-edge-3 {
    animation: drawLine var(--line-duration) linear calc(var(--line-duration) * 2) forwards;
}

.triangle-fill {
    fill-opacity: 0;
    animation: fillTriangle var(--fill-duration) ease-in forwards;
    animation-delay: calc(var(--line-duration) * 3);
}

.triangle-fill.enlightened {
    fill: #02BF02;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fillTriangle {
    to {
        fill-opacity: 0.2;
    }
}