/* Fonts */
@font-face {
    font-family: 'Lato';
    font-weight: 400;
    src: url("https://www.cristixmagicmusic.com/fonts/google-lato.woff2") format('woff2');
}

/* Constants */
:root {
    --minimise-menu: 500px;
    --main-bg-color: #1596A7;

    --generic-background: #6e6e6e65;
    --generic-white-border: gainsboro;

    /* While these cannot be used in code, they are here for refrence */
    --medium-screen-value: 688px;
    --small-screen-value: 468px;
}

/* Global */
html, body {
    margin: 0;
    padding: 0;
}
  ::-webkit-scrollbar { width: 10px; height: 3px;}
  ::-webkit-scrollbar-track {  background-color: #646464;}
  ::-webkit-scrollbar-track-piece { background-color: rgb(255, 255, 255);}
  ::-webkit-scrollbar-thumb { height: 50px; background-color: #666; border-radius: 2px;}

body { 
    font-family: 'Lato';
    font-weight: 400;
    color: rgb(0, 0, 0);

    opacity: 0;
    transition: opacity .5s;
}
footer {
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    background-color: rgb(189, 189, 189);
    color: rgb(0, 0, 0);
}

a {
  color: rgb(10, 133, 170);
  font-weight: 900;

  background: 
    linear-gradient(to right, rgba(255, 0, 0, 1), rgba(255, 0, 180, 1), rgba(0, 100, 200, 1));

  border-bottom: 5px;
  text-decoration: 0;
  background-size: 0% 0.1em, 0 0.1em;
  background-position: 0% 100%, 0 100%;
  background-repeat: no-repeat;
  transition: background-size 400ms;
  outline: none;
}

hr {
    border: 1px solid #b8b8b8; 
    margin: 20px 0; 
}

button {
    outline: none;
}

a, button, select, textarea {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.178);
}

/* Utils */
.visible {
    opacity: 1;
}

.hide {
    display: none;
}

.hide-opacity {
    opacity: 0;
}

/* Links */
.linkeffect a:hover,
.linkeffect a:focus,
.linkeffect:hover,
.linkeffect:focus {
  background-size: 100% 0.1em, 100%;
}

.linkeffectbig a:hover,
.linkeffectbig a:focus,
.linkeffectbig:hover,
.linkeffectbig:focus {
    border-radius: .25em;
  background-size: 100% 100%, 100%;
  color: white;
}

/* Link items */
.nohighlight {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}
  
.nohighlight a{
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

.noselect {
    user-select: none;            
}

.noselect {
    user-select: none;            
}
  
.noselect a{
    user-select: none; 
}

.linkbutton {
    padding: .3em;
    width:fit-content;
    border-radius: 25px;
    cursor: pointer;
    user-select: none;
}

/* Effects */
.glow {
    transition: all .30s ease-in-out;
}

.glow:hover,
.glow:focus {
    filter: drop-shadow(0px 0px 20px rgb(4, 203, 253));
    transition: all .30s ease-in-out;
}

.item-shrink {
    transform: scale(1);
    transition: all .15s ease-in-out;
}
  
.item-shrink:active {
    transform: scale(0.95);
    transition: all .10s ease-in-out;
}

/* Page container */
.content-wrapper {
    max-width: 1500px;
    overflow-x: hidden;
    padding: 2em;
    margin-left: auto;
    margin-right: auto;

    width: calc(100vw - 4em); /* Subtract padding */
}

#page-contain {
    min-height: 80vh; /* generic so there is no blank space */
    display: flex;
    flex-direction: column;
}

.page-contain-background {
    background: url("/img/background.jpg");
    background-size: cover;
}

/* Headings */
.heading {
    font-size: 2em;
    text-align: left;
    font-weight: 1000;
}
.category-heading {
    font-size: 2em;
    text-align: left;
    margin-top: 2em;
}
.centered-header {
    text-align: center; font-weight: 100;
    font-size: 2.5em;
    text-decoration: none;
}

/* Banner style set */
.calm-header {
    font-size: 2.5em;
    font-weight: 800;
    text-decoration: none;
    color: whitesmoke;
}

.calm-text {
    font-size: 1em;
    font-weight: 700;
    text-decoration: none;
    color: whitesmoke;;
}

/* Content & Text */
.content-text {
    font-size: 1.5em;
}
.subcontent-text {
    font-size: 1em;
    font-weight: 600;
}
.highlight-text { /* Make text have a rounded rectange under it */
    background-color: rgb(157, 204, 212, 0.75);
    border-radius: .25em;
    padding-left: .25em;
    padding-right: .25em;
}

/* Horizonta scrollable text box */
.scroll-textbox {
    background-color: #a5a5a5ad;
    border-radius: 1em;
    padding: 1em;

    max-width: 70vw;
    max-height: 20em;
    overflow: scroll;
}

/* List */
.formatted-list li {
    padding: .1em;
}

/* Tag list */
#tag-list {
    list-style-type: none;
    padding: 0px;
}

