body {
    margin: 0;
    overflow-y: hidden;

    font-family: "Ubuntu", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
    color: #ffbdff;

    display: flex;
    flex-direction: column;
    align-items: center;

    background-image: url("/static/themes/purathemex/background.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

header {
    position: sticky;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    width: 100%;
    height: 100px;
    min-height: 100px;
    background-color: rgba(16, 16, 16, .85);
    border-bottom: 2px solid #a08cbd;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60vw;
    min-width: 1000px;
}

main {
    display: flex;
    overflow-y: auto;
    flex-grow: 1;
    flex-direction: column;
    align-items: center;
    background-color: rgba(0, 0, 0, .7);
    width: 60vw;
    min-width: 1000px;
    height: calc(100vh - 154px);
    padding-left: 1em;
    padding-right: 1em;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;

    position: sticky;
    bottom: 0;
    width: 100%;
    height: 50px;
    background-color: rgba(16, 16, 16, .85);
    border-top: 2px solid #a08cbd;
    z-index: 1000;
}

p {
    font-size: 18px;
    color: #e49bad;
    font-family: "Ubuntu", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
}
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent !important;
}

::-webkit-scrollbar-thumb {
    background: #ffbdff;
    border-radius: 4px;
}

::-webkit-scrollbar-corner {
    background: transparent !important;
}

.navright {
    display: flex;
    justify-content: end;
    gap: 1em;
    width: 100%;
}

.logo {
    min-width: fit-content;
    font-size: 40px;
    font-weight: bold;
    cursor: default;
    font-family: "Ubuntu", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
    background-image: url("/static/themes/purathemex/logo.png");
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    width: 500px;
    height: 90px;
}

.settings {
    position: absolute;
    top: calc(50vh - 400px);
    left: calc(50vw - 300px);
    height: 800px;
    width: 600px;
    background-color: rgba(0, 0, 0, .75);
    border-radius: 20px;
    z-index: 1000;
    display: none;
    align-items: center;
    flex-direction: column;
}

.settings.active {
    display: flex;
}

.navbutton1 {
    font-size: 20px;
    color: #ffbdff;
    background-color: transparent;
    border-radius: 20px;
    padding-left: 1em;
    padding-right: 1em;
    height: 40px;
    border: none;
    font-family: "Ubuntu", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
}

.navbutton1:hover {
    background-color: rgba(255, 255, 255, .1);
    cursor: pointer;
}

.navbutton2 {
    font-size: 20px;
    color: #ffbdff;
    background-color: transparent;
    border-radius: 20px;
    width: 40px;
    height: 40px;
    border: none;
}

.navbutton2:hover {
    background-color: rgba(255, 255, 255, .1);
    cursor: pointer;
}

.hlink {
    color: #ffbdff;
}

.container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.container2 {
    display: flex;
    flex-direction: column;
    justify-items: left;
    width: calc(100% - 40px);
    overflow: hidden;
    row-gap: 1em;
}

.filedrop {
    border-radius: 20px;
    border:#a08cbd 2px dashed;
    padding: 20px;
    font-family: "Ubuntu", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
    color: #e49bad;
    text-align: center;
    background-color: transparent;
    transition: ease 0.1s background-color;
}

.filedrop:hover {
    cursor: default;
}

.filedrop.dragover {
    background-color: rgba(255, 255, 255, .2);
    cursor: grab;
}

.tabcont {
    display: none;
    flex-direction: column;
    width: 100%;
    overflow-y: scroll;
    overflow-x: scroll;
    flex-grow: 1;
}

.tabcont.active {
    display: flex;
}

.label {
    font-weight: bold;
    font-size: 25px;
    color: #e49bad;
    font-family: "Ubuntu", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
    padding: 0;
}

.label2 {
    font-weight: bold;
    font-size: 35px;
    color: #ffbdff;
    font-family: "Ubuntu", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
    padding: 0;
}

.label3 {
    font-weight: bold;
    font-size: 20px;
    color: #e49bad;
    font-family: "Ubuntu", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
}

.label4 {
    font-weight: bold;
    font-size: 25px;
    color: #ffbdff;
    font-family: "Ubuntu", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
    padding: 0;
}

.label5 {
    font-size: 18px;
    color: #e49bad;
    font-family: "Ubuntu", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
    padding: 0;
    padding-top:  25px;
}


.label2:hover {
    cursor: default;
}

.label3:hover {
    cursor: default;
}

.label4:hover {
    cursor: default;
}

.label5:hover {
    cursor: default;
}

.user {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 1em;
    padding: 0;
}

.beatmap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
    padding: 0;
}

