﻿body {
    font-family: "PalatinoLinotypeRegular";
    font-size: larger;
    color: var(--black);
}

html,
body {
    min-width: 400px;
}

html,
body {
    padding-right: 0 !important;
    overflow: visible !important;
    height: 100% !important;
}

.blog_post.invisible {
    visibility: initial !important;
    opacity: 0.25;
}

.hidden {
    display: none;
}

.bold {
    font-weight: bold;
}

.linethrough {
    text-decoration: line-through;
}

.italic {
    font-style: italic;
}

.montserrat {
    font-family: "Montserrat-Black";
}

#navbar {
    /*overflow: hidden;*/
    position: relative;
    z-index: 500;
}

#navbar>ul {
    padding: 0;
    display: flex;
    justify-content: space-around;
    margin: 0;
    align-items: center;
    height: 100px;
}

#navbar>ul li {
    list-style-type: none;
    text-align: center;
    z-index: 500;
    /*width: 20%;*/
    display: block;
    height: 100%;
    position: relative;
}

#navbar>ul>li:first-child {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
}

#navbar>ul>li:first-child a {
    width: auto;
}

#navbar>ul li a,
#navbar>ul li button {
    text-decoration: none;
    color: var(--yellow);
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

#navbar>ul li:hover a {
    color: var(--white);
}

#navbar>ul>li:first-child button {
    background-color: transparent;
    height: 28px;
    width: auto;
    display: inline-block;
    border: none;
    margin-right: 5px;
}

#navbar>ul>li:first-child button img {
    max-height: 100%;
}

#navbar li a svg g * {
    fill: var(--yellow);
}

#navbar>ul li ul {
    display: none;
    position: absolute;
    padding-left: 0;
    right: 0;
    left: 50%;
    transform: translateX(-50%);
    bottom: -30px;
    width: 100%;
    min-width: 200px;
    list-style: none;
    z-index: 10;
    padding: 5px;
    background: var(--black);
}

#navbar>ul li ul li a {
    width: 100%;
    display: block;
    border-radius: 0;
    height: auto;
}

#navbar>ul li:hover ul {
    display: block;
}

.parallax.yellow,
.blog_post.yellow,
.store_product.yellow {
    background-color: var(--yellow);
    color: var(--black);
}

.parallax.yellow form input,
.parallax.yellow form textarea,
.parallax.yellow form select,
.parallax.yellow form button:not(.tox-tbtn):not(.tox-swatch):not(.button_edit):not(.button_info):not(.button_plus):not(.button_remove):not(.button_x):not(.button_like),
.blog_post.yellow .user_card,
.blog_post.yellow .comment,
.blog_post.yellow .blog_category,
.parallax.yellow .product-right a,
.parallax.yellow .product-left a {
    border-color: var(--black);
    color: var(--black);
    background-color: var(--yellow);
}

.parallax.white,
.blog_post.white,
.store_product.white {
    background-color: var(--white);
    color: var(--black);
}

.parallax.white form input,
.parallax.white form textarea,
.parallax.white form select,
.parallax.white form button:not(.tox-tbtn):not(.tox-swatch):not(.button_plus),
.blog_post.white .user_card,
.blog_post.white .comment,
.blog_post.white .blog_category,
.parallax.white .product-right a,
.parallax.white .product-left a {
    border-color: var(--black);
    color: var(--black);
    background-color: var(--white);
}

.parallax.black,
.blog_post.black,
.store_product.black,
#navbar {
    background-color: var(--black);
    color: var(--yellow);
}

.parallax.black form input,
.parallax.black form textarea,
.parallax.black form select,
.parallax.black form button:not(.tox-tbtn):not(.tox-swatch),
.blog_post.black .user_card,
.blog_post.black .comment,
.blog_post.black .blog_category,
.parallax.black .product-right a,
.parallax.black .product-left a {
    border-color: var(--yellow);
    color: var(--yellow);
    background-color: var(--black);
}

