:root {
    --color-red: hsl(37, 72%, 43%);
    --color-dark: hsl(219, 79%, 22%);
    --color-grey: hsl(240, 9%, 11%);
    --collor-bg: hsl(230, 10%, 12%);
    --color-logo-red: hsl(359, 48%, 55%);
    --sb-track-color: hsl(219, 79%, 22%);
    --sb-thumb-color: hsl(37, 72%, 43%);
    --sb-size: 8px;
    --mobile-max-width: 550px;
    --tablet-max-width: 1100px;
}

html, body {
    min-height: 100lvh;
    background-color: var(--collor-bg);
    /* background-image: url(/Static/img/Frontend/background_blue.jpg); */
    /* background:linear-gradient(0deg, var(--collor-bg), var(--collor-bg)), url(/Static/img/Frontend/background_blue.jpg); */
    background:linear-gradient(0deg, var(--collor-bg), var(--collor-bg));
    background-repeat: no-repeat;
    background-size: cover;
    font-size: 16px;
    color: hsl(0, 0%, 100%);
    scroll-behavior: smooth;
}

.navbar.is-dark {
    background-color: var(--color-bg);
}

/* Bulma ovverride */
.content h1 {
    color: hsl(0, 0%, 100%)
}

.red-glow {
    -webkit-box-shadow:0px 0px 19px 2px var(--color-red);
    -moz-box-shadow: 0px 0px 19px 2px var(--color-red);
    box-shadow: 0px 0px 19px 2px var(--color-red);
}

.mm-button-red {
    background-color: var(--color-red);
    border: 0;
    border-radius: 5px;
    color: white;
    letter-spacing: 0.05em;
}

.mm-button-dark {
    background-color: var(--color-dark);
    border: 0;
    border-radius: 8px;
    color: var(--color-red);
    letter-spacing: 0.05em;
    line-height: 0.05em;
    font-size: 1.05em;
    height: 1.75em;
}

.mm-button-dark:hover, .mm-button-dark:focus, .mm-button-dark:focus-within {
    background-color: var(--color-dark);
    color: var(--color-red);
    -webkit-box-shadow:0px 0px 19px 2px var(--color-red);
    -moz-box-shadow: 0px 0px 19px 2px var(--color-red);
    box-shadow: 0px 0px 19px 2px var(--color-red);
}

.mm-button-red:hover, .mm-button-red:focus, .mm-button-red:focus-within {
    background-color: var(--color-red);
    color: white;
    -webkit-box-shadow:0px 0px 19px 2px var(--color-red);
    -moz-box-shadow: 0px 0px 19px 2px var(--color-red);
    box-shadow: 0px 0px 19px 2px var(--color-red);
}

.mm-button-whatsapp {
    background-color: hsl(142, 70%, 49%);
    padding-inline: 1em;
    max-height: 1.5em;

}

.mm-button-whatsapp:hover, .mm-button-whatsapp:focus, .mm-button-whatsapp:focus-within {
    background-color: hsl(142, 70%, 49%);
    color: white;
    -webkit-box-shadow:0px 0px 19px 2px hsl(142, 70%, 49%);
    -moz-box-shadow: 0px 0px 19px 2px hsl(142, 70%, 49%);
    box-shadow: 0px 0px 19px 2px hsl(142, 70%, 49%);
}

.temp{
    background-color: hsl(0, 0%, 100%);
}

.language-flag {
    max-height: 1.5em;
    border-radius: 5px;
}

.language-flag:hover {
    -webkit-box-shadow:0px 0px 19px 2px var(--color-red);
    -moz-box-shadow: 0px 0px 19px 2px var(--color-red);
    box-shadow: 0px 0px 19px 2px var(--color-red);
}

.container {
    margin-bottom: 1em;
}

@media only screen and (max-width: 550px) {
    .container {
        width: -webkit-fill-available;
        margin-bottom: 1em;
    }

    .mm-navbar-top {
        display: flex;
        justify-content: space-around;
    }
}

.whatsapp-wrapper {
    display: flex;
    gap: 0.5em;
    align-items: center;
}

.navbar-menu {
    flex-direction: column;
    justify-content: center;
    row-gap: 0.4em;
    margin-right: 0 !important;
}

@media screen and (max-width: 1023px) {
    .navbar-menu.is-active{
        width: 90%;
        transform: translateX(20px);
        background-color: var(--color-bg);
    }
}

.mm-navbar-top {
    gap: 1em;
}

/* .navbar {
    overflow: hidden;
} */

.mm-navbar-logo-img {
    min-width: 40px; 
    max-height: 100px !important;
}

.navbar-item {
    color: white;
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    height: 100%;
    /* -webkit-transition: .1s ease-in-out;
    transition: .1s ease-in-out; */
}

