@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('/assets/space_bg.2.gif');
    min-height: 100vh;
    overflow-x: hidden;
}

.page-wrapper {
    position: relative;
    max-width: 1400px;
    margin: auto;
    padding: 0 1%;
}

header {
    margin: auto;
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    padding: 0 1%;
}

#title {
    width: 100%;
    height: auto;
    margin-bottom: 2%;
    order: -1;
}


#shadow {
    margin: auto;
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    padding: 0 1%;
}

.sidebar-left,
.sidebar-right {
    position: absolute;
    top: 0;
    width: 250px;
    color: white;
    padding: 15px;
    border: 1px solid #ff0000;
    box-sizing: border-box;
    z-index: 1001;
    box-shadow: 4px 4px 0px rgb(136, 0, 0);
    background-color: black;
}

.sidebar-left {
    left: calc(25% - 250px);
}

.sidebar-right {
    right: calc(25% - 250px);
}

.sidebar-right .app-title,
.sidebar-left .app-title {
    color: #000000;
    margin-top: 0;
    font-family: "Press Start 2P";
    font-size: 75%;
}

.sidebar-left p, .sidebar-right p {
    border: 1px solid #ff0000;
    padding: 5px;
    text-align: center;
    font-family: "Press Start 2P";
    font-size: 75%;
}

.sidebar-left p a {
    color: white;
}

.lastfm-track-info {
    text-align: center;
    /* Center the content inside this div */
    background-color: #ff0000;
}

#current-song-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 10px auto;
    border-radius: 4px;
    border: 1px solid #880000;
}

#current-song-title {
    font-family: "Press Start 2P";
    font-size: 90%;
    color: rgb(0, 0, 0);
    margin-bottom: 5px;
    word-wrap: break-word;
    background-color: inherit;
}

#current-song-artist {
    font-family: "Press Start 2P";
    font-size: 70%;
    color: #000000;
    margin-bottom: 0;
    word-wrap: break-word;
    background-color: inherit;
    padding-bottom: 10px;
}

.sidebar-gif {
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid #880000;
}

#updates {
    overflow: scroll;
    height: 200px;
}

#navbar {
    display: block;
    width: 100%;

}

#links {
    list-style-type: none;
    margin: 0;
    padding: 10px;
    overflow: hidden;
    text-align: center;
}

#links li {
    font-family: "Press Start 2P";
    width: 33.3333%;
    float: left;
    padding: 10px;
    border: solid #ff0000 1px;
    background-color: #000000;
    color: white;
    text-align: center;
}

#links #navOn {
    background-color: #ff0000;
    color: black;
}

#links li a {
    color: inherit;
    text-decoration: none;
    background-color: inherit;
}

#links li:hover {
    background-color: #880000;
    color: white;
}

.app {
    margin: 10px 0;
    font-family: "Press Start 2P";
    border-style: solid;
    border-color: #ff0000;
    background-color: black;
    border-width: 1px;
    box-shadow: 4px 4px 0px rgb(136, 0, 0);
    width: 100%;
}

.app-title {
    display: block;
    width: 100%;
    font-size: 75%;
    background-color: #ff0000;
    padding: 5px 10px;
}

.app-title a {
    color: inherit;
    background-color: inherit;
}

.app-footer {
    display: block;
    width: 100%;
    font-size: 75%;
    background-color: #ff0000;
    padding: 5px 10px;
}

.app p {
    padding: 10px 0px;
    color: white;
    padding: 10px;
    text-align: center;
}

.app p h1 {
    color: white;
    text-align: center;
}

.app p a {
    color: white;
}

.image {
    width: 48%;
    height: auto;
    margin: 1% 0;
    box-sizing: border-box;
}

@media (max-width: 1000px) {
    body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    header {
        width: 100%;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    } 
        #shadow {
            width: 100%;
            margin: 0;
            padding: 0;
        }

        .sidebar-left,
        .sidebar-right {
            display: none;
        }

        #title {
            width: 90%;
            margin-bottom: 2%;
        }

        .image {
            width: 90%;
            height: auto;
            margin: 1% 0;
            padding: 0;
            border-right: none;
        }

        #navbar {
            width: 100%;
        }
    }