#tag-list li {
    margin-top: 3px;
    background-color: var(--generic-background);
    padding: 5px;
    border-radius: 1em;
    margin: none;
    display: inline-block;
    margin-right: 10px;
}

/* Loader */
.loader {
    border: 16px solid rgba(50, 100, 255, 1);
    
    border-top: 16px solid #f3f3f3;

    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
.loader-mini {
    border: 6px solid rgba(50, 100, 255, 1);
    
    border-top: 6px solid #f3f3f3;

    border-radius: 50%;
    width: 12px;
    height: 12px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navigation bar */
#nav {
    text-align: right;
    padding-left: min(3em, 4%);
    padding-right: min(3em, 4%);
    margin-bottom: 0em;
    padding-bottom: .5em;
    padding-top: .5em;
    z-index: 9999;

    transition: all .20s ease-in-out;

    position: fixed;
    width: calc(100% - (min(3em, 4%) + min(3em, 4%)));
}
#nav a{
    text-decoration: none;
    box-sizing: border-box;
}
#nav a:focus-visible{
    transition: all .20s ease-in-out;
}
#nav span{
    cursor: pointer;
}
#nav img{
    max-height: 40px;
    float: left;
    margin-top: 20px;
    transition: all .30s ease-in-out;
}
#nav img:hover,
#nav img:focus {
    filter: drop-shadow(0px 0px 10px rgba(255,255,255,0.3));
    transition: all .30s ease-in-out;
}
#nav ul {
    font-size: 1.1em;
    font-weight: 800;
    list-style-type:none;
    line-height: 40px;
    margin: 0px;
}
#nav li {
    padding: 16px;
    display: inline-block;
    transition: all .15 ease-in-out;
}
#nav li:hover,
#nav li:focus {
    filter: drop-shadow(0px 0px 15px rgb(0, 0, 0));
    transition: all .30s ease-in-out; 

    @media screen and (max-width: 688px) {
        padding-right: 1.5em;

        /* Underline text only! */
        nos {
            text-decoration: underline;
        }
    }
}

.nav-style {
    background-color: rgb(212, 212, 212);
    background-color: rgba(0, 0, 0, 0);

    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.5);

    border-bottom-left-radius: 35px;
    border-bottom-right-radius: 35px;
    border-bottom: rgb(120, 7, 124) 2px solid;
}
.nav-style a {
    color: rgb(0, 0, 0);
}
.nav-style a:focus-visible{
    box-shadow:inset 0px 0px 0px 3px rgb(0, 0, 0);
    transition: all .20s ease-in-out;
}
.navicon {
    font-size:20px; 
    margin-left: 1em; 
    margin-right: 1em;
    text-decoration: none;
}

.nav-separator{display: none;}
/*
The mobile nav bar looks nice with the following style removed! But Is not quite polished to be the default UI
*/
@media screen and (max-width: 688px) {
.nav-separator{display: block;}
}


.accountnavimage {
    position:absolute;
    border-radius: 2em;
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.75));

    height: 2.5em;
    
    right: 2em;
    top: -.25em;
}

#top-navigation {
    opacity: 0;

    max-height: 0;

    transition: all .30s ease-in-out;
    overflow: hidden;

    @media screen and (min-width: 688px) {
        opacity: 1;

        max-height:max-content;
    }
}

/* Navigation Bar -> Dark Style */
.navdark {
    background-color: rgba(50, 50, 50, 0.5);
}

.navdark a {
    color: rgb(255, 255, 255);
}

.navdark a:focus-visible{
    box-shadow:inset 0px 0px 0px 3px rgb(255, 255, 255);
    transition: all .20s ease-in-out;
}