a.navbar-item:focus, a.navbar-item:focus-within, a.navbar-item:hover,
.navbar-link:focus,
.navbar-link:focus-within,
.navbar-link:hover {
    background-color: transparent !important;
    /* font-size: 1.45rem; */
    scale: 1.15;
}

a.no-hover:focus, a.no-hover:focus-within, a.no-hover:hover {
    background-color: transparent !important;
    scale: 1;
}

.mm-menu-box {
    padding-right: 5em;
    overflow: hidden;
}

/* .mm-menu-box::after {
    position: absolute;
    content: "";
    height: 2px;
    background-color: var(--color-red);
    width: 1000%;
    bottom: 0.4em;
    left: 0;
} */

.mm-navbar-item-first::after {
    position: absolute;
    content: "";
    height: 2px;
    background-color: var(--color-red);
    width: 1000%;
    bottom: 0.4em;
    left: 0;
}
@media screen and (max-width: 1024px) {
    .mm-navbar-item-first::after {
        display: none;
    }
}

section.hero{
    height: inherit;
}

.hero-carousel .slider-container {
    height: 100% !important;
}

.hero-carousel .slider {
    height: auto;
}

@media screen and (max-width: 768px) {
    .mm-navbar-logo-img {
        min-width: 40px; 
        max-height: 70px !important;
    }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
    .hero-carousel .slider-item {
        object-fit: cover;
        width: 100% !important;
    }
}

@media screen and (min-width: 1408px) {
    .mm-hero {
        height: 37em;
    }
}
@media screen and (min-width: 1216px) and (max-width: 1408px) {
    .mm-hero {
        height: 32em;
    }
}

.slider-navigation-previous, .slider-navigation-next {
    background: transparent;
}

.mm-text {
    transform: translateY(-50%);
}

.mm-text > * {
    color: hsl(0, 0%, 100%) !important;
}

.mm-h1-frontpage{
    padding-block-end: 1em !important;
    font-size: 5.5em !important;
    text-shadow: 7px -3px 14px var(--color-dark);
    /* transform: translateY(-50%); */
}

h1.mm-h1 {
    font-size: 4.5em !important;
    text-shadow: 7px -3px 14px var(--color-dark);
    margin-bottom: 0em;
}

@media screen and (max-width: 1024px) {
    .mm-h1-frontpage {
        font-size: 3em !important;
    }
}

@media only screen and (max-width: 550px) {
    .mm-h1-frontpage {
        margin: auto;
        font-size: 2em !important;
    }
    
    h1.mm-h1 {
        font-size: 2em !important;
    }
}

.select:not(.is-multiple):not(.is-loading)::after {
    border-color: var(--color-red);
    right: 1.125em;
    z-index: 4;
}

.icon {
    color: var(--color-red) !important;
}

.mm-black {
    color: black !important;
}

.select select {
    border-radius: 50px !important;
    background-color: transparent !important;
    border-color: var(--color-red) !important;
    color: var(--color-red) !important;
}

.select select option {
    background-color: var(--color-dark);
    color: var(--color-red);
    border-radius: 50px;
    max-height: 10em;
}


.input {
    border-radius: 0.5em !important;
}

/* TOURNAMENT CARD DESIGN */
.mm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* grid-template-columns: repeat(4, 1fr); */
    grid-gap: 2rem;
    margin: 0 3em 3rem 3em;
}
@media only screen and (min-width: 1216px) and (max-width: 1408px) {
    .mm-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        margin: 0 0em 3rem 0em;
    }
}
@media only screen and (max-width: 1408px) {
    .mm-grid-item,
    .mm-grid-item-ad {
        width: 100% !important;
    }
}

@media only screen and (max-width: 1216px) {
    .mm-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin: auto;
    }
}
@media only screen and (max-width: 638px) {
    .mm-grid {
        display: grid;
        grid-template-columns: 1fr;
        margin: auto;
    }
}

.mm-grid-item,
.mm-grid-item-ad {
    position: relative;
    border: 1px solid var(--color-red);
    height: 24.2em; /* height: 23.2em; */
    width: 90%;
    max-width: 22.5em; /* max-width: 18.5em; */
    justify-self: center;
    z-index: 0;
  }

.tournament-card-ribbon {
    position: absolute;
    right: 0;
    top: 0.75em;
    width: 3em;
    z-index: 10;
    text-align: center;
    font-size: 1.25em;
}

.tournament-card-ribbon.is-live {
    background-color: var(--color-red);
}

.tournament-card-ribbon.is-ended {
    background-color: var(--color-grey);
    opacity: 70%;
}

.mm-grid-item img {
    object-fit: cover;
    padding: 6px;
    max-height: 78%; /* max-height: 80%; */
    width: 100%;
    aspect-ratio: 1/1;
}

