:root {
    --footer-gap: 500px;
}

@media only screen and (max-width: 1900px) {
    #portal {
        display: none;
    }
    #chilling {
        display: none;
    }
}

#bg-ufo {
    position: fixed;
    top: 350px;
    left: -150px;
    z-index: -999;
    animation: fly 30s linear 3s infinite;
}

@keyframes fly {
    100% {
        transform: translateX(150vw) translateY(-20vh);
    }
}

#portal {
    width: 280px;
    transform: rotate(-30deg);
}

#portal-container {
    position: absolute;
    width: 240px;
    height: 100px;
    bottom: 200px;
    right: 100px;
    cursor: not-allowed;
}

#portal-link {
    cursor: not-allowed;
    pointer-events: none;
}

#portal-container:hover {
    animation: hover 1s ease-out;
    animation-duration: 1;
    animation-fill-mode: forwards;
}

@keyframes hover {
    0% {transform: scale(1, 1);}
    100% {transform: scale(1.2, 1.2);}
}

@keyframes disappear {
    0% {transform: scale(1.2, 1.2);}
    99% {transform: scale(0, 0);}
    100% {display: none;}
}

/*TAGLINE*/


@keyframes tag {
    0% {transform: scale(1, 1);}
    50% {transform: scale(1.08, 1.08);}
    100% {transform: scale(1, 1);}
}

#tagline-container {
    position: absolute;
    z-index: 999;
    top: 170px;
    right: -300px;
    text-align: center;
    width: 700px;
    animation: tag 1s ease-in-out infinite;
}

#tagline {
    color: #ffff00;
    text-shadow: 3px 3px #4a380a;
    font-size: 30px;
    font-family: jpPixel;
    font-weight: bold;
    transform: rotate(-23deg);
}


/*BANNER*/

#header {
    height: 300px;
    position: relative;
}

.stars {
    position: absolute;
    width: 35px;
    cursor: pointer;
}

#star-find, #star-notif, #star-finish {
    color: #0ee3ff;
    font-size: 32px;
    position: fixed;
    left: 10px;
}

#star-find {
    top: 0;
}

#star-notif {
    top: 35px;
}

#star-finish {
    top: 70px;
}

#star-1 {
    top: 115px;
    left: 520px;
}

#star-2 {
    position: relative;
    top: -58px;
    right: 408px;
}

#star-3 {
    position: static;
    display: block;
}

#star-4 {
    top: 700px;
    left: 110px;
}

#star-5 {
    position: static;
    margin-top: 15px;
}

/*MAIN*/

#main-body {
    display: flex;
    height: fit-content;
    --side-width: 30%;
    --body-height: 1000px;
}

#main-body>div {
    border: 5px #d2f3fa inset;
    /*background-image: url(./images/QHGDAvk.jpeg);*/
    height: fit-content;
}

/*#sidebar-left, #sidebar-right {
    width: var(--side-width);
    height: 600px;
}*/

#sidebar-left {
    width: 25%;
    background-image: url(./images/QHGDAvk.jpeg);
}

/*MAIN DOC CONTENT*/

#main-doc {
    /*width: calc(100% - var(--side-width));*/
    width: 80%;
    padding: 40px 0;
    overflow: hidden;
    position: relative;
}



#top-home-header {
    margin-bottom: 40px;
}

.pegasus-gif {
    margin-top: -45px;
    width: 55px;
    height: 102px;
}

#madokami {
    width: 450px;
    border: 4px double #1a053a;
    border-radius: 10px;
    margin-bottom: 40px;
    display: inline-block;
}

#gif-box {
    display: inline-block;
    width: 25%;
    height: 256.4px;
    overflow: auto;
    margin-bottom: 40px;
}

#update-box {
    width: 90%;
    height: 230px;
    max-height: 230px;
    margin: 0 auto;
    overflow: auto;
    font-size: 20px;
}

#colorful-ufo {
    position: relative;
    top: -80px;
    right: 50px;
}

#planetgirl {
    width: 350px;
    position: absolute;
    top: 500px;
    right: 50px;
}

#radio {
    width: 130px;
    position: absolute;
    top: 680px;
    left: 60px;
    transform: scaleX(-1);
    z-index: 999;
}

#chilling {
    position: fixed;
    left: 10px;
    bottom: -10px;
    width: 450px;
    animation: astronaut 5s ease-in-out infinite;
}

@keyframes astronaut {
    0% {transform: translateY(-10px);}
    50% {transform: translateY(10px);}
    100% {transform: translateY(-10px);}
}

#teehee {
    position: fixed;
    width: 85px;
    left: 250px;
    bottom: 310px;
    opacity: 0%;
}

