/* font face for campaign settings */
@font-face {
    font-family: 'Adumu';
    src: url('/fonts/Adumu.woff2') format('woff2');
}

@font-face {
    font-family: 'Akrobat';
    src: url('/fonts/Akrobat-Black.woff2') format('woff2');
}

@font-face {
    font-family: 'Anton';
    src: url('/fonts/Anton.woff2') format('woff2');
}

@font-face {
    font-family: 'Archicoco';
    font-style: normal;
    font-weight: normal;
    src: url('/fonts/Archicoco.woff') format('woff');
}

@font-face {
    font-family: 'Horizon';
    src: url('/fonts/horizon.woff2') format('woff2');
}

@font-face {
    font-family: 'Cyberjunkies';
    src: url('/fonts/Cyberjunkies.woff2') format('woff2');
}

@font-face {
    font-family: 'Mokoto2';
    src: url('/fonts/mokoto-mokoto-regular-glitch-mark-2-400.woff2') format('woff2');
}

@font-face {
    font-family: 'SportsWorld';
    src: url('/fonts/Sports World-Regular.woff2') format('woff2');
}



/* reset */

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    font: inherit;
}

body {
    background-image: url('/images/themes/background/arena2.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: white;
    line-height: 1.5;
    min-height: 100vh;
}

img,
svg {
    display: block;
    max-width: 100%;
}

input,
textarea,
button,
select,
checkbox {
    font: inherit;
}

/* hide arrows on input field */

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


/* font and style */

h1 {
    text-transform: uppercase;
    color: white;
    line-height: 1.2;
}

h1 span {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    padding-top: 0.5rem;
}

h2 {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.2px;
}

h3 {
    font-size: 1.2rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    letter-spacing: -0.2px;
}

p {
    font-size: 1.125rem;
    letter-spacing: -0.2px;
}

a {
    text-decoration: none;
    color: black;
}

.big-text {
    font-size: 3rem;
}

.medium-text {
    font-size: 2rem;
}

.small-text {
    font-size: 0.875rem;
}

.bold {
    font-weight: 600;
}

ul {
    list-style-position: outside;
    padding-left: 30px;
}

li {
    font-size: 1.125rem;
}

/* form and fields */

label {
    font-weight: 600;
}

fieldset {
    border: none;
    margin-bottom: 15px;
}

input,
textarea {
    border: none;
    background-color: white;
    color: #284885;
    border-radius: 8px;
    width: 100%;
    padding: 1em;
    margin-top: 0.25rem;
    transition: box-shadow 0.3s;
}

textarea {
    resize: none;
}

input {
    height: 3rem;
}

input:hover {
    box-shadow: 0 0 5px #284885;
}

input:focus {
    outline: none;
    box-shadow: 0 0 5px #284885;
    background-color: white;
}

textarea:focus {
    outline: none;
    box-shadow: 0 0 5px #284885;
    background-color: white;
}

input::placeholder {
    letter-spacing: -0.5px;
    color: #a9a9a9
}

input[type='checkbox'] {
    width: 15px;
    height: 15px;
}





/* layout and box */

main {
    margin: 0 25px;
}

.box-price {
    padding: 20px;
    margin-bottom: 8px;
    border-radius: 18px;
    background-color: white;
    border: 1px solid var(--primary-color);
    cursor: pointer;
}

.box-price:hover {
    background-color: var(--secondary-color);
}

.box-price-current {
    position: relative;
    padding: 15px;
    margin-bottom: 8px;
    border-radius: 18px;
    background-color: white;
    border: 1px solid var(--primary-color);
}

.box-price-current .badge {
    position: absolute;
    right: 20px;
    text-align: center;
    background-color: var(--secondary-color);
    width: 100px;
    border-radius: 8px;
}

.box-price-dark {
    background-color: var(--primary-color);
    color: white;
}

.box-price-dark:hover {
    background-color: var(--primary-color);
}

.box-shadow {
    padding: 15px 10px;
    background-color: rgb(0, 0, 0, 0.2);
    margin-top: 1rem;
    border-radius: 8px;
}

.box-shadow__inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.box-shadow__inner-section {
    padding: 15px 0;
}

.box-match {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 7px;
    margin-top: 1rem;
    border-radius: 18px;
    background-color: none;
}

.row-price {
    display: flex;
    justify-content: space-between;
}

.row-title {
    margin: 2rem 0 1rem;
}

.row-slogan {
    margin: 2.5rem 2rem 2.5rem;
}

.inner-center {
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-align: -webkit-center;
}

.inner-center img {
    padding: 20px 0;
}

/* header and nav */

header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 20px 25px;
}