.mm-grid-item-ad img {
    object-fit: cover;
    padding: 6px;
    width: 100%;
    height: 100%;
}

.mm-grid-card-info {
    position: absolute;
    border-top: 1px solid var(--color-red);
    margin-top: -0.6rem;
    display: grid;
    height: 22%; /* height: 20%; */
    width: 100%;
    grid-template-columns: 0.35fr 1fr;
    grid-gap: 0px;
    transform-origin: top;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1);
}

.mm-grid-card-more-info {
    position: absolute;
    border-top: 1px solid var(--color-red);
    margin-top: -0.6rem;
    display: grid;
    height: 22%; /* height: 20%; */
    width: 100%;
    grid-template-columns: 0.60fr 1fr;
    grid-gap: 0px;
    background-color: var(--color-dark);
    transform: rotateX(-90deg);
    transform-origin: bottom;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1);
}

/* #tournaments-cards-list {
    scroll-margin: -3em;
    scroll-behavior: smooth;
} */

#tournaments-cards-list .mm-grid-item:hover .mm-grid-card-more-info {
    transform: rotateX(0deg);
}
#tournaments-cards-list .mm-grid-item:hover .mm-grid-card-info {
    transform: rotateX(-90deg);
}

.mm-grid-card-info-item:first-of-type {
    border-right: 1px solid var(--color-red);
    text-align: center;
    line-height: 1em;
    font-size: 2.5em;
}

.mm-grid-card-more-info .mm-grid-card-info-item:first-of-type {
    display: grid;
    grid-template-columns: 1fr 0.1fr 1fr;
    vertical-align: middle;
}

.mm-grid-card-info-item > p {
    margin-top: 4px;
    height: 100%;
}

.mm-card-data {
    position: relative;
    padding: 8px 0px 0px 8px;
    height: 100%;
}

.mm-date {
    text-transform: uppercase;
}

.mm-grid-card-more-info .mm-card-data {
    padding: 8px 0px 0px 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    line-height: 1em;
    height: auto;
}

.mm-card-data > .mm-title {
    font-size: 1.5em;
    line-height: 1em;
}

.mm-card-data > .mm-location {
    position: absolute;
    font-size: 1em;
    bottom: 0px;
}

.mm-card-data > .prize-pool {
    justify-self: end;
    border-right: 1px solid white;
    padding-right: 1em;
}

.mm-card-data > .type {
    justify-self: start;
    padding-left: 1em;
    overflow: hidden;
    max-height: 2.5em;
}

.mm-card-data h2 {
    font-size: 1.5em;
    line-height: 1em;
}

.mm-card-data > .mm-entry-fee {
    position: absolute;
    bottom: 4px;
    right: 4px;
    border: 1px solid white;
}

.mm-button-cta-small {
    width: 100%;
    margin-top: 0.5em;
}

.mm-button-cta-small > .button {
    left: 50%;
    transform: translateX(-50%);
    height: 1.5em;
    width: 6em;
}

.mm-entry-fee {
    display: grid;
    grid-template-columns: 0.35fr 1fr;
    grid-gap: 4px;
    justify-items: center;
    align-items: center;
    line-height: 0.2em;
    padding: 0 4px 0 4px;
}

.mm-entry-fee > .symbol {
    font-size: 1.3em;
}

.mm-entry-fee > .fee {
    line-height: 1.3em;
    font-size: 0.7em;
}

.mm-entry-fee > .fee span {
    font-size: 1.5em;
}

#tournaments-cards-list img.grayscale,
img.grayscale {
    filter: grayscale(100%); /* Current draft standard */
    -webkit-filter: grayscale(100%); /* New WebKit */
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%); 
    -o-filter: grayscale(100%); /* Not yet supported in Gecko, Opera or IE */ 
    filter: gray; /* IE */
    -webkit-filter: grayscale(1); /* Old WebKit */
}

#tournaments-cards-list .mm-grid-item:hover img.grayscale,
#tournaments-cards-list .mm-grid-item-ad img {
    filter: none; /* Current draft standard */
    -webkit-filter: none; /* New WebKit */
    -moz-filter: none;
    -ms-filter: none; 
    -o-filter: none; /* Not yet supported in Gecko, Opera or IE */ 
    filter: none; /* IE */
    -webkit-filter: none; /* Old WebKit */
}

.mm-pagination {
    margin: 0 0 1em 0;
}

nav.pagination {
    margin-top: 1.5em;
    font-size: 1.5em;
}

nav.pagination .pagination-ellipsis {
    color: var(--color-red);
}

nav.pagination a.pagination-link {
    border: none;
    color: var(--color-red);
}

