
body {
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    margin-top: 30px;
    background-image: url(/img/gtb_banner.jpg);
}

body.page {
    background-image: none;
    font-size: 11px;
    text-align:left;
    color: #333;
    line-height: 1.2rem;
    background-color: #FFF;
    padding: 20px;
    margin: 0;
}

section {
    width: 400px;
    margin: auto;
    padding-top: 80px;
    text-align: center;
}
article {
    background-color: #a831d7;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 500px;
    float: left;
    border-radius: 15px;
    border: double 5px #97e117;
    padding-top: 40px;
    max-height: 400px;
    min-height: 400px;
    overflow-y: auto;
    align-items: center;
}

article img {
    max-width: 100%;
}

h1 {
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: normal;
    color: greenyellow;
    margin: 0px;
    padding: 0px;
    letter-spacing: 0.5px;
}
h2 {
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    font-size: 13px;
    font-weight: normal;
    color: #28fcf5;
    margin: 0px;
    padding: 0px;
}

p {
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    font-size: 12px;
    font-weight: normal;
    text-align: center;
    color: #CCC;
    margin: 0px;
    padding: 0px;
}

ul {
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    font-size: 12px;
    font-weight: normal;
    text-align: center;
    color: #CCC;
    margin: 0px;
    padding: 0px;
    list-style: none;
}


header {
    width: 100%;
    font-size: 9px;
    letter-spacing: 1px;
    height: 60px;
    margin-bottom: 10px;
}

.nav {
    position: absolute;
    right: 100%;  /* placerer nav lige til venstre for article */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 10px;  /* afstand mellem nav og article */
}

.wrapper {
    position: relative;
    display: inline-block;
}

.nav button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

#indhold {
    position: relative;
}

article a {
    text-decoration: none;
    color:#ff83da;
}

a:hover {
    text-decoration: underline;
}

article iframe {
    border: 0;
    height: 200px;
    width: 300px;
}

html {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1; /* thumb and track color */
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888; 
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

* {
    cursor: url('misc/foo606.cur'), auto;
}

#afspiller {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1a0033, #4a0080);
    border: 2px solid #ff83da;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 0 10px #ff83da, 0 0 20px #9441d9;
    width: 160px;
    z-index: 999;
}

#afspiller-titel {
    color: #ff83da;
    font-size: 9px;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

#afspiller-sang {
    color: greenyellow;
    font-size: 9px;
    margin-bottom: 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#afspiller-knapper button {
    background: none;
    border: 1px solid #ff83da;
    color: #ff83da;
    border-radius: 4px;
    cursor: pointer;
    padding: 2px 6px;
    font-size: 12px;
}

#afspiller-knapper button:hover {
    background: #ff83da;
    color: #1a0033;
}

@media (max-width: 600px) {
    body {
        margin-top: 10px;
        padding-bottom: 70px;
    }

    h1 {
        font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
        font-size: 15px;
        text-transform: uppercase;
        font-weight: normal;
        color: greenyellow;
        margin: 0px;
        text-align: center;
        padding: 0px;
        letter-spacing: 0.5px;
    }

    .wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .nav {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
        padding: 0;
        margin-bottom: 10px;
        flex-wrap: wrap;
        max-width: 90vw;
    }

    article {
        width: 90vw;
        float: none;
        max-height: none;
        overflow-y: visible;
        padding-left: 5px;
        padding-right: 5px;
    }

    .center img {
        max-width: 100%;
    }

    #header-div {
        display: none;
    }

    #afspiller {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        border-radius: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        padding: 6px 10px;
        box-sizing: border-box;
    }

    #afspiller-cover {
        width: 40px;
        height: 40px;
        object-fit: cover;
        border-radius: 4px;
        flex-shrink: 0;
        margin-bottom: 0;
    }

    #afspiller-titel {
        display: none;
    }

    #afspiller-sang {
        overflow: hidden;
        white-space: nowrap;
        flex: 1;
    }

    #afspiller-sang span {
        display: inline-block;
        animation: ticker 8s linear infinite;
    }

    @keyframes ticker {
        0%   { transform: translateX(100%); }
        100% { transform: translateX(-100%); }
    }

    #afspiller-cover {
    width: 40px !important;
    height: 40px !important;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    margin-bottom: 0;
    }
}

