:root {
    --background: #DAF0FC;
    --text: #4E648C;
    --red: #d83e3e;
    --red20: rgba(216, 62, 62, 0.2);
    --green: #4cbf65;
    --green20: rgba(76, 191, 101, 0.2);

    --text10: rgba(78, 100, 140, 0.1);
    --text20: rgba(78, 100, 140, 0.2);
    --text30: rgba(78, 100, 140, 0.3);
    --text40: rgba(78, 100, 140, 0.4);
    --text50: rgba(78, 100, 140, 0.5);
    --text60: rgba(78, 100, 140, 0.6);
    --text70: rgba(78, 100, 140, 0.7);
    --text80: rgba(78, 100, 140, 0.8);
    --text90: rgba(78, 100, 140, 0.9);
    --accent: rgb(255, 197, 72);
    --category-ranks: rgb(28, 78, 216, 1);
    --category-ranks-20: rgb(28, 78, 216, 0.25);
    --category-ranks-50: rgb(28, 78, 216, 0.5);
    --category-gradient-ranks: linear-gradient(115deg, rgb(28, 78, 216, 0.15), rgba(28, 78, 216, 0));
    --category-skyblock: #F43A77;
    --category-skyblock-20: rgba(244, 58, 120, 0.25);
    --category-skyblock-50: rgba(244, 58, 120, 0.5);
    --category-gradient-skyblock: linear-gradient(115deg, rgb(252, 103, 103, 0.15), rgba(236, 0, 140, 0));
    --category-survival: #36BF7A;
    --category-survival-20: rgba(54, 191, 123, 0.25);
    --category-survival-50: rgba(54, 191, 123, 0.5);
    --category-gradient-survival: linear-gradient(115deg, rgb(51, 214, 145, 0.15), rgb(57, 163, 9, 0));
    --category-oneblock: #FF862B;
    --category-oneblock-20: rgba(255, 135, 43, 0.25);
    --category-oneblock-50: rgba(255, 135, 43, 0.5);
    --category-gradient-oneblock: linear-gradient(115deg, rgb(255, 173, 57, 0.15), rgb(255, 88, 29, 0));

    --package-grey: #727272;
    --package-grey-20: rgba(110, 110, 110, 0.25);
    --package-grey-50: rgba(110, 110, 110, 0.55);
    --package-blue: rgb(28, 78, 216, 1);
    --package-blue-20: rgb(28, 78, 216, 0.25);
    --package-blue-50: rgb(28, 78, 216, 0.5);
    --package-purple: rgb(150, 28, 216);
    --package-purple-20: rgb(150, 28, 216, 0.25);
    --package-purple-50: rgb(150, 28, 216, 0.5);
    --main-width: 1000px;
    --main-gradient-top-height: 100px;
    --border-radius-lg: 12px;
    --border-radius-md: 8px;
    --border-radius-sm: 4px;
    --transition: 500ms ease;

    --font-serif: "Nunito", sans-serif;
    --color-darkgrey: var(--text);
}

body {
    background-color: var(--background);
    background-image: url('img/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    color: var(--text);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    color: var(--text);
}

.navbar-default {
    display: none !important;
}

.row {
    width: 100%;
    margin: 0;
}

a,
a:hover {
    color: inherit;
    text-decoration: none;
}

.btn {
    transition: all 0.25s;
}

.btn-primary.focus,
.btn-primary:focus {
    background-color: var(--text);
}

.btn-primary:hover {
    background-color: var(--text);
}

.btn-primary.active,
.btn-primary:active,
.open>.dropdown-toggle.btn-primary {
    background-color: var(--text);
}



.btn-primary {
    background-color: var(--text20);
    color: var(--text);
    border: none !important;
}

.btn-danger {
    color: var(--red);
    background-color: var(--red20);
    border: none !important;
}

.btn-success {
    color: var(--green);
    background-color: var(--green20);
    border: none !important;
}

main.mcd_main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    transition: filter 0.3s ease;
}


