.nextThreeGamesContainer {
    position: relative;
    background: url("https://hapoel.ussl.blog/wp-content/uploads/2021/01/game-background.png");
    background-size: cover;
    color: white;
    width: 100%;
    height: 480px;
    overflow: hidden;
    cursor: pointer;
    font-family: var(--font);
}


.gameSwapArrow {
    position: absolute;
    top: 35%;
    font-weight: bold;
    font-size: 20px;
}

.nextGameArrow {
    left: 0px;
    padding: 0px 10px;
}

.previousGameArrow {
    right: 0px;
    padding: 0px 10px;
}

.slides {
    position: relative;
    display: grid;
    grid-template-columns: 100% 100% 100%;
    transition: 0.7s;
}

.gameContainer {
    height: 480px;
    width: 100%;
    background-color: transparent;
    text-align: center;
    transition: width 0.5s;
    position: relative;
}



/* TIMER */
.gameTimer {
    height: 70px;
    width: 100%;
    background-color: black;
    display: grid;
    grid-template-columns: repeat(7, auto);
    line-height: 1;
    justify-items: center;
    padding: 0px 30px;
    margin: auto;
}

.gameTimer.noClock {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-template-columns: unset;
}

.gameStarted {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
    animation-duration: 0.7s;
    animation-name: fade-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.timerTextBig {
    font-size: 47px;
    font-weight: bold;
    align-self: flex-end;
}

.timerTextSmall {
    font-size: 13px;
    font-weight: bold;
}

.gameInfoContainer {
    padding: 0px 20px;
}




/* TEAMS */
.gameTeams {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: auto 40px;
    align-items: center;
    justify-items: center;
    height: 150px;
    padding: 0px 20px;
    margin: auto;
    border-bottom: 1px solid #9a1901;
    line-height: 1;
}

.teamLogo {
    height: 79px;
    width: 79px;
    border-radius: 50%;
    overflow: hidden;
    align-self: end;
}

.teamLogo>img {
    object-fit: cover;
}


/* TIME */
.gameTime {
    height: 75px;
    border-bottom: 1px solid #9a1901;
    margin: auto;
    display: grid;
    line-height: 1;
}

.timeTopRow {
    font-size: 18px;
    margin-top: 5px;
}

.timeBottomRow {
    letter-spacing: -1px;
    font-size: 14px;
    align-self: end;
    margin-bottom: 5px;
}

.boardImg {
    margin-top: 20px;
    width: auto;
    height: 30px !important;
}














/* GAMES PAGE - NEXT 3 GAMES */
.gameContainer.gamesPage {
    background: url("https://hapoel.ussl.blog/wp-content/uploads/2021/01/game-background.png");
    background-size: cover;
    color: white;
    height: 507px;
    width: 100%;
    padding: 35px 15px;
    font-family: var(--font) !important;
}

.slides.gamesPage {
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 10px;
}

.teamLogo.gamesPage {
    height: 120px;
    width: 120px;
}

.teamOneName.gamesPage {
    font-size: 17px;
}

.teamTwoName.gamesPage {
    font-size: 17px;
}

.gameTeams.gamesPage {
    height: unset;
    padding: 5px 20px;
    line-height: 1.3;
    row-gap: 10px;
}

.gameTime.gamesPage {
    height: 100px;
    row-gap: 10px;
}

.timeTopRow.gamesPage {
    font-size: 20px;
}

.timeBottomRow.gamesPage {
    font-size: 19px;
}

.gameBoard.gamesPage {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gameContainer_buttonsFlex {
    display: grid;
    align-items: center;
    justify-items: center;
    row-gap: 10px;
    margin-top: 20px;
}

.toGameZoneLink {
    font-size: 16px;
    color: white;
    border: 1px solid white;
    padding: 0px 10px;
    width: 160px;
    background-color: black;
    font-weight: 700;
}




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

    .timerTextBig {
        font-size: 2.9rem;
    }

    .timeBottomRow {
        font-size: 12px;
    }
}


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

    .timerTextBig {
        font-size: 2.6rem;
    }

    .timeBottomRow {
        font-size: 10px;
        letter-spacing: unset;
    }
}


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

    .timerTextBig {
        font-size: 47px;
    }

    .timeBottomRow {
        font-size: 14px;
        letter-spacing: -1px;
    }

    .slides.gamesPage {
        grid-template-columns: 1fr;
    }

    .gameContainer.gamesPage {
        margin: 5px 0px;
    }

    .gameInfoContainer.gamesPage {
        padding: 0px;
    }

    .gameTeams.gamesPage {
        padding: 0px;
    }

}