nav.pagination a.pagination-link:hover {
    scale: 1.5;
    text-shadow: 0px 0px 10px var(--color-red);
}

nav.pagination a.pagination-link.is-current {
    background-color: transparent;
    scale: 1.5;
    text-shadow: 0px 0px 10px var(--color-red);
}

.mm-text-is-red {
    color: var(--color-red);
}
.mm-text-is-dark {
    color: var(--color-dark);
}

/* ACTIONS */
.mm-actions-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-left: unset;
    z-index: 10;
}
.mm-actions {
    align-self: flex-end;
    font-size: 1.5em;
    margin-bottom: 0.75em;
    margin-right: 2em;
}
.mm-filters-container {
    width: 100%;
}

/* DROPDOWN Style */
/* form {
    position: relative;
    width: 18rem;
    margin-top: 8vh;
  } */

.mm-form-input input::-webkit-input-placeholder,
.mm-dropdown input::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: var(--color-red) !important;
    opacity: 0.5;
}
.mm-form-input input:-moz-placeholder,
.mm-dropdown input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: var(--color-red) !important;
    opacity: 0.5;
}
.mm-form-input input::-moz-placeholder,
.mm-dropdown input::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: var(--color-red) !important;
    opacity: 0.5;
}
.mm-form-input input:-ms-input-placeholder,
.mm-dropdown input:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: var(--color-red) !important;
    opacity: 0.5;
}
.mm-form-input input::-ms-input-placeholder,
.mm-dropdown input::-ms-input-placeholder { /* Microsoft Edge */
    color: var(--color-red) !important;
    opacity: 0.5;
}

.mm-form-input input::placeholder,
.mm-dropdown input::placeholder { /* Most modern browsers support this now. */
    color: var(--color-red) !important;
    opacity: 0.5;
}
  
.mm-dropdown {
    height: 100%;
    position: relative;
    font-size: 1em;
    width: 13em;
    margin: 0.5em;
}

.mm-form-input {
    height: 100%;
    position: relative;
    font-size: 1em;
    width: 13em;
    margin: 0.5em;
}

input[type="date"]::before { 
    content: attr(data-placeholder);
    width: 100%;
}

input[type="date"]:focus::before,
input[type="date"]:valid::before { display: none }

.mm-form-input input {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 4px;
    width: 100%;
    height: auto;
    font-size: 1em;
    padding: 0.5rem 0.5rem 0.5rem 2rem;
    background-color: transparent;
    color: var(--color-red);
    transition: 0.3s ease-in-out;
    border: 1px solid var(--color-red);
    border-radius: 50px;
}

.mm-form-input input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    border-radius: 4px;
    margin-right: 2px;
    opacity: 0.6;
    filter: invert(0.8);
    color: var(--color-red);
}

.mm-form-input input::-webkit-input-placeholder {
    color: #333;
}

.mm-form-input input:hover {
    -webkit-box-shadow:0px 0px 19px 2px var(--color-red);
    -moz-box-shadow: 0px 0px 19px 2px var(--color-red);
    box-shadow: 0px 0px 19px 2px var(--color-red);
    cursor: pointer;
}

.mm-form-input input:hover::-webkit-input-placeholder {
    color: #333;
}

.mm-form-input input:focus, .mm-form-input input.open {
    box-shadow: 0px 5px 8px 0px rgba(0, 0, 0, 0.2);
    outline: 0;
    color: var(--color-red)
}

.mm-form-input input:focus::-webkit-input-placeholder, .mm-form-input input.open::-webkit-input-placeholder {
    color: #000;
}

.mm-has-icons-left {
    width: 100%;
}

.mm-has-icons-left i {
    position: absolute;
    font-size: 1.2em;
    padding: 10px;
    color: var(--color-red);
    min-width: 30px;
    top: 50%;
    transform: translateY(-50%);
}
  
.chosen-value {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 4px;
    height: 4rem;
    width: 100%;
    height: auto;
    font-size: 1em;
    padding: 0.5rem 0.5rem 0.5rem 2rem;
    background-color: transparent;
    color: var(--color-red);
    border: 3px solid transparent;
    transition: 0.3s ease-in-out;
    border: 1px solid var(--color-red);
    border-radius: 50px;
}

.chosen-value::-webkit-input-placeholder {
    color: #333;
}

.chosen-value:hover {
    -webkit-box-shadow:0px 0px 19px 2px var(--color-red);
    -moz-box-shadow: 0px 0px 19px 2px var(--color-red);
    box-shadow: 0px 0px 19px 2px var(--color-red);
    cursor: pointer;
}

.chosen-value:hover::-webkit-input-placeholder {
    color: #333;
}