.box {
    border-radius: var(--border-radius-lg);
    outline: 10px solid rgba(255, 255, 255, 0);
    box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.1),
        0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.35s;
}

.box:hover {
    outline: 0px solid rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 0 0 0px rgba(255, 255, 255, 0.1),
        0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.35s;
}

/* HEADER */

header.main-head {
    background-image:
        linear-gradient(rgba(218, 240, 252, 0), rgb(218, 240, 252)),
        url('img/header.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 25px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

header .header-logo img {
    height: 310px;
    max-width: 100%;
}

@media (max-width: 1100px) {
    header {
        padding: 20px 10px;
    }

    header .header-logo img {
        height: 250px;
        max-width: 100%;
    }
}

/* MAIN */
.main-gradient-top {
    background-image:
        linear-gradient(rgba(218, 240, 252, 1), rgba(218, 240, 252, 0));
    background-size: cover;
    width: 100%;
    height: var(--main-gradient-top-height);
    position: absolute;
    z-index: -1;
}

.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    max-width: var(--main-width);
    position: relative;
    top: -2px;
    padding: 0px 15px 0px 15px
}



/* MAIN NAV */
.main-nav {
    width: 100%;
    background-color: #FFF;
    box-shadow:
        0 10px 15px rgba(78, 100, 140, 0.1);
    display: flex;
    position: relative;
    border-radius: var(--border-radius-lg);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 20px;
}



.main-nav .account {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.main-nav .account .account-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--text10);
    border-radius: var(--border-radius-md);
    width: 45px;
    height: 45px;
}

.main-nav .account .account-icon img {
    max-height: 80%;
    max-width: 80%;
}

.main-nav .account .account-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-transform: uppercase;
}

.main-nav .account .account-info>* {
    font-size: 1.2rem;
    opacity: 0.5;
}

.main-nav .account .account-info .account-username {
    font-size: 1.8rem;
    opacity: 1;
    font-weight: 600;
    margin-top: -5px;
    margin-bottom: -5px;
}

.main-nav .account-actions .login-button {
    /* background-color: var(--green20);
    color: var(--green); */
    padding: 17px 50px;
    text-transform: uppercase;
    font-size: 1.3rem;
    line-height: 1rem;
    margin-right: 6px;
    border-radius: var(--border-radius-md);
}

@media (max-width: 600px) {

    .main-nav {
        gap: 7px;
        flex-direction: column;

    }

    .main-nav .account {
        justify-content: flex-start;
        width: 100%;
    }

    .main-nav .account-actions,
    .main-nav .account-actions .login-button {
        width: 100%;
    }

    .main-nav .account-actions {
        display: flex;
    }
}

.main-nav .account-actions .login-button.logoutBtn {
    /* background-color: var(--red20);
    color: var(--red); */
}


/* HOME CATEGORY SELECTION */
.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 60px;
}

@media (max-width: 770px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

.category-grid .category-grid-item {
    background-color: var(--text);
    color: #FFF;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
    align-items: flex-end;
}

.category-grid .category-grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-image: url('https://cdn.rohanmcdermott.com/sites/craftingstore/rambomc/categories/blob.svg');
    background-size: cover;
    background-position: top -100px right -100px;
    background-repeat: no-repeat;
    opacity: 0.1;
}

.category-grid .category-grid-item .info .name {
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: 800;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
}

.category-grid .category-grid-item .info .desc {
    font-size: 1.5rem;
    opacity: 0.8;
    margin-top: -5px;
}

.category-grid .category-grid-item img {
    width: 150px;
    transition: all 0.35s;

}

.category-grid .category-grid-item:hover img {
    transform: scale(1.05);
    transition: all 0.35s;

}

/* HOME WELCOME */
.store-welcome {
    margin-top: 20px;
    padding: 40px 30px;
    width: 100%;
}

.store-welcome h1 {
    font-size: 3.3rem;
    margin-top: 0px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text70);
    display: inline-block;
    position: relative;
}

