* {
    /*border: 1px solid red;*/
    box-sizing: border-box;
}

body {
    background: #0e0e0e;
    user-select: none;
}

.body2 {
    display: grid;
    overflow: hidden;
    margin-bottom: 20px;
    grid-template-columns: 2fr 1fr;
    padding: 20px 20px 0px 20px;
    gap: 20px;
}

h2 {
    font-family: 'Lexend Deca';
}

.title {
    color: #dadada;
    font-size: 30px;
}

div#weekT h2 {
    padding-right: 30px;
}

/* Header */

.header {
    border-bottom: 1px solid #181818;
    background: #181818;
    user-select: none;
}

.GMLogo {
    height: 64px;
    width: 64px;
    display: inline-block;
    overflow: hidden;
    margin: 8px 0px 0px 26px;
}

h1.GMLogoText {
    font-size: 30px;
    color: #ff20a7;
    font-family: 'Permanent Marker';
    display: inline-block;
    position: relative;
    top: -20px;
}

.navDiv {
    display: inline-block;
    background: #ffffff0f;
    height: 25px;
    width: 1px;
    position: relative;
    top: 3px;
}

.navElements {
    float: right;
    color: #d8d8d8 !important;
    font-family: "Lexend Deca";
    margin: 23px 52px 0px 0px;
    font-size: 18px;
}

a {
    color: #c1c1c1;
    text-decoration: none;
}

.navElements p {
    margin: 0px 4px;
    display: inline-block;
    position: relative;
    top: -3px;
}

.navSelected {
    color: #dadada;
    font-weight: 600;
    text-decoration: none;
}

.open-payments {
    background: #242424;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition-property: background, color, box-shadow;
    transition: 0.3s;
}

.open-payments:hover {
    background: #292929;
    box-shadow: 0px 3px 9px #0000003d;
    color: #EB7220;
}

.open-home {
    background: #242424;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition-property: background, color, box-shadow;
    transition: 0.3s;
}

.open-home:hover {
    background: #292929;
    box-shadow: 0px 3px 9px #0000003d;
    color: white;
}

.open-services {
    background: #242424;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition-property: background, color, box-shadow;
    transition: 0.3s;
}

.open-services:hover {
    background: #292929;
    box-shadow: 0px 3px 9px #0000003d;
    color: white;
}

.left {
    animation: fadein 0.5s forwards;
    animation-play-state: paused;
}

/* instances */

#instances li {
    background-color: #181818;
    box-shadow: 2px 2px 4px 2px #00000005;
    padding: 10px 25px;
    border-radius: 6px;
    margin-top: 10px;
    display: grid;
    grid-template-columns: min-content auto min-content;
    align-items: center;
    color: #dadada;
    font-family: "Lexend Deca";
}

#instances h2 {
    color: #dadada;
    font-size: 22px;
}

#instances p {
    font-family: 'Lexend Deca';
    line-height: 22px;
    color: #797979;
    font-size: 14px;
}

#instances p.map {
    line-height: 14px;
    font-size: 10px;
}

#instances li img {
    height: 32px;
    margin-right: 20px;
}

#instances li .content {
    display: flex;
    gap: 0px 20px;
    justify-content: space-between;
    align-items: center;
}

#instances li .content .right {
    text-align: end;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#instances .service-status-indicator {
    margin: 0px 0px 0px 20px;
}

#instances .ip-items, #instances .port-items {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 6px;
}

#instances .ip-items img, #instances .port-items img {
    height: 14px;
    cursor: pointer;
    margin-right: 0px;
    transition: filter 0.3s;
}

#instances .ip-items img:hover, #instances .port-items img:hover {
    filter: brightness(1.5);
}

/* instances END */

/*news container*/

.container {
    border: solid 1px #181818;
    background: #181818;
    display: inline-block;
    padding: 18px 15px 10px 18px;
    margin-top: 10px;
    border-radius: 6px;
    box-shadow: 2px 2px 4px 2px #00000005;
    color: #d5d5d5;
    width: 100%;
    grid-column: 1;
}

.newscontainer {
    font-family: 'Nunito';
    display: inline-block;
    height: 100%;
    opacity: 0;
    animation: fadein 0.5s 0.1s forwards;
    animation-play-state: paused;
}

.newscontainer p {
    font-family: 'Lexend Deca';
    font-size: 14px;
    line-height: 22px;
    color: #cecece;
    user-select: text;
}

