/* Preloading resources */

@font-face {
    font-family: 'ANIMA';
    src: url('../fonts/square_sans_serif_7.ttf') format('truetype');
}
@font-face {
    font-family: 'CYBER';
    src: url('../fonts/DS-DIGI.TTF') format('truetype');
}
@font-face {
    font-family: 'jackal';
    src: url('../fonts/Jackal Tracks.ttf') format('truetype');
}
@font-face {
    font-family: 'planets';
    src: url('../fonts/planets.otf') format('opentype');
}
@font-face {
    font-family: 'CaviarDreams';
    src: url('../fonts/CaviarDreams.ttf');
}
@font-face {
    font-family: 'Audiowide';
    src: url('../fonts/Audiowide-Regular.ttf');
}
@font-face {
    font-family: 'cloister-black';
    src: url('../fonts/CloisterBlack.ttf');
}
@font-face {
    font-family: 'bergensta';
    src: url('../fonts/BergstenaScript_PERSONAL_USE_ONLY.otf') format('opentype');
}
@font-face {
    font-family: 'Super Joyful';
    src: url('../fonts/Super Joyful.ttf');
}
@font-face {
    font-family: 'sweetheart';
    src: url('../fonts/Sweetheart.ttf');
}
@font-face {
    font-family: 'dunkin';
    src: url('../fonts/Dunkin.otf');
}
@font-face {
    font-family: 'kinkee';
    src: url('../fonts/KINKEE__.TTF');
}
@font-face {
    font-family: 'hearts';
    src: url('../fonts/Hearts.ttf');
}
/* Base page formatting */

* {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    cursor: url('/img/pawcursor1.png'), auto;
}
.page-wrapper {
    position: relative;
    width: 100%;
    min-height: 100%;
    overflow: clip;
}
.cursor-grabbing {
    cursor: url('/img/pawcursor2.png'), auto !important;
}
.cursor-grabbing-f2 {
    cursor: url('/img/pawcursor3.png'), auto !important;
}
/* Weird cursor logic o-o */
.cursor-grabbing [style*="cursor"], .cursor-grabbing [class*="cursor"], .cursor-grabbing a, .cursor-grabbing button, .cursor-grabbing .paws-container, .cursor-grabbing [onclick] {
    cursor: url('/img/pawcursor2.png'), auto !important;
}
.hide-scrollbar::-webkit-scrollbar {
    width: 0;
    height: 0;
}
.hide-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
p {
    font-size: 16px;
    color:rgb(255, 166, 0);  
    font-family: monospace;
    text-align: center;
    line-height: 19px;
}
h1 {
    color:rgb(0, 255, 94);
    font-family: 'ANIMA';
    font-size: 80px;
    letter-spacing: 7px;
    text-align: center;
}
h2 {
    font-family: 'CYBER';
    font-size: 30px;
    margin: 0;
    font-family:'Courier New';
    text-align: center;
    color:aquamarine;
}   
h3 {
    font-family: 'CYBER';
    font-size: 20px;
    margin: 0;
    font-family:'Courier New';
    text-align: center;
    color:rgb(127, 223, 255);
    font-weight: normal;
}   
a:link {
    color: rgb(0, 255, 94);
    background-color: transparent;
    text-decoration: underline;
    cursor: url('/img/pawcursor_highlight.png'), auto;
}
a:visited {
    color: rgb(0, 255, 94);
}
a:hover {
    color: rgb(255, 255, 255);
    background-color: transparent;
    text-decoration: underline;
}
a:active {
    color: yellow;
    background-color: transparent;
    text-decoration: underline;
}
::selection {
    color: rgb(255, 255, 255);
    background:rgb(255, 0, 200)
}

/* BUTTONS */

.homebutton {
    width: 250px;
    margin-top: 40px;
    margin-bottom: 15px;
    padding: 5px;

    text-align: center;
    font: 'CYBER' bold 30px;
    color: rgb(89, 213, 0);
    background-color: rgb(5, 54, 28);
    text-shadow: 0px 0px 5px rgb(91, 192, 33);
    box-shadow: 0px 0px 20px rgb(115, 210, 86);
    
    border: 3px solid;
    border-radius: 15px;

    cursor: pointer;
}
.homebutton:hover {
    color: rgb(173, 237, 127);
    background-color: rgb(16, 93, 52);
}
.homebutton:active {
    transform: translateY(4px);
}
.homebutton-link:active {
    color: rgb(173, 237, 127);
    background-color: rgb(68, 183, 121);
}


/* CONTENT */