.store-welcome h1 span {
    color: var(--text);
    display: inline-block;
    position: relative;
}

.store-welcome h1 span::after {
    content: "";
    position: absolute;
    display: inline-block;
    bottom: 0;
    right: -10px;
    width: 80%;
    height: 12px;
    border-radius: 1rem;
    background-color: var(--text);
    opacity: 0.2;
}

.store-welcome p {
    display: block;
    font-size: 1.45rem;
    margin-bottom: 40px;
    color: var(--text);
    opacity: 0.8;
}

/* CHECKOUT SIDEBAR */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.rmcd-basket-sidebar {
    position: absolute;
    top: 0;
    right: 0;
    width: 350px;
    height: 100%;
    background: white;
    padding: 20px;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.rmcd-basket-sidebar.show {
    transform: translateX(0);
}

main.blurred {
    filter: blur(5px);
    transition: filter 0.3s ease;
}

.rmcd-basket-sidebar .main-nav {
    box-shadow: none !important;
    background-color: var(--text10);
}

.rmcd-basket-sidebar .sidebarbox {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    /* background-color: #f1f1f1; */
    border-radius: var(--border-radius-md);
    width: 100%;
    cursor: pointer;
}

.rmcd-basket-sidebar .top {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.rmcd-basket-sidebar .sidebarbox.title {
    color: #FFF;
    background-color: var(--text);
    text-transform: uppercase;
}

.rmcd-basket-sidebar .btm {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.rmcd-basket-sidebar .btm a {
    flex: 1;
}

.rmcd-basket-sidebar .btm .sidebarbox {
    /* color: var(--text);
    background-color: var(--text20); */
    text-transform: uppercase;
    /* flex: 1; */
    width: 100%;
    padding: 10px;
}

#closeSidebar {
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rmcd-basket-sidebar .top .basket-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background-color: #FFF;
    border-radius: var(--border-radius-md);
    width: 100%;
    border-bottom: 1px dashed var(--text10);
    gap: 10px;
}

.rmcd-basket-sidebar .top .basket-item .item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    font-size: 1.5rem;
    flex: 1;
}

.rmcd-basket-sidebar .top .basket-item .item div:nth-child(1) {
    font-size: 1.5rem;
    font-weight: 600;
}

.rmcd-basket-sidebar .top .basket-item .item div:nth-child(2) {
    font-size: 0.8em;
    opacity: 0.8;
}

.rmcd-basket-sidebar .top .basket-item .price {
    display: none;
}

.rmcd-basket-sidebar .top .basket-item .item div:nth-child(2) small {
    font-size: 0.8em;
    opacity: 0.8;
}

.rmcd-basket-sidebar .top .quantity {
    color: var(--text);
    background-color: var(--text20);
    text-transform: uppercase;
    padding: 4px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    min-height: 35px;
}

.rmcd-basket-sidebar .top a {
    color: var(--red);
    background-color: var(--red20);
    text-transform: uppercase;
    padding: 4px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    min-height: 35px;
    border-width: 0px;
}


/* RETURN TO HOME */
.back-btn {
    z-index: 0;
    width: 100%;
    display: flex;
    gap: 20px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

.back-btn a {
    padding: 14px 20px;
    width: 100%;
    color: #FFF;
    font-size: 1.6rem;
    background-color: var(--text);
    box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.1),
        0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    text-transform: uppercase;
    font-weight: 800;
}

/* CATEGORY PAGE */
.panel {
    width: 100%;
}

.panel[data-category="Permanente Ranks"] {
    background-image: var(--category-gradient-ranks);
}

.panel[data-category] .category-head h1 {
    font-size: 3.3rem;
    margin-top: 40px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text);
    display: inline-block;
    position: relative;
}

.panel[data-category] .category-head h1::after {
    content: "";
    position: absolute;
    display: inline-block;
    bottom: 0;
    right: -10px;
    width: 80%;
    height: 12px;
    border-radius: 1rem;
    background-color: var(--text);
    opacity: 0.2;
}