/* Notification item */
#notif {
    min-height: 40px;
    background-blend-mode: multiply;
    background-size: cover;

    transition: all .15 ease-in-out;

    margin-bottom: 1em;
}
#notif ul {
    padding: 1em;
    font-size: 1em;
    list-style-type:none;
}
#notif li {
    display: inline-block;
    transition: all .15 ease-in-out;
    max-width: 70%;
}
#notification-close {
    float: right; 
    cursor:pointer; 
    padding-right: 1em;
}
.notif-style {
    background-color: rgb(190, 190, 190);
}
.notifdark-style {
    background-color: rgb(50, 50, 50);
}
.notification-wrapper {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Popup Box (message) */
#popup-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}
#popup-item {
    background-image: linear-gradient(50deg, #5865db, #5f008b);
    border: blue 3px solid;
    border-top-left-radius: 2em;
    border-bottom-right-radius: 2em;
    width: 40em;
    max-width: 90%;

    height: max-content;

    color: white;
    display: block;
    position: relative;

    transform: scale(1.0);
    transition: all .10s ease-in-out;
}
#popup-title {
    margin-left: 1em;
    margin-right: 1em;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: .2em;
}
#popup-text {
    margin-left: 1em;
    margin-right: 1em;
    margin-bottom: .2em;
    font-size: 1.5em;
    left: 0;
}
#popup-btzone {
    padding: 1em;
    display: flex;
    justify-content: right;
}
#popup-button {
    width: 200px;
    right: 1em;
    bottom: 1em;
}

/* Glass Button */
.glass-button {
    padding: 1em;
    padding-top: .8em;
    padding-bottom: .8em;
    min-width: 2em;
    user-select: none;
    cursor: pointer;

    border-radius: 1em;
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.6);

    color: black;
    transition: all .10s ease-in-out;
    display: inline-block;
}
.glass-button:hover {
    color: rgb(0, 204, 255);
    background-color: rgba(255, 255, 255, 0.5);
}
.glass-button:active {
    color: rgb(111, 0, 255);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Page -> About */
.about-img {
    transition: all .30s ease-in-out;
    width: 15em;
    margin-right: 2em;
    float: left;

    @media screen and (max-width: 1068px) {
        float: right;
    }

    @media screen and (max-width: 468px) {
        float: none;
        margin: 0;
        width: 100%;
    }
}

/* Track list */
#track-search {
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
    background-color: var(--generic-background);
    height: 80px;
    margin-bottom: 5px;

    padding: .8em;
    display: flex;
    flex-direction: row;
    height: 50px;
}

#track-container {
    border-bottom-left-radius: 1em;
    border-bottom-right-radius: 1em;
    background-color: var(--generic-background);
    min-height: 40em;

    padding: .8em;
    position: relative;
    overflow: hidden;
}

#track-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#track-info {
    position: absolute;
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
    padding: 1.5em;
    color: white;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.8);
    overflow: scroll;

    right: 0;
    top: 0;
    width: 40%;
    height: 100%;

    transition: all .15s ease-in-out;
    transform: translateX(100%);

    @media screen and (max-width: 1068px) {
        width: calc(100% - 3em);
    }
}
#track-info img {
    width: 10em;;
}
#track-info-close {
    float: right;
    font-size: 2em;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
}

.song-item {
    background-color: rgba(148, 148, 148, 0.24);
    border-radius: 1em;
    padding: 1em;
    cursor: pointer;
    user-select: none;

    display: flex;
    flex-direction: row;
    align-items: center;

    transition: all .15s ease-in-out;
}
.song-item:active {
    transform: scale(0.98);
}
.song-title {
    font-size: 1.75em;
}
.song-item-button {
    font-size: 2em;
    padding: 10px;
    border: none;
    border-radius: 1em;
    background-color: white;
    color: rebeccapurple;
    width: auto;
    height: 2em;
    width: 2em;

    flex-grow: 1;
    transition: all .15s ease-in-out;
}
.song-item-button:hover {
    background-color: rgb(240, 161, 250);
}
.song-item-buttonactive, .song-item-button:focus-visible {
    background-color: rgb(245, 167, 255);
    box-shadow:inset 0px 0px 0px 3px rgb(0, 0, 0);
}