.chosen-value:focus, .chosen-value.open {
    box-shadow: 0px 5px 8px 0px rgba(0, 0, 0, 0.2);
    outline: 0;
    color: var(--color-red)
}

.chosen-value:focus::-webkit-input-placeholder, .chosen-value.open::-webkit-input-placeholder {
    color: #000;
}

.mm-has-icons-left::after {
    border: 3px solid var(--color-red);
    border-radius: 2px;
    border-right: 0;
    border-top: 0;
    content: " ";
    display: block;
    height: 0.8em;
    pointer-events: none;
    position: absolute;
    top: 50%;
    margin-top: -0.6em;
    right: 1em;
    transform: rotate(-45deg);
    transform-origin: center;
    width: 0.8em;
}
  
.value-list {
    list-style: none;
    /* box-shadow: 0px 5px 8px 0px rgba(0, 0, 0, 0.2); */
    overflow: hidden;
    position: absolute;
    margin: 0;
    top: 41px;
    left: 0;
    width: 100%;
    z-index: 9999;
    max-height: 0;
    transition: 0.3s ease-in-out;
}

.value-list.open {
    border: 1px solid var(--color-red);
    border-radius: 5px;
    max-height: 320px;
    overflow: auto;
    z-index: 9999;
}
.value-list li {
    position: relative;
    height: 2rem;
    background-color: var(--color-dark);
    color: var(--color-red);
    padding: 1rem;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    cursor: pointer;
    /* transition: background-color 0.3s; */
    opacity: 1;
}
.value-list li:hover {
    background-color: #FF908B;
}
.value-list li.closed {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
}

.value-list::-webkit-scrollbar {
    width: var(--sb-size);
}
  
.value-list::-webkit-scrollbar-track {
    background: var(--sb-track-color);
    border-radius: 10px;
}
  
.value-list::-webkit-scrollbar-thumb {
    background: var(--sb-thumb-color);
    border-radius: 10px;
}
  
@supports not selector(::-webkit-scrollbar) {
    .value-list {
        scrollbar-color: var(--sb-thumb-color)
                       var(--sb-track-color);
    }
}

@media only screen and (max-width: 638px) {
    .mm-dropdowns-flex {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .mm-dropdowns-flex .mm-dropdown,
    .mm-dropdowns-flex .mm-form-input {
        margin: 0.25em;
        width: 45%;
        font-size: 0.8em;
    }
}

/* SLIDER STYLE */

.mm-slider-wrapper {
  position: relative;
  width: 80%;
  margin-bottom: 2em;
  border-radius: 10px;
}
.mm-slider-container {
  position: relative;
  width: 100%;
  height: clamp(2.5rem, 1.5vw + 1rem, 5rem);
  margin-top: 0px;
}
input[type="range"].mm-slider-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  outline: none;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  background-color: transparent;
  pointer-events: none;
}
.mm-slider-track {
  width: 100%;
  height: 5px;
  background-color: #ffffff;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  border-radius: 5px;
}
input[type="range"].mm-slider-input::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  height: 5px;
}
input[type="range"].mm-slider-input::-moz-range-track {
  -moz-appearance: none;
  height: 5px;
}
input[type="range"].mm-slider-input::-ms-track {
  appearance: none;
  height: 5px;
}
input[type="range"].mm-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 1.7em;
  width: 1.7em;
  background-color: var(--color-red);
  cursor: pointer;
  margin-top: -9px;
  pointer-events: auto;
  border-radius: 50%;
}
input[type="range"].mm-slider-input::-moz-range-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 1.7em;
  width: 1.7em;
  cursor: pointer;
  border-radius: 50%;
  background-color: var(--color-red);
  pointer-events: auto;
  border: none;
}
input[type="range"].mm-slider-input::-ms-thumb {
  appearance: none;
  height: 1.7em;
  width: 1.7em;
  cursor: pointer;
  border-radius: 50%;
  background-color: var(--color-red);
  pointer-events: auto;
}
input[type="range"].mm-slider-input:active::-webkit-slider-thumb {
    background-color: var(--color-red);
    border: 1px solid var(--color-red);
    -webkit-box-shadow:0px 0px 19px 2px var(--color-red);
    -moz-box-shadow: 0px 0px 19px 2px var(--color-red);
    box-shadow: 0px 0px 19px 2px var(--color-red);
}
.mm-slider-values {
  background-color: var(--color-red);
  width: 32%;
  position: relative;
  margin: auto;
  padding: 10px 0;
  border-radius: 50px;
  text-align: center;
  font-weight: 400;
  line-height: 1.25em;
  font-size: 1.35em;
  color: #ffffff;
}
.mm-slider-values:before {
  content: "";
  position: absolute;
  height: 0;
  width: 0;
  rotate: 180deg;
  border-top: 20px solid var(--color-red);
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  margin: auto;
  bottom: 40px;
  left: 0;
  right: 0;
  z-index: -1;
}

