﻿/* 🔹 Grundläggande layout */
body {
    background-color: black;
    color: white;
    font-family: "Segoe UI", sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* 🔹 Meny */
nav {
    border-bottom: 3px solid #ff0000;
    padding-bottom: 6px;
    margin-bottom: 5px;
}

.menu {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .menu a {
        text-decoration: none;
        color: white;
        font-weight: bold;
        font-size: 1.1rem;
        transition: color 0.2s;
    }

        .menu a:hover {
            color: #ff4444;
        }

/* 🔹 Flaggor */
.lang-flags {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
    margin-bottom: 10px;
}

    .lang-flags img {
        width: 28px;
        height: 20px;
        cursor: pointer;
        border-radius: 4px;
        transition: transform 0.2s, box-shadow 0.2s;
    }

        .lang-flags img:hover {
            transform: scale(1.15);
            box-shadow: 0 0 8px red;
        }

/* 🔹 Titel ("LISTAN") */
.site-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 900;
    color: #ff0000;
    text-shadow: 0 0 2px #b30000, 0 0 4px #ff1a1a;
    margin: 20px 0 10px 0;
    letter-spacing: 3px;
}

/* 🔹 Snurrande logga (stor, centrerad) */
.logo-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    perspective: 1000px;
}

.logo {
    width: 220px;
    animation: spinY 7s linear infinite;
    transform-origin: center;
}

@keyframes spinY {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

/* 🔹 Banderollen (ticker text) */
.ticker {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    width: 60%;
    margin: 0 auto;
    border-top: 2px solid #ff0000;
    border-bottom: 2px solid #ff0000;
    padding: 10px 0;
}

#ticker-text {
    display: inline-block;
    font-size: 1.2rem;
    color: white;
    letter-spacing: 2px;
    animation: scrollLoop 25s linear infinite;
}

    #ticker-text::after {
        content: attr(data-text);
        padding-left: 60px;
    }

@keyframes scrollLoop {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 🔹 Footer */
footer {
    margin-top: 30px;
    font-size: 0.9rem;
    color: #ccc;
}
#secret-logo-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    transform: translate(-50%, -50%);
    opacity: 0; /* helt osynlig */
    cursor: default; /* ← ändra från pointer till default */
    z-index: 10;
}