.silly {
    animation: silly 1s ease-out 1;
    animation-fill-mode: forwards;
}

@keyframes silly {
    0% {opacity: 0%;}
    100% {transform: translateY(-10px); opacity: 100%;}
}

/* MUSIC */

#music-box {
    width: 300px;
    height: 118px;
    margin-bottom: 240px;
    position: relative;
    top: 0;
    right: 42px;
    z-index: 998;
}

#music-img {
    width: 50px;
    height: 50px;
    border: 2px solid var(--ourple);
}

#musicbox-top-row {
    display: flex;
    height: 50px;
    max-height: 50px;
    align-items: center;
    gap: 6px;
}

#song-name {
    margin: 0;
}

#song-name:hover {
    text-decoration: underline;
}

#song-artist {
    margin: -10px 0 0 0;
}

.music-button {
    width: 25px;
    height: 25px;
    cursor: pointer;
}

#musicbox-buttons {
    display: flex;
    justify-content: end;
    gap: 72px;
    margin-top: 5px;
}

#controls {
    display: flex;
    gap: 10px;
}

#song-slider {
    width: 90%;
    height: 5px;
}

.slider {
    appearance: none;
    background: #0a1158;
    cursor: pointer;
}

#song-slider::-webkit-slider-thumb {
    appearance: none;
    background-color: #dbe1ff;
    border: 2px solid #0a1158;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

#volume-slider {
    height: 5px;
    width: 70px;
    position: absolute;
    top: 568px;
    left: 285px;
    display: none;
    z-index: 999;
    transform: rotate(-90deg);
}


/*LEFT SIDEBAR CONTENT*/

#nav-box {
    margin: 10px auto;
    width: 90%;
    padding: 15px 0;
    font-family: pixelFont;
}

.nav-link {
    text-decoration: none;
    font-size: 26px;
    color: var(--ourple);
}

#nav-table tr {
    overflow: hidden;
    white-space: nowrap;
}

.nav-link:hover {
    text-decoration: underline;
}

#add-button {
    margin-right: 8px;
    text-align: center;
}

#statuscafe {
    overflow: auto;
    width: 175px;
    height: 100px;
    position: absolute;
    top: 40px;
    left: 17px;
    font-family: jpPixel;
    font-size: 18px;
}

#statuscafe-username {
    margin-bottom: 8px;
}

#statuscafe-username a {
    color: blue;
}

#stat-box {
    width: 95%;
    height: 160px;
    position: relative;
    background-image: url(./images/status-box.png);
    background-size: 100%;
    background-repeat: no-repeat;
    margin: 0 auto;
}

#statuscafe-username a:hover {
    text-decoration: underline;
}

#site-button-box {
    width: 85%;
    text-align: center;
    background: #dbe1ff;
    margin: 30px auto;
}

#site-button-box p {
    margin: 0;
}

#site-button-box p:first-of-type {
    font-size: 30px;
    font-weight: bold;
}

#site-button {
    margin: 10px 0;
}

/*DIALOUGE BOX*/

#dialogue-box {
    width: 465.467px;
    border: 3px solid var(--ourple);
    height: 235px;
    margin: 15px;
    display: flex;
    background-image: url(./images/yzBqgq6.gif);
    font-family: pixelFont;
    font-size: 24px;
    color: #080525;
    margin: 15px auto;
}

#dialogue-box>div {
    height: auto;
    border: 2px solid var(--ourple);
}

#dia-img-container {
    width: 32%;
    margin: 10px;
    background-image: url(./images/sprites/neutral1.png);
}

#fml {
    width: 68%;
    margin: 10px 10px 10px 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #80a0cd;
    /* daef64 */
}

#dia-text-container {
    height: 100%;
}

#dia-text {
    margin: 1px;
    user-select: none;
}

#button-container {
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 8px;
}

.option {
    display: block;
    /*width: calc(100% - 20px);*/
    margin: 0;
    width: 100%;
    text-align: start;
}

/* BELOW UPDATE BOX */

#weekly-song-head {
    position: relative;
    width: 400px;
    z-index: 998;
}

#realradio {
    width: 150px;
    position: absolute;
    top: 1638px;
    left: 290px;

}

#song-rec-list {
    width: 200px;
    height: 32px;
    max-height: 32px;
    /*overflow-y: scroll;*/
}

.song-rec-entry {
    background-color: #d1d1d1;
    border: 2px outset #a0a0a0;
}

/* FOOTER */

#home-footer-container {
    display: flex;
    width: 951.5px;
    margin: 0 auto;
}