.newscontainer h2 {
    margin: 20px 0px 0px 0px;
    color: #dadada;
    font-size: 30px;
}

.postdate {
    color: #7b7b7b;
    font-size: 12px;
    font-family: 'Lexend Deca';
    float: right;
}

/*platforms container*/

.event-card {
    margin-left: 0px;
    border: solid 1px #bad2cd;
    background: #b8d1cb;
    display: inline-block;
    padding: 15px 35px;
    border-radius: 6px;
    box-shadow: 2px 2px 4px 2px #00000005;
    color: #d5d5d5;
    position: relative;
    font-family: 'Nunito';
    display: inline-block;
    width: 100%;
    margin: 10px 0px 0px 0px;
    z-index: 1;
    transition: box-shadow 0.3s;
    overflow: hidden;
}

.event-card:hover {
    box-shadow: 0px 0px 2px 3px #f9f6b1;
}

.event-card img {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    z-index: -1;
}

.event-card h2 {
    color: #1b1b1b;
    font-size: 24px;
    margin-left: -17px;
    font-weight: 600;
    text-shadow: 2px 2px 2px #ffffff;
}

.event-card p {
    font-family: 'Nunito';
    line-height: 22px;
    color: #000000;
    display: inline-block;
    margin-left: -17px;
    position: relative;
    text-shadow: 2px 2px 2px #ffffff;
}

.platform-container {
    grid-column: 2;
    width: 350px;
    opacity: 0;
    animation: fadein 0.5s 0.1s forwards;
    animation-play-state: paused;
}

.platform-card {
    margin-left: 0px;
    border: solid 1px #181818;
    background: #181818;
    display: inline-block;
    padding: 15px 35px;
    border-radius: 6px;
    box-shadow: 2px 2px 4px 2px #00000005;
    color: #d5d5d5;
    position: relative;
    font-family: 'Lexend Deca';
    display: inline-block;
    height: 75px;
    width: 100%;
    margin: 10px 0px 0px 0px;
    border: 2px solid transparent;
    transition-property: background, color, box-shadow;
    transition: 0.3s;
    opacity: 0;
    animation: fadein 0.5s 0.1s forwards;
    animation-play-state: paused;
}

.platform-card h2 {
    color: #dadada;
    font-size: 23px;
    margin-left: -17px;
}

.platform-card p {
    font-family: 'Lexend Deca';
    line-height: 22px;
    color: #797979;
    display: inline-block;
    margin-left: -17px;
    font-size: 15px;
    position: relative;
}

.join-discord {
    background: #242424;
    padding: 10px 20px;
    position: relative;
    top: -21px;
    right: -17px;
    float: right;
    border-radius: 6px;
    transition-property: background, color, box-shadow;
    transition: 0.3s;
    cursor: pointer;
}

.join-discord:hover {
    background: #7289DA;
    box-shadow: 0px 3px 9px #0000003d;
    color: white;
}

.discordVC-count {
    background: #131313;
    width: 100%;
    padding: 10px 0px 6px 18px;
    font-family: 'Lexend Deca';
    font-size: 14px;
    margin: -4px 0px 0px 0px;
    border-radius: 0px 0px 6px 6px;
    color: #b3b3b3;
    animation: slidedown 0.5s forwards;
    animation-play-state: paused;
}

#discord-widget {
    margin: 10px 0px 0px 0px;
    display: none;
    animation-iteration-count: 1;
    animation: widget 0.5s;
}

@keyframes widget {
    0% {
        transform: translateY(-10px);
        opacity: 0;
        height: 0px;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
        height: 500px;
    }
}

@keyframes widget-out {
    0% {
        transform: translateY(-10px);
        opacity: 0;
        height: 0px;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
        height: 500px;
    }
}

#openWidget {
    float: right;
    margin: -2px 20px 0px 0px;
    background: #242424;
    padding: 3px 9px 3px 8px;
    border-radius: 10px;
    font-size: 14px;
    transition-property: color, background;
    transition: 0.3s;
}

#openWidget:hover {
    background: #2f2f2f;
    color: #e4e4e4;
    cursor: pointer;
}

.dot {
    background: #3fff3f;
    height: 8px;
    width: 8px;
    display: inline-block;
    border-radius: 10px;
    margin: 0px 10px 1px 0px;
    box-shadow: 0 0 8px 0px #5dff36f7;
}