.panel[data-category] .category-head p {
    font-size: 1.45rem;
    margin-bottom: 40px;
    color: var(--text);
    opacity: 0.8;
}

.package_page.panel[data-category] {
    color: var(--category-color);
}

.package_page.panel[data-category] .btn {
    color: var(--item-color);
    background-color: var(--item-color-20);
}

.panel[data-category="Permanente Ranks"] {
    --category-color: var(--category-ranks);
    --background-gradient: var(--category-gradient-ranks);
}

.panel[data-category="Rank Upgrades"] {
    --category-color: var(--category-ranks);
    --background-gradient: var(--category-gradient-ranks);
}

.panel[data-category="Skyblock"] {
    --category-color: var(--category-skyblock);
    --background-gradient: var(--category-gradient-skyblock);
}

.panel[data-category="Survival"] {
    --category-color: var(--category-survival);
    --background-gradient: var(--category-gradient-survival);
}

.panel[data-category="Oneblock"] {
    --category-color: var(--category-oneblock);
    --background-gradient: var(--category-gradient-oneblock);
}

.panel[data-category] {
    background-image: var(--background-gradient);
}

.panel[data-category] .category-head h1 {
    color: var(--category-color);
}

.panel[data-category] .category-head h1::after {
    background-color: var(--category-color);
}

/* FOOTER */
footer.main-footer {
    width: 100%;
    background-image:
        linear-gradient(rgba(78, 100, 140, 0), rgba(78, 100, 140, 0.2));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 80px 15px;
}

footer .footer-icon {
    filter: grayscale(0.9);
    opacity: 0.3;
    height: 70px;
}

footer .footer-links {
    display: flex;
    flex-direction: row;
    font-size: 1.1em;
    color: var(--text);
    gap: 10px;
    align-items: center;
}

footer .copyright {
    opacity: 0.7;
    font-size: 1.1rem;
    text-align: center;
}


@media only screen and (max-width: 750px) {
    footer .footer-links {
        flex-direction: column;
    }

    footer .footer-links span {
        display: none;
    }
}

/* MODALS */
.modal {
    text-align: center;
    padding: 0 !important;
    /* bottom: auto; */
}

.modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -4px;
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
    margin: 30px auto;
    max-width: 90%;
    width: 500px;
    /* width: 500px; */
}

.modal {
    overflow-y: auto;
}


.modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: none !important;
}

.modal .modal-title {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text);
    display: inline-block;
    position: relative;
    margin-right: auto;
    color: var(--category-color);
    border: none !important;
}

.modal .modal-body {
    border: none !important;

}

.modal .modal-footer {
    display: flex;
    gap: 20px;
    padding-left: 0;
    padding-right: 0;
    border: none !important;
}

.modal .modal-footer * {
    width: 100%;
}

.modal .modal-dialog .modal-content {
    border: 2px solid var(--text);
    box-shadow: inset 0 0 50px var(--category-color-20);


}

.modal {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background-color: var(--category-color-20);
}

.modal .modal-body {
    color: var(--category-color);
}

.modal[data-category] .btn-primary {
    color: var(--category-color);
    background-color: var(--category-color-20);
}

.modal[data-category] .modal-dialog .modal-content {
    background-image: var(--category-gradient-ranks);
    background-image: var(--category-background);
    border-color: var(--category-color);
}


/* TOP NAV */

.JC-navBar-top {
    /* width: var(--main-width); */
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    /* height: 50px; */
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 10px;
}

.JC-navBar-top-between {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    z-index: 10;
    display: none;
}

.JC-navBar-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    text-align: center;
    gap: 10px;
}

.JC-HeaderContent {
    position: relative;
    width: var(--widthMain);
    margin: 0 auto;
    z-index: 1;
}

.JC-HeaderCenter {
    display: flex;
    align-items: center;
    justify-content: center;
}

.JC-HeaderBetween {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    position: relative;
    top: -50px;
    z-index: 2;
}

