body {
    --background: #181820;
    --backgroundDark: #111117;
    --cardBackground: #20212b;
    --cardBackground2: #363742;
    --textColor: #C8C9D8;
    --placeholderColor: #abacb5;
    --borderColor: #333444;
    --borderColor2: #171822;
    --linkActiveColor: #80F1B1;
    --hoverDark:#181820;
    --linkText: #C8C9D8;
    --darkGreen: #80F1B1;
    --darkBlue: #343891;
    --otherColor1: #1b1c26;
    background: var(--background);
    font-family: "Wix Madefor Display", sans-serif;
    font-size: 14px;
    color: var(--textColor);
}
body.light {
    --background: #eeeeee;
    --backgroundDark: #111117;
    --cardBackground: #fff;
    --cardBackground2: #f2f2f2;
    --textColor: #212529;
    --placeholderColor: #abacb5;
    --borderColor: #e5e5e5;
    --borderColor2: #171822;
    --linkActiveColor: #343891;
    --hoverDark:#eeeeee;
    --linkText: #343891;
    --darkGreen: #343891;
    --darkBlue: #80F1B1;
    --otherColor1: #f1f1f1;
    background: var(--background);
    color: var(--textColor);
}
body a {
    text-decoration: none;
}

.tournamentWrapper {
    width: 100%;
    position: relative;
    background: var(--cardBackground);
    padding: 10px;
    border: 1px solid var(--borderColor);
    border-radius: 10px;
    box-shadow: 0 4px 4px 0 rgba(0,0,0,0.25);
}
.tournamentHeader {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.tournamentHeaderImageBox {
    width: 45px;
    position: relative;
}
.tournamentHeaderImage {
    width: 45px;
    position: relative;
}
@media (max-width: 576px) {
    .tournamentHeaderImageBox {
        width: 35px;
    }
    .tournamentHeaderImage {
        width:35
    }
}
.tournamentHeaderBox {
    flex: 1;
    padding-left: 15px;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}
.tournamentHeaderBox:before {
    content: "";
    width: 2px;
    height: 40px;
    background: #181820;
    position: absolute;
    left: 5px;
    top: calc(50% - 20px);
}
body.light .tournamentHeaderBox:before {
    background: #ededed;
}
.tournamentHeaderNameBox {
    flex: 1;
    position:relative;
}
.tournamentHeaderName {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}
@media (max-width: 576px) {
    .tournamentHeaderName {
        font-size: 12px;
    }
}
body.light .tournamentHeaderName {
    color: #000000;
}
.tournamentVotes {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 10px;
    color: var(--textColor);
    gap: 5px;
}
.tournamentVotes i {
    font-size: 12px;
    color: var(--darkGreen);
}
.tournamentVoteButton {
    display:inline-block;
    color: var(--textColor);
}

.tournamentParticipants {
    width: 100%;
    height: 175px;
    position: relative;
    margin-top: 10px;
    background: #15161C;
    padding: 10px;
}
body.light .tournamentParticipants {
    background: #d6d6d6;
}
.tournamentParticipant {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: var(--cardBackground2);
    border-radius: 50px;
    margin-bottom: 12px;
}
.tournamentParticipantImageBox {
    width: 30px;
    height:30px;
    position: relative;
    display:flex;
    align-items: center;
    justify-content: center;
    background: #363742;
    box-shadow: 4px 0 10px 0 rgba(0,0,0,0.45);
    border: 1px solid #20212B;
    border-radius: 50%;
}
.tournamentParticipantImage {
    width: 20px;
    position: relative;
}
.tournamentParticipantName {
    flex: 1;
    padding-left: 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--textColor);
}
@media (max-width: 576px) {
    .tournamentParticipantName {
        padding-left: 5px;
        font-size: 10px;
    }
}

.tournamentTitle {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tournamentTitle:before {
    content: "";
    width: 100%;
    height: 2px;
    background: var(--darkGreen);
    position: absolute;
    left: 0;
    top: calc(50% - 1px);
    z-index: 1;
}
.tournamentTitleBlock {
    display: inline-flex;
    flex-direction: column;
    position: relative;
    background: var(--background);
    padding: 0 50px;
    z-index: 2;
}
.tournamentTitleBlock h3 {
    display: inline-block;
    margin: 0;
    padding: 0;
    font-size: 25px;
    font-weight: 900;
    color: var(--textColor);
    text-align: center;
}

.tournamentDetail {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: var(--cardBackground);
    border: 1px solid var(--borderColor);
    border-radius: 10px;
    box-shadow: 0 4px 4px 0 rgba(0,0,0,0.25);
}

@media (max-width: 576px) {
    .tournamentDetail {
        margin-bottom: 20px;
    }
}
.tournamentDetailLogo {
    width: 105px;
    min-height: 100%;
    align-self: stretch;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cardBackground2);
    border-radius: 10px 0 0 10px;
}
.tournamentDetailLogoImage {
    width: 80px;
    position:relative;
}
body.light .tournamentDetailLogoImage {
    -webkit-filter: grayscale(1) invert(1);
    filter: grayscale(1) invert(1);
}
.tournamentDetailInfo {
    flex: 1;
    position:relative;
    padding: 10px 0;
}
.tournamentDetailInfoText {
    width: 100%;
    position:relative;
    padding: 0 10px 5px 15px;
    font-size: 17px;
    font-weight: 900;
    color: var(--darkGreen);
}
.tournamentDetailInfoBox {
    width: 100%;
    position:relative;
    padding: 5px 10px 5px 15px;
    background: #343891;
    border-top: 1px solid #282B78;
}
.tournamentDetailInfoBoxText1 {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}
.tournamentDetailInfoBoxText2 {
    font-size: 13px;
    font-weight: 300;
    color: #ffffff;
}

