/* fonts */

@font-face {
    font-family: "Acer";
    src: url('/fonts/Acer710.ttf') format("truetype");
}

@font-face {
    font-family: "FreePixel";
    src: url('/fonts/FreePixel.ttf') format("truetype");
}

@font-face {
    font-family: "Slite";
    src: url('/fonts/SpecialElite.ttf') format("truetype");
}

:root {
    --offwhite: rgb(249, 227, 255);
    --lilac: rgb(198, 83, 255);
    --lvl: rgb(249, 215, 255);
}


/* layout */
body {
    cursor: url(/assets/cursor.png), auto;

    position: relative;
    width: 1290px; height: 100%;
    margin: 0 auto;
    image-rendering: pixelated;
    overflow: hidden;

    background-color: black;
    background-image: url('/assets/backgrounds/cloud.gif');
    background-size: 650px; background-attachment: fixed;
    background-position: center;

    line-height: 1.6;
    font-family: 'FreePixel'; font-size: 14px;
    color: var(--offwhite);
}

#container {
    width: 750px; height: auto;
    margin: 50px auto; padding: 0px;
}

#guide {
    display: block;
    width: 750px; height: auto;
    margin: 0; padding: 0;
    overflow: hidden;

    background-color: rgb(45, 9, 81);
    background-image: linear-gradient(
        rgb(61, 33, 154),
        rgb(45, 9, 81),
        rgb(51, 29, 74)
    );
    border: 1px rgb(62, 12, 115) solid; border-radius: 5px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.766);
}

#row1, #row2 {
    width: auto; height: auto;
}
#row2 {display: block;}
#row1 {
    display: flex; height: 180px;
    background-image: linear-gradient(
        rgb(11, 9, 38) 56px,
        rgb(45, 9, 81) 5px,
        rgb(19, 4, 34)
    );
    box-shadow: 2px 2px 2px rgb(152, 59, 151) inset;
}

#preview {
    width: 100%; height: 100%;
    margin: 0;
    border-radius: 14% 0% 0% 36% / 42% 0% 0% 58%;

    background-image: url('/assets/gifs/ginger5.gif');
    background-size: cover;
    background-repeat: no-repeat;

    box-shadow: 2px 2px 2px rgb(0, 0, 0) inset;
}

#links {
    display: flex;
    margin: 0; padding: 0 1px 0 0;
    width: auto; height: 300px;  
    overflow-y: scroll; overflow-x: hidden;
}

table, th, td {
    width: auto; padding: 2px 48px 0 48px;
    color: rgb(156, 82, 230); text-align: center;

    background-color: rgb(45, 9, 81);
    background-image: linear-gradient(10deg,
        rgb(77, 33, 98),
        rgb(45, 9, 81)
    );
    border: 2px black solid; border-radius: 2px 0 0 2px;
    border-collapse: collapse;
    box-shadow: 5px 2px 1px var(--lvl) inset;

}

ul {
    margin: 0; padding: 0;
    width: 100%;

    font-family: 'Acer';
    font-size: 11px;
    text-align: left;
}

