html, body {
    position: relative;
    padding: 0;
    margin: 0;
    min-width: 1060px;
    color: #b7aa96;
    font-family: "Lucida Sans Unicode", Arial, sans-serif;
    font-size: 12px;
    background: #000 url(images/bg.webp) center 0 no-repeat;
}

html {
    height: 100%;
}

body {
    min-height: 100%;
}

a {
    color: #b68f5f;
    text-decoration: none;
    transition: color 150ms;
    text-shadow: 0 0 3px #000, 0 0 3px #000, 0 0 3px #000;
}

a:hover {
    color: #b4a490;
}

.button-effects {
    transition: filter 150ms;
}

.button-effects:hover {
    filter: saturate(1.2) brightness(1.2);
}

.button-effects:active {
    filter: saturate(1.2) brightness(0.8);
}

#page {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    height: 100%;
}

#page::after {
    content: '';
    display: block;
    height: 215px;
}

#header {
    position: relative;
    height: 425px;
}

#logo {
    display: block;
    background: url(images/logo.webp) 0 0 no-repeat;
    width: 541px;
    height: 287px;
    margin: 87px 0 0;
}

#navbar-wrapper {
    position: relative;
    z-index: 75;
}

@supports (mix-blend-mode: screen) {
    #navbar-bg {
        position: absolute;
        left: -126px;
        top: -130px;
        background: url(images/navbar-bg.webp);
        width: 1345px;
        height: 433px;
        mix-blend-mode: screen;
        z-index: 1;
        pointer-events: none;
    }
}

#navbar {
    background: url(images/navbar.webp);
    width: 1020px;
    height: 162px;
    margin: 0 0 -30px 40px;
    display: flex;
    justify-content: space-between;
    z-index: 30;
}

.navbar-items {
    padding: 80px 76px 60px;
    width: 437px;
    display: flex;
    box-sizing: border-box;
}

#download-button-wrapper {
    position: absolute;
    top: 30px;
    left: 498px;
}

#download-button {
    display: block;
    background: url(images/download-gem.webp);
    width: 104px;
    height: 104px;
    box-sizing: border-box;
    padding: 53px 0 0;
    text-shadow: none;
    text-align: center;
}

#download-button span {
    position: relative;
    z-index: 3;
    font-size: 1.49rem;
    letter-spacing: 0;
    font-family: Calibri, Candara, Segoe, Segoe UI, Optima, Arial, sans-serif;

    background-image: linear-gradient(
        rgb(255, 221, 163) 0%, rgb(255, 221, 163) 33.8235%, rgb(255, 232, 173) 33.8335%, rgb(255, 232, 173) 38.2353%,
        rgb(255, 218, 165) 38.2453%, rgb(255, 218, 165) 42.6471%, rgb(248, 203, 152) 42.6571%, rgb(248, 203, 152) 47.0588%,
        rgb(255, 217, 161) 47.0688%, rgb(255, 217, 161) 51.4706%, rgb(255, 251, 184) 51.4806%, rgb(255, 251, 184) 55.8824%,
        rgb(255, 255, 198) 55.8924%, rgb(255, 255, 198) 60.2941%, rgb(255, 255, 186) 60.3041%, rgb(255, 255, 186) 64.7059%,
        rgb(255, 220, 153) 64.7159%, rgb(255, 220, 153) 69.1176%, rgb(241, 182, 126) 69.1276%, rgb(241, 182, 126) 73.5294%,
        rgb(201, 150, 101) 73.5394%, rgb(201, 150, 101) 100%
    );

    background-clip: text;
    -webkit-background-clip: text;
    text-transform: uppercase;
    color: transparent;

    filter: drop-shadow(0 0 1px #000) drop-shadow(0 0 6px #000) drop-shadow(0 0 6px #000) brightness(1.1);
}

.navbar-items:first-child {
    justify-content: flex-end;
}

.navbar-items:last-child {
    justify-content: flex-start;
}

.navbar-items a {
    text-shadow: none;
    transition: filter 100ms;
}

.navbar-items a:hover {
    filter: brightness(1.2);
}

.navbar-items a:active {
    filter: brightness(0.8);
}