.tournamentWinner {
    width:100%;
    position:relative;
    display:flex;
    flex-direction: row;
    justify-content: flex-end;
    padding: 7px 0;
    background: var(--cardBackground);
    border: 1px solid var(--borderColor);
    border-radius: 10px;
    box-shadow: 0 4px 4px 0 rgba(0,0,0,0.25);
}
.tournamentWinnerCup {
    width: 95px;
    position: absolute;
    bottom: 0;
    left: -10px;
}
.tournamentWinner.one > .tournamentWinnerCup {
    width: 115px;
    left: -15px;
}
.tournamentWinnerDetail {
    width: calc(100% - 115px);
    position: relative;
}
.tournamentWinnerDetailText1 {
    width: 100%;
    position: relative;
    font-size: 21px;
    font-weight: 300;
    color: var(--textColor);
}
.tournamentWinnerDetailText2 {
    width: 100%;
    position: relative;
    font-size: 35px;
    font-weight: 900;
    color: var(--darkGreen);
}
.tournamentWinnerDetailTeam {
    width: 100%;
    position: relative;
    padding: 5px 10px 5px 43px;
    border-radius: 50px 0 0 50px;
    background: var(--cardBackground2);
}
.tournamentWinnerDetailTeamMedal {
    width: 25px;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
}
.tournamentWinnerDetailTeamText {
    font-size: 15px;
    font-weight: 900;
    color: #ffffff;
}
body.light .tournamentWinnerDetailTeamText {
    color: #000000;
}

.tournamentDetail2 {
    width: 100%;
    position:relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 20px 20px 160px;
    background: var(--cardBackground);
    border: 1px solid var(--borderColor);
    border-radius: 10px;
    box-shadow: 0 4px 4px 0 rgba(0,0,0,0.25);
}
@media (max-width: 576px) {
    .tournamentDetail2 {
        padding-left: 20px;
        flex-direction: column;
        align-items: center;
    }
}
.tournamentDetail2Image {
    width: 110px;
    position: absolute;
    bottom: 0;
    left: -10px;
}
@media (max-width: 576px) {
    .tournamentDetail2Image {
        display:none;
    }
}
.tournamentDetail2Text {
    font-size: 35px;
    font-weight: 300;
    color: var(--textColor);
    display: inline-flex;
    flex-direction: row;
    align-items: center;
}
.tournamentDetail2Text strong {
    font-size: 50px;
    font-weight: 900;
    color: var(--darkGreen);
    margin-right: 15px;
}
@media (max-width: 576px) {
    .tournamentDetail2Text {
        flex-direction: column;
        align-items: center;
        text-align: center;
        font-size: 17px;
        margin-bottom: 10px;
    }
    .tournamentDetail2Text strong {
        margin-right: 0;
        font-size: 40px;
        white-space: nowrap;
    }
}
.buttonNormal {
    display: inline-block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: #343891;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    padding: 10px 20px;
}
.buttonNormal:hover {
    background: #282B78;
    color: #ffffff;
}
.datebox {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
}
@media (max-width: 576px) {
    .datebox {
        align-items: center;
    }
}
.tournamentDate {
    display: inline-flex;
    align-items: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--darkGreen);
    gap: 10px;
}

.scrollAutoMini {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-color: #80f1b1 #31323c;
    scrollbar-width: thin;
    transition: 0.3s;
}
.scrollAutoMini::-webkit-scrollbar {
    width: 2px;
}
.scrollAutoMini::-webkit-scrollbar-track {
    background: #31323c;
}
.scrollAutoMini::-webkit-scrollbar-thumb {
    background-color: #80f1b1;
    border-radius: 6px;
    border: 2px solid #80f1b1;
}
body.light .scrollAutoMini {
    scrollbar-color: #343891 #bbbbbb;
}
body.light .scrollAutoMini::-webkit-scrollbar-track {
    background: #bbbbbb;
}
body.light .scrollAutoMini::-webkit-scrollbar-thumb {
    background-color: #343891;
    border-radius: 6px;
    border: 2px solid #343891;
}

.productCounter {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--backgroundDark);
    padding: 5px 10px;
    border-radius: 3px;
}
.productCounter .counterIcon {
    font-size: 25px;
    color: var(--darkGreen);
}
@media (max-width: 1399px) {
    .productCounter .counterIcon {
        font-size: 20px;
    }
}
@media (max-width: 576px) {
    .productCounter .counterIcon {
        font-size: 20px;
    }
}
.productCounter .counterCounterItem {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.productCounter .counterCounterItem .counterNumber {
    font-size: 17px;
    font-weight: 700;
    color: var(--textColor);
    width: 23px;
}
@media (max-width: 1399px) {
    .productCounter .counterCounterItem .counterNumber {
        font-size: 14px;
    }
}
@media (max-width: 576px) {
    .productCounter .counterCounterItem .counterNumber {
        font-size: 14px;
    }
}
.productCounter .counterCounterItem .counterNumberInfo {
    font-size: 15px;
    font-weight: 400;
    color: var(--textColor);
}
@media (max-width: 1399px) {
    .productCounter .counterCounterItem .counterNumberInfo {
        font-size: 12px;
    }
}
@media (max-width: 576px) {
    .productCounter .counterCounterItem .counterNumberInfo {
        font-size: 12px;
    }
}