/* Set the default box-sizing to border-box */
* {
    box-sizing: border-box;
}


/* Define global variables for styling */
body {
    --banner-text-color: rgb(255, 255, 255);
    /* Color of text in the banner */
    --text-normal: rgb(56, 56, 56);
    /* Normal text color */
    --accent-color: #000000;
    /* Accent color */
    --accent-color-hover: yellow;
    /* Accent color on hover */
    --navbar-background: rgba(23, 19, 26, 0.397);
    /* Background color of the navbar */
    --background-color-begin: rgb(223, 223, 223);
    /* Gradient background color start */
    --background-color-end: rgb(207, 207, 207);
    /* Gradient background color end */
    --navbar-height: 66px;
    /* Height of the navbar */
    --transistion-duration: 0.2s;
    /* Transition duration for normal effects */
    --transistion-duration-fast: 0.1s;
    /* Transition duration for fast effects */
    --showcase-card-background: rgb(235, 235, 235);
    /* Background color of showcase card */
    text-shadow: 2px 2px 15px rgb(114, 114, 114);
    /* Text shadow for normal mode */
}

/* Styling for dark mode */
body.dark-mode {
    --banner-text-color: rgb(255, 255, 255);
    /* Color of text in the banner */
    --background-color-begin: rgb(24, 27, 27);
    /* Gradient background color start */
    --background-color-end: rgb(42, 45, 46);
    /* Gradient background color end */
    --showcase-card-background: rgb(74, 79, 83);
    /* Background color of showcase card */
    --text-normal: rgb(253, 253, 253);
    /* Normal text color */
    text-shadow: 2px 2px 15px rgb(0, 0, 0);
    /* Text shadow for dark mode */
}

.static-header-pop-up-nav-container {
    display: none;
    background-color: var(--background-color-begin);
    border-radius: 4px;
    box-shadow: 0 2px 8px var(--banner-text-color);
    left: 20px;
    line-height: 40px;
    opacity: 0;
    overflow: hidden;
    padding: 35px 0 15px 0;
    perspective: 2000px;
    pointer-events: none;
    position: fixed;
    right: 20px;
    top: 20px;
    transform-origin: 100% 0;
    transform: scale(0.95);
    transition-duration: 0.25s;
    transition-property: transform, opacity;
    white-space: nowrap;
    width: calc(100% - 40px);
    will-change: transform, opacity;
    z-index: 2;
}

.app-header {
    height: var(--navbar-height);
    width: 100%;
    position: fixed;
    background-color: rgba(22, 22, 22, 0.7);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    padding: 0 50px 0 100px;
    z-index: 10;
}

.app-header svg {
    position: relative;
    top: 5px;
    transition: fill 200ms ease-in-out;
}

.app-header svg:hover {
    fill: var(--interactive-accent);
}

.app-header-link {
    margin-left: 30px;
    line-height: 66px;
    text-decoration: none;
    color: var(--text-muted);
}

.app-header-link:hover,
.app-header-link.active,
.header-pop-up-nav-link:hover,
.header-pop-up-nav-link {
    transition: var(--transistion-duration);
    color: var(--accent-color-hover);
}

.page-container .nav-logo {
    position: absolute;
    left: 100px;
    top: 0;
    line-height: 95px;
}



.nav-logo-icon {
    position: relative;
}

.nav-logo-icon img {
    height: 2rem;
    width: auto;
}

.nav-logo-text {
    position: relative;
    bottom: 13px;
    font-size: 20px;
    font-family: 'Avenir Next', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    user-select: none;
    color: var(--text-muted);
}

.static-header-menu {
    color: #888;
    display: none;
    font-size: 24px;
    height: 50px;
    line-height: 48px;
    text-align: center;
    text-decoration: none;
    width: 60px;
}

.static-header-pop-up-nav {
    padding: 0 30px;
}

.header-pop-up-nav-link {
    display: block;
    color: var(--text-muted);
    font-size: 19px;
    text-decoration: none;
    margin: 6px 0;
}