.navbar-items a span {
    position: relative;
    z-index: 3;
    font-size: 1.49rem;
    letter-spacing: 0;
    font-family: Calibri, Candara, Segoe, Segoe UI, Optima, Arial, sans-serif;

    background-image: linear-gradient(
        rgb(255, 212, 157) 0%, rgb(255, 212, 157) 33.8235%, rgb(255, 223, 166) 33.8335%, rgb(255, 223, 166) 38.2353%,
        rgb(255, 211, 160) 38.2453%, rgb(255, 211, 160) 42.6471%, rgb(253, 208, 155) 42.6571%, rgb(253, 208, 155) 47.0588%,
        rgb(255, 220, 164) 47.0688%, rgb(255, 220, 164) 51.4706%, rgb(255, 239, 175) 51.4806%, rgb(255, 239, 175) 55.8824%,
        rgb(255, 255, 188) 55.8924%, rgb(255, 255, 188) 60.2941%, rgb(255, 255, 191) 60.3041%, rgb(255, 255, 191) 64.7059%,
        rgb(255, 255, 178) 64.7159%, rgb(255, 255, 178) 69.1176%, rgb(255, 226, 156) 69.1276%, rgb(255, 226, 156) 73.5294%,
        rgb(252, 187, 126) 73.5394%, rgb(252, 187, 126) 100%
    );

    background-clip: text;
    -webkit-background-clip: text;
    text-transform: uppercase;
    color: transparent;

    filter: drop-shadow(0 0 1px #3b597e) drop-shadow(0 0 1px #3b597e) drop-shadow(0 0 1px #000) drop-shadow(0 0 0 #000) drop-shadow(0 1px 2px #000);
}

.navbar-separator {
    display: inline-block;
    background: url(images/navbar-separator.webp);
    width: 20px;
    height: 25px;
    vertical-align: middle;
    margin: 2px 26px 0;
}

#container {
    position: relative;
}

#frame {
    position: absolute;
    top: 129px;
    bottom: 0;
    left: 69px;
    background: url(images/frame-top.webp) 0 0 no-repeat;
    width: 962px;
    z-index: 25;
}

#frame::before {
    content: '';
    display: block;
    position: absolute;
    background: url(images/frame-repeat.webp) 0 0;
    width: 566px;
    top: 401px;
    left: 198px;
    bottom: 179px;
    z-index: 1;
}

#frame::after {
    content: '';
    display: block;
    position: absolute;
    background: url(images/frame-bottom.webp);
    width: 582px;
    height: 180px;
    bottom: 0;
    left: 190px;
    z-index: 2;
}

#main {
    position: relative;
    display: flex;
}

#left {
    position: relative;
    background: url(images/panel-left.webp);
    width: 298px;
    height: 562px;
    margin: 0 -20px 0 0;
    z-index: 60;
}

#content-wrapper {
    width: 544px;
    /*background: #2227;
    min-height: 1012px;*/
    min-height: 500px;
    z-index: 50;
}

#right {
    position: relative;
    background: url(images/panel-right.webp);
    width: 298px;
    height: 562px;
    margin: 0 0 0 -20px;
    z-index: 60;
}

#frame-addon {
    background: url(images/content-bottom-addon.webp);
    width: 666px;
    height: 374px;
    position: absolute;
    bottom: -32px;
    left: 217px;
    z-index: 20;
}

.cloth {
    position: absolute;
    background: url(images/cloth-top.webp) 0 0 no-repeat;
    width: 56px;
    top: 657px;
    bottom: 0;
    z-index: 15;
}

.cloth::before {
    content: '';
    display: block;
    position: absolute;
    background: url(images/cloth-repeat.webp) 0 0;
    width: 56px;
    top: 130px;
    right: 0;
    bottom: 340px;
    z-index: 1;
}

.cloth::after {
    content: '';
    display: block;
    position: absolute;
    background: url(images/cloth-bottom.webp);
    width: 59px;
    height: 355px;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.cloth-left {
    left: 217px;
}

.cloth-right {
    right: 217px;
    transform: scaleX(-1);
}

#content-bg {
    content: '';
    display: block;
    position: absolute;
    background: url(images/content-top.webp) 0 0 no-repeat;
    width: 536px;
    top: 490px;
    left: 282px;
    bottom: 0;
    z-index: 15;
}

#content-bg::before {
    content: '';
    display: block;
    position: absolute;
    background: url(images/content-repeat.webp) 0 0;
    top: 210px;
    bottom: 0;
    left: 0;
    width: 536px;
    z-index: 1;
}

#content-bg::after {
    content: '';
    display: block;
    position: absolute;
    background: url(images/content-bottom.webp);
    width: 536px;
    height: 202px;
    left: 0;
    bottom: 30px;
    z-index: 2;
}