.parallax.home {
    height: calc(100vh - 100px);
    min-height: calc(100vh - 100px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.home div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.home img {
    width: 80%;
}

.parallax p,
.parallax ul,
.user #liked_blog_categories,
.parallax ol {
    padding-top: 40px;
    text-align: justify;
    max-width: 800px;
    margin: auto;
    padding-left: 2em;
    padding-right: 2em;
}

.aboutus ul,
.blog_post ul {
    padding-left: 3.5em;
}

.aboutus ul li:not(:last-of-type) {
    padding-bottom: 40px;
}

.home p:last-child,
.aboutus p:last-child,
.aboutus ul:last-child,
.contacts p:last-child {
    padding-bottom: 40px;
}

.store .product:last-of-type,
.ourgames .game:last-of-type {
    padding-bottom: 20px;
}

.content {
    padding: 16px;
}

/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
    position: fixed !important;
    top: 0;
    width: 100%;
}

body,
html {
    height: 100%;
}

.parallax {
    min-height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 100;
}

h1,
h2,
h3 {
    display: inline-block;
    align-items: center;
    gap: 5px;
    justify-content: center;
    margin: auto;
    width: 100%;
    text-align: center;
    font-family: "NexaRustSansBlack";
    font-weight: 700;
    font-size: 48px;
    padding: 0 1em;
}

h2 {
    padding: 40px;
    font-size: 32px;
}

h3 {
    padding: 20px;
    font-size: 20px;
}

h1:first-of-type:not(.modal-header h1):not(.modal-content h1):not(.tox h1) {
    padding-top: 140px;
}

.col,
.col-1,
.col-10,
.col-11,
.col-12,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-auto,
.col-lg,
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-auto,
.col-md,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-auto,
.col-sm,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-auto,
.col-xl,
.col-xl-1,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-auto,
.row {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}


.login-form {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
}

.login-form form {
    padding: 30px;
}

.login-form h2 {
    margin: 0 0 15px;
}

.form-control,
.btn {
    min-height: 38px;
    border-radius: 2px;
}

/*.login-btn {
    font-size: 15px;
    font-weight: bold;
}*/

.or-seperator {
    margin: 30px 0 5px;
    text-align: center;
    border-top: 1px solid var(--black);
}

.or-seperator i {
    padding: 0 10px;
    background: var(--yellow);
    position: relative;
    top: -15px;
    z-index: 1;
}

.social-btn .btn {
    margin: 10px 0;
    /*font-size: 15px;*/
    text-align: left;
    line-height: 24px;
    color: var(--white);
    transition: none;
    text-align: center;
}

.social-btn .btn.btn-google {
    background-color: var(--google);
    border-color: var(--google);
    color: var(--white) !important;
}

.social-btn .btn.btn-facebook {
    background-color: var(--facebook);
    border-color: var(--facebook);
    color: var(--white) !important;
}

.social-btn .btn.btn-discord {
    background-color: var(--discord);
    border-color: var(--discord);
    color: var(--white) !important;
}

.button_like:hover,
.social-btn .btn:hover,
.social-btn .btn:hover svg,
.button_edit:hover,
.button_info:hover,
.button_list:hover,
.button_orders:hover,
.button_pin:hover,
.button_unpin:hover,
.button_reply:hover,
.button_remove:hover,
.button_x:hover {
    color: var(--yellow) !important;
    fill: var(--yellow) !important;
}

.button_blog,
.button_store {
    stroke: var(--white);
    fill: var(--blue);
}

.button_blog:hover,
.button_store:hover {
    stroke: var(--yellow);
}

.social-btn .btn svg {
    float: left;
    margin: 2px 10px 0 5px;
    min-width: 15px;
    fill: var(--white);
}

.input-group-addon .fa {
    font-size: 18px;
}

.error,
.success {
    display: inline-block;
    width: 100%;
    color: var(--red);
}

.success {
    color: var(--green);
}

#email .error {
    display: inline;
    width: auto;
}

button.success {
    background-color: var(--green)
}

a.error {
    width: auto;
}

a.error:hover {
    color: var(--red);
}

.login-form .error {
    text-align: center;
}

button:focus:not(.tox-tbtn) {
    outline: none;
}

.inicioMarginTop {
    margin-top: 100px;
}

#navbar {
    display: block;
}

.banner {
    flex: none;
    overflow: hidden;
    position: relative;
    display: flex;
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 1rem;
    height: auto !important;
    min-height: 33.33%;
}