/* Track search */
#track-search button {
    background-color: var(--generic-background);
    color: inherit;
    border-style:solid;
    border: 20px --generic-white-border;

    margin-left: 10px;

    transition: all .20s ease-in-out;

    max-width: 100px;

    flex-grow: 80;
    border-radius: 10px;
}
#track-search button:focus {
    border-color:rgba(255, 255, 255, 0.801);
    background-color: #bd83ce65;
}
#track-search button:hover {
    border-color:rgba(212, 55, 243, 0.801);
}
#track-search button:active {
    background-color: #52057e65;
}
#track-search button:disabled {
    border-color:rgba(167, 167, 167, 0.801);
    background-color: #c2c2c265;
}
#track-search input {
    background-color: var(--generic-background);
    color: inherit;
    border-style:solid;
    border: 2px --generic-white-border;

    transition: all .20s ease-in-out;
    padding: 8px;

    flex-grow: 20;
    border-radius: 10px;
}
#track-search input:focus {
    border-color:rgba(255, 255, 255, 0.801);
}
#track-search input:hover {
    border-color:rgba(212, 55, 243, 0.801);
}

/* Music player */
#player {
    position: fixed;
    z-index: 900;
    right: 2em;
    bottom: 2em;
    overflow: hidden;

    padding: 2em;

    color: white;
    background-color: rgb(87, 44, 116);
    width: 36em;

    border-radius: 1.5em;
    box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.5);

    transition: all .30s ease-in-out;

    @media screen and (max-width: 868px) {
        right: 1em;
        width: calc(100% - 6em);
    }

    @media screen and (max-width: 468px) {
        display: flex;
        flex-direction: column;
        
        padding: 1em;
        width: calc(100% - 4em);

        bottom: .5em;
    }
}
#player-title {
    font-size: 2em;

    @media screen and (max-width: 468px) {
        font-size: 1.5em;
    }
}
#player-image {
    height: 8em;
    width: 8em;
    margin-right: 2em;
    float: left;

    @media screen and (max-width: 468px) {
        height: 3em;
        width: 3em;
        margin-right: .5em;
    }
}
#player-control-toggle {
    height: 40px;
    aspect-ratio: 1/1;
    font-size: 1.5em;
    color: inherit;
    cursor: pointer;
    border-radius: 100%;

    background: none;
    border: none;
}
#player-control-toggle:hover,#player-control-toggle:focus-visible {
    background-color: #c927c971;
}
.player-mini-image {
    height: 3em !important;
    width: 3em !important;
}
#player-buttons {
    margin-top: 1em;
    display: flex;
    gap: 10px;
}
#player-buttons button {
    height: 3em;
    aspect-ratio: 1/1;
    font-size: 1.5em;
    color: inherit;
    cursor: pointer;
    border-radius: 100%;

    background: none;
    border: none;
}
#player-buttons button:hover,#player-buttons button:focus-visible {
    background-color: #c927c971;
}
#player-buttons button:active {
    background-color: #c927c9cb;
}
#player-buttons button:disabled {
    color: gray;
    background: none;
    cursor: default;
}
#slider-container {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
}
#slider-container input {
    margin-left: 10px;
    margin-right: 10px;
}
#slider-container button {
    font-size: 1.2em;
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
    padding: 5px;

    border-radius: 100%;
    background-color: #c927c971;
}
#volume-container {
    display: flex;
    transform: translateX(100vw);
    flex-direction: row;
    justify-content: left;
    align-items: center;
    transition: all .3s ease-in-out;
}
#player-slider,
#player-volume {
    flex-grow: 1;
}
.slider-style {
    appearance: none;
    background : rgb(202, 6, 186);
    border: 1px solid white;
    padding-left: 2px;
    padding-right: 2px;
    border-radius: 1em;
    height : 20px;
    width : 20px;
}

.slider-style::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: rgb(255, 255, 255);
}
.slider-style::-moz-range-thumb {
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: rgb(255, 255, 255);
}

/* Playlists Box */
#playlist-box {
    display: flex;
    flex-wrap: wrap;
    transition: all .30s ease-in-out;
}
#playlist-box button {
    border: none;
    border-radius: 25px;
    color: white;
    background: linear-gradient(-45deg,  rgb(216, 0, 205), rgb(255, 123, 0));

    height: 150px;
    text-align: center;
    font-size: 2em;
    margin: 4px;
    cursor: pointer;

    transition: all .30s ease-in-out;

    flex: 1 0 calc(25% - 8px);
    @media (max-width: 1000px) {
        flex-basis: calc(50% - 8px); 
    }
    @media (max-width: 600px) {
        flex-basis: 100%; 
    }
}
.playlistbt-yellow {
    background: linear-gradient(-45deg,  rgb(255, 123, 0), rgb(216, 140, 0)) !important;
}
.playlistbt-green {
    background: linear-gradient(-45deg,  rgb(0, 136, 11), rgb(0, 255, 234)) !important;
}
.playlistbt-aqua {
    background: linear-gradient(-45deg,  rgb(4, 0, 216), rgb(0, 217, 255)) !important;
}
#playlist-box button:hover,
#playlist-box button:focus-visible {
    box-shadow:inset 0px 0px 0px 8px rgb(255, 165, 233);
}
#playlist-box button:active {
    transform: scale(.9);
}