.JC-navButton {
    color: var(--text90);
    height: 40px;
    /* background: rgba(0, 0, 0, 0.30); */
    border-radius: var(--border-radius-lg);
    /* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); */
    /* backdrop-filter: blur(5px); */
    /* -webkit-backdrop-filter: blur(5px); */
    /* border: 1px solid rgba(255, 255, 255, 0.3);.JC-navButton */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 20px;
    gap: 10px;
    text-transform: uppercase;
    font-weight: 700;
    transition: var(--transition);
    z-index: 10;
    position: relative;
}

.JC-navButton i {
    font-size: 16px;
}

.JC-navButton:hover,
.JC-navButton:focus {
    color: #474708;
    background: var(--text20);
    transition: var(--transition);
}

.JC-StoreBtn {
    color: #474708;
    background: var(--accent);
    transition: var(--transition);
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin-left: 1rem;
    ;
    margin-right: 1rem;
    ;
}

.JC-StoreBtn:hover,
.JC-StoreBtn:focus {
    color: #555b11;
    background: rgba(255, 197, 72, 70%);
    transition: var(--transition);
}

.JC-navBar-top-right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.JC-navDiscord {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 25px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    background: #5865F2;
    transition: var(--transition);
    font-size: 20px;
    color: #FFF;
}

.JC-navDiscord:hover {
    background: #4a55d1;
    transition: var(--transition);
    color: var(--textWhite);
}

button.JC-navMobile {
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 25px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    background: #FFF;
    transition: var(--transition);
    font-size: 20px;
    color: var(--text);
    outline: none !important;
    border-width: 0px !important;
}

button.JC-navMobile:hover {
    background: var(--text);
    transition: var(--transition);
    color: #FFF
}

/* MOBILE MENU */

.JC-mobileMenu {
    position: absolute;
    top: 100px;
    height: 100%;
    background: #FFF;
    width: 100%;
    transform-origin: 0% 0%;
    transform: scaleY(0);
    z-index: 12;
    transition: var(--transition);
}

.JC-mobileMenu-width {
    width: var(--widthMain);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 25px 0px;
}

.JC-mobileLink {
    height: 50px;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 18px;
    transition: var(--transition);
    color: var(--text);
}

.JC-mobileLink:hover {
    transition: var(--transition);
    color: var(--accent);
    text-decoration: none;
}

.JC-mobileLink:nth-child(even) {
    border-top: 1px solid var(--border-v1);
    border-bottom: 1px solid var(--border-v1);
}

.JC-mobileLink:last-child {
    margin-bottom: 50px;
}

.JC-mobileLink-button {
    height: 60px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--accent);
    padding: 0px 30px;
    border-radius: 30px;
    color: #FFF;
    font-weight: 600;
    border: 2px solid var(--accent);
    transition: var(--transition);
}

.JC-mobileLink-button .uil {
    font-size: 24px;
}

.JC-mobileLink-button:hover {
    background: #FFF;
    color: var(--accent);
    border: 2px solid var(--accent);
    transition: var(--transition);
    text-decoration: none;
}

.JC-mobileLink-button-transparent {
    height: 60px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 30px;
    border-radius: 30px;
    color: var(--text);
    font-weight: 600;
    border: 2px solid var(--text);
    transition: var(--transition);
}

.JC-mobileLink-button-transparent:hover {
    color: var(--accent);
    border: 2px solid var(--accent);
    transition: var(--transition);
    text-decoration: none;
}

#mobileClose {
    display: none;
}

@media only screen and (max-width: 1450px) {
    :root {
        --widthMain: 90%;
    }
}

@media only screen and (max-width: 850px) {
    .JC-navBar-top {
        width: var(--widthMain);
        max-width: 100%;
        background: transparent;
    }

    .JC-navBar-center {
        display: none;
    }

    .JC-navBar-top-between {
        display: flex;
    }

    #mobileOpen {
        display: flex;
    }
}