#content {
    padding: 32px 23px 45px;
    min-height: 591px;
}

.button, button, .download-button {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    border: none;
    font-family: Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif;
    text-transform: uppercase;
    height: 32px;
    line-height: 31px;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    text-shadow: none;
    background: transparent;
    transition: filter 100ms;
    padding: 0 35px 1px;
    min-width: 116px;
}

.button span, button span, .ranking-button span {
    position: relative;
    z-index: 3;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: -0.02rem;

    background-image: linear-gradient(
        rgb(255, 223, 166) 0%, rgb(255, 223, 166) 31.6667%, rgb(255, 218, 162) 31.6767%, rgb(255, 218, 162) 38.5%,
        rgb(251, 206, 154) 38.51%, rgb(251, 206, 154) 45.3333%, rgb(255, 225, 167) 45.3433%, rgb(255, 225, 167) 52.1667%,
        rgb(255, 237, 171) 52.1767%, rgb(255, 237, 171) 59%, rgb(255, 210, 148) 59.01%, rgb(255, 210, 148) 65.8333%,
        rgb(223, 172, 119) 65.8433%, rgb(223, 172, 119) 72.6667%, rgb(189, 142, 96) 72.6767%, rgb(189, 142, 96) 100%
    );

    background-clip: text;
    -webkit-background-clip: text;
    text-transform: uppercase;
    color: transparent;

    filter: drop-shadow(0 0 2px #3b597e) drop-shadow(0 0 1px #000) drop-shadow(0 0 0 #000) drop-shadow(0 1px 2px #000);
}

.button:hover, button:hover {
    filter: brightness(1.2);
}

.button:active, button:active, .button.active {
    filter: brightness(0.8);
}

.button::before, button::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 57px;
    right: 57px;
    background: url(images/button-repeat.webp) center;
    height: 32px;
    z-index: 1;
}

.button::after, button::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: url(images/button-terminator.webp) 0 0 no-repeat, url(images/button-terminator.webp) right -33px no-repeat;
    height: 32px;

    z-index: 2;
}

.panel-header {
    text-align: center;
    padding: 45px 0 11px;
    line-height: 25px;
}

.panel-header span {
    position: relative;
    z-index: 3;
    font-weight: bold;
    font-size: 1.2rem;
    font-family: Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif;
    font-variant: small-caps;

    background-image: linear-gradient(
        rgb(233, 200, 150) 0%, rgb(233, 200, 150) 35.7143%, rgb(233, 194, 149) 35.7243%, rgb(233, 194, 149) 41.0714%,
        rgb(215, 179, 140) 41.0814%, rgb(215, 179, 140) 46.4286%, rgb(234, 206, 160) 46.4386%, rgb(234, 206, 160) 51.7857%,
        rgb(234, 233, 177) 51.7957%, rgb(234, 233, 177) 57.1429%, rgb(234, 236, 178) 57.1529%, rgb(234, 236, 178) 62.5%,
        rgb(234, 216, 159) 62.51%, rgb(234, 216, 159) 67.8571%, rgb(234, 183, 133) 67.8671%, rgb(234, 183, 133) 73.2143%,
        rgb(210, 158, 112) 73.2243%, rgb(210, 158, 112) 100%
    );

    background-clip: text;
    -webkit-background-clip: text;
    text-transform: uppercase;
    color: transparent;

    filter: drop-shadow(0 0 2px #3c5b80) drop-shadow(0 1px 0 #0007) drop-shadow(0 0 2px #000) drop-shadow(0 0 1px #000);
}

#ranking-buttons {
    position: relative;
    display: grid;
    grid-template-columns: 110px 110px;
    grid-row: auto;
    grid-column-gap: 5px;
    grid-row-gap: 4px;
    justify-content: center;
    margin: 9px 0 0;
}

#ranking-buttons::before {
    content: '';
    display: block;
    position: absolute;
    background: url(images/ranking-button-bg.webp);
    width: 94px;
    height: 29px;
    top: 22px;
    right: 41px;
    transform: scaleX(-1);
    z-index: 1;
}

#ranking-buttons::after {
    content: '';
    display: block;
    position: absolute;
    background: url(images/ranking-button-bg.webp);
    width: 94px;
    height: 29px;
    top: 22px;
    left: 40px;
    z-index: 1;
}