@media only screen and (max-width: 960px) {
    .app-header {
        height: 50px;
        padding: 0 20px;
        z-index: 1;
    }

    .static-header-pop-up-nav-container {
        display: block;
    }

    .static-header-pop-up-nav-container.is-active {
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }

    .static-header-pop-up-nav-close-button {
        position: absolute;
        right: 0;
        top: 0;
        width: 50px;
        height: 50px;
        cursor: pointer;
    }

    .static-header-pop-up-nav-close-button:before,
    .static-header-pop-up-nav-close-button:after {
        content: '';
        position: absolute;
        background-color: var(--banner-text-color);
        left: 14px;
        right: 14px;
        top: 24px;
        height: 2px;
        transition: background 0.1s;
    }

    .static-header-pop-up-nav-close-button:before {
        transform: rotate(45deg);
    }

    .static-header-pop-up-nav-close-button:after {
        transform: rotate(-45deg);
    }

    .static-header-pop-up-nav-close-button:hover:before,
    .static-header-pop-up-nav-close-button:hover:after {
        background: #999;
    }

    .app-header .nav-logo-text {
        right: 6px;
    }

    .app-header-link {
        font-size: 16px;
        margin-left: 15px;
        line-height: 50px;
    }

    .app-header-link.mod-twitter {
        display: none;
    }

    .app-header-link {
        display: none;
    }

    .static-header-menu {
        display: inline-block;
    }

    .page-container .nav-logo {
        left: 5px;
        top: 0;
        line-height: 50px;
        padding-left: 18px;
    }

    .page-container .nav-logo-icon {
        top: 4px;
    }

    .page-container .nav-logo-text {
        display: none;
    }
}

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact input[type="url"],
#contact textarea,
#contact button[type="submit"] {
    font: 400 12px/16px "Roboto", Helvetica, Arial, sans-serif;
}

.container2 {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

#contact {
    padding: 25px;
    margin: 2rem 0;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

#contact h3 {
    display: block;
    font-size: 30px;
    font-weight: 300;
    margin-bottom: 10px;
}

#contact h4 {
    margin: 5px 0 15px;
    display: block;
    font-size: 13px;
    font-weight: 400;
}

fieldset {
    border: medium none !important;
    margin: 0 0 10px;
    min-width: 100%;
    padding: 0;
    width: 100%;
}

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact input[type="url"],
#contact textarea {
    width: 100%;
    background: #ffffff2f;
    margin: 0 0 5px;
    border-radius: 12px;
    padding: 10px;
    border: 1px solid #ffffff2f;
    color: var(--text-normal);
}

#contact input[type="text"]:hover,
#contact input[type="email"]:hover,
#contact input[type="tel"]:hover,
#contact input[type="url"]:hover,
#contact textarea:hover {
    -webkit-transition: border-color 0.3s ease-in-out;
    -moz-transition: border-color 0.3s ease-in-out;
    transition: border-color 0.3s ease-in-out;
    border: 1px solid #ffffff2f;
}

#contact textarea {
    height: 100px;
    max-width: 100%;
    resize: none;
}

#contact button[type="submit"] {
    cursor: pointer;
    width: 100%;
    border: none;
    background: var(--accent-color);
    color: #FFF;
    margin: 0 0 5px;
    padding: 10px;
    font-size: 15px;
    border-radius: 12px;
}

#contact button[type="submit"]:hover {
    background: #43A047;
    -webkit-transition: background 0.3s ease-in-out;
    -moz-transition: background 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
}

#contact button[type="submit"]:active {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.copyright {
    text-align: center;
}

#contact input:focus,
#contact textarea:focus {
    outline: 0;
    border: 1px solid #aaa;
}

::-webkit-input-placeholder {
    color: #888;
}

:-moz-placeholder {
    color: #888;
}

::-moz-placeholder {
    color: #888;
}

:-ms-input-placeholder {
    color: #888;
}

/* margin for the first content since the navbar is sticky */
.first_content {
    margin-top: calc(var(--navbar-height) + 4vh) !important;
}

/* globally applied css */

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    font-size: 22px;
    scroll-behavior: smooth;
    color: var(--text-normal);
    font-family: 'Noto Sans', sans-serif;
    transition: var(--transistion-duration);
}

body {
    background: url(/Images/leafgood.png);
}

a {
    color: var(--banner-text-color);
    outline: none;
    cursor: pointer;
    transition: var(--transistion-duration);
}

.page-container {
    margin: 0;
    overflow: auto;
    color: var(--text-normal);
}

.center-by-grid {
    padding: 2rem;
    display: grid;
    place-items: center;
}


#banner {
    width: 100%;
    /* banner should span the full width of the container */
    height: 100%;
    /* banner should span the full height of the container */
    background-size: cover;
    /* scale the image to cover the entire banner */
    background-position: center;
    /* center the image within the banner */
    background-attachment: fixed;
    /* fix the background image to the viewport */
    background-image: url(https://lastcheat.com/assets/images/banners/background.jpg);
}