html {
    scrollbar-color: rgb(18, 243, 255) rgb(17, 0, 38);
    scrollbar-width: auto;
}
::-webkit-scrollbar {
    width: 25px;
}
::-webkit-scrollbar-track {
    background: rgb(25, 0, 56);
}
::-webkit-scrollbar-thumb {
    background-color: rgb(161, 7, 178);
    border-radius: 20px;
    border: 3px solid rgb(19, 0, 43);
}
.content-box {
    background-color:rgb(52, 0, 38);
    border:2px solid rgb(255, 71, 209);
    padding: 10px;
    border-radius: 25px;
    max-width: 600px;
    margin: auto;
    margin-top: 20px;
    text-align: center;
}
#reduced-motion-disclaimer {
    color: rgb(255, 157, 0);
    background-color:rgb(98, 43, 9);
    border: 2px dashed orange; 
    width: 100vw;
    text-align: center;
    padding: 0px;
    font-size: 2vw;
    font-family: monospace;
    position: relative;
    top: 0px;
    margin: 0px 0px;
    display:none;
}
@media (prefers-reduced-motion: reduce) {
    #reduced-motion-disclaimer {
        display: block;
    }
}
.error-alert {
    color:rgb(255, 0, 0); 
    background:rgb(0, 0, 0); 
    font-size:30px;
    border: 5px inset rgb(255, 128, 0);
    font: bold 30px monospace;
    font-variant: small-caps;
    text-align: center;
}
/* #autoplay-page-lock {
    display: none;
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;

    background-color: rgb(7, 6, 5);
    background-image: url("/img/Starfield_01-1024x1024.png");
    background-size: cover;

    color: rgb(255, 157, 0);
    border: 15px ridge orange; 
    font-size: min(5vw, 20px);
    font-family: monospace;
    font-weight: bold;
    padding: 150px 10px;
    line-height: 40px;
    text-align: center;
    text-shadow: 0px 0px 5px orange;
} */
.img-avatar {
    border: 5px double rgb(45, 184, 170);
    border-radius: 15px;
    margin: 5px 5px;
}

#music-container {
    position: fixed;
    bottom: 10px;
    left: calc(50% - 250px); 
    width: 500px; 
    height: 70px;
    
    background-color: black; 
    text-align: center;
    margin-bottom: 15px;
    border-radius: 35px;
    padding: 10px;
    border: 5px solid rgb(255, 0, 217);
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20; 
    box-shadow: 0 0 15px rgb(255, 0, 217);

    background-image: url("/img/rainbow_bar.gif");
    background-repeat: repeat-x;
    animation: border-rainbow 5s linear infinite;

}
.music-text {
    color: rgb(17, 243, 122);
    font-size:16px;
    font-family:'Audiowide';
    font-variant: small-caps;
    margin-top: 18px;
} 
#play-btn {
    background-color: transparent;

    border: 2px solid rgb(255, 0, 217); 
    color: rgb(255, 0, 217);
    background-color: rgba(92, 1, 84, 0.91);

    border-radius: 50%;

    position: absolute;
    top: 40px;

    width: 40px;
    height: 40px;
    font-size: 20px;

    cursor: url('/img/pawcursor_highlight.png'), auto;
    transition: all 0.3s ease;
}
#play-btn:hover {
    /* background-color: rgb(17, 243, 122); */
    color: rgb(255, 255, 255);
    transform: scale(1.1); 
    box-shadow: 0 0 10px rgb(255, 255, 255);
}
.play-btn-animate {
    animation: button-pulse 0.5s linear infinite alternate;
}
@keyframes button-pulse {
    from {
        scale: 1;
    }
    to {
        scale: 0.9;
    }
}

/* PAWPUPS */
.system-popup {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 300px;
    height: 200px;

    background-color:rgba(0, 39, 18, 0.829);
    border: 5px double rgb(83, 255, 71);
    border-radius: 25px;
    box-shadow: 0px 0px 20px rgb(52, 173, 28);

}
.popup-header {
    font-family: 'Lucida Sans';
    font-size: 12px;
    font-variant: small-caps;

    color:rgb(0, 0, 0);
    text-shadow: 0px 0px 7px rgb(255, 255, 255); 
}
#popup-pawcursor {
    width: 200px;
    height: 200px;
    top: 80vh;
    left: 50vw;
    transform: translate(-50%, -50%);

    /* border: 25px solid transparent;
    border-image: url("/img/pawborder.png");
    border-image-slice: 25 fill;
    border-image-repeat: stretch;
    border-image-outset: 25px; */

    background-color: transparent;
    box-shadow: none;
    border: none;

    display: flex;
    align-items: center;
    justify-content: center;
}

/*-- keyframes for rainbow button --*/
@keyframes hue-rotate {
    from { filter: hue-rotate(0deg); }
    to { filter: hue-rotate(360deg); }
}
@keyframes rotate-around {
    from { rotate: 0deg; }
    to { rotate: 360deg; }
}
@keyframes pawborder {
    0% {
        border-image-slice: 10 fill;
    }
    100% {
        border-image-slice: 30 fill;
    }
}