.ranking-button {
    font-family: Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif;
    position: relative;
    background: url(images/ranking-button.webp);
    width: 110px;
    height: 29px;
    text-align: center;
    cursor: pointer;
    padding: 4px 0 0;
    box-sizing: border-box;
    transition: filter 100ms;
    z-index: 2;
}

.ranking-button:hover {
    filter: brightness(1.2);
}

.ranking-button:active, .ranking-button.active {
    filter: brightness(0.8);
}

.ranking-button span {
    font-size: 1.1rem;
}

#ranking-buttons-rose {
    background: url(images/rose.webp);
    width: 68px;
    height: 70px;
    position: absolute;
    pointer-events: none;
    left: 115px;
    top: -2px;
    z-index: 3;
}

#ranking-container {
    margin: 16px 0 0;
    height: 325px;
}

#ranking-content {
    width: 255px;
    margin: 0 auto;
}

.ranking-row {
    position: relative;
    display: flex;
    justify-content: space-between;
    background: url(images/ranking-row.webp);
    width: 256px;
    height: 37px;
    margin: 0 0 -5px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 36px;
    padding: 0 24px;
    box-sizing: border-box;
}

.ranking-row-1::before {
    content: '';
    display: block;
    position: absolute;
    top: 4px;
    right: 77px;
    background: url(images/flags.webp) 0 0;
    width: 74px;
    height: 26px;
    z-index: 1;
}

.ranking-row-3::before {
    content: '';
    display: block;
    position: absolute;
    top: 4px;
    right: 77px;
    background: url(images/flags.webp) 0 -27px;
    width: 74px;
    height: 26px;
    z-index: 1;
}

.ranking-name {
    position: relative;
    flex: 0 0 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    z-index: 2;
    width: 90px;
}

.ranking-name a {
    text-decoration: none;
    color: #cdaa78;
}

.ranking-name a:hover {
    color: #b4a490;
}

.ranking-value {
    position: relative;
    color: #ffc73f;
    z-index: 2;
}

.user-panel, #login-form-inputs {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.user-panel {
    height: 238px;
}

#buttons-panel {

}

#buttons-panel > a {
    display: block;
    text-shadow: none;
    box-sizing: border-box;
}

#buttons-panel > a > span {
    position: relative;
    z-index: 3;
    font-weight: bold;
    font-size: 1.22rem;
    font-family: Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif;
    font-variant: small-caps;

    background-image: linear-gradient(
            rgb(255, 221, 163) 0%, rgb(255, 221, 163) 35.7143%, rgb(255, 225, 168) 35.7243%, rgb(255, 225, 168) 41.0714%,
            rgb(255, 210, 159) 41.0814%, rgb(255, 210, 159) 46.4286%, rgb(252, 207, 155) 46.4386%, rgb(252, 207, 155) 51.7857%,
            rgb(255, 243, 182) 51.7957%, rgb(255, 243, 182) 57.1429%, rgb(255, 255, 197) 57.1529%, rgb(255, 255, 197) 62.5%,
            rgb(255, 254, 183) 62.51%, rgb(255, 254, 183) 67.8571%, rgb(255, 212, 153) 67.8671%, rgb(255, 212, 153) 73.2143%,
            rgb(222, 172, 122) 73.2243%, rgb(222, 172, 122) 100%
    );

    background-clip: text;
    -webkit-background-clip: text;
    text-transform: uppercase;
    color: transparent;

    filter: drop-shadow(0 0 2px #3c5b80) drop-shadow(0 0 1px #0009) drop-shadow(0 0 1px #000) drop-shadow(0 1px 1px #000);
}

#discord-button {
    background: url(images/discord-button.webp);
    width: 250px;
    height: 67px;
    margin: 37px 24px 0;
    padding: 22px 0 0 70px;
}

#fb-button {
    background: url(images/fb-button.webp);
    width: 244px;
    height: 59px;
    margin: -6px 27px 0;
    padding: 20px 0 0 67px;
}

#presentation-button {
    background: url(images/presentation-button.webp);
    width: 245px;
    height: 59px;
    margin: 2px 26px 0;
    padding: 20px 0 0 68px;
}

input[type="password"], input[type="text"], input[type="email"], select {
    height: 34px;
    box-sizing: border-box;
    border-image-slice: 15 24 19 24;
    border-image-width: 15px 24px 19px 24px;
    border-image-outset: 0px 0px 0px 0px;
    border-image-repeat: stretch stretch;
    border-image-source: url(images/input.webp);
    background: none;
    padding: 0 23px 5px;
    color: #c8b085;
    outline: none;
    margin: -1px;
    transition: background-color 2147483647s ease-in, background-image 2147483647s ease-in, color 2147483647s ease-in;
    min-width: 58px;
}

