* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


@font-face {
    font-family: 'Trajan Pro Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Trajan Pro Regular'), url('assets/fonts/TrajanPro-Regular.woff') format('woff');
}


@font-face {
    font-family: 'Trajan Pro Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Trajan Pro Bold'), url('assets/fonts/TrajanPro-Bold.woff') format('woff');
}

@font-face {
    font-family: 'Trajan Pro 3';
    src: local('Trajan Pro 3 Black'), local('Trajan-Pro-3-Black'),
        url('assets/fonts/TrajanPro3Black.woff2') format('woff2'),
        url('assets/fonts/TrajanPro3Black.woff') format('woff'),
        url('assets/fonts/TrajanPro3Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

body {
    font-family: "Open Sans", sans-serif;
    color: #fff;
    background: #1f1f1f;
}

a {
    color: #fff;
    text-decoration: none;
}

h1 {
    font-size: 72px;
    font-family: 'Trajan Pro 3';
}

h2 {
    font-family: 'Trajan Pro 3';
    font-size: 42px;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    row-gap: 25px;
}

.space-between {
    justify-content: space-between;
    flex-wrap: wrap;
}

.gap-25 {
    gap: 25px;
}

.container {
    max-width: 1200px;
    width: 100%;
    padding-inline: 2%;
    margin-inline: auto;
}

.topbar {
    display: flex;
    justify-content: space-between;
    padding-block: 10px;
    background: #1f1f1f;
}

.topbar a,
.topbar p {
    color: #8c9597;
    font-size: 12px;
}

.topbar .left li {
    list-style: none;
}

.left,
.right {
    width: 50%;
}

.right {
    text-align: right;
}

.w-66 {
    width: 66.6%;
}

.w-33 {
    width: 33.3%;
}

.stretch {
    align-items: stretch;
}

.turmoil-txt {
    color: #58afd7 !important;
    text-shadow: 0px 0px 15px #0251fb;
}

a.turmoil-txt {
    text-decoration: underline;
}

/* Base styles */
.navbar {
    background: url('/assets/img/Rectangle 7.png') no-repeat center center;
    background-size: cover;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Trajan Pro Regular';
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0px 2px 2px black;
    position: relative;
}

.navbar .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.navbar ul li {
    flex: 1;
    text-align: center;
}

.navbar ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 20px;
    transition: color 0.3s;
}

.navbar ul li a:hover {
    color: #00aaff;
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger-icon {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 5px;
    transition: all 0.3s linear;
    position: relative;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 5px;
    transition: all 0.3s linear;
}

.hamburger-icon::before {
    top: -10px;
}

.hamburger-icon::after {
    bottom: -10px;
}

.nav-list {
    display: flex;
}

.nav-list.active {
    display: block;
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }

    .navbar {
        height: auto;
        padding: 10px 20px;
        text-align: center;
    }

    .navbar .container {
        flex-direction: column;
    }

    .hamburger {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        display: none !important;
    }

    .nav-list.active {
        display: flex !important;
    }

    .nav-list li {
        margin: 10px 0;
    }

    .nav-list li a {
        font-size: 18px;
    }

    .navbar ul li a img {
        max-width: 80px;
        height: auto;
    }

    .hamburger.active .hamburger-icon {
        background: transparent;
    }

    .hamburger.active .hamburger-icon::before {
        transform: rotate(45deg);
        top: 0;
    }

    .hamburger.active .hamburger-icon::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
}


.hero-section {
    padding-block: 100px;
    background: url('/assets/img/BG.png') no-repeat center center;
    background-size: cover;
    min-height: 33vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-section {
    background: url('/assets/img/Group 19.png') no-repeat top center;
    background-size: cover;
    padding-block: 100px;
    margin-top: -65px;
}

.download-block {
    width: 100%;
    max-width: 320px;
    background: #161f27;
    position: relative;
    transition: .3s;
    padding-top: 50px;
    border: 2px solid black;
}

.download-block>* {
    text-align: center;
}

.download-img {
    padding: 20px;
}

.download-img img {
    height: 100px;
}

.download-title {
    text-transform: uppercase;
    margin-block: 10px;
}

.download-description {
    color: #8c9597;
    font-size: 12px;
}

.download-button {
    background: linear-gradient(180deg, #01a83e, green);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .5s;
    text-transform: uppercase;
    padding-block: 10px;
    margin-top: 50px;
}

.download-block:hover,
.download-block:hover>.download-button {
    box-shadow: 0px 0px 30px #01a83e;
}

.extra-info {
    background: #161f27;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    border: 2px solid black;
}

.extra-info p {
    color: #8c9597;
    font-size: 12px;
}

.button-red {
    background: linear-gradient(180deg, #a80101, rgb(128, 0, 0));
    width: 100%;
    max-width: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .5s;
    text-transform: uppercase;
    padding: 10px;
    margin-inline: auto;
    margin-block: 20px;
    font-weight: bold;
    font-size: 14px;
}

.divider {
    height: 1px;
    background: transparent;
    width: 80%;
    margin: 20px;
    margin-inline: auto;
}

.play-now-btn {
    display: block;
    background: url('/assets/img/playnow.png') no-repeat center center;
    background-size: cover;
    width: 310px;
    height: 134px;
    transition: .5s;
}

.play-now-btn:hover {
    background: url('/assets/img/playnow-h.png') no-repeat center center;
}

.big-banner {
    background: url('assets/img/runescape-forest-party-banner.jpg') no-repeat center center;
    min-height: 320px;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    width: 100%;
}

.main-content {
    display: flex;
    flex: 2;
}

.side-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.side-banner {
    background: url('assets/img/runescape-forest-party-banner.jpg') no-repeat center center;
    position: relative;
    flex: 1;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    padding: 25px;
}

.banner-content {
    position: relative;
}

.big-banner:before,
.side-banner:before {
    content: '';
    background: linear-gradient(0deg, #000, transparent);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    border: 2px solid #53b4e8;
    box-shadow: 1px 1px 0px #529aff;
}

.news-block:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    border: 2px solid #53b4e8;
    box-shadow: 1px 1px 0px #529aff;

}

.news-block {
    position: relative;
    width: 100%;
    background: #161f27;
}

.news-title,
.news-content {
    padding: 25px;
}

.news-header>img {
    max-width: 100%;
    width: 100%;
    object-fit: cover;
    max-height: 320px;
}

.discord-block {
    height: 100%;
}

.discord-block>* {
    width: 100%;
    height: 100%;
    display: flex;
    flex: 1;

}

footer {
    background-color: #161f27;
    padding: 40px 0;
    border-top: 2px solid #53b4e8;

}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo {
    flex: 1;
    margin-right: 40px;
}

.footer-logo img {
    max-width: 100%;
    height: auto;
    margin-left: -20px;
}

.footer-logo p {
    margin-top: 20px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex: 2;
    justify-content: space-between;
}

.footer-column {
    margin: 0 20px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 1.2em;
    color: #fff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #fff;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}


.product,
.donation-credit {
    position: relative;
    background-color: #161f27;
    border: 1px solid #000;
    padding: 50px;
    margin: 16px 0;
    flex: 1 1 calc(50% - 40px);
    box-sizing: border-box;
    text-align: center;
    box-shadow: 10px 10px 10px #00000060;
}


.product h3,
.donation-credit h3 {
    color: #e74c3c;
    font-size: 32px;
    margin-bottom: 25px;
}

.product p,
.donation-credit p {
    color: #bdc3c7;
    font-size: 14px;
}

.product .price,
.donation-credit .price {
    font-size: 1.2em;
    margin: 10px 0;
    color: #69a9ff;
    font-weight: 700;
}

.price-thin {
    color: #4a5c6d;
    font-weight: 100;
    text-transform: uppercase;
}

.product button,
.donation-credit button,
#checkout-button,
#payment-form button {
    background-color: #01a83e;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    text-transform: uppercase;
    font-weight: 700;
}

.product button:hover,
.donation-credit button:hover,
#checkout-button:hover,
#payment-form button:hover {
    background-color: #03c84b;
}

.cart {
    border: 1px solid #000;
    padding: 16px;
    background-color: #161f27;
    position: fixed;
    top: 0;
    right: -110%;
    /* Hide the cart off-screen to the right by default */
    width: 33.3%;
    max-width: 450px;
    height: 100%;
    box-shadow: 0px 0px 30px #00000090;
    transition: right 0.3s ease-in-out;
    z-index: 10;
    /* Smooth transition for the sliding effect */
}

.cart.open {
    right: 0;
    /* Slide the cart into view */
}

#openCartBtn,
#closeCartBtn {
    padding: 10px 20px;
    background-color: #01a83e;
    color: white;
    border: none;
    cursor: pointer;
    margin-block: 10px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: .5px;
}

#closeCartBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 100%;
    background: #00aaff;
}

#closeCartBtn>svg {
    width: 14px;
}