a,
a:hover,
a:focus {
    color: inherit !important;
}

.banner .bottom-left {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: end;
    color: white;
    z-index: 1;
    max-width: 90%;
}

.banner .bottom-right {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    margin-right: 10%;
    align-items: end;
    justify-content: end;
}

.banner h1 {
    padding: 0px;
    margin: 0px;
    font-size: clamp(1.2rem, 2.5vw, 2.5rem);
    text-align: left;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.home .banner p {
    padding: 0;
    margin: 0;
    font-size: clamp(0.9rem, 1.8vw, 1.2rem);
}


.product,
.game {
    padding: 10px;
}

.product.row,
.game.row {
    align-items: center;
    text-align: center;
}

.product-left,
.product-right,
.game-left,
.game-right {
    width: 500px;
    padding: 10px;
}

.product h2,
.game h2 {
    padding: 20px 0 20px 0;
}

.product p,
.game p {
    padding-top: 20px;
    padding-bottom: 20px;
}

.product img,
.game img,
.store_success img,
.store_product.individual .carousel {
    width: auto;
    max-height: 400px;
    max-width: 80%;
}

.product:nth-of-type(odd) .product-right img,
.product:nth-of-type(even) .product-left img,
.game:nth-of-type(odd) .game-right img,
.game:nth-of-type(even) .game-left img {
    display: none;
}

form:not(.modal-content form):not(.individual form) {
    max-width: 800px;
    padding: 0 2em;
    margin: 100px auto 0;
}

#add-blog-post-form {
    margin: 0 auto 0;
    padding: 0 2em 40px;
}

form textarea {
    resize: none;
}

.size_chart label,
form label:not(.tox label),
form button:not(.tox-tbtn):not(.tox-swatch):not(.button_edit):not(.button_info):not(.button_plus):not(.button_remove):not(.button_x):not(.button_like),
.product-right a:not(.individual .product-right a):not(.store_product_description a),
.product-left a:not(.store_product_description a) {
    font-family: "NexaRustSansBlack";
    font-weight: 700;
    font-style: normal;
    min-width: 145px;
    margin: 0 20px 0 0;
}

.store_product_description a:hover {
    text-decoration: underline;
}

.size_chart label {
    min-width: unset;
    margin: 0;
}

form label {
    text-align: right;
}

form button:not(.tox-tbtn):not(.tox-swatch):not(.button_edit):not(.button_info):not(.button_plus):not(.button_remove):not(.button_x):not(.button_like),
.product-right a:not(.individual .product-right a):not(.store_product_description a),
.product-left a:not(.store_product_description a) {
    display: inline-block;
    margin: auto;
    font-size: larger;
    border: none;
    border-radius: 15px;
    width: auto;
    padding: 0 10px;
}

form input,
form textarea,
form select {
    border: 3px solid var(--black);
    border-radius: 15px;
    flex-grow: 1;
    font-weight: 700;
    padding: 0 10px;
    background: var(--white);
}

form .row {
    display: flex;
    padding: 0 0 20px 0;
}

form .row>div:not(.cover_img):not(#liked_blog_categories):not(#liked_store_product_categories):not(#liked_store_product_sizes):not(#liked_store_product_langs):not(.individual form .row div) {
    width: 100%;
    border: 3px solid var(--black);
    border-radius: 15px;
    padding: 5px;
}

form .cover_img {
    padding: 5px;
    background-color: var(--white);
    position: relative;
}

form .cover_img button.button_edit {
    top: unset;
}

.row.centered {
    flex-direction: column;
}

.row.centered label {
    text-align: center;
}

button:focus:not(.tox-tbtn),
input:focus,
textarea:focus {
    outline: none;
}

button:not(.tox-tbtn):not(.tox-swatch) {
    cursor: pointer;
}

button:disabled:not(.tox-tbtn) {
    cursor: not-allowed;
}

.user h1 {
    padding: 40px 0 !important;
}

.profile_img {
    margin: 1rem 1rem 0 0;
    /*float: right;*/
    border-radius: 50%;
    width: 125px;
}

.user_profile_img {
    margin: 1rem 1rem 0 0;
    position: absolute;
    right: 0;
    /*width: 50%;*/
    text-align: right;
}

