@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP');
p, h1, h2 {
    color: white;
    font-family: Noto Sans JP, Arial;
    width: fit-content;
    font-size: 16px;
}

h1 {
    font-weight: 800;
    font-size: 32px;
    margin: auto;
}

h2 {
    font-size: 22px;
    display: inline-block;
    vertical-align: middle;
}

button {
    font-family: Noto Sans JP, Arial;
}

body {
    background-color: #2B2B2B;
    background-size: cover;
    background-attachment: fixed;
    margin: 0 0 0 0;
    zoom: 85%;
}

canvas {
    margin: 0px 0px;  
    image-rendering: pixelated;
    border-bottom-left-radius: 6px;
    position: absolute;
    bottom: 0px;
}

.portraitBG canvas {
    margin: 4px 4px
}

.parentContainer {
    width: 185px;
    height: 285px;
    display: inline-block;
    padding: 7 7;
    margin: 30 15 10 15;
    cursor: pointer;
    border-radius: 10px;
    background-color: #555555;
    border: 4px solid black;
    transition-duration: 0.08s;
    position: relative;
    overflow: hidden;
}

.parentContainer:hover {
    background-color: #666666;
}

.parentContainer.expanded {
    width: 660px;
}

.parentContainer p {
    cursor: default;
}

.portraitContainer {
    display: inline-block;
    height: 150px;
    border-radius: 5px;
    background-image: url("./assets/tutorial.png");
    background-size: 150px;
    animation: scrolling 15s linear infinite;
    background-position: -150px 150px;
}

.portraitBG {
    width: 185px;
    height: inherit;
    background-image: url("./assets/textbox.png");
    background-repeat: no-repeat;
    background-position-y: bottom;
    background-size: 160px;
    image-rendering: pixelated;
    position: relative;
}

#togglePortrait {
    background-color: #7B7B7B;
    border: 3px solid #9C9C9C;
    transition-duration: 0.1s;
}

#togglePortrait:hover {
    border: 3px solid #B0B0B0;
}

#togglePortrait.noPortrait {
    background-color: #202020;
}

.portraitBG.noPortrait {
    background-image: none;
}

.noPortrait canvas {
    border-bottom-left-radius: 0px;
    filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.33)) 
}

.charName {
    margin-top: 1px;
    margin-bottom: 2.5px;
    font-size: 18px;
    font-weight: 700;
    max-width: 200px;
    max-height: 55px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.charJSON, .tags {
    font-size: 10px;
    margin-top: 12px;
    margin-bottom: 0px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 165px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.charAuthor {
    margin-top: 0;
    margin-bottom: 4px;
    font-size: 12px;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tags {
    font-size: 12px;
    margin-top: 0px;
    height: 55px;
    width: 185px;
    overflow-y: auto;
}

.tags span:hover {
    color: rgba(255, 255, 255, 0.8);
}

.charType {
    color: rgba(255, 255, 255, 0.9);
}

.charType:hover {
    color: rgba(255, 255, 255, 1) !important;
}

.peerIcon {
    display: inline-block;
    cursor: help !important;
    width: 11px;
    margin-left: 1px;
}

.metadata {
    position: absolute;
    top: 0;
    left: 225px;
    font-size: 15px;
}

a {
    color: aqua !important;
    transition-duration: 0.1s;
}

a:hover {
    color: rgb(180, 255, 255) !important;
}

select, input, button {
    font-family: Noto Sans JP, Arial;
    font-size: 16px;
}

.expressionSelector, .expressionBox, .modPeerReview {
    background: none;
    color: white;
    outline: none;
    padding: 0 0;
    border-radius: 3px;
    border: 1px solid white;
    max-width: 110px;

}

.expressionBox {
    transition-duration: 0.1s;
    background-color: rgba(0, 0, 0, 0.1);
}

.expressionBox:hover {
    background-color: rgba(0, 0, 0, 0.33);
}

input.expressionBox {
    max-width: 50px !important;
}

button.expressionBox {
    width: 90px;
    margin-left: 5px;
}

option {
    background-color: #111111;
}

#discordAvatar {
    cursor: pointer;
    height: 70px;
    border-style: solid;
    border-width: 3.5px;
    border-radius: 420px;
    background-color: rgba(0, 0, 0, 0.5);
    vertical-align: middle;;
}

#profilePopup {
    width: 200px;
    height: auto;
    position: absolute;
    background-color: #111111;
    z-index: 2;
    right: 15px;
    top: 90px;
    border-radius: 5px;
    padding: 10px 0px;
    overflow: hidden;
}

#profilePopup div {
    display: block;
    padding: 7px 0px 0px 7px;
    margin: 2px 7px;
    width: 179px;
    height: 40px;
    transition-duration: 0.1s;
    text-align: left;
    cursor: pointer;
    border-radius: 3px;
}

#profilePopup div:hover {
    background-color: rgba(255, 255, 255, 0.15);
}


#profilePopup p {
    font-size: 20px;
    margin: 0px 0px 0px 0px;
}

.header {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    height: 100px;
    overflow-y: hidden;
    overflow-x: auto;
    transition-duration: 0.1s;
}

.header.expanded {
    height: 210px
}

.header *, .inline {
    display: inline-block;
}

.altSection p {
    font-size: 20px;
    margin: 0px 0px 0px 40px;
    vertical-align: middle;
}