.open-cart-btn-wrapper {
    background: black;
}

button#openCartBtn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

.open-cart-btn-wrapper {
    background: #00000085;
    width: 100%;
    height: 60px;
    position: fixed;
    bottom: 0;
    left: 0;
    border-top: 1px solid #00d74e;
    box-shadow: 0px 0px 40px #01a83e;
    bottom: -100%;
    transition: .3s;
}

.open-cart-btn-wrapper.open {
    bottom: 0;
}

#card-element,
#ideal-bank-element,
#sepa-element {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 20px 0;
    background-color: #2b3743;
}

.donation-credit select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #566573;
    background-color: #2c3e50;
    color: #ecf0f1;
}

.cart-items,
.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

li.line-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #4a5c6d82;
    padding-inline: 10px;
    padding-block: 5px;
    margin-bottom: 2px;
}

li.line-item:nth-child(2n+1) {
    background: #4a5c6d67;
}

.line-item_name {
    font-weight: 700;
    color: #fe324a;
    text-shadow: 0px 1px 1px black;
}

.line-item_remove button {
    border: 0;
    display: flex;
    align-items: center;
    background: #fe324a;
    padding: 5px;
    border-radius: 100%;
}

.line-item_remove svg {
    width: 12px;
    color: #fff;
}

.payment-options {
    border-top: 1px solid #4a5c6d;
    display: flex;
    justify-content: center;
    margin-block: 20px;
    gap: 2px;
    flex-wrap: wrap;
}