@media only screen and (max-width: 638px) {
    .mm-slider-values {
        width: 80%;
        font-size: 1.2em;
    }

    .mm-slider-values:before {
        bottom: 1.75em;
    }
}

/* FOOTER */
.mm-footer {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
}

.mm-footer-row-1 {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.mm-footer-row-1 .mm-row-logo{
    margin-bottom: 1px;
    width: 100%;
}

/* .mm-footer-row-1 .mm-row-logo::after {
    position: absolute;
    content: "";
    height: 3px;
    background-color: var(--color-red);
    width: 100%;
    bottom: 0.585em;
    left: 8em;
} */

.mm-footer-row-1 .mm-row-socials{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.social-container {
    text-align: center;
}
  
.social-icons {
    padding: 0;
    list-style: none;
    /* margin: 1em; */
}
.social-icons li {
    display: inline-block;
    margin: 0.15em;
    position: relative;
    font-size: 1.2em;
}
.social-icons i {
    color: var(--color-dark);
    position: absolute;
    top: 11px;
    left: 11px;
    transition: all 265ms ease-out;
}
.social-icons a {
    display: inline-block;
}
.social-icons a:before {
    transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    content: " ";
    width: 40px;
    height: 40px;
    border-radius: 100%;
    display: block;
    /* background: linear-gradient(45deg, #00B5F5, #002A8F); */
    background-color: var(--color-red);
    transition: all 265ms ease-out;
}
.social-icons a:hover:before {
    transform: scale(0);
    transition: all 265ms ease-in;
}
.social-icons a:hover i {
    transform: scale(1.5);
    -ms-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    color: var(--color-dark);
    /* background: -webkit-linear-gradient(45deg, #00B5F5, #002A8F); */
    background-color: var(--color-red);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 265ms ease-in;
}

.mm-footer-nav {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    flex-shrink: 0;
    gap: 2em;
    font-size: 1.5em;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 1em;
}

.mm-footer-nav a {
    color: white;
}

.mm-footer-nav a:hover {
    scale: 1.2;
}
.mm-footer-logo {
    min-width: 100px;
    max-width: 100%;
    height: auto;
}

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

    .mm-footer-logo-mobile {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 1em;
    }
    .mm-footer {
        /* width: 100%; */
        margin-top: 1.5em;
        display: flex;
        flex-direction: column-reverse;
        border-top: 0.2em solid var(--color-red);
    }

    .mm-footer-row-1 {
        display: grid;
        grid-template-columns: 0.4fr 1fr;
        margin-bottom: 1em;
    }

    .mm-footer-row-1 .mm-row-logo {
        margin-bottom: 1px;
    }

    .mm-footer-row-1 .mm-row-logo::after {
        display: none;
    }

    .mm-footer-row-1 .mm-row-socials{
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }
    .mm-footer-row-1 .mm-row-socials .social-icons{
        position: absolute;
        bottom: 0;
        width: 100%;
    }

    .mm-footer-nav {
        gap: 1em;
        font-size: 1em;
        margin-top: 0.5em;
        margin-bottom: 0px;
        letter-spacing: 1px;
    }
    .social-icons li {
        font-size: 0.85em;
    }
    .social-icons a:before {
        width: 35px;
        height: 35px;
    }
    .mm-footer-logo {
        min-width: 100px;
        height: auto;
    }
}

/* Detail Page */
.page-header {
    position: relative;
    margin-bottom: 2em;
}
.page-header img {
    max-height: 30em;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 8/6.75;
}

.page-header h1 {
    color: white;
    width: 100%;
}
.page-header .mm-header-content {
    position: absolute;
    bottom: -1.6em;
    width: 100%;
}
.mm-header-nav {
    width: 100%;
    display: grid;
}
.mm-header-nav-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2em;
    justify-self: center;
    background-color: var(--color-red);
    padding: 0.25em;
    border-radius: 0.5em;
    width: 60%;
}
.mm-header-nav-button {
    flex: 1 1 25%;
    position: relative;
    color: black;
    letter-spacing: 0.05em;
    font-size: 1.8em;
}
.mm-header-nav-button a {
    color: black;
}
.mm-header-nav-button a:hover {
    cursor: pointer;
    color: white;
    text-shadow: 0 0 15px black;
}
.mm-header-nav-button::after {
    position: absolute;
    content: "";
    height: 100%;
    background-color: var(--color-dark);
    width: 2px;
    right: -0.6em;
    /* bottom: 0.4em;
    left: 0; */
}
.mm-header-nav-button:last-of-type::after{
    position: unset;
}