.user_profile_img div,
.blog_post .cover_img div {
    position: relative;
}

.user_profile_img img {
    width: 125px;
    height: 125px;
    object-fit: cover;
    margin: 0;
}

button:not(.tox-tbtn):not(.tox-swatch):not(.button_blog):not(.button_store) {
    fill: var(--white);
}

.cover_img button.button_edit,
.cover_img button.button_x,
.user_profile_img button.button_edit,
.user_profile_img button.button_x {
    line-height: 0.5rem;
    position: absolute;
    right: calc(1rem + 125px);
    padding: 0 5px !important;
}

.cover_img button.button_edit,
.cover_img button.button_x {
    right: 0.5rem;
    margin-left: 0;
}

.cover_img button.button_edit,
.user_profile_img button.button_edit {
    top: calc(1rem + 40px);
}

.cover_img button.button_x,
.user_profile_img button.button_x {
    height: 40px;
    width: 40px;
    margin: 0;
}

.cover_img button.button_x,
.user_profile_img button.button_x {
    top: 0.5rem;
}

.button_plus,
.button_x,
.button_list,
.button_orders,
.button_blog,
.button_store,
.button_pin,
.button_unpin,
.button_like,
.button_remove,
.button_x,
.button_edit,
.button_info,
.button_reply {
    width: 40px;
    height: 40px;
    background-color: var(--green);
    cursor: pointer;
    border: none;
    position: relative;
    border-radius: 0;
    margin-left: 5px;
    border-radius: 7px;
}

.button_info {
    bottom: -5px;
    position: absolute;
}

.button_info svg {
    background-color: var(--black);
    padding: 2px;
    border-radius: 50%;
}

.button_info svg g path {
    fill: var(--yellow);
    background-color: var(--black);
    padding: 5px;
}

.button_x,
.h2 button.button_remove,
.h2 button.button_edit,
button.button_remove,
.button_unpin {
    width: 36px;
    height: 36px;
    margin-top: -4px;
    background-color: var(--red) !important;
}

button.button_remove {
    padding-top: 5px;
}

.button_like,
.button_list,
.button_orders,
.button_blog,
.button_store,
.h2 button.button_edit,
h1 button.button_edit,
button.button_edit,
.cover_img button.button_edit,
.user_profile_img button.button_edit {
    background-color: var(--blue) !important;
    line-height: 0.5rem;
}

.mensagens button.button_reply {
    background-color: var(--blue) !important;
    margin: 0;
}

.button_plus:after,
.button_x:after {
    content: '';
    position: absolute;
    transform: translate(-50%, -50%);
    height: 4px;
    width: 50%;
    background: var(--white);
    top: 50%;
    left: 50%;
}

.button_plus:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    height: 50%;
    width: 4px;
}

.button_plus:hover:before,
.button_plus:hover:after,
.button_x:hover:before,
.button_x:hover:after {
    background: var(--yellow);
    transition: 0.2s;
}

.email_verified,
.post_visible,
.category_visible,
.product_type_visible,
.size_visible,
.path_valid {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    margin-left: 5px;
}

.email_verified path,
.path_valid path {
    stroke: var(--white);
}

.email_verified:hover path {
    stroke: var(--yellow);
}

.post_visible,
.category_visible,
.product_type_visible,
.button_pin,
.button_unpin,
td .button_edit {
    margin-left: 0;
}

.liked_blog_category,
.blog_category,
.store_product_category,
.store_product_type,
.store_product_size,
.store_product_lang {
    display: inline-flex;
    border: solid black 1px;
    border-radius: 10px;
    padding: 5px;
    margin: 2px;
    align-items: center;
}

form .blog_category {
    background-color: var(--white);
}

.liked_blog_category span,
.blog_category span,
.store_product_category span,
.store_product_type span,
.store_product_size span,
.store_product_lang span {
    vertical-align: middle;
}

.liked_blog_category .button_x,
.blog_category .button_x,
.store_product_category .button_x,
.store_product_type .button_x,
.store_product_size .button_x,
.store_product_lang .button_x {
    margin: 0 0 0 5px;
}

