:root {
    --bouncy-cubic-bezier: cubic-bezier(.37,-0.12,0,1.29);
}

* {
    font-family: "Comic Relief";
    color: white;
}

h1, h2, h3 {
    padding-block: 0;
    margin-block: 0;
}

.no-select {
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}

.none-select {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    * {
        user-select: none;
        -moz-user-select: none;
        -webkit-user-select: none;}
}

body {
    background-color: #454e6f;
    background-image: url(/assets/siteBG.png);
    background-size: max(40vw, 40vh);
    max-width: 100vw;
    overflow-x: hidden;
    image-rendering: pixelated;
    width: 100%;
    margin: 0;
    padding: 0;
}

.block {display: block;}
.inline {display: inline;}
.inl-block {display: inline-block;}
.flex {display: flex}
.inl-flex {display: inline-flex;}
.flexbox { display: flexbox;} 
.null {display: none;}

.min-height {height: min-content;}
.max-height {height: max-content;}
.fit-height {height: fit-content;}

.min-width {width: min-content;}
.max-width {width: max-content;}
.fit-width {width: fit-content;}

.-left {text-align: left; margin-right: auto;}
.-right {text-align: right; margin-left: auto;}
.centered {text-align: center;}

.-h-middle {margin-inline: auto;
    * {margin-inline: auto;}}

.-v-middle {margin-block: auto;
    * {margin-block: auto;}}    

.strike {text-decoration: line-through;}

.pixelart {image-rendering: pixelated;}

.pill {font-size: inherit; text-align: center; display: inline-block; padding-block: .2rem; padding-inline: 8px; margin: 0;}

.white {color: #FFF !important;}

.rounded-slim {border-radius: 8px;}

.clip-flow {overflow: clip;}

.hover-in {
    opacity: 0.1;
        transition: all .4s cubic-bezier(.23,.88,.13,.98);
    :hover {
        opacity: 1;
    }
}

.pixeltext {
    font-family: "Press Start 2P", system-ui;
  &* {font-family: "Press Start 2P", system-ui;}
}

p>a.pixeltext {
    font-size: smaller;
}

::selection {
    background: white;
    color:rgb(0, 32, 68);
    font-weight: bold;
}

img::selection {
    background: rgb(255, 255, 255);
}

.navbar {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    align-items: center;
    line-height: 2.4em;
    justify-content: space-evenly;
    margin-top: 0;
    margin-bottom: 0;
}

.nav {
    padding-inline: 1em;
    margin-inline: -.1em;
    font-size: clamp(0.1rem, 1.2rem, 4rem);
    text-wrap: nowrap;
    
    &:hover  {
       /* text-shadow: 0 2px 10px black, 0 0 30px, 0 0 60px; */
        color: white;
    }
}


a.cashmoney {
    color:rgb(83, 232, 227);
}

a.cashmoney:hover  {
    background-color: rgb(68, 208, 147);
}

h1, h2, h3 {
    width: fit-content;
}

p {
    line-height: 1.3em;
    margin-block: 1.4em;

    .standalone {
        padding-inline: 20px;
        padding-block: 10px;
        margin-block: 2em;
        width: min(80vw, 800px);
        margin-inline: auto;
    }
}


a {
    color: rgb(83, 210, 232);
    font-weight: bolder;
    font-family: inherit;
    font-size: inherit;
    transition: all 0.2s ease-in;
    text-decoration: none;
    
    &:hover {
        transition: all 0.1s ease-out;
        color: white;
        background-color: rgb(71, 178, 221);
        border-radius: .2em;
        font-weight: bold;
        text-shadow: 0 0 10px, 0 0 30px, 0 0 60px;
    }
    &.no-a {
        all: inherit;

        &:hover {
            all: inherit;
        background-color: inherit;
        }
    }

    &.clickNoTell {
    font-weight: inherit;
    text-decoration: inherit;
    }

    &.header {
        color: white;
    
        &:hover{
            color: rgb(138, 192, 254);
            text-shadow: none;
            font-weight: bold;
            text-decoration: underline;
            text-decoration-thickness: 2em;
        }
    }
    img {
    pointer-events: none;
    user-select: text;
    transition: none;
}

}

.settings {
    position: absolute;
    top: 10px;
    right: 10px;
    
}

hr {
    margin: 20px 0 -10px 0;
    border-color:white;
}

button.scrollup {
    position: fixed;
    right: 15px;
    bottom: 20px;
    height: 50px;
    width: 50px;
    border-radius: 100%;
    border: none;
    background-color: rgba(65, 89, 131, 0.527);
}

.disclaimer {
    color: rgb(170, 194, 228);
    font-weight: bolder;
}

.smol {
    font-size: 60%;
    font-weight: bolder;
}

.hover-line {
    text-decoration: dashed underline;
}

.hover-line:hover  {
    text-decoration: dashed underline;
}

.spoiler {
    color: transparent !important;
    background: rgba(20, 26, 43, 0.452);
    border-radius: 4px;
    margin: 0;
}

.spoiler:hover {
    color: inherit;
    transition: color 0.2s;
}

div {
    &.content {
    background-color: rgba(37, 40, 49, 0.265);
    backdrop-filter: blur(10px);
    border-radius: 5px;
    padding-inline: 20px;
    padding-block: 10px;
    margin-block: 2em;
    width: min(80vw, 800px);
    margin-inline: auto;
    }
    &.icontent {
        border-radius: 5px;
        padding-inline: 20px;
        padding-block: 10px;
        margin-block: 2em;
        width: min(80vw, 800px);
        margin-inline: auto;
    }
}

.big-spacer {
    height: 40vh;
}

    
.divHeader {
    width: min-content;
    height: min-content;
    display: flex;
    align-items: center;
    flex-direction: row;
    padding-block: 2vh;
    margin-top: -20px;
    margin-bottom: -40px;
    margin-inline: auto;
}

.pageHeader {
    align-self: center;
    white-space: nowrap;
    font-size: clamp(1rem, 8vw, 6rem);
    text-overflow: ellipsis;
    overflow: hidden;}

.emojIcon {
    height: 1em;
    flex-basis: 1em;
    align-self: center;
    width: auto;
    }

#saltyMouse {
    position: absolute;
    z-index: -100;

    max-width: 10vw;
    max-height: 10vh;
    overflow: clip;
    transition: top, left, 3s cubic-bezier(.23,.88,.13,.98);
}

.slider {
    appearance: none;
    border-radius: 3px;
    background: rgba(132, 144, 164, 0.619);
}
.slider:active {
    transition: all 0.2s ease-out;
    background: rgb(94, 167, 252);
    font-weight: bold;
    box-shadow: 0 0 20px rgb(94, 167, 252), 0 0 80px rgb(94, 167, 252);
}
    
img, svg{
    user-select: text;
    
    &.emote {
    --emote-size: 1.2em; /* pick whatever looks best */
        display: inline-block;
        height: var(--emote-size); 
        width: var(--emote-size);
        aspect-ratio: 1 / 1;
        vertical-align: middle;
        object-fit: contain;
        margin: 0 0.1em; /* teensy bit of space for text */
    }

    }