div#payment-options>button {
    width: calc(33.3% - 2px);
    padding: 15px;
}

.payment-options button {
    background-color: #01a83e;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 500;
    text-transform: initial;
}

#username-form {
    position: relative;
    width: 100%;
}

input#username {
    width: calc(100% - 100px);
    background: #161f27;
    border: 1px solid black;
    padding-block: 10px;
    display: block;
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0px 0px 10px red inset;
}

.login-btn {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    border: 1px solid black;
    background-color: #01a83e;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.login-btn.disabled {
    pointer-events: none;
    background: #ccc;
    cursor: not-allowed;
    opacity: .2;
    color: red;
}

button[disabled="true"] {
    background: #ccc;
    cursor: not-allowed;
    position: relative;
    opacity: .2;
}

button:before[disabled="true"] {
    height: 1px;
    width: 110%;
    background: #000;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

.top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #4a5c6d;
    margin-bottom: 10px;
}

button#checkout-button {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 32px;
    }

    .flex {
        flex-direction: column;
    }

    .cart {
        width: 100%;
    }
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        margin: 0 0 40px 0;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        margin: 20px 0;
    }

    .footer-column h3 {
        font-size: 1em;
    }

}

.toast {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #161f27;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    position: fixed;
    z-index: 1;
    bottom: 30px;
    right: 0;
    font-size: 17px;
    white-space: nowrap;
    padding: 16px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.toast img {
    max-width: 64px;
}

.toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 1s 2.5s;
    animation: fadein 0.5s, fadeout 1s 2.5s;
}

div#payment-popup {
    text-align: center;
    background: #161f27;
    padding: 50px;
    border: 1px solid black;
}

div#payment-popup svg {
    max-width: 650px;
    max-height: 350px;

}

.order-id {
    color: #8c9597;
    font-size: 12px;
}

select#donation-credit-select-6 {
    background: #445361;
    padding: 10px 10px;
    border: 1px solid black;
    color: #fff;
    margin-block: 10px;
    font-size: 15px;
}

button.add-to-cart {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
}

.holder-block {
    border: 1px solid gray;
    padding: 50px 20px;
}

@-webkit-keyframes fadein {
    from {
        right: -100%;
        opacity: 0;
    }

    to {
        right: 0px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        right: -100%;
        opacity: 0;
    }

    to {
        right: 0px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        right: 0px;
        opacity: 1;
    }

    to {
        right: -100%;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        right: 0px;
        opacity: 1;
    }

    to {
        right: -100%;
        opacity: 0;
    }
}

#products-management {
    display: none;
}

#products-management {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #2c3e50;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product img {
    max-width: 50px;
    width: 100%;
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #161f27;
}

.line-item_image img {
    max-width: 50px;
}

form>button {
    background: #01a83e;
    color: #fff;
    padding: 10px 20px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid #86ffb2;
    box-shadow: 0px 0px 5px #54ff54;
    cursor: pointer;
    transition: .3s;
}

form>button:hover {
    box-shadow: 0px 0px 15px #54ff54;
}

.username-wrapper,
.voting-container {
    background: #161f27;
    width: 100%;
    text-align: center;
    padding: 25px;
    border: 1px solid black;
    margin-top: 10px;
}

.voting-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
}

.vote-site>img {
    width: 100%;
}

input#username-vote {
    background: #24303b;
    border: 1px solid black;
    padding: 10px 25px;
    color: #4897e1;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    min-width: 50%;
    margin-top: 15px;
}

button.vote-button {
    width: 100%;
    background: #4897e1;
    border: 0;
    color: #fff;
    border-radius: 5px;
    padding: 25px;
    cursor: pointer;
}

.vote-now {
    display: block;
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
}

button.vote-button.disabled {
    pointer-events: none;
    opacity: .4;
    background: #8593a1;
}

@media (max-width: 768px) {
    .voting-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
    }
}