/* EXTRA DECORATIONS */
.rainbow-text {
    background-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
    background-clip: text;
    color: transparent;
}
.rainbow-text-down {
    background-image: linear-gradient(to bottom, red, orange, yellow, green, blue, indigo, violet);
    background-clip: text;
    color: transparent;
}
.wiparp {
    color: rgb(255, 52, 224);
    font-family: sans-serif;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.75);
    border: 3px solid white;
    padding: 5px; /* hehe.. padded >;3 */
    border-radius: 15px;
}
.side-planets {
    font-family: "planets";
    font-size: 36px;
    margin-top: 15px;
    letter-spacing: 15px;
    writing-mode: vertical-lr;
    
    white-space: nowrap;

    position: fixed; 
    top: 10px;
    margin: 10px 30px;
}
.side-planets-b {
    right: 0px;
}
@media (max-width: 800px) {
    .side-planets {
        left: -30px;
    }
    .side-planets-b {
        left: auto;
        right: -30px !important;
        width: 40px;
    }
}
#foxbox {
    display: flex;
    align-items: center;
    justify-content: space-around;
    animation-name: spinfox;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-direction: alternate-reverse;
    animation-fill-mode: both;
    animation-timing-function: linear;
}
@keyframes spinfox {
    from {transform: rotateY(0deg) rotateX(0deg);}
    to {transform: rotateY(0deg) rotateX( 360deg);}
}

/* Friends :3 */

.avatar-popup {
    width: 500px;
    height: 500px;
    position: fixed;
    bottom: 0px;
    right: calc(15vw);
    display: none;
    z-index: 51;
}
@media (max-width: 800px) {
    #popup-WIPARP{
        right: calc(5vw);
    }
}
#popup-WIPARP {
    background-image: url("/img/wippy expressions.png");
    background-size: cover;
    background-repeat: no-repeat;
    /* background-position: 0px 0px; */
    pointer-events: none;
    /* display: inline; */
}
@media (max-width: 600px) {
    .avatar-popup {
        width: 250px;
        height: 250px;
    }
}
.peeky {
    animation: bottom-peek 5s ease-in-out backwards;
}
.unpeeky {
    animation: bottom-unpeek 5s ease-in-out both;
}

.popup-WIPARP-smile {
    background-position: 0px 0px;
}

.popup-WIPARP-sillysmile {
    background-position: -500px 0px;
}

.popup-WIPARP-smug {
    background-position: -1000px 0px;
}

.popup-WIPARP-smugblush {
    background-position: -1500px 0px;
}

.foxdrum {
    width: 200px;
    height: 200px;
    background-image: url("/img/wippy_foxdrum.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0px 0px;
    cursor: pointer;
    position: absolute;
}

@keyframes text-wiggle {
    0% {
        transform: rotate(-10deg);
    }
    100% {
        transform: rotate(10deg);
    
    }
}

/* SECRET vessel...? */

#ANIMA-VESSEL {
    position: fixed;
    top: 0px;
    left: 0px;

    width: 100vw;
    height: 100vh;

    z-index: 1;

    transform-origin: center center;
    /* outline: 50px solid blue; */
    pointer-events: none;
    display: none;
}
#ANIMA-VESSEL-cockpit {
    width: auto;
    height: 100vh;

    position: relative;
    top: 0px;
    left: 50vw;
    transform: translate(-50%, 0%);
    pointer-events: none;
}
.vessel-reveal {
    animation: vessel-reveal-anim 8s ease-out forwards;
}
@keyframes vessel-reveal-anim {
    0% {
        scale: 7;
        translate: 1000px -2500px;
    }
    100% {
        scale: 1;  
        translate: 0px 0px;
    }
}

/* ANIMATIONS! */

@keyframes img-appear {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes img-disappear {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        display: none;
    }
}
@keyframes silly-spin-appear {
    from { rotate: 720deg; scale: 0; }
    to { rotate: 0deg; scale: 1; }
}

@keyframes bottom-peek {
    from { translate: 50px 300px; }
    to { translate: 0px 0px; }
}

@keyframes bottom-unpeek {
    from { translate: 0px 0px; }
    to { translate: 50px 300px; }
}

@keyframes bottom-peek-img {
    from { translate: 0px 70px; opacity: 0; }
    to { translate: 0px 0px; opacity: 1; }
}
@keyframes border-rainbow {
    0% {
        border-color: #ff0000;
    }
    15% {
        border-color: #ff7f00; /* FOX COLOR!! */
    }
    30% {
        border-color: #ffff00; 
    }
    45% {
        border-color: #00ff00; 
    }
    60% {
        border-color: #0000ff; 
    }
    75% {
        border-color: #4b0082; 
    }
    90% {
        border-color: #9400d3; 
    }
    100% {
        border-color: #ff0000; 
    }
}