.mm-header-nav-button a.button-disabled {
    color: grey;
}
.mm-header-nav-button a.button-disabled:hover {
    cursor: default;
    text-shadow: none;
}

@media only screen and (max-width: 1408px) {
    .mm-header-nav-container {
        width: 80%;
    }
}

@media only screen and (max-width: 1024px) {
    .mm-header-nav-container {
        width: 100%;
    }
    .mm-header-nav-button {
        font-size: 1.5em;
    }
}

@media only screen and (max-width: 638px) {
    .mm-header-nav-container {
        width: 100%;
    }
    .mm-header-nav-button {
        font-size: 0.8em;
    }
    .mm-header-nav-container {
        gap: 1em;
        padding: 0.5em;
    }
    .page-header .mm-header-content {
        bottom: -1em;
    }
}

.mm-info-container {
    padding-top: 1.5em;
    margin-bottom: 2em;
    display: grid;
    width: 100%;
}

.mm-info-container .mm-contact {
    margin-top: 2em;
}

.mm-tournament-description {
    min-width: 90%;
    justify-self: center;
}
.mm-tournament-description h2, .mm-h2 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

.mm-h3 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

.mm-tournament-grid-info {
    display: grid;
    grid-template-columns: 1fr 0.65fr;
}
.description-text {
    font-size: 1.7em;
    font-weight: 300;
}
.mm-tournament-grid-info .details {
    font-size: 1.7em;
    justify-self: center;
    margin-top: 3.6em;
    /* align-self: center; */
}
.mm-tournament-grid-info .details i {
    color: var(--color-red);
    margin-right: 1em;
    width: 34px;
    height: 34px;
    text-align:center;
}
.mm-tournament-grid-info .details-item.span-2 {
    margin: 0.5em 0;
    width: 100%;
}
.mm-tournament-grid-info .details-item a {
    width: 100%;
}

@media only screen and (max-width: 1024px) {
    .mm-tournament-grid-info {
        grid-template-columns: 1fr;
    }
    .mm-tournament-grid-info .details {
        grid-column-start: 1;
        grid-row-start: 1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: unset;
    }
    .details-item.span-2 {
        grid-column: span 2;
    }
    .description-text {
        margin: 1em;
    }
}

@media only screen and (max-width: 638px) {
    .mm-info-container {
        padding-top: 0.2em;
    }
    .mm-tournament-grid-info .details {
        font-size: 1.1em;
        margin-top: unset;
    }
    .mm-tournament-grid-info .details i {
        margin-right: 0em;
    }
    .description-text {
        font-size: 1.3em;
    }
}

.mm-news-carousel {
    position: relative;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    max-width: 95%;
    margin: 50px auto;
    overflow: hidden;
    border-radius: 10px;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

/* Carousel */
.carousel {
    display: flex;
    gap: 2%;
    transition: transform 0.5s ease-in-out;
    height: 300px;
}

/* Carousel Card */
.carousel-card {
    position: relative;
    flex: 1 0 23.5%; /* 4 cards will be visible (25% - gap adjustment) */
    box-sizing: border-box;
    background: var(--color-red);
    /* border: 1px solid #ddd; */
    border-radius: 8px;
    /* padding: 20px; */
    text-align: left;
    height: 100%;
    max-width: 23.5%;
    overflow: hidden;
}

.carousel-card img {
    height: 67%;
    width: 100%;
    object-fit: cover;
}

.carousel-card h3 {
    margin: 5px 20px;
    font-size: 1.2rem;
    color: white;
}

.carousel-card p {
    margin: 0px 20px;
    font-size: 1rem;
    color: black;
}
.carousel-card a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    /* background-color: rgba(0, 0, 0, 0.5); */
    color: white;
    border: none;
    font-size: 3rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    z-index: 10;
}

.carousel-btn.prev-btn {
    left: -10px;
}

.carousel-btn.next-btn {
    right: -10px;
}

.carousel-btn:focus {
    outline: none;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

@media only screen and (max-width: 638px) {
    /* .carousel {
        justify-content: center;
    } */
    .carousel-card {
        flex: 1 0 100%;
        max-width: 80%;
    }
    .carousel-card:first-of-type {
        margin-left: 10%;
    }
    .carousel-btn.prev-btn {
        left: 10px;
    }
    
    .carousel-btn.next-btn {
        right: 10px;
    }
}

/* Gallery Styles */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1em;
}

.gallery-item img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.mm-gallery-more {
    font-size: 1.25em;
    width: 100%;
    text-align: right;
}
.mm-gallery-more span {
    cursor: pointer;
}