.avatar {
    height:100px;
    width: 100px;
    border: #a08cbd 2px solid;
    border-radius: 50px;
}

.avataricon {
    height: 40px;
    border-radius: 20px;
}

.avataricon:hover {
    cursor: pointer;
}

.avatar:hover {
    cursor: pointer;
}

.username {
    font-weight: bold;
    font-size: 50px;
    color: #ffbdff;
    font-family: "Ubuntu", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
    padding: 0;
    text-align: left;
    width: 40%;
}

.beatmapname {
    font-weight: bold;
    font-size: 50px;
    color: #ffbdff;
    font-family: "Ubuntu", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
    padding: 0;
    text-align: center;
    margin-block-end: 0;
}

.diffname {
    font-weight: bold;
    font-size: 35px;
    color: #e49bad;
    font-family: "Ubuntu", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
    padding: 0;
    text-align: center;
}

.username:hover {
    cursor: default;
}

.beatmapname:hover {
    cursor: default;
}

.diffname:hover {
    cursor: default;
}

.label:hover {
    cursor: default;
}

.search {
    font-size: 20px;
    color: #e49bad;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 25px;
    width: 35%;
    min-width: 150px;
    height: 50px;
    font-family: "Ubuntu", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
    padding-left: 1em;
    padding-right: 1em;
    margin-right: 1em;
    border: none;
}

.search:focus {
    border: none;
    outline: none;
}

.checkbutton {
    font-size: 20px;
    font-family: "Ubuntu", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
    color: #ffbdff;
    background-color: transparent;
    border-radius: 20px;
    padding-left: 1em;
    padding-right: 1em;
    height: 40px;
    border: none;
}

.checkbutton:hover {
    cursor: pointer;
    background-color: rgba(255, 255, 255, .1);
}

.checkbutton2 {
    font-size: 16x;
    font-family: "Ubuntu", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
    color: #ffbdff;
    background-color: transparent;
    border-radius: 10px;
    height: 20px;
    border: none;
    padding-left: 1em;
    padding-right: 1em;
}

.checkbutton2:hover {
    cursor: pointer;
    background-color: rgba(255, 255, 255, .1);
}

.checkbutton.checked {
    background-color: rgba(255, 255, 255, .2);
}

.checkbutton.checked:hover {
    cursor: pointer;
}

.checkbutton2.checked {
    background-color: rgba(255, 255, 255, .2);
}

.checkbutton2.checked:hover {
    cursor: pointer;
}

.options{
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    gap: 1em;
    padding: 0;
}

.options2{
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    row-gap: .5em;
}

.block {
    display: block;
}

.tablehead {
    font-family: "Ubuntu", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
    color: #ffbdff;
    table-layout: fixed;
    width: 100%;
}

.table {
    font-family: "Ubuntu", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
    color: #ffbdff;
    table-layout: fixed;
    width: 100%;
}

.table::-webkit-scrollbar {
    display: none;
}

.tablecont {
    height: 100%;
    overflow-y: auto;
}

.table th, td {
    padding: 5px;
    padding-left: 0px;
    padding-right: 0px;
    text-align: right;
}

.table tr:hover {
    background-color: rgba(255, 255, 255, .1);
    cursor: pointer;
}

thead:hover {
    cursor: default;
}

.table thead { 
    top: 0px; 
    z-index: 1; 
    text-align: right;
}

.plot {
    margin-top: 25px;
    border: 5px solid #a08cbd;
    border-radius: 5px;
}

.plotcont {
    align-content: stretch;
    display: flex;
    justify-content: center;
    gap: 25px;
    padding-bottom: 25px;
    z-index: 2;
}