@media only screen and (max-width: 550px) {
    .JC-navButton {
        padding: 0px 20px;
        font-size: 14px;
    }

    .JC-navButton i {
        font-size: 12px;
    }

    .JC-navDiscord {
        padding: 0px 20px;
    }

    .JC-UserBar {
        margin-top: -20px;
        height: auto;
    }

    .JC-UserBar-width {
        height: auto;
        flex-direction: column-reverse;
        padding: 10px 15px 0px;
    }

    .JC-UserBar-right {
        width: 100%;
    }

}





















































/* GLOBAL */
/* body {
  font-family: 'Nunito', sans-serif;
  background: var(--dark1) !important;
  color: var(--txtWhite) !important;
}

.site-content {
  margin-top: -300px;
} */

/* HEADER */
/* .mcder-header {
  background-size: 1500px, cover;
  background-position: bottom left, center;
  background-repeat: repeat-x, no-repeat;
  padding-top: 0px;
  padding-bottom: 300px;
} */

.site-content {
    background-image: linear-gradient(rgb(218 240 252), rgba(218, 240, 252, 0));
    background-size: 100vw 80px;
    background-position: top center;
    background-repeat: no-repeat;
}



/* POST CARDS */
.post-feed {
    gap: 6.8vmin 6vmin;
}