.blog_category.active,
.store_product_category.active_category,
.store_product_type.active_type,
.store_product_size.active_size {
    font-weight: bold;
    border-width: 2px;
    background-color: var(--yellow);
}

.store_product_type.active_type {
    background-color: var(--black);
    color: var(--yellow);
    border: solid var(--yellow) 2px;
}

.store_product_size.active_size {
    background-color: var(--white);
    color: var(--black);
    border: solid var(--black) 2px;
}

.blog .blog_category:not(.blog_post .blog_category),
.store .store_product_category:not(.store_product .store_product_category),
.store .store_product_type:not(.store_product .store_product_type),
.store .store_product_size:not(.store_product .store_product_size),
.store .store_product_lang:not(.store_product .store_product_lang) {
    cursor: pointer;
}

#modal-overlay,
#modal-overlay-2,
#modal-overlay-3 {
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(0, 0, 0, 0.7);
    top: 0;
    z-index: 150;
    display: none;
    align-items: center;
    justify-content: center;
}

#modal-overlay #modal,
#modal-overlay-2 #modal-2,
#modal-overlay-3 #modal-3 {
    max-width: 50%;
    width: 100%;
    background: var(--white);
    height: auto;
    position: fixed;
    top: 50vh;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    padding: 10px;
}

#modal-overlay #modal .modal-header,
#modal-overlay #modal .modal-content,
#modal-overlay #modal .modal-footer,
#modal-overlay-2 #modal-3 .modal-header,
#modal-overlay-2 #modal-3 .modal-content,
#modal-overlay-2 #modal-3.modal-footer,
#modal-overlay-3 #modal-3 .modal-header,
#modal-overlay-3 #modal-3 .modal-content,
#modal-overlay-3 #modal-3 .modal-footer {
    border: none;
    padding: 0.5rem 1rem;
}

.blog_post h1 {
    padding-bottom: 40px;
}

.blog_post .cover_img {
    margin: auto;
    position: relative;
    width: 50%;
    text-align: right;
}

.blog .blog_categories,
.store .store_product_categories,
.store .store_product_types,
.store_product .store_product_type:not(.store_product .store_product_type .store_product_type),
.store .store_product_sizes,
.store .store_product_langs {
    padding: 0 2em 20px 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: wrap;
}

.cover_img img {
    min-width: 100%;
    max-width: 100%;
    max-height: 330px;
    /*object-fit: cover;*/
    object-fit: contain;
}

td .cover_img img {
    max-height: 100px;
}

.blog_post_footer {
    display: flex;
    justify-content: space-between;
    max-width: 800px;
    margin: auto;
    font-style: italic;
    padding: 20px 2em;
    font-size: medium;
}

.table-container {
    max-height: 400px;
    /* or whatever height you want */
    overflow-y: auto;
    border: 1px solid #ddd;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: medium;
}

thead {
    position: sticky;
    z-index: 2;
}

thead tr {
    background-color: var(--yellow) !important;
}

thead th {
    color: var(--black);
    font-weight: bold;
    user-select: none;
    text-align: center;
    border-bottom: 1px solid var(--black);
}

tbody.post-group td,
tbody.product-group td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--black);
}

thead th,
tbody.post-group td,
tbody.product-group td {
    padding: 5px;
    border-bottom: 1px solid var(--black);
}

tbody.post-group:hover,
tbody.product-group:hover {
    background-color: #f1f1f1;
}

tbody.post-group,
tbody.product-group {
    cursor: move;
}

.post_text,
.product_text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.post_text p {
    padding: 5px;
}

.post_text * {
    font-size: medium !important;
}

.button_edit {
    position: relative;
    transition: box-shadow 0.3s ease, opacity 0.3s ease;
}

.button_edit.glow {
    box-shadow: 0 0 10px 4px var(--yellow);
    opacity: 1;
}

.user_card {
    display: inline-block;
    width: auto;
    border-radius: 10px;
    border: 1px solid;
}

.user_card a {
    display: flex;
    flex-direction: row;
    text-decoration: none;
}

.user_card a img {
    padding: 0.25rem;
    margin: 0;
    height: 55px;
    width: 55px;
}

.user_card a div {
    display: flex;
    flex-direction: column;
    margin-left: 0.25rem;
}