.join-w2g {
    margin-bottom: 20px;
}

.open-reddit:hover {
    background-color: #381509;
    border: solid 2px #FF4500;
    box-shadow: 0px 3px 9px #0000003d;
    color: white;
}

.join-w2g:hover {
    background-color: #463a13;
    border: solid 2px #FACD3B;
    box-shadow: 0px 3px 9px #0000003d;
    color: white;
}

.open-lb:hover {
    background-color: #1d3f4b;
    border: solid 2px #60D1F6;
    box-shadow: 0px 3px 9px #0000003d;
    color: white;
}

.open-insta:hover {
    background-color: #551022;
    border: solid 2px #D32553;
    box-shadow: 0px 3px 9px #0000003d;
    color: white;
}

.open-youtube:hover {
    background-color: #551010;
    border: solid 2px #d32528;
    box-shadow: 0px 3px 9px #0000003d;
    color: white;
}

/*calendar container*/

.calendar-container {
    color: #d5d5d5;
    grid-column: 3;
    opacity: 0;
    animation: fadein 0.5s 0.1s forwards;
    animation-play-state: paused;
}

.calendarContainer li {
    border: solid 1px #181818;
    background: #181818;
    padding: 8px 14px 8px 8px;
    border-radius: 6px;
    box-shadow: 2px 2px 4px 2px #00000005;
    color: #b9b9b9;
    margin: 10px 0px 0px 0px;
    grid-column: 3;
    font-family: 'Lexend Deca';
    font-size: 15px;
    user-select: text;
}

.calendarContainer {
    border-left: 4px solid #c93f3f;
    padding: 0px 0px 0px 6px;
}

.calendarContainer img {
    width: 100%;
    margin: 8px 0px 0px 0px;
    border-radius: 10px;
}

.calendarcontainer h2 {
    color: #dadada;
    margin-left: 50px;
}

/*calendar*/

h3.date {
    font-family: 'Lexend Deca';
    margin: 10px 0px 5px 2px;
    color: #c5c5c5;
    font-size: 15px;
}

.date span {
    color: #515467;
}

/* Maintenance mode */

.maintenance {
    display: none;
    animation: fadein 1s forwards;
}

h1.maintenance {
    margin: 20px;
    border: solid 1px #181818;
    background: #181818;
    padding: 20px;
    margin-top: 30px;
    border-radius: 6px;
    box-shadow: 2px 2px 4px 2px #00000005;
    color: #d5d5d5;
    display: none;
    font-family: 'Nunito';
    position: relative;
    left: 50%;
    margin-left: -151.28px;
}

/*anime timetable*/

/*calendar container*/

.week-table {
    color: #d5d5d5;
    grid-column: 4;
    margin: 0px 0px 10px 10px;
    opacity: 0;
    animation: fadein 0.5s 0.1s forwards;
    animation-play-state: paused;
}

.week-table-container li {
    border: solid 1px #181818;
    background: #181818;
    padding: 8px 40px 8px 8px;
    border-radius: 6px;
    box-shadow: 2px 2px 4px 2px #00000005;
    color: #b9b9b9;
    margin: 4px 30px 0px 0px;
    font-family: 'Lexend Deca';
    user-select: none;
    transition: filter 0.4s;
}

.week-table-container li:hover {
    filter: brightness(1.4);
    cursor: pointer;
}

#no-data:hover {
    filter: brightness(1);
    cursor: unset;
}

.week-table-container img {
    width: 100%;
    margin: 8px 0px 0px 0px;
    border-radius: 10px;
}

.week-table-container h2 {
    color: #dadada;
    margin-left: 50px;
}

.date span {
    color: #515467;
}

h6.time,
h6.platform {
    background: #232323;
    padding: 4px 8px;
    display: inline-block;
    border-radius: 4px;
    font-size: 12px;
    margin: 6px 5px 0px 0px;
    user-select: none;
}

a.listLink {
    background: #232323;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 6px;
    user-select: none;
    float: right;
    position: relative;
    right: -32px;
    transition-property: background, color;
    transition: 0.3s;
}

a.listLink:hover {
    background: #5d8fda;
    color: white;
}

/* Warnings */

.warnings-table ul {
    background: #181818;
    font-family: 'Lexend Deca';
    color: #dedede;
    padding: 10px;
    margin: 10px 0px 0px 0px;
    border-radius: 6px;
    display: grid;
    grid-template-columns: 20% max-content 20% auto;
    font-size: 15px;
}