@media (max-width: 640px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }
    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    tr {
        margin: 0 0 1rem 0;
    }
    tr:nth-child(odd) {
        background: var(--gray-800);
    }
    td {
        border: none;
        border-bottom: 1px solid var(--gray-700);
        position: relative;
        padding-left: 50%;
    }
    td:before {
        position: absolute;
        top: 0;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        content: attr(data-label);
        color: var(--gray-500);
        font-weight: bold;
    }
}


#specific {
    /* align in center using grid both x and y axis */
    /* set the background color to black with 50% opacity */
    background-color: rgba(0, 0, 0, 0.5);
}



.star {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    padding-left: 2px;
    padding-right: 2px
}

.star .filled {
    fill: var(--accent-color);
    transition: fill 0.2s ease-in-out 0s;
}

.star .empty {
    fill: #d2d2d2;
    transition: fill 0.2s ease-in-out 0s;
}

.searchbar {
    width: 50%;
    height: 1rem;
    margin: auto;
    
}
.searchbar input {
    border-radius: .5rem;
    border: 0;
    padding: .7rem;
    width: 100%;
    height: 100%;
}

.container {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.status-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}



.cards-container {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.card {
    margin: 1rem;
    max-width: 15rem;
    border-radius: 12px;
    border: 1px solid rgba(209, 213, 219, 0.3);
    background-color: #333333;
}

.card-img {
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(209, 213, 219, 0.3);
}

.card-img img {
    object-fit: cover;
    max-height: 10rem;
    min-height: 10rem;
    min-width: 15rem;
    
}

.card-info {
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    font-size: .8rem;
    justify-content: center;
}

.card-button button{
    height: 2.5rem;
    width: 100%;
    background: none;
    border: 0;
    transition: all ease-in-out 150ms;
}
.card-button button:hover{
    background-color: grey;
}

.card-button button h1{
    margin: 0;
    font-size: .8rem;
    transition: all ease-in-out 150ms;
    color: #FFF;
    
}

.banner-text {
    color: var(--banner-text-color);
    text-align: center;
    /* add text shadow */
}

.btn {
    background-color: rgba(44, 48, 49, 0.7);
    transition: all .2s ease-in-out;
    border-radius: 1rem;
    padding: 0.5rem;
    border: 0px;
}

.btn:hover {
    transition: all .2s ease-in-out;
    /* glow on hover */
    box-shadow: 2px 2px 15px rgba(255, 251, 43, 0.3);
}

.btn.glass {
    color: #fff;
    border-radius: 12px;
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
}

.card-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 1rem;
}

.card-content.center {
    align-items: center;
}

.card-image {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    filter: contrast(70%);
    overflow: hidden;
    position: relative;
    transition: filter 0.5s cubic-bezier(.43, .41, .22, .91);
    border-radius: 12px 12px 0px 0px;
}

.card-image::before {
    content: "";
    display: block;
    padding-top: 100%;
}

.card-subtitle {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 0.25rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 2px;
}

.card-description {
    flex: 1 1 auto;
    font-size: 0.75rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

h1.border:after {
    content: "";
    display: block;
    width: 6em;
    max-width: 70%;
    border-bottom: 0.1em solid red;
    margin: 16px auto 0;
}

.showcase_wrapper {
    margin: 4rem;
    display: grid;
    row-gap: 1rem;
    column-gap: 1rem;
    margin: 0 auto 4rem auto;
}

.grid-container {
    max-width: 60%;
    grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 768px) {
    .grid-container {
        
        max-width: 80%;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .grid-container {
        max-width: 100%;
        grid-template-columns: 1fr;
    }
}

#best-selling-products-container {
    max-width: 80%;
    grid-template-columns: repeat(4, 1fr);
}

.showcase-card.full-width {
    margin-bottom: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(209, 213, 219, 0.3);
    background-color: var(--showcase-card-background);
}

.showcase_wrapper .showcase-card {
    border-radius: 12px;
    backdrop-filter: blur(16px) saturate(120%);
    background-color: var(--showcase-card-background);
    border: 1px solid rgba(209, 213, 219, 0.3);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
    transition: all .2s ease-in-out;
}

.showcase_wrapper .showcase-card:hover {
    transition: all .2s ease-in-out;
}

#banner .banner-text h1 {
    font-size: 4rem;
    font-weight: 700;
    margin: 0;
}

.banner-button {
    font-size: 0.9rem;
    border-radius: 5px;
    padding: 10%;
    background-color: var(--accent-color);
    transition: var(--transistion-duration);
    text-decoration: none;
}

.banner-button-product {
    font-size: 0.9rem;
    border-radius: 1px;
    padding: 5%;
    background-color: grey;
    transition: var(--transistion-duration);
    text-decoration: none;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
}