#playlist-box button i {
    display: block;
    margin-bottom: 10px;
    font-size: 1.5em;
}

/* Featured box */
#featured-box {
    display: flex;
    flex-wrap: wrap;
    transition: all .30s ease-in-out;
}
#featured-box button {
    border: none;
    border-radius: 25px;
    color: white;
    background: linear-gradient(-45deg,  rgb(216, 0, 205), rgb(255, 123, 0));

    height: 150px;
    text-align: center;
    font-size: 1.5em;
    margin: 4px;
    cursor: pointer;

    transition: all .30s ease-in-out;

    flex: 1 0 calc(16% - 16px);
    @media (max-width: 1000px) {
        flex-basis: calc(25% - 8px); 
    }
    @media (max-width: 400px) {
        height: 115px;
        flex-basis: 100%; 
    }
}
#featured-box button:hover,
#featured-box button:focus-visible {
    box-shadow:inset 0px 0px 0px 8px rgb(255, 165, 233);
}
#featured-box button:active {
    transform: scale(.9);
}

#featured-box button i {
    display: block;
    margin-bottom: 10px;
    font-size: 1.5em;
}

/* Chats */
#chats-list {
    margin-top: 1em;
    min-height: 300px;
    max-height: 1000px;
    font-size: 1.6em;
    padding: 1em;
    overflow-y: scroll;

    display: flex;
    flex-direction: column;
    gap: 10px;

    background-color: var(--generic-background);
}
#chats-list div {
    
}
#chats-list p {
    margin-top: 0px;
    font-size: .75em;
}
#chats-list span {
    margin-top: 0;
    font-size: .5em;
}

/* Cookie overlay */
.cookie-overlay {
    position: fixed;
    bottom: 10px;
    margin-left: 10px;
    margin-right: 1em;
    background: #4d2464;
    z-index: 9999; /* On Top of the World! */
    line-height: 20px;
    font-size: 14px;
    border-radius: 6px;
    max-width: 50em;
    padding: 1.5em;
    color: white;
  
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}
.cookie-overlay img {
    width: 3em;
    float: left;
    margin-right: 1em;
}
.cookie-overlay button {
    margin-right: 1em;
    width: 200px;

    @media screen and (max-width: 468px) {
        width: calc(100% - 2em);
    }
}

/* Buttons */
.pizza-button {
    font-size: 1.6em;
    font-family: lato;
    font-weight: 700;
    color: white;
    border: none;
    border-radius: 15px;
    background-color: #5F7FFF;

    display: inline-block;

    cursor: pointer;

    padding-left: 30px;
    padding-right: 30px;
    padding-top: 15px;
    padding-bottom: 15px;
}

/* Link buttons */
.linkbutton:hover,
.linkbutton:focus {
    background-color: rgba(117, 117, 117, 0.2);
    filter: drop-shadow(0px 0px 5px rgb(56, 58, 58));
    transition: all .30s ease-in-out;
}

/* YButton */
.ybutton {
    cursor:pointer;

    background: linear-gradient(-45deg,  rgb(216, 0, 205), rgb(255, 123, 0));
    border-radius: 1em;
    padding: 1em;
    border: none;

    user-select: none;

    font-size: 1em;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.753);


    margin-top: 1em;

    display: inline-block;
    text-align: center;

    transition: all .30s ease-in-out;
}
.ybutton-thin {
    padding: .25em;
    font-size: .8em;
    margin: 0;
}
.ybutton-singleicon {
    min-width: auto;
    width: 3em;
}
.ybutton:hover {
    filter: drop-shadow(0px 0px 5px rgb(0, 0, 0));
    
    transition: filter .20s ease-in-out;
}
.ybutton:focus-visible {
    filter: drop-shadow(0px 0px 5px rgb(0, 0, 0));
    box-shadow:inset 0px 0px 0px 5px rgb(255, 255, 255);
    transition: all .30s ease-in-out;
}
.ybutton:active {
    filter: grayscale(40%);

    transition: all .30s ease-in-out;
}
.ybutton:disabled {
    filter: grayscale(100%);

    transition: all .30s ease-in-out;
}