.wName {
    grid-column: 1;
}

.wType {
    grid-column: 2;
}

span.wTypeYellow {
    background: #d8bc35;
    padding: 0px 8px;
    border-radius: 4px;
    color: #ffffff;
    text-shadow: 0 0 4px #00000082;
    margin: 0px 20px 0px 0px;
}

.warnings-table ul:first-of-type {
    background: transparent;
    padding: 10px 10px 14px 10px;
    border-radius: 0px;
    border-bottom: 1.5px solid #1d1d1d;
    box-shadow: none;
}

.warnings-table ul:first-of-type .wTypeYellow {
    background: #242424;
    text-shadow: none;
}

span.wTypeRed {
    background: #e03939;
    padding: 0px 8px;
    border-radius: 4px;
    color: #ffffff;
    margin: 0px 20px 0px 0px;
}

.wDate {
    grid-column: 3;
    margin: 0px 40px 0px 0px;
}

.wMore {
    grid-column: 4;
}

div#warnings {
    margin: 0px 20px 18px 20px;
}

.warnings-table p {
    display: inline-block;
}

/* Scrollbar taken by Dark Instagram by DM */

::-webkit-scrollbar-track-piece {
    background-color: transparent !important;
    border-radius: 0 !important;
    border: none !important;
}

::-webkit-scrollbar {
    width: 5px;
    height: 0px;
}

::-webkit-scrollbar-thumb {
    background: #ffffff0f !important;
    border-radius: 10px !important;
    transition: 0.3s background ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
    background: #00000049 !important;
}

::-webkit-scrollbar-track-piece {
    background-color: transparent !important;
    border-radius: 0 !important;
    border: none !important;
}

@media screen and (max-width: 1000px) {
    .body2 {
        grid-template-columns: 1fr;
        padding: 0px 10px;
    }

    #instances li img {
        height: 24px;
    }

    #instances li h2 {
        font-size: 16px;
    }

    #instances li p {
        font-size: 12px;
    }

    #instances li .map {
        display: none;
    }

    #discord-widget {
        margin: 10px 10px 0px 10px;
    }

    .payment {
        right: 0px !important;
    }

    h1.GMLogoText {
        display: none;
    }

    .title,
    h2.title.platform {
        margin: 16px 0px 0px 10px !important;
    }

    .platform-container .title {
        margin: 20px 0px 0px 0px !important;
    }

    .month {
        padding: 0px 4px 10px 4px !important;
    }

    .container {
        margin-left: 0px;
        grid-column: 1;
        width: 100%;
    }

    .calendar-container li {
        margin: 2px 0px 0px 0px;
        border-radius: 0px 0px 6px 6px;
    }

    .week-table-container li {
        margin: 4px 10px 0px 0px;
    }

    #eventsA .date {
        margin: 8px 0px 0px 0px;
        padding: 4px 10px;
        background: #242424;
        border-radius: 6px 6px 0px 0px;
    }

    .calendarContainer {
        border: 0;
        padding: 0;
    }
}

@media screen and (max-width: 570px) {
    .navElements {
        margin: 20px 15px 0px 14px;
    }

    .GMLogo {
        height: 50px;
        width: 50px;
        margin: 6px 0px 0px 14px;
    }

    .header {
        height: 62px;
    }

    .payment {
        position: fixed !important;
        animation: mobilePayments 0.6s forwards !important;
        border-radius: 15px !important;
        background-color: #151515;
        box-shadow: 0px 0px 10px 4px #0000008c;
        right: 0 !important;
        left: 0px !important;
        top: unset !important;
        bottom: -30px;
        margin: 0px 10px 40px 10px !important;
        padding: 0px 10px 10px 10px !important;
    }

    .service {
        position: fixed !important;
        animation: mobilePayments 0.6s forwards !important;
        border-radius: 15px !important;
        box-shadow: 0px 0px 10px 4px #0000008c;
        right: 0 !important;
        background-color: #151515;
        left: 0px !important;
        top: unset !important;
        padding: 0px 10px 10px 10px !important;
        bottom: -30px;
        height: 80%;
        margin: 0px 10px 40px 10px !important;
        overflow: scroll !important;
    }

    h2.title.platform {
        margin: 16px 0px 0px 8px !important;
    }

    .service p {
        padding: 0px 0px 10px 10px !important;
    }

    .navElements p {
        margin: -2px 4px;
    }

    .open-payments,
    .open-services,
    .account-menu {
        padding: 8px 14px !important;
        font-size: 15px;
    }

    .payment li {
        margin: 6px auto !important;
        max-width: unset !important;
    }

    .open-home {
        display: none !important;
    }

    a.listLink {
        display: inline-block;
        right: 0;
        margin-top: 10px;
        float: none;
    }
}