select {
    border-image-slice: 15 32 19 24;
    border-image-width: 15px 32px 19px 24px;
    border-image-source: url(images/select.webp);
}

select option {
    background: #000;
}

textarea {
    padding: 8px;
    border-radius: 5px;
    box-sizing: border-box;
    color: #c8b085;
    border-top: 1px solid #966d45;
    border-left: 1px solid #966d45;
    border-right: 1px solid #5c4939;
    border-bottom: 1px solid #5c4939;
    box-shadow: 0 2px 5px #000, inset 1px 1px 0 0 #ceb78c, inset -1px -1px 0 0 #3c2f26, inset 0 0 7px 2px #000;
    background: rgba(0, 0, 0, 0.5);
}

#session-button, .download-button {
    background: url(images/button-large.webp);
    width: 186px;
    height: 42px;
    margin: 9px 0;
    padding: 0 0 2px;
}

#session-button::before, #session-button::after {
    display: none;
}

#session-button span, .download-button span {
    position: relative;
    z-index: 3;
    font-weight: bold;
    font-size: 1.26rem;
    font-family: Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif;
    font-variant: small-caps;

    background-image: linear-gradient(
        rgb(255, 221, 163) 0%, rgb(255, 221, 163) 35.7143%, rgb(255, 225, 168) 35.7243%, rgb(255, 225, 168) 41.0714%,
        rgb(255, 210, 159) 41.0814%, rgb(255, 210, 159) 46.4286%, rgb(252, 207, 155) 46.4386%, rgb(252, 207, 155) 51.7857%,
        rgb(255, 243, 182) 51.7957%, rgb(255, 243, 182) 57.1429%, rgb(255, 255, 197) 57.1529%, rgb(255, 255, 197) 62.5%,
        rgb(255, 254, 183) 62.51%, rgb(255, 254, 183) 67.8571%, rgb(255, 212, 153) 67.8671%, rgb(255, 212, 153) 73.2143%,
        rgb(222, 172, 122) 73.2243%, rgb(222, 172, 122) 100%
    );

    background-clip: text;
    -webkit-background-clip: text;
    text-transform: uppercase;
    color: transparent;

    filter: drop-shadow(0 0 2px #3c5b80) drop-shadow(0 0 1px #0007) drop-shadow(0 0 1px #000) drop-shadow(0 0 1px #000);
}

#full-ranking {
    width: 172px;
    margin: 2px auto 0;
    display: block;
}

#login-form-inputs {
    margin: 16px 0 0;
}

#login-form-inputs input {
    width: 212px;
}

#password_input {
    margin: 2px 0 2px;
}

.form-links {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    font-family: Arial, Helvetica, sans-serif;
    width: 213px;
    line-height: 20px;
}

.form-links a::before {
    content: '';
    position: relative;
    display: inline-block;
    background: url(images/bull.webp);
    width: 14px;
    height: 19px;
    vertical-align: middle;
    transform: translate(-3px, 2px);
}

#slider-filler {
    height: 340px;
}

#slider-controls {
    position: absolute;
    left: 283px;
    top: 54px;
    width: 534px;
    height: 279px;
    z-index: 70;
}

#slider-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 8px;
    top: 12px;
}

#slider-nav span {
    position: relative;
    background: url(images/slider-nav.webp) right 0;
    width: 22px;
    height: 27px;
    cursor: pointer;
    margin: 0 0 -6px;
}

#slider-nav span:hover {
    filter: brightness(1.2);
}

#slider-nav span:active {
    filter: brightness(0.8);
}

#slider-nav span.active, #slider-nav span:hover {
    background-position-x: 0;
}

#slider-content {
    position: absolute;
    left: 283px;
    top: 187px;
    width: 534px;
    height: 279px;
    z-index: 24;
    overflow: hidden;
}

#slider-tray {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    width: 200%;
    height: 100%;
}

#slider-image-a, #slider-image-b {
    width: 50%;
    height: 100%;
    background-position: center center;
    background-size: cover;
}

#slider-image-a {
    order: 2;
}

#slider-image-b {
    order: 3;
}

.user-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin: 14px 0 0;
    height: 160px;
}

.user-buttons .button {
    width: 230px;
}