.singleline-ybutton {
    /* A ybutton that will be a element on It's own, no parents */
    max-width: calc(100% - 2em); /* padding */
    width: 200px;
}

/* Password input */
.password-input {
    -webkit-text-security: disc;
}

.reveal-password-input {
    -webkit-text-security: none;
}

/* SIGN COMPONENTS */
/* Sign Button */
.signbutton{
    min-height: 20px;
    cursor:pointer;
    font-weight: 700;
    color: rgb(255, 255, 255);
    border: none;
    border-style: solid;
    border-width: 5px;
    border-color: rgb(151, 0, 238);
    font-size: 14px;
    box-sizing: border-box;

    padding: 1em;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;

    user-select: none;
    display: inline-block;
    text-align: center;

    background-color: rgb(80, 0, 155);
    
    transition: all .25s;
}
.signbutton:hover {
    background-color: rgb(148, 44, 245);
    border-color: rgb(129, 0, 204);
}
.signbutton:focus-visible, .signbutton:active {
    background-color: rgb(219, 0, 226);
    border-color: rgb(238, 0, 206);
}
.signbutton:disabled {
    background-color: rgb(70, 59, 80);
    border-color: rgb(42, 42, 43);
}

.signbutton-small {
    max-width: 75px;
}

/* Sign Input */
.signinput{
    flex-grow: 1;
    height: 50px;
    
    min-width: none;

    background-color: rgb(187, 152, 228);
    color: black;
    border: solid 5px rgb(101, 0, 148);

    padding: .5em;
    padding-top: .2em;
    padding-bottom: .2em;
    border-top-left-radius: 1em;
    border-bottom-right-radius: 1em;
}
.signinput:focus,
.signinput:active {
    background-color: rgb(240, 161, 240);
    color: black;
    border: solid 5px rgb(255, 0, 234);
}

.slimsigninput {
    height: 30px;
}

/* Danger sign button */
.dangerbutton {
    background-color: rgb(167, 0, 0) !important;
    border-color: #c43636 !important;
    padding: 1em !important;
    min-width: 15em !important;
}

.dangerbutton:hover {
    background-color: #c43636 !important;
}

.dangerbutton:focus-visible, .dangerbutton:active {
    background-color: #ffffff !important;
    color: red !important;
    border-color: rgb(255, 0, 0) !important;
}

.dangerbutton:disabled {
    color: white !important;
    background-color: #583c3c !important;
    border-color: rgb(136, 85, 85) !important;
}

.singleline-signinput {
    max-width: calc(100% - 1em - 6px); /* padding, border */
    width: 400px;
}

.fullline-signinput {
    width: calc(100% - 1em - 6px); /* padding, border */
}

/* Sign Checkbox */
input[type="checkbox"].signswitch{
    font-size: 15px;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    width: 3em;
    height: 1.5em;
    background: #c25454;
    border-radius: 3em;
    position: relative;
    cursor: pointer;
    outline: none;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
} 
input[type="checkbox"].signswitch:checked{
    background: #35925f;
}
input[type="checkbox"].signswitch:after{
    position: absolute;
    content: "";
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    background: #fff;
    -webkit-box-shadow: 0 0 .25em rgba(0,0,0,.3);
            box-shadow: 0 0 .25em rgba(0,0,0,.3);
    -webkit-transform: scale(.7);
            transform: scale(.7);
    left: 0;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
input[type="checkbox"].signswitch:checked:after{
    left: calc(100% - 1.5em);
}
input[type="checkbox"].signswitch:disabled{
    background: #8b8b8b;
    width: 1me;
}

/* Sign Dropdown */
.signdropdown {
    flex-grow: 1;
    flex-basis: calc(50% - 0.4em); /* 50% with spacing */
    min-height: 20px;
    cursor:pointer;
    font-weight: 700;
    color: rgb(0, 0, 0);
    background-color: rgb(195, 134, 252);
    border: none;
    border-style: solid;
    border-width: 3px;
    border-color: rgb(123, 67, 253);
    font-size: 14px;

    padding-top: .5em;
    padding-bottom: .5em;
    padding-left: 1em;
    padding-right: 1em;
    border-radius: 20px;

    user-select: none;
    display: inline-block;
    text-align: center;
    
    transition: all .25s;
}

/* APP PAGES SPECIFIC */
/* Page - Account(+others) */
.accountbutton {
    min-width: 15em;
}

/* Gradient Banner */
#gradient-background {
    min-height: calc(40.4vh+16em);
    display: flex;
    flex-direction: column;

    padding-top: 16em;

    background: url("/img/banner.png");
    background-size: cover;
}
#banner-image { 
    float: right;
    width: 40%;
    padding: 1em;
    border-radius: 2em;

    @media screen and (max-width: 688px) {
        padding: 0em;
        border-radius: 1em;
        width: calc(100%);
    }
}

