body {
    color: #000000;
    font-size: 20px;
}

* {
    box-sizing: border-box;
}

#container {
    max-width: 1150px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

a {
    color: #577491;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0% 1px;
    transition: background-size 0.3s ease, text-shadow 0.3s ease, color 0.3s ease;
}

a:hover {
    background-size: 100% 1px;
}

#header {
    position: relative;
    overflow: hidden;
    width: 100%;
    background-color: white;
    height: 200px;
    border-radius: 10px 10px 0px 0px;
    border: 1px dashed black;
    border-bottom: none;
}

.header_bg {
    position: absolute;
    inset: -24px;
    background-image: url(/media/pictures/headergirl.png);
    background-size: cover;
    background-position: center;
    transition: transform 0.12s ease-out;
    will-change: transform;
}

.header_title {
    position: absolute;
    left: 65%;
    top: 60%;
    transform: translate(-50%, -50%);
    rotate: 2deg;
    pointer-events: none;
    transition: transform 0.12s ease-out;
    will-change: transform;
    z-index: 2;
    font-size: 80px;
    color: white;
    font-family: Birth;
    text-shadow: 5px 1px #16202b;
}

#flex {
    display: flex;
}

aside {
    background-image: url(/media/pictures/bg/metro.png);
    background-size: 150%;
    width: 220px;
    padding: 20px;
    border-left: 1px dashed black;
}

#sidebar_toggle {
    display: none;
}

main {
    background-color: white;
    flex: 1;
    padding: 20px;
    order: 2;
    border-right: 1px dashed black;
    border-left: 1px dashed black;
}

#leftSidebar {
    order: 1;
}

footer {
    width: 100%;
    padding: 10px;
    text-align: center;
    color: white;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 50%),
        linear-gradient(to bottom, #3a4d63 0%, #2e3f50 50%, #243343 100%);
    border-radius: 0px 0px 10px 10px;
    border: 1px dashed black;
    border-top: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -2px 4px rgba(0, 0, 0, 0.4);
}

footer a {
    color: #afc7e0;
}

footer a:hover {
    color: #ffffff;
    text-shadow: 0px 0px 10px white;
}

footer strong {
    color: white;
}

h1,
h2,
h3 {
    color: #577491;
}

h1 {
    font-size: 25px;
}

strong {
    color: #577491;
}

.box {
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 50%),
        linear-gradient(to bottom, #3a4d63 0%, #2e3f50 50%, #243343 100%);
    border: 1px solid #161f29;
    border-top-color: #4a5f78;
    border-radius: 8px;
    padding: 20px;
    color: white;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -2px 4px rgba(0, 0, 0, 0.4);
}

.box a {
    color: #afc7e0;
}

.box a:hover {
    color: #ffffff;
    text-shadow: 0px 0px 10px white;
}

.box a:has(img) {
    background-image: none;
}

.box strong {
    color: white;
}

.box img {
    border: 1px dashed white;
}

.navbar {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
}

.navbar a {
    position: relative;
    display: block;
    padding: 6px 10px;
    text-align: left;
    border-radius: 6px;
    background-image: none;
    color: #ffffff;
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0% 1px;
    transition: background-size 0.3s ease, text-shadow 0.3s ease, color 0.3s ease;
}

.navbar a:hover {
    background-size: 100% 1px;
    text-shadow: 0px 0px 10px white;
}

#nav_tooltip {
    position: fixed;
    left: 0;
    top: 0;
    white-space: nowrap;
    font-size: 12px;
    color: white;
    text-shadow: none;
    padding: 4px 9px;
    border-radius: 6px;
    border: 1px solid rgba(20, 28, 38, 0.6);
    border-top-color: rgba(140, 170, 200, 0.7);
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0) 51%, rgba(255, 255, 255, 0.06) 100%),
        linear-gradient(to bottom, rgba(58, 77, 99, 0.55) 0%, rgba(46, 63, 80, 0.5) 50%, rgba(36, 51, 67, 0.55) 100%);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 9999;
    will-change: transform;
}

#nav_tooltip.show {
    opacity: 1;
}

.recently_played {
    margin-top: 10px;
    text-align: center;
    font-size: 18px;
}

#lastfm_cover {
    width: 80%;
    border: none;
    border-radius: 10px;
    margin: 0 auto;
    display: none;
}

#lastfm_title {
    font-size: 13px;
    color: #afc7e0;
    margin: 5px 0 0 0;
}

#lastfm_artist {
    font-size: 10px;
    color: #cdd9e6;
    margin: 2px 0 0 0;
}

.poll {
    font-size: 14px;
}

.poll_q {
    margin: 0 0 8px 0;
}

.poll label {
    display: block;
    padding: 2px 0;
    cursor: pointer;
}

.poll input[type="radio"] {
    margin-right: 6px;
    vertical-align: middle;
}

.poll_buttons {
    text-align: center;
    margin-top: 10px;
}

.poll_buttons input {
    font-size: 13px;
    padding: 4px 14px;
    margin: 0 3px;
    color: white;
    cursor: pointer;
    border: 1px solid #161f29;
    border-top-color: #4a5f78;
    border-radius: 6px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 50%),
        linear-gradient(to bottom, #3a4d63 0%, #2e3f50 50%, #243343 100%);
    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.back_btn {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 14px;
    color: #ffffff;
    padding: 6px 14px;
    border: 1px solid #161f29;
    border-top-color: #4a5f78;
    border-radius: 6px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 50%),
        linear-gradient(to bottom, #3a4d63 0%, #2e3f50 50%, #243343 100%);
    background-size: auto;
    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.back_btn:hover {
    background-size: auto;
    text-shadow: 0px 0px 10px white;
}

@media only screen and (max-width: 1050px) {
    body {
        margin: 0;
    }

    #flex {
        flex-wrap: wrap;
    }

    #sidebar_toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 15px;
        left: 15px;
        z-index: 1001;
        width: 50px;
        height: 50px;
        font-size: 22px;
        color: white;
        cursor: pointer;
        border: 1px solid #161f29;
        border-top-color: #4a5f78;
        border-radius: 8px;
        text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
        background:
            linear-gradient(to bottom, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 50%),
            linear-gradient(to bottom, #3a4d63 0%, #2e3f50 50%, #243343 100%);
        box-shadow:
            0 3px 8px rgba(0, 0, 0, 0.45),
            inset 0 1px 0 rgba(255, 255, 255, 0.22);
    }

    aside {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 260px;
        max-width: 80%;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        border: none;
        border-right: 1px dashed black;
        border-radius: 0;
        box-shadow: 4px 0 16px rgba(0, 0, 0, 0.4);
    }

    #leftSidebar.open {
        transform: translateX(0);
    }

    main {
        order: 1;
        border: none;
        border-radius: 0;
    }

    footer {
        border: none;
        border-radius: 0;
    }

    #header {
        border: none;
        border-radius: 0;
    }

    #leftSidebar {
        order: 2;
    }

    .header_title {
        font-size: 55px;
    }

    @font-face {
        font-family: "MS PGothic";
        src: url("/media/fonts/MSPGothic.ttf");
    }

    @font-face {
        font-family: "Birth";
        src: url("/media/fonts/BIRTH_OF_A_HERO.ttf");
    }
}