.user_card a div span {
    padding: 0 0.25rem 0 0;
}

div>.comments {
    padding: 1rem;
}

.comments:not(:empty):not(div>.comments) {
    margin-top: 0.5rem;
    padding: 0 1rem 0 40px;
}

.comments,
.comment {
    list-style: none;
}

.comment {
    padding: 5px 10px 0 10px;
    border-left: 1px solid;
}

.comment_creator {
    font-weight: bold;
    padding: 5px 10px 0 0;
}

.comment_date {
    font-style: italic;
    font-size: medium;
    white-space: nowrap;
}

.comment_edited {
    font-style: italic;
    font-size: small;
    padding-left: 5px;
}

.comment_text {
    display: block;
}

footer.footer {
    background-color: var(--black);
    color: var(--yellow);
    padding: 2rem 2rem 1rem 2rem;
    font-size: smaller;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 800px;
    margin: auto;
}

.footer-section:first-child {
    flex: 0 0 222px;
    /* Fixed width */
}

.footer-section:nth-child(2),
.footer-section:nth-child(3) {
    flex: 1 1 0;
    /* Share remaining space equally */
}

.footer-section .footer-logo {
    width: 100%;
    max-width: 400px;
    margin: auto;
    display: block;
    text-align: center;
}

.footer-section h3 {
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: var(--yellow);
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(165px, 1fr));
    gap: 0.5rem 2rem;
}

.footer-nav li:nth-child(2n-1) {
    text-align: right;
}

.footer-nav a {
    white-space: nowrap;
}

.footer-nav a,
.footer-section a {
    color: var(--yellow);
    transition: color 0.3s;
}

.footer-nav a:hover,
.footer-section a:hover {
    color: var(--yellow);
}

.footer-section .social-icons {
    display: flex;
    justify-content: space-evenly;
}

.social-icons a {
    display: inline-block;
    margin-right: 1rem;
    color: var(--yellow);
    width: 24px;
    height: 24px;
    transition: fill 0.3s;
}

.social-icons a {
    fill: var(--yellow);
}

.footer-powered {
    background-color: var(--black);
    color: var(--yellow);
    padding: 0 0 1rem 0;
    font-size: smaller;
}

.footer-powered p {
    margin: 0;
    padding: 0 0 1rem 0;
    text-align: center;
}

.footer-powered svg {
    width: 24px;
    height: 24px;
    fill: var(--yellow);
    vertical-align: middle;
    margin-right: 5px;
}

.footer-powered a {
    color: var(--yellow);
}

.store_products {
    padding: 0 30px 30px 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(325px, 1fr));
    gap: 30px;
    justify-content: start;
}

.store_product {
    position: relative;
    border-radius: 10px;
    padding: 10px;
}

.store_product a:hover,
.product-right a,
.product-left a {
    text-decoration: none;
}

.store_product .admin_buttons {
    position: absolute;
    top: 10px;
    right: 10px;
}

.store_product a:not(.individual .product-right a) {
    display: inline-block;
    padding: 5px 10px;
    display: flex;
    flex-flow: column nowrap;
    flex-grow: 1;
    padding: 0px;
}

.store_product img:not(.individual img) {
    max-width: 100%;
    max-height: 150px;
    display: block;
    margin: 0px auto;
    /* padding-bottom: 10px; */
    pointer-events: all;
}

.store_product .store_product_type:not(.store_product .store_product_type .store_product_type),
.store_product .store_product_type .store_product_type,
.store_product .store_product_categories,
.store_product .store_product_sizes,
.store_product .store_product_langs {
    border: none;
    margin: 0 auto;
    padding: 5px;
}

.store_product .store_product_type .store_product_type {
    padding: 0;
}

.store_product .store_product_type:not(.store_product_type .store_product_type),
.store_product .store_product_categories,
.store_product .store_product_sizes,
.store_product .store_product_langs {
    font-size: smaller;
}

#store_product_images {
    display: flex;
    gap: 25px;
    flex-flow: wrap;
}

.store_product_image:not(td .store_product_image) {
    display: flex;
    flex-direction: column;
    padding: 5px;
    border: solid;
    position: relative;
    min-width: 200px;
}