/* Float items */
.floatright {
    float: right !important;
}
@media screen and (min-width:456px) {
    .floatrightpc {
        float: right !important;   
    }
}

/* Footer */
#footer {
    font-size: .6em;
    position: relative;
    bottom: 0;
    width: 100%;
    height: fit-content;
    z-index: 9;
    min-height: 80px;
    margin-top: auto;
}

.footer img {
    max-height: 40px;
    max-width: 500%;
    float: left;
    margin-top: 20px;
    margin-left: 1em;
}
.footer-category {
    font-size: 2em;
    font-weight: 900;
}

.footer-rows:after {
    content: "";
    display: table;
    clear: both;
}

.foot-litem {
    font-size: 1.2em;
    font-weight: 600;
    transition: all .30 ease-in-out
}
.foot-litem:hover,
.foot-litem:focus {
    filter: drop-shadow(0px 0px 15px rgb(0, 0, 0));
    transition: all .30 ease-in-out
}
.foot-litem:focus {
    filter: drop-shadow(0px 0px 15px rgba(255,255,255,1));
    transition: all .30 ease-in-out
}

#footer-items {
    max-width: 800px;
    padding: 2em;
    margin-left: auto;
    margin-right: auto;  
}
#footer-items a{
    text-decoration: none;

    display: block;
}
#footer-items a:focus-visible{
    background-color: rgb(32, 32, 32);
    color: white;
    text-decoration:underline;
}
#footer-copyright {
    float: right;
    margin-top: 1em;
    font-size: 1.3em;
}
#footer-image {
    max-height: 5em;
    max-width: 100%;
    display: block;
}
@media screen and (min-width: 768px) {
    .foter-column {
        float: left; 
        width: 18%;
        padding: 10px;
    }
    .column-logo {
        float: left; 
        width: 30%;
        padding: 10px;
    }
}

/* Slideshow */
.centered-slide-show {
    width: 40em;
    max-width: 100%;
    display: flex;
}

.centered-slide-show img {
    width: 100%;
    border-top-left-radius: 3em;
    border-bottom-right-radius: 3em;

    aspect-ratio: 3/2;
    object-fit: cover;
}

.slide-item {
    display: none;
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }
  
  @keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }

/* Footer link transitions */
.text-to-blue { transition: all .15s ease-in-out; }
.text-to-blue:hover { color: rgb(0, 134, 252); transition: all .15s ease-in-out; }
.text-to-green { transition: all .15s ease-in-out; }
.text-to-green:hover { color: rgb(0, 252, 0); transition: all .15s ease-in-out; }
.text-to-yellow:hover { color: rgb(252, 214, 0); transition: all .15s ease-in-out; }
.text-to-yellow { transition: all .15s ease-in-out; }
.text-to-red { transition: all .15s ease-in-out; }
.text-to-red:hover { color: rgb(255, 38, 0); transition: all .15s ease-in-out; }
.text-to-pink { transition: all .15s ease-in-out; }
.text-to-pink:hover { color: rgb(248, 0, 174); transition: all .15s ease-in-out; }

/* Dark mode element */
.darkmode {
    color: white;
    background-color: black;
}

.darkmodegray {
    color: white;
    background-color: rgb(39, 39, 39);
}

.backgroundthemetransition {
    transition: background-color .25s ease-in-out;
    transition: color .25s ease-in-out;
}

/* Device specific content */
@media screen and (min-width: 688px) {
.content-mobile {display: none !important;}
}

@media screen and (max-width: 688px) {
.content-desktop {display: none !important;}
}

@media screen and (min-width: 688px) {
.content-mobile {display: none !important;}
}

@media screen and (max-width: 688px) {
.content-desktop {display: none !important;}
}