.menu, .pageBtn {
    background-color: #4B4B4B;
    transition-duration: 0.1s;
    border-radius: 10px;
    outline: none;
    border: none;
    height: 50px;
    color: white;
    font-family: Noto Sans JP, Arial;
    vertical-align: middle;
}

.menuSection {
    white-space: nowrap;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    min-width: 1450px !important;
    z-index: 2;
}

.coolScroll::-webkit-scrollbar {
    height: 3px;
    width: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
  }
  
.coolScroll::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 6px;
}

.menuSection::-webkit-scrollbar {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
  }
  
.menuSection::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 6px;
}

.header::-webkit-scrollbar {
    height: 8px;
    background-color: rgba(0, 0, 0, 0.33);
    border-radius: 6px;
  }
  
.header::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 6px;
}

button {
    cursor: pointer;
}

input.menu:focus, .menu:hover {
    background-color: #5E5E5E;
}

input.menu::placeholder {
    font-weight: normal;
    color: rgba(255, 255, 255, 0.33)
}

.menuBtn {
    width: min-content;
    margin-left: 15px;
    font-size: 18px;
    padding: 0 10
}

.pageBtn {
    background: none;
    background-color: none;
    font-size: 30px;
    font-weight: 700;
    padding-bottom: 5px;
    color: #4B4B4B;
}

.pageBtn:hover {
    color: #5E5E5E;
}

.filterClick:hover {
    text-decoration: underline;
    cursor: pointer;
}

.filterBox {
    text-align: center;
    margin-right: 25px;
}

.filterBox p {
    display: block;
    margin: auto;
    margin-bottom: 5px;
}

.filterBox .menuBtn {
    margin-left: 0px !important
}

.fakelink {
    text-decoration: underline;
    cursor: pointer;
}

input[type=number] {
    -moz-appearance: textfield;
    padding: 0 0 0 0 !important;
    font-weight: normal !important;
    text-align: center;
    width: 100px !important;
    max-width: 100px;
    margin: 0 5;
}

.popup {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.66);
    z-index: 5;
}

.popupBox {
    background-color: #101010;
    border: 3px solid white;
    border-radius: 10px;
    width: 500px;
    height: auto;
    margin: 50px auto 0 auto;
    padding: 20px 30px;
}

.popupBox p {
    text-align: center;
    font-size: 20px;
    margin: auto;
}

.uploadBtn {
    text-align: center;
    margin: auto;
    background-color: #111111;
    border: 2px solid white;
    border-radius: 10px;
    width: 200px;
    transition-duration: 0.1s;
}

.uploadBtn:hover {
    background-color: #222222;
}

.uploadBtn label {
    cursor: pointer;
    width: 100%;
}

.uploadBtn p {
    padding: 9 5;
    text-align: center;
    margin: auto;
    color: rgba(255, 255, 255, 0.75);
    font-size: 24px;
}

input:not(.noSpin)::-webkit-outer-spin-button, input:not(.noSpin)::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.red, .requiredField {
    color: rgb(255, 100, 100) !important;
}

.center {
    text-align: center;
}

#ccSearch {
    font-size: 23px;
    width: 33%;
    min-width: 100px;
    max-width: 750px;
    font-weight: 700;
    padding-left: 10px;
}

.uploadPreview {
    margin-top: 22px;
    vertical-align: top;
    display: inline-block;
    margin-left: 15px;
    overflow: hidden;
}

.previewPortrait {
    background-color: #202020;
    width: 325px;
    text-align: center;
    border-radius: 10px;
    border: 4px solid rgba(0, 0, 0, 0);
}

.previewInput:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.uploadStuff {
    vertical-align: top;
    display: inline-block;
    margin-left: 50px;
    text-align: left;
    border: 4px solid rgba(0, 0, 0, 0);
    border-radius: 10px;
    background-color: #202020;
    padding: 15px 25px;
    margin-top: 22px;
    margin-bottom: 35px;
}

.uploadStuff h2 {
    margin-bottom: 10px;
}

.requiredField {
    display: inline-block;
    font-size: 20px;
    margin-bottom: 0;
    vertical-align: middle;
    cursor: help;
}

textarea {
    padding-top: 6px;
}

hr {
    border: none;
    outline: none;
    height: 2px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.25));
}

.publishInfo {
    background-color: rgba(255, 255, 255, 0.15);
    transition-duration: 0.1s;
    border-radius: 8px;
    outline: none;
    border: none;
    height: 42px;
    width: 100%;
    color: white;
    font-family: Noto Sans JP, Arial;
    font-size: 20px;
    padding-left: 10px;
    margin-bottom: 10px;
    vertical-align: middle;
}

.publishInfo:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.uploadBox {
    width: 650px;
}

.uploadBox p {
    margin-top: 0;
    color: rgb(180, 180, 180)
}

.confirmBox {
    display: inline-block;
    transform: scale(1.5);
    vertical-align: middle;
    cursor: pointer;
}

#publishCC {
    background-color: #2C4FDB;
    filter: saturate(75%);
}

#publishCC:hover {
    filter: saturate(100%);
}

#credits p {
    font-size: 18px;
    line-height: 30px;
}

.header .hot_cogs {
    transition-duration: 0.25s;
    transition-timing-function: ease-in-out;
}

.header.expanded .hot_cogs {
    transform: rotate(45deg);
}

@keyframes scrolling { 
    0% { background-position: 0px 0px };
    100% { background-position: -150px 150px };
}