li, #side li {
    width: auto; height: 25px;
    padding-top: 12px; padding-left: 20px;
    list-style-type: none;
    
    background-image: linear-gradient(to left, rgb(33, 4, 55), rgb(45, 9, 81));
    border: 1px rgb(0, 0, 0) solid; border-radius: 2px 0 0 2px;
    border-collapse: collapse;
    box-shadow: 5px 2px 1px var(--lvl) inset;
}

    #side {
        width: 113px; text-align: center;
    }

    #side li {
        padding-left: 0; 
        text-align: center; 
        font-family: "Acer"; font-size: 13px; 
        font-weight: bold; color: goldenrod;}

    .sub, .subpassive {
        padding-left: 40px; 
        background-image: linear-gradient(to left, rgb(43, 4, 92), rgb(121, 25, 137));
    }
    
    .subx2 {
        padding-left: 60px; 
        background-image: linear-gradient(to left, rgb(61, 45, 184), rgb(96, 64, 212)); 
        box-shadow: 5px 2px 1px rgb(169, 169, 255) inset;
    }

        .sub::before, .subx2::before, .subpassive::before {
            content: "↳"; margin: -8px 2px;
            font-size: 1.6em; float: left;}

    .here {
        margin: 0; padding-left: 20px;
        background-image: linear-gradient(to left, rgb(255, 232, 83), rgb(234, 157, 14));
        box-shadow: 5px 2px 1px white inset;    
    }
        .here::before { 
            content: "★"; margin: -8px 2px; 
            font-size: 1.7em; float: left;}

        .here::after { 
            content: "You're here!"; margin: -3px 75% 0 0; 
            float: right; font-family: 'FreePixel'; 
            font-weight: bold; color: red;}
    
    /*li:hover:not(.passive):not(.here):not(.subpassive) {
        background-image: linear-gradient(to right, rgb(210, 28, 201),rgb(167, 0, 189)); 
        box-shadow: none;}*/

    .rating {
        padding: 5px 2px; border-radius: 5px; background-color: white; font-family: Impact; color: black; font-size: 10px
    }

/* music player */
#musicplayer {
    display: block;
    width: 100%; height: auto;
    margin: 0; padding: 2px;
    z-index: 3;             
    border-top: 1px solid blue; 
    background-image: linear-gradient(
    rgb(20, 20, 20) 20px,
    rgb(46, 39, 135))
    }
    
        #musicplayer p {
        margin: 0 0 1px 0; 
        font-size: 10px; font-weight: bolder;
        color: rgb(255, 255, 255);
        text-shadow: 0px 0px 5px magenta; white-space: nowrap;
        }

        audio {
            width: 100%; height: 15px; padding: 0;
            background-color: rgb(20, 20, 20);
        }

        audio::-webkit-media-controls-panel {
            background-color: rgb(20, 20, 20);
            }

    .songmarquee {
    width: 100%;
    animation: scrollText 22s linear infinite;
            }
                @keyframes scrollText {
                0% {transform: translateX(100%);}
                100% {transform: translateX(-50%);}
            }


/* text specs */
a, a:visited {
    text-decoration: none;
    color: var(--offwhite);
    cursor: pointer;
}

a:hover {color: var(--lilac);}

.marquee {
    width: 100%;
    animation: scrollText 22s linear infinite;
        }
            @keyframes scrollText {
            0% {transform: translateX(100%);}
            100% {transform: translateX(-50%);}
        }


/* crt effect */
.crt:before {
content: " "; display: block;
position: absolute; z-index: 1;
width: 748px; height: 213px;
top: 0px;
margin: 0; border-radius: 5px;

background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.303) 50%);
background-size: 100% 2px, 3px 100%;
animation: flicker 0.5s linear infinite;
}

@keyframes flicker {
    0% {opacity: 0.27861;}
    25% {opacity: 0.83891;}
    50% {opacity: 0.46019;}
    65% {opacity: 0.71988;}
    70% {opacity: 0.53455;}
    75% {opacity: 0.37288;}
    90% {opacity: 0.7003;}
    95% {opacity: 0.36108;}
    100% {opacity: 0.24387;}
}

body {
    background-color: black;
}

#animatedBackground {
    margin: 0 auto;
    width: 500px;
    height: 250px;
    position: absolute; z-index: -1;
    top: 20px;
    left: 10%;
    background: url("/assets/backgrounds/lsd101.png");
    background-repeat: repeat;
    background-position: 0;
    background-size: 1000px;
    /*adjust s value for speed*/
    animation: animatedBackground 500s linear infinite;
}

@keyframes animatedBackground {
  from {
    background-position: 0 0;
  }
/*use negative width if you want it to flow right to left else and positive for left to right*/
  to {
    background-position: -10000px 0;
  }
}