.post-card {
    cursor: pointer;
    text-align: center;
    /* backdrop-filter: blur(5px); */
    background-color: #FFF;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 15px rgba(78, 100, 140, 0.1);
    /* box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
    transition: all .25s;
}

.post-card:hover {
    transform: translateY(-5px);
    transition: all .25s;
}

.post-card:hover .post-card-image {
    opacity: 0.85;
    transition: all .25s;
}

.post-card-image {
    opacity: 0.7;
    transition: all .25s;

}

.post-card-image-link {
    margin-bottom: 0px;
}

.post-card-content {
    padding: 20px 15px;
    justify-content: center;
}

.post-card-content-link {
    color: var(--txtWhite);
}

.post-card-meta,
.post-card-meta>* {
    justify-content: center;
}

.post-card-large {
    grid-gap: 0px;
}


/* CARD AUTHOR */
.m-article-card__author {
    display: flex;
    column-gap: 10px;
    position: absolute;
    top: 20px;
    left: 20px;
    width: auto;
    height: 35px;
    border-radius: 50%;
    z-index: 2;
    transition: all .25s;
    opacity: 0.8;
    z-index: 1;
}

.m-article-card__author div {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
    display: inline-block;
}

.m-article-card__author span {
    line-height: 35px;
    opacity: 0;
    transition: all 0.25s;
}

.m-article-card__author:hover span {
    opacity: 0.8;
    transition: all 0.25s;
}




#gh-head,
.site-header-content {
    display: none;
}




/* CUSTOM PAGE */
h1.article-title {
    position: relative;
    display: inline-block;

}

h1.article-title::after {
    content: "";
    position: absolute;
    display: inline-block;
    bottom: 0;
    right: -10px;
    width: 80%;
    height: 12px;
    border-radius: 1rem;
    background-color: var(--text);
    opacity: 0.2;
}

.custom_page .gh-content .kg-card+:not(.kg-card),
.gh-content :not(.kg-card):not([id])+.kg-card {
    margin-top: 20px;
}

/* RULES PAGE */

.kg-toggle-card {
    background-color: #FFF;
    box-shadow: 0 10px 15px rgba(78, 100, 140, 0.1);
    display: flex;
    position: relative;
    border-radius: var(--border-radius-lg);
    flex-direction: column;
    padding: 0;
    transition: 0.25s;
}

.kg-toggle-card[data-kg-toggle-state="close"]:hover {
    transform: scale(1.02);
    transition: 0.25s;
}

.rmcd_box {
    background-color: #FFF;
    box-shadow: 0 10px 15px rgba(78, 100, 140, 0.1);
    border-radius: var(--border-radius-lg);
}

.kg-toggle-heading {
    padding: 1.2em
}

.kg-toggle-content {
    padding: 0px
}

.kg-toggle-card[data-kg-toggle-state="open"] .kg-toggle-content {
    padding: 1.5em;
    padding-top: 0px;
    opacity: 0.8;
}

/* VOTE PAGE */


.rmcd_VoteContainer {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 25px;
    margin-top: 25px;
    flex-direction: column;
}


.rmcd_VoteBox-head {
    padding: 25px 35px;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.rmcd_VoteHead {
    font-size: 22px;
    font-weight: 700;
}

.rmcd_VoteHead-desc {
    line-height: 25px;
    opacity: 0.6;
}

.rmcd_VoteContent {
    padding: 0px 35px 35px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rmcd_VoteContent.rewards {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.rmcd_VoteContent .reward {
    flex: 1;
    text-align: center;
    padding: 10px;
    background-color: var(--text10);
    border-radius: var(--border-radius-sm);
}

.rmcd_VoteLink {
    display: flex;
    align-items: center;
    gap: 25px;
    background: var(--body);
    border: 1px solid var(--text30);
    border-radius: 8px;
    height: 65px;
    padding: 0px 25px;
    transition: var(--transition);
    background-color: var(--text10);
    border-radius: var(--border-radius-sm);
    color: var(--text) !important;
    text-decoration: none !important;
}

.rmcd_VoteLink:hover {
    border: 1px solid var(--text80);
    background-color: var(--text20);
    transform: scale(1.01);
    transition: var(--transition);
}

.rmcd_VoteLink i {
    font-size: 20px;
    color: var(--greyText);
}

.rmcd_VoteLink-title {
    font-size: 18px;
    font-weight: 700;
}

.rmcd_VoteLink-slogan {
    font-size: 13px;
    color: var(--greyText);
    word-break: break-all;
}

@media only screen and (max-width: 1400px) {
    .site-content {
        /* width: 90%; */
    }
}

@media only screen and (max-width: 1050px) {
    .rmcd_StaffContainer {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width: 980px) {
    .rmcd_VoteContainer {
        flex-direction: column;
    }

    .rmcd_VoteLeft {
        max-width: 100%;
    }
}

@media only screen and (max-width: 800px) {
    .rmcd_StaffContainer {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 600px) {
    input:checked~.tab-content {
        padding: 0px;
        padding-bottom: 30px;
    }

    .rmcd_StaffContainer {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media only screen and (max-width: 500px) {
    .rmcd_VoteLink {
        height: auto;
        min-height: 80px;
        padding: 15px 25px;
        text-align: center;
        justify-content: center;
    }

    .rmcd_VoteContent {
        justify-content: center;
        text-align: center;
        align-items: center;
        padding: 0px 15px 25px;
    }

    .rmcd_VoteLink i {
        display: none;
    }

    .rmcd_VoteHead-desc {
        text-align: center;
    }

    .rmcd_VoteBox-head {
        justify-content: center;
        text-align: center;
        padding: 25px 15px;
    }
}



/* STAFF PAGE */

.JC-StaffContainer {
    /* margin-top: 50px; */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.JC-StaffImage {
    height: 160px;
    overflow: hidden;
    padding: 20px;
    text-align: center;
    background: var(--text50);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.JC-StaffImage img {
    margin: 0 auto;
}

.JC-StaffBox {
    border-radius: 12px;
    background-color: #FFF;
    box-shadow: 0 10px 15px rgba(78, 100, 140, 0.1);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.JC-StaffBox:hover {
    transform: scale(1.02);
    transition: var(--transition);
}

.JC-StaffTag {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--text20);
    width: 100%;
    max-width: 100px;
    height: 25px;
    border-radius: 100px;
    margin: 15px auto 5px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
}

.JC-StaffName {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
}

@media only screen and (max-width: 650px) {
    .JC-StaffContainer {
        grid-template-columns: repeat(2, 1fr);
    }
    .rmcd_VoteContent.rewards,
    .rmcd_VoteBox-head{
        flex-direction: column;
    }
    .rmcd_VoteLink-slogan{
        display: none;
    }
}