@media (prefers-color-scheme: light) {
    body {
        background: #f3f3f3;
    }

    .header {
        border-bottom: 1px solid #ffffff;
        background: #ffffff;
    }

    .container,
    .platform-card {
        border: 1px solid #ffffff;
        background: #ffffff;
    }

    .newscontainer p,
    .platform-card h2 {
        color: #060606;
    }

    .postdate {
        color: #c5c5c5;
    }

    .week-table-container li,
    .calendarContainer li {
        border: solid 1px #ffffff !important;
        background: #ffffff !important;
        color: #060606 !important;
    }

    h3.date {
        color: #383838 !important;
    }

    h6.time,
    h6.platform,
    a.listLink {
        background: #f9f9f9;
        border: 1px solid #dedede;
    }

    .title,
    .newscontainer h2 {
        color: #252525;
    }

    .discordVC-count {
        background: #fbfbfb;
        color: #3c3c3c;
    }

    .navSelected {
        color: #1f1f1f;
    }

    a {
        color: #424242;
    }

    .open-home {
        color: #d8d8d8;
    }

    .warnings-table ul {
        background: #ffffff;
        color: #0a0a0a;
        box-shadow: 0 0 6px #00000024;
    }

    .join-discord,
    .open-reddit,
    .open-lb,
    .join-discord,
    .join-w2g,
    .join-gmc,
    .open-insta {
        background: #ffffff;
        color: black;
        border: 2px solid #ffffff;
    }

    .open-reddit:hover {
        background-color: #ffa081;
        border: solid 2px #FF4500;
        box-shadow: 0px 3px 9px #0000003d;
    }

    .join-w2g:hover {
        background-color: #ffedb0;
        border: solid 2px #FACD3B;
        box-shadow: 0px 3px 9px #0000003d;
    }

    .open-lb:hover {
        background-color: #b9ecff;
        border: solid 2px #60D1F6;
        box-shadow: 0px 3px 9px #0000003d;
    }

    .open-insta:hover {
        background-color: #ff95b1;
        border: solid 2px #D32553;
        box-shadow: 0px 3px 9px #0000003d;
    }

    .navDiv {
        background: #00000017;
    }

    .open-payments {
        background: #292929;
    }

    .dot {
        background: #21d021;
        box-shadow: 0 0 8px 1px #3fff10f7;
    }

    .warnings-table ul:first-of-type .wTypeYellow {
        background: white;
        color: black;
    }

    .warnings-table ul:first-of-type {
        border-bottom: 1.5px solid #dedede;
    }

    .open-payments,
    .open-services,
    .open-home {
        background: #f9f9f9;
        border: 1px solid #dedede;
        color: #222222;
    }

    .open-payments:hover,
    .open-services:hover,
    .open-home:hover {
        background: #ebebeb;
        border: 1px solid #ebebeb;
        color: #000000;
    }

    @media screen and (max-width: 1000px) {

        #eventsA .date,
        h3.date {
            color: #e4e4e4;
        }

        #navIcon {
            filter: invert(1);
        }

        h3.date {
            color: #383838 !important;
            margin: 8px 0px 0px 0px;
            padding: 4px 10px;
            background: #e6e6e6 !important;
            border-radius: 6px 6px 0px 0px;
        }
    }
}

/* animations */

@keyframes slidein-menu {
    0% {
        transform: translateX(100px);
    }

    100% {
        transform: translateX(0px);
    }
}

@keyframes fadein {
    0% {
        transform: translateY(40px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes mobilePayments {
    0% {
        transform: translateY(200px);
        opacity: 0;
    }

    50% {
        transform: translateY(-10px);
        opacity: 1;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes slidedown {
    0% {
        transform: translateY(-10px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}


@keyframes fadeinPayments {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes fadeoutPayments {
    0% {
        transform: translateY(0px);
        opacity: 1;
    }

    100% {
        transform: translateY(-50px);
        opacity: 0;
    }
}