@media only screen and (max-width: 638px) {
    .mm-gallery-container{
        margin: 0em 1em;
    }
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    .mm-gallery-more {
        text-align: center;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    position: relative;
    width: 90%;
    height: 100vh;
    text-align: center;
}

.modal-content img {
    width: 100%;
    height: 90%;
    object-fit: contain;
}

.modal-buttons {
    margin-top: 0px;
}

.modal-buttons .btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background: var(--color-dark);
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 0.9rem;
}

.modal-buttons .btn:hover {
    /* background: var(--color-dark); */
    opacity: 0.8;
}

#facebook-share-btn {
    background: #3b5998;
}

#facebook-share-btn:hover {
    background: #2a4373;
}

#instagram-share-btn {
    background: #e1306c;
}

#instagram-share-btn:hover {
    background: #ad204d;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--color-red);
    color: white;
    font-size: 1.25rem;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
}

.close-btn:hover {
    opacity: 0.8;
    /* background: darkred; */
}

/* Modal Navigation Buttons */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* INPUTS */

.mm-input {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px !important;
    text-align: center;
    height: 4rem;
    width: 100%;
    height: auto;
    font-size: 1em;
    padding: 0.5rem 0.5rem 0.5rem 0.5rem !important;
    background-color: transparent;
    color: var(--color-red);
    border: 3px solid transparent;
    transition: 0.3s ease-in-out;
    border: 1px solid var(--color-red);
    border-radius: 50px;
}

.mm-input::-webkit-input-placeholder {
    color: #333;
    text-align: left;
    padding: 0.5rem 0.5rem 0.5rem 2rem;
}

/*.LANGUAGE SWITCHER */

.tabs-lng {
  display: flex;
  position: relative;
  background-color: transparent;
  /* box-shadow: 0 0 1px 0 rgba(24, 94, 224, 0.15), 0 6px 12px 0 rgba(24, 94, 224, 0.15); */
  /* padding: 0.75rem; */
  border-radius: 99px;
}

.tabs-lng * {
  z-index: 2;
}

.container-lng input[type="radio"] {
  display: none;
}

.tab-lng {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 50px;
  font-size: .8rem;
  color: black;
  font-weight: 500;
  border-radius: 99px;
  cursor: pointer;
  transition: color 0.15s ease-in;
}

.notification-lng {
  display: flex;
  align-items: center;
  justify-content: center;
  width: .8rem;
  height: .8rem;
  position: absolute;
  top: 10px;
  left: 30%;
  font-size: 10px;
  margin-left: 0.75rem;
  border-radius: 50%;
  margin: 0px;
  background-color: #e6eef9;
  transition: 0.15s ease-in;
}

.container-lng input[type="radio"]:checked + label {
  color: #185ee0;
}

.container-lng input[type="radio"]:checked + label > .notification-lng {
  background-color: #185ee0;
  color: #fff;
  margin: 0px;
}

.container-lng input[id="radio-1"]:checked ~ .glider-lng {
  transform: translateX(0);
}

.container-lng input[id="radio-2"]:checked ~ .glider-lng {
  transform: translateX(100%);
}

.container-lng input[id="radio-3"]:checked ~ .glider-lng {
  transform: translateX(200%);
}

.glider-lng {
  position: absolute;
  display: flex;
  height: 30px;
  width: 50px;
  background-color: var(--color-red);
  opacity: 0.5;
  z-index: 1;
  border-radius: 99px;
  transition: 0.25s ease-out;
}

@media (max-width: 700px) {
 
  .tabs-lng {
    transform: scale(0.9);
  }
}


/* UTILITIES */

.text-bold {
    font-weight: bold;
}

.no-scroll {
    overflow: hidden;
    /* height: 100vh; */
}

.mm-section-title {
    position: relative;
    overflow: hidden;
    font-size: 2.5em;
    margin: 0em 0.5em;
}
.mm-section-title::after {
    position: absolute;
    content: "";
    height: 1px;
    width: 100%;
    bottom: 20px;
    border-bottom: 1px solid white;
}
.content-block-data {
    color: white !important;
}
.content-block-data h1 {
    font-size: 2.5em;
}
.content-block-data h2 {
    font-size: 2em;
}
.content-block-data p{
    font-weight: 300;
    letter-spacing: 0.03em;
}
.content-block-data strong, 
.content-block-data p,  
.content-block-data a {
    color: white;
}
.content-block-data a{
    text-decoration: underline;
}
.content-block-data a:hover {
    color: var(--color-red);
}


.mm-img-bw {
    filter: grayscale(100%); /* Current draft standard */
    -webkit-filter: grayscale(100%); /* New WebKit */
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%); 
    -o-filter: grayscale(100%); /* Not yet supported in Gecko, Opera or IE */ 
    filter: gray; /* IE */
    -webkit-filter: grayscale(1); /* Old WebKit */
}