::-webkit-scrollbar-thumb:window-inactive {
    background: var(--accent-color)
}

/* Default styles */

footer {
    background-color: #333333;
    color: #ffffff;
    padding-top: 3rem;
}

.footer-container {
    width: 80%;
    /* Center the container */
    margin: 0 auto;
}

.footer-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-col {
    max-width: 30rem;
    margin: 0 10px;
    /* Add some margin to the columns */
}

.footer-games {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.footer-games .footer-list-container {
    margin: 0 1rem;
}

footer h3 {
    color: #ffffff;
    margin-bottom: 30px;
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

#reviews .search-container {
    display: flex;
    align-items: center;
    margin: 0 auto;
    max-width: 800px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 20px;
    overflow: hidden;
}

/* Search input field */
#reviews .search-input {
    flex: 1;
    height: 100%;
    padding: 0 10px;
    border: none;
    outline: none;
    font-size: 16px;
}

#reviews .cards {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 960px;
}

@media screen and (max-width: 768px) {
    #reviews .cards {
        max-width: 100%;
        justify-content: center;
    }

}

@media screen and (max-width: 480px) {
    #reviews .cards {
        flex-direction: column;
        align-items: center;
    }

}
@media screen and (max-width: 1300px) {
    #categories.left{
    width: 0%;
    display: none;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1440px) {
    #reviews .cards {
        max-width: 768px;
    }


}

@media screen and (min-width: 1441px) and (max-width: 1920px) {
    #reviews .cards {
        max-width: 832px;
    }
}

@media screen and (min-width: 1921px) and (max-width: 2560px) {
    #reviews .cards {
        max-width: 1152px;
    }
}

#reviews .cards__item {
    display: flex;
    padding: 1rem;
}

@media (min-width: 40rem) {
    #reviews .cards__item {
        width: 50%;
    }
}

@media (min-width: 56rem) {
    #reviews .cards__item {
        width: 33.3333%;
    }
}

#reviews .card {
    border-radius: 0.25rem;
    box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
}

#reviews .card__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 1rem;
}

#reviews .card__image {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    overflow: hidden;
    position: relative;
    transition: filter 0.5s cubic-bezier(.43, .41, .22, .91);
}

#reviews .card__image::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

@media (min-width: 40rem) {
    #reviews .card__image::before {
        padding-top: 66.6%;
    }
}

#reviews .card__text {
    flex: 1 1 auto;
    font-size: 0.75rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

#reviews .category-button {
    background-color: #00000000;
    border: none;
    color: #4C9AD8;
    padding: 12px 26px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 1.5rem 0.2rem 0.3rem 0.2rem;
    cursor: pointer;
    border-radius: 12px;
    transition: 0.5s;
}

#reviews .category-button:hover {
    background-color: #E2E8F0;
    transition: 0.5s;
    color: #6FAAD9;
}

#reviews .category-button:active {
    background-color: #E2E8F0;
    transform: translateY(4px);
    transition: 0.5s;
    color: #6FAAD9;
}

#reviews .category-button.active {
    background-color: #EF6B72;
    transition: 0.5s;
    color: #000;
}

/* Styles for smaller screens */

@media screen and (max-width: 768px) {
    .footer-container {
        width: 90%;
    }

    .footer-row {
        flex-wrap: wrap;
        /* Wrap the columns when they don't fit on one line */
    }

    .footer-col {
        flex: 1 0 100%;
        /* Make the columns full width on small screens */
        margin: 0;
        /* Remove margin on small screens */
        margin-bottom: 20px;
        /* Add some bottom margin to create some space between the columns */
    }
}

/* Styles for even smaller screens */

@media screen and (max-width: 576px) {
    footer {
        padding-top: 2rem;
        /* Reduce the top padding to create more space */
    }

    footer h3 {
        font-size: 1.2rem;
        /* Reduce the font size of headings */
    }

    footer ul li {
        font-size: 0.9rem;
        /* Reduce the font size of list items */
    }

    .footer-container {
        width: 100%;
        /* Make the container full width on even smaller screens */
        padding: 0 20px;
        /* Add some horizontal padding to create some space */
    }
}

.copyright {
    background-color: #222222;
    padding: 10px 0;
    text-align: center;
    margin-top: 3rem;
}




.status-title {
    margin: 6rem auto 1rem auto;
    font-size: 2rem;
}

.status-games {
    max-width: 30rem;
    width: 90%;
}

.status-bar {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    height: 3rem;
    background-color: var(--showcase-card-background);
    margin: 1rem auto;
    border-radius: .5rem;
}