.header-dark {
    display: none;
    height: 110px;
    background-color: none;
    margin: unset;
    padding: 20px 25px;
    border-radius: 0 0 35px 35px;
}

.main-nav {
    display: none;
    position: absolute;
    border-radius: 24px;
    padding: 25px;
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 24px;
    z-index: 99;
}


nav ul {
    margin-bottom: 2rem;
    padding-left: unset;
}

nav li {
    list-style: none;
}

nav li a {
    color: black;
}

nav li a:hover {
    color: var(--primary-color)
}


.close-icon {
    margin-bottom: 30px;
}

.menu-1,
.menu-2 {
    display: none;
    width: 32px;
    max-height: 30px;
    cursor: pointer;
}



/* footer */

.footer {
    margin: 100px 0 30px;
    padding-bottom: 30px;
    text-align: center;
}

.footer p {
    font-size: 0.875rem;
}

/* component and button */

#countdown {
    font-size: 200px;
    font-weight: 900;
}

#winners {
    font-size: 50px;
    font-weight: 900;
}

#celebration-screen {
    display: none;
    position:fixed;
    left: 50%; 
    transform: translateX(-50%);
}

#celebration {
    display: block;
    position:fixed;
    left: 50%; 
    transform: translateX(-50%);
    z-index: 0;
}

.logo {
    max-width: 150px;
}

.logo-wrapper {
    display: flex;
    width: 80%;
    justify-content: center;
    text-align: center;
    padding: 16px;
    box-shadow: 0 0 30px 0 rgba(82, 63, 105, .05);
}

.img-sports {
    max-width: 400px;
}

.logo-wrapper img {
    margin: auto;
    max-height: 120px;
    max-width: 160px;
    padding: 10px;
    background-color: white;
    border-radius: 8px;
}

.picto {
    max-width: 75px;
    margin: 0.5rem 0;
}

.picto-center {
    max-width: 75px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.header-picto {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.copyright {
    display: flex;
    flex-direction: column;
}

.copyright img {
    padding-bottom: 10px;
}

.primary-button {
    text-transform: uppercase;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    border: none;
    color: #284885;
    background-color: white;
    cursor: pointer;
}

.primary-button:hover {
    opacity: 0.9;
}

.pagination {
    display: flex;
    position: relative;
    padding: 1.5rem 0 1rem;
}

.start-btn {
    margin: 2rem 0;
    text-align: center;
}

.search-fld {
    position: relative;
}

.search-box>span>img {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    right: 10px;
    width: 18px;
}

.search-box {
    position: relative;
}

.search-results {
    display: none;
    position: absolute;
    max-height: 40vh;
    overflow-y: auto;
    top: 40px;
    width: 100%;
    background-color: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 8px 8px;
    z-index: 9;
}

.search-sport {
    font-weight: 600;
    padding: 7px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
}

.search-sport span {
    text-transform: lowercase;
}

.search-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.search-item img {
    width: auto;
    height: 20px;
}

.search-item a {
    padding: 7px 7px;
    display: block;
    color: black;
}

.search-item a:visited {
    color: black;
}

.search-item :hover {
    background-color: #f3f3f3;
}

.search-item span {
    color: black;
}

.match {
    display: flex;
    align-items: center;
    gap: 3px;
}

.match-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    text-align: center;
}

.match-row-logos input {
    background-color: white;
    width: 4rem;
    height: 4rem;
    font-size: 1.5rem;
    padding: 0.2rem;
    text-align: center;
    border-radius: 8px;
}

.match-row-logos {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    max-width: 300px;
    padding-top: 1rem;
}

.match-row-logos img {
    width: auto;
    height: auto;
    max-width: 70px;
    max-height: 70px;
}

.player-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.player-row:last-child {
    border-bottom: none;
}

.primary-link {
    color: white;
    min-width: fit-content;
}

.primary-link:hover {
    opacity: 0.8;
}

.link-row {
    padding: 10px;
    border: 1px solid #EBEBEB;
    border-radius: 8px;
    background-color: none;
}

.link-row p {
    font-size: 1rem;
}

.copy-row {
    display: flex;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.share-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    cursor: pointer;
    align-items: center;
    margin: 15px 0 15px;
}

.flash-message {
    display: none;
    width: max-content;
    max-width: 80%;
    position: fixed;
    text-align: center;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

#flashMessage>img {
    width: 30px;
}

.flash-message p {
    text-align: left;
    padding-left: 10px;
}

.flash-message-success {
    background-color: var(--success-color-bg);
    color: var(--success-color);
}

.flash-message-error {
    background-color: var(--error-color-bg);
    color: var(--error-color);
}

.row-gain p {
    font-weight: 600;
}

.action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1.5rem 0;
}