.store_product_image a {
    position: absolute;
    top: 5px;
    right: 5px;
}

.store_product_image img.thumbnail {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.store_product_image img.detailed_image {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.size_chart {
    overflow-x: auto;
}

.size_chart td {
    padding: 0 10px;
}

.individual form label {
    min-width: 115px;
    text-align: right;
    flex: 0 0 50%;
}

.individual form input,
.individual form select {
    width: 115px;
    flex-grow: unset;
}

.sizes {
    position: relative;
}

.individual form .row {
    align-items: baseline;
}

.parallax .category_description {
    width: fit-content;
    margin: auto;
}

.parallax .category_description p,
.parallax .category_description ul {
    padding-top: 0;
}

.parallax .category_description p {
    padding-left: 0;
    padding-right: 0;
}

.carousel {
    position: relative;
    margin: auto;
    /*width: 400px;
    height: 250px;
    overflow: hidden;
    border-radius: 12px;*/
}

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
    max-width: unset;
}

.carousel img.active {
    display: block;
}

.carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--yellow);
    border: solid var(--black) 3px;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.6s ease;
}

.carousel button:hover {
    opacity: 1;
    z-index: 1;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

@media only screen and (max-width: 1020px) {

    #modal-overlay #modal,
    #modal-overlay-2 #modal-2,
    #modal-overlay-3 #modal-3 {
        max-width: 60%;
    }

    .product,
    .game {
        padding: 0;
    }

    .product-left,
    .product-right,
    .game-left,
    .game-right {
        width: 340px;
        padding: 0;
    }
}

@media (max-width: 840px) {

    #modal-overlay #modal,
    #modal-overlay-2 #modal-2,
    #modal-overlay-3 #modal-3 {
        max-width: 70%;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-section {
        width: 100%;
    }
}

@media only screen and (max-width: 740px) {

    #modal-overlay #modal,
    #modal-overlay-2 #modal-2,
    #modal-overlay-3 #modal-3 {
        max-width: 80%;
    }

    .product-left,
    .product-right,
    .game-left,
    .game-right {
        width: 100%;
    }

    .product:nth-of-type(odd) .product-left img:not(.individual .product-left img),
    .product:nth-of-type(even) .product-right img:not(.individual .product-right img),
    .game:nth-of-type(odd) .game-left img,
    .game:nth-of-type(even) .game-right img {
        display: none;
    }

    .product:nth-of-type(odd) .product-right img:not(.individual .product-right img),
    .product:nth-of-type(even) .product-left img:not(.individual .product-left img),
    .game:nth-of-type(odd) .game-right img,
    .game:nth-of-type(even) .game-left img {
        display: inline;
    }

    .cover_img,
    .user_profile_img {
        position: static;
        display: block;
        margin: auto;
    }

    .cover_img {
        width: 100%;
    }

    .store_products {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .store_product:not(.individual) {
        width: 90%;
        max-width: 400px;
    }
}

@media only screen and (max-width: 720px) {
    .parallax {
        background-attachment: scroll;
    }
}

@media only screen and (max-width: 495px) {

    form:not(.modal-content form) {
        margin-top: 40px;
    }

    form .row {
        flex-direction: column;
    }

    form label {
        text-align: center;
        margin: 0;
    }

    .individual form label {
        width: 100%;
        text-align: center;
        flex: unset;
        margin: unset;
    }

    .individual form input,
    .individual form select,
    .sizes {
        margin: auto;
    }

    .individual form .row div {
        text-align: center;
        width: 100%;
    }
}

@media only screen and (max-width: 470px) {
    #navbar ul>li:first-child {
        flex-direction: column;
    }

    #navbar ul>li:first-child {
        flex-direction: row;
        /* Keep the row layout */
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        /* Optional: adds spacing between button group and Home link */
    }

    #navbar ul>li:first-child button {
        margin: 0;
    }

    #navbar ul>li:first-child .language-buttons {
        display: flex;
        flex-direction: column;
        /* Stack buttons vertically */
        align-items: center;
        gap: 5px;
    }
}

@media only screen and (max-width: 440px) {
    #navbar ul li a {
        font-size: small;
    }
}