.action-bar-hidden {
    display: none;
}

.action-bar__center {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
}

#terms {
    text-decoration: underline;
    cursor: pointer;
}

.link-underline {
    text-decoration: underline;
    cursor: pointer;
}

/* gridjs */
.jsgrid-table {
    width: 100%;
}

.jsgrid-thead {
    display: none;
}

.jsgrid-pagination {
    margin-top: 10px;
}

.jsgrid-pagination-summary {
    margin-bottom: 10px;
}

.jsgrid-pagination-button {
    background-color: #ebebeb;
    color: #6b7280;
    padding: 4px 8px;
    font-weight: 400;
    border: 1px solid #dbdbdb;
    border-radius: 4px;
    margin-left: 5px;
    cursor: pointer;
}

.jsgrid-pagination-button:hover {
    background-color: #dbdbdb;
}

.jsgrid-td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 7px 0;
}

.jsgrid-td:last-child {
    text-align: right;
}

/* progress bar */
.progress-container {
    width: 100%;
    background-color: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
    margin: 5px 0 10px;
}

.progress-bar {
    height: 10px;

    background-color: #4caf50;
    text-align: center;
    line-height: 30px;
    color: white;
    font-size: 14px;
    border-radius: 5px;
    transition: width 0.5s ease-in-out;
}

/* accordion */

.accordion {
    position: relative;
    font-size: 1.125rem;
    border-bottom: 1px solid #00ACEE;
    border-radius: 8px;
    cursor: pointer;
    padding: 1rem 7px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}

.accordion:after {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(-50%, -50%);
    content: '\0002B';
    font-size: 24px;
    color: var(--primary-color);
}

.accordion p {
    padding-right: 40px;
}

.active:after {
    content: "\002D";
    font-size: 24px;
}

.active,
.accordion:hover {
    background-color: var(--secondary-color)
}

.panel {
    padding: 1rem 7px;
    margin-top: -5px;
    background-color: #f1f6ffa8;
    display: none;
    overflow: hidden;
}

.panel p {
    padding-right: 10px;
}

/* swiper */

.swiper-pagination-bullet {
    width: 30px !important;
    border-radius: 8px !important;
    background-color: #CCDAFF !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-button-color) !important;
}


/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content/Box */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 100px auto;
    padding: 60px 25px 60px 25px;
    width: 80%;
}

.modal-content h1 {
    color: black;
}

.modal-content h2 {
    color: black;
}

.modal-content p {
    padding-bottom: 10px;
    color: black;
}


/* The Close Button */
.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 0;
    top: 0;
    padding: 5px 10px;
    background-color: black;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}



/* responsive */
@media only screen and (min-width: 950px) {

    header,
    body {
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }

    .main-nav {
        min-width: 350px;
    }

    .match-row {
        max-width: 500px;
    }

    .row-title {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .box-shadow {
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
    }

    .box-price {
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
    }


    .box-price-current {
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
    }

    .box-match {
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
    }

    .search-box {
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
    }

    .flash-message {
        max-width: fit-content;
    }

    .OLDnav-inner {
        width: 40%;
    }

    .inner-center {
        padding: 0 50px;
    }

    .logo-wrapper {
        max-width: 300px;
    }
}