/* .rubik {
    font-family: "Rubik", sans-serif;
} */

/*
dark : #222831
dark 2 : #393E46
yellow : #FFD369
white : #EEEEEE

Rouge : #FF8869    
Vert : #E0FF69

*/


html {
    height: -webkit-fill-available;
}

body {
    padding: 0;
    margin: 0;
    min-height: 100vh;
}

/* Avoid Chrome to see Safari hack */
@supports (-webkit-touch-callout: none) {
    body {
        /* The hack for Safari */
        min-height: -webkit-fill-available;
    }
}


body {

    font-family: "Rubik", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #222831;
    text-align: center;
}

html,
body {
    overflow-x: hidden;
}

header a img {
    max-width: 275px;
}

button,
input[type=button],
input[type=submit],
input[type=reset] {
    font-family: "Rubik", sans-serif;
    cursor: pointer;
}

#timeline {
    /* padding: 0 5px; */
    padding: 0;
    position: relative;
}

#sortable-list {
    list-style-type: none;
    margin: 0;
    min-height: 150px;
    background-color: #393E46;
    padding: 5px 5px 60px;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: scroll;

    scrollbar-color: #FFD369 transparent;
    scrollbar-width: thin;


    -webkit-overflow-scrolling: auto
}

.movie {
    background-color: #EEE;
    width: 100px;
    padding: 0px;
    cursor: grab;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    text-align: center;
    flex-shrink: 0;
    border: 3px solid #EEE;
}


body.endless .movie.sortable-ghost,
body.endless .movie {
    background-color: #FFD369;
    border: 3px solid #FFD369;
}

body.endless .movie.locked {
    border: 3px solid #EEE;
    background-color: #EEE;
}

#sortable-list .movie.highlight {
    border-color: #FFD369;
    background-color: #FFD369;
}

.movie p {
    font-size: 12px;
    line-height: 12px;
    margin: 0;
    padding-top: 10px;
    padding-bottom: 5px;
}

.movie p.movieValue {
    margin-top: auto;
    padding: 0 0 5px;
    font-weight: bold;
}

#sub-movie-list {
    margin-top: 10px;
}

#sub-movie-list button {
    border: none;
    background-color: #eee;
    color: #222831;
    padding: 5px;
    border-radius: 2px;
}

button:disabled {
    cursor: not-allowed;
}

#sub-movie-list button:disabled,
#sub-movie-list button[disabled] {
    background-color: #eee;
    color: #999;
}



#sortable-list div.not-gghoud {
    background-color: #FF8869;
    border-color: #FF8869;
}

#sortable-list div.gghoud {
    background-color: #E0FF69;
    border-color: #E0FF69;
}

div img {
    max-width: 100%;
}

#movie-list {
    margin-top: 20px;
    min-height: 150px;
    display: flex;
    justify-content: center;
}

#submit-order {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#submit-order:disabled {
    background-color: #9e9e9e;
    cursor: not-allowed;
}

.sortable-ghost {
    opacity: 0.4;
}


#overlay, #error_overlay {
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}


#overlay .container, #error_overlay #error_container {
    width: calc(95% - 20px);
    background-color: #fff;
    padding: 10px;
    position: relative;
    z-index: 5;
}

#error_message{
    padding: 10px;
    font-size: 15px;
}
#error_button{
    border: none;
    padding: 15px;
    font-size: 14px;
    text-transform: uppercase;
    background-color: #FFD369;
    color: #222831;
}
#error_button svg{
    fill: #222831;
}

#overlay #close { 
    margin-left: auto;
    cursor: pointer;
}
#overlay #close span{
    font-size: 13px;
    text-transform: uppercase;
    color: #222831;
    text-decoration: underline;
}


#overlay #close svg {
    fill: #222831;
    width: 20px;
    float: right;
    margin-right: 0;
    margin-left: 5px;
}

.hide {
    display: none !important;
}

#bottom_page {
    padding: 25px 10px 10px;
    display: flex;
    align-items: center;
}

#bottom_page #left {
    display: flex;
    flex-direction: column;
    text-align: left;
}

#top_overlay .generateSeed svg {
    fill: #222831;
}

.generateSeed {
    background: none;
    padding: 0;
    border: none;
    color: #FFD369;
    text-decoration: underline;
    font-size: 13px;
    text-transform: uppercase;
    color: #222831;
    text-align: left;
}

#bottom_page #left .generateSeed {
    color: #eee;
}

#goNext,
#checkOrder,
#openPopUp {
    font-size: 16px;
    text-transform: uppercase;
    border: none;
    background-color: #FFD369;
    color: #222831;
    padding: 13px 20px;
    border-radius: 2px;
    margin-left: auto;

}


#goNext svg,
#checkOrder svg {
    float: right;
    margin-right: 0;
    width: 19px;
    fill: #222831;
}

#checkOrder svg {
    margin-left: 5px;
}

#openPopUp svg {
    float: right;
    margin-right: 0;
    margin-left: 5px;
    width: 19px;
    fill: #222831;
}


#goNext:disabled,
#goNext[disabled] {
    background-color: #eee;
    color: #999;
}

#goNext:disabled svg,
#goNext[disabled] svg {
    fill: #999;

}

#player_score,
#showNbLifeMastermindLeft {
    color: #FFD369;
    font-size: 18px;
    margin-bottom: 5px;
}

#player_score span,
#showNbLifeMastermindLeft span {
    color: #FFD369;
    font-size: 20px;
    font-weight: bold;
}

.finalScore {
    color: #FFD369;
    font-size: 22px;
    text-transform: uppercase;
}

.finalScore span {
    color: #FFD369;
    font-size: 22px;
    font-weight: bold;
}

.moviesFound {
    font-size: 14px;
    margin-top: 5px;
}

.moviesFound span {
    font-weight: bold;
}

#bottom_overlay {
    display: flex;
    padding-top: 20px;
}

#top_overlay {
    display: flex;
    padding-bottom: 20px;
}

#bottom_overlay #goHome {

    border: none;
    background-color: #222831;
    color: #eee;
    padding: 10px 15px;
    border-radius: 2px;
    text-decoration: none;
    font-size: 14px;
}

#bottom_overlay .reloadPopUp {
    border: none;
    background-color: #FFD369;
    color: #222831;
    padding: 10px 15px;
    border-radius: 2px;
    margin-left: auto;
    font-size: 14px;
}

#bottom_overlay .reloadPopUp svg {
    fill: #222831;
}


#god {
    position: fixed;
    top: 10px;
    right: 10px;
}

#reload_container {
    margin: 50px 0;
}

#reload {
    border: none;
    background-color: #eee;
    padding: 15px 35px;
    border-radius: 2px;
    display: flex;
    margin: auto;
}
#reload span{
    font-size: 16px;
    text-transform: uppercase;
    color: #222831;

}
#reload svg{
    fill: #222831;
}

#jokerValue {
    background: #FFD369;
    border-radius: 35px;
    width: 17px;
    height: 17px;
    display: inline-block;
    line-height: 17px;
    font-size: 12px;
    color: #222831;
}

svg {
    fill: #eee;
    width: 15px;
    height: auto;
    float: left;
    margin-right: 5px;
}

#addScoreButton {
    margin-top: 20px;
    font-size: 14px;
    text-transform: none;
    border: none;
    background-color: #222831;
    color: #eee;
    padding: 10px 20px;
    border-radius: 2px;
    line-height: 20px;
}

#addScoreButton svg {
    fill: #eee;
    width: 20px;
}

#addScore {
    margin-top: 20px;
    justify-content: center;
    display: flex;
}

#addScore #username {
    width: 45%;
    background: #eee;
    border: none;
    border: 1px solid #222831;
    border-radius: 2px 0 0 2px;
    padding: 0 10px;
    font-family: "Rubik", sans-serif;

}

#addScore #submitScore {
    width: 25%;
    background: #222831;
    border: none;
    color: #eee;
    padding: 10px 0;
    border-radius: 0 2px 2px 0;
}

#scoreboardSeed {
    margin-top: 20px;
}

#scoreboardSeed table thead tr th {
    font-size: 12px;
    font-weight: normal;
    text-transform: uppercase;
    background-color: #222;
    color: #eee;
}

#scoreboardSeed table tbody tr td {
    font-size: 14px;
}

body#home {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* #home_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    width: 100%;
    margin: 0 15px;
} */

#home_container header {
    padding-bottom: 15px;
}


.title {
    color: #eee;
    text-transform: uppercase;
    font-weight: bold;
    padding-bottom: 10px;
    width: 100%;
}

.form_container {
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    justify-content: center;
}

.form_container select {
    margin: auto;
    padding: 10px 10px;
    min-width: 150px;
    text-align: left;
    font-family: "Rubik", sans-serif;
    border-radius: 2px;
    color: #222831;
    border: none;
}


/* Hide the default radio button */

.form_container input[type="radio"] {
    display: none;
}


#game_mode_container .form_container{
    flex-direction: row;
}

#game_mode_container label {
    display: inline-block;
    margin-bottom: 5px;
    padding: 10px 20px;
    border: 2px solid #eee;
    border-radius: 2px;
    font-size: 16px;
    cursor: pointer;
    line-height: 16px;
    color: #eee;
    min-width: 110px;
    display: flex;
    justify-content: center;
    margin: 0px 5px;
}

#game_mode_container label svg {
    width: 16px;
    height: 16px;
    fill: #eee;
    float: none;
}

/* Style when the radio button is checked */

#game_mode_container input[type="radio"]:checked+label {
    border-color: #eee;
    background-color: #eee;
    color: #222831;
}

#game_mode_container input[type="radio"]:checked+label svg {
    fill: #222831;
}



input[type="range"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    margin: auto;
    width: 100%;
    max-width: 275px;

    &:focus {
        outline-color: #f8b195;
    }
}

input[type="range"]::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    border-radius: 5px;
    background: #FFD369;
    background: -webkit-linear-gradient(left,
            rgba(68, 206, 27, 1) 0%, rgba(187, 219, 68, 1) 25%, rgba(247, 227, 121, 1) 50%, rgba(242, 161, 52, 1) 75%, rgba(229, 31, 31, 1) 100%);
    background: linear-gradient(to right,
            rgba(68, 206, 27, 1) 0%, rgba(187, 219, 68, 1) 25%, rgba(247, 227, 121, 1) 50%, rgba(242, 161, 52, 1) 75%, rgba(229, 31, 31, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f67280",
            endColorstr="#355c7d",
            GradientType=1);
}

input[type="range"]::-moz-range-track {
    -moz-appearance: none;
    appearance: none;
    height: 8px;
    border-radius: 5px;
    background: #FFD369;
    background: -moz-linear-gradient(left,
            rgba(68, 206, 27, 1) 0%, rgba(187, 219, 68, 1) 25%, rgba(247, 227, 121, 1) 50%, rgba(242, 161, 52, 1) 75%, rgba(229, 31, 31, 1) 100%);
    background: linear-gradient(to right,
            rgba(68, 206, 27, 1) 0%, rgba(187, 219, 68, 1) 25%, rgba(247, 227, 121, 1) 50%, rgba(242, 161, 52, 1) 75%, rgba(229, 31, 31, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f67280",
            endColorstr="#355c7d",
            GradientType=1);
}

input[type="range"]::-ms-track {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 8px;
    border-radius: 5px;
    background: #FFD369;
    background: -moz-linear-gradient(left,
            rgba(68, 206, 27, 1) 0%, rgba(187, 219, 68, 1) 25%, rgba(247, 227, 121, 1) 50%, rgba(242, 161, 52, 1) 75%, rgba(229, 31, 31, 1) 100%);
    background: -webkit-linear-gradient(left,
            rgba(68, 206, 27, 1) 0%, rgba(187, 219, 68, 1) 25%, rgba(247, 227, 121, 1) 50%, rgba(242, 161, 52, 1) 75%, rgba(229, 31, 31, 1) 100%);
    background: linear-gradient(to right,
            rgba(68, 206, 27, 1) 0%, rgba(187, 219, 68, 1) 25%, rgba(247, 227, 121, 1) 50%, rgba(242, 161, 52, 1) 75%, rgba(229, 31, 31, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f67280",
            endColorstr="#355c7d",
            GradientType=1);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background-color: #eee;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    position: relative;
    bottom: 8px;
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.4);
    cursor: grab;

    &:active {
        cursor: grabbing;
    }
}


input[type="range"]::-moz-range-thumb {
    -moz-appearance: none;
    appearance: none;
    border: none;
    background-color: #eee;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    position: relative;
    bottom: 8px;
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.4);
    cursor: grab;

    &:active {
        cursor: grabbing;
    }
}

input[type="range"]::-ms-thumb {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    background-color: #eee;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    position: relative;
    bottom: 8px;
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.4);
    cursor: grab;

    &:active {
        cursor: grabbing;
    }
}


#launchGame {
    font-size: 16px;
    text-transform: uppercase;
    border: none;
    background-color: #FFD369;
    color: #222831;
    padding: 15px 25px;
    border-radius: 2px;
    margin-left: auto;

}

#launchGame svg {
    float: right;
    margin-right: 0;
    width: 19px;
    fill: #222831;
}

#otherLinks {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#otherLinks a {
    color: #eee;
    display: flex;
    text-decoration: none;
    margin: 5px auto;
    padding: 5px;
}


table#scoreboard.dataTable thead th {
    background-color: #eee;
    color: #222831;
    font-size: 13px;
    font-weight: normal;
    text-transform: uppercase;
    text-align: center;
}

table#scoreboard.dataTable tbody td {
    color: #eee;
    font-size: 13px;
    font-weight: normal;
    text-align: center;
}

table#scoreboard.dataTable tbody tr:nth-child(odd) {
    background-color: #222831;
}

table#scoreboard.dataTable tbody tr:nth-child(even) {
    background-color: #393E46;
}

table#scoreboard.dataTable.display tbody tr>.sorting_1 {
    background-color: transparent;
    cursor: pointer;
}

table#scoreboard.dataTable.display tbody tr>.sorting_1 div {
    display: flex;
}

table#scoreboard.dataTable.display tbody tr>.sorting_1 .up,
table#scoreboard.dataTable.display tbody tr>.sorting_1 .down {
    display: none;
    margin-left: 5px;
}

table#scoreboard.dataTable.display tbody tr>.sorting_1 svg {
    float: none;
    margin: 0;
}

table#scoreboard.dataTable.display.collapsed tbody tr>.sorting_1 .down {
    display: block;
}

table#scoreboard.dataTable.display.collapsed tbody tr.dtr-expanded>.sorting_1 .down {
    display: none;
}

table#scoreboard.dataTable.display.collapsed tbody tr.dtr-expanded>.sorting_1 .up {
    display: block;
}

#scoreboard .dtr-details {
    margin: 0;
    padding: 15px;
}

#scoreboard .dtr-details {
    padding: 0;
}

#scoreboard .dtr-details li {
    list-style: none;
    padding: 7px 0;
    display: flex;
    flex-direction: column;
}

#scoreboard .dtr-details li .dtr-title {
    text-transform: uppercase;
    margin-bottom: 5px;

}

table#scoreboard.dataTable tbody td a {
    color: #FFD369;
    padding: 7px 15px;
    border-radius: 2px;
    text-decoration: underline;
    margin-top: 0px;
    display: inline-block;
}

body #scoreboard .dtr-details li span a {
    background: #FFD369;
    color: #222831;
    padding: 7px 15px;
    border-radius: 2px;
    text-decoration: none;
    margin-top: 0px;
    display: inline-block;
}

table.dataTable thead>tr>th.dt-orderable-asc:hover,
table.dataTable thead>tr>th.dt-orderable-desc:hover,
table.dataTable thead>tr>td.dt-orderable-asc:hover,
table.dataTable thead>tr>td.dt-orderable-desc:hover {
    outline: none !important;
    outline-offset: none !important;
}

body div.dt-container .dt-paging .dt-paging-button {
    background-color: #eee;
    color: #222831;
    border: none;
}

body div.dt-container .dt-paging .dt-paging-button.current {
    background-color: #FFD369;

}

body div.dt-container .dt-paging .dt-paging-button.disabled {
    background-color: #dedede;
    color: #888;
}

body div.dt-container .dt-paging .dt-paging-button:hover,
body div.dt-container .dt-paging .dt-paging-button.current,
body div.dt-container .dt-paging .dt-paging-button.current:hover {
    color: #222831 !important;
    border: none;
    background: #FFD369;
}

body div.dt-container .dt-paging .dt-paging-button.disabled,
body div.dt-container .dt-paging .dt-paging-button.disabled:hover,
body div.dt-container .dt-paging .dt-paging-button.disabled:active {
    cursor: default;
    border: none;
    background-color: #dedede;
    color: #888;
}

body div.dt-container div.dt-layout-row div.dt-layout-cell.dt-layout-end {
    margin: auto;
}

body table.dataTable thead>tr>th.dt-orderable-asc,
body table.dataTable thead>tr>th.dt-orderable-desc,
body table.dataTable thead>tr>th.dt-ordering-asc,
body table.dataTable thead>tr>th.dt-ordering-desc,
body table.dataTable thead>tr>td.dt-orderable-asc,
body table.dataTable thead>tr>td.dt-orderable-desc,
body table.dataTable thead>tr>td.dt-ordering-asc,
body table.dataTable thead>tr>td.dt-ordering-desc {
    padding-right: 10px;
}

body table.dataTable thead>tr>th.dt-orderable-asc span.dt-column-order,
body table.dataTable thead>tr>th.dt-orderable-desc span.dt-column-order,
body table.dataTable thead>tr>th.dt-ordering-asc span.dt-column-order,
body table.dataTable thead>tr>th.dt-ordering-desc span.dt-column-order,
body table.dataTable thead>tr>td.dt-orderable-asc span.dt-column-order,
body table.dataTable thead>tr>td.dt-orderable-desc span.dt-column-order,
body table.dataTable thead>tr>td.dt-ordering-asc span.dt-column-order,
body table.dataTable thead>tr>td.dt-ordering-desc span.dt-column-order {
    right: 0;
}

#bottomPage {
    margin-top: 20px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

a.homeButton {
    font-size: 14px;
    border: none;
    background-color: #eee;
    color: #222831;
    padding: 15px 25px;
    border-radius: 2px;
    margin-left: auto;
    display: flex;
    align-items: center;
    margin: auto;
    text-decoration: none;
}

a.homeButton svg {
    fill: #222831;
    float: none;
}

#gameSteps {
    padding: 25px 15px;
    display: flex;
    justify-content: center;
    text-align: left;

}

#gameSteps #steps {
    display: flex;
    flex-direction: column;
    align-items: start;
}

#gameSteps #steps>div {
    display: flex;
    padding: 5px 0;
    align-items: center;
}

#gameSteps>div .stepIcon {
    background-color: #eee;
    font-size: 13px;
    border-radius: 50px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    margin-right: 10px;
    text-align: center;
}

#gameSteps>div .stepDesc {
    color: #eee;
    font-size: 14px;
}

#gameSteps>div .current .stepDesc {
    color: #FFD369;
}

#gameSteps>div .current .stepIcon {
    background-color: #FFD369;

}

#gameSteps>div .done .stepDesc {
    color: #dedede;
    text-decoration: line-through;
}

#gameSteps>div .done .stepIcon {
    background-color: #dedede;

}

#rules #rules_container {
    padding: 0 20px;
    color: #eee;
    font-size: 14px;
    line-height: 24px;
    text-align: left;
}

#rules #rules_container h1 {
    font-size: 14px;
    text-transform: uppercase;
}

#rules #rules_container h2 {
    font-size: 16px;
    text-transform: uppercase;
    color: #FFD369;
}

#rules #rules_container h3 {
    font-weight: normal;
    text-transform: uppercase;
    font-size: 14px;
    padding-left: 20px;
    font-weight: bold;
}


#rules #rules_container p {
    padding-left: 40px;
}

#rules #rules_container p.lvl1 {
    padding-left: 20px;
}

#rules #rules_container p.info {
    font-style: italic;
}


#genre_choices {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
    padding: 0 5px 20px;
}

#genre_choices input[type="checkbox"] {
    display: none;
}

#genre_choices label {
    display: inline-block;
    padding: 5px;
    border: 1px solid #eee;
    border-radius: 2px;
    font-size: 14px;
    cursor: pointer;
    color: #eee;
    display: flex;
    justify-content: center;
}

#genre_choices input[type="checkbox"]:checked+label {
    border-color: #eee;
    background-color: #eee;
    color: #222831;
}

.locked {
    cursor: default;
}

#swipe-indicator {
    position: absolute;
    bottom: 0px;
    left: calc(50% - 20px);
    transform: translate(-50%, 0);
    padding: 0px;
    z-index: 1000;
    white-space: nowrap;
    opacity: 0;
    animation: swipe-animation 2s ease infinite;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

#swipe-indicator svg {
    fill: #FFD369;
    width: 40px;
    margin: 0;
}

@keyframes swipe-animation {
    0% {
        transform: translateX(-50px);
    }

    25% {
        transform: translateX(50px);
    }

    50% {
        transform: translateX(-50px);
    }

    75% {
        transform: translateX(50px);
    }

    100% {
        transform: translateX(-50px);
    }
}

.arrow {
    position: absolute;
    bottom: 0px;
    cursor: pointer;
    z-index: 50;
    display: none;
    padding: 10px;
}

.arrow svg {
    fill: #eee;
    width: 30px;
    height: auto;
    margin: 0;
}

.left-arrow {
    left: 0px;
}

.right-arrow {
    right: 0px;
}

.arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

#burger{
    position: absolute;
    top: 10px;
    cursor: pointer;
}
#burger svg{
    margin: 0;
    padding: 10px;
    width: 25px;
    fill: #eee;
}

#menu{
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #393E46;
    width: 100%;
    height: 100%;
    display: none;
}
#menu ul{
    padding: 10px;
    margin: 0;
    display: flex;
    flex-direction: column;
}
#menu ul li{
    list-style: none;
    display: flex;
    justify-content: center;
}
#menu ul li a{
    text-decoration: none;
    color: #eee;
    font-size: 22px;
    padding: 10px;
    margin: 10px 0;
    display: flex;
    flex-direction: row;
    text-transform: uppercase;

}
#menu ul li a:hover span{
    color: #FFD369;
}
#menu ul li a svg{
    width: 22px;
    fill: #FFD369;
    margin-right: 10px;
}

#close-menu{
    position: absolute;
    top: 18px;
    left: 10px;
    cursor: pointer;
    z-index: 100000;
}
#close-menu svg{
    padding: 0;
    width: 30px;
    margin: 0;
}

#end_message{
    font-size: 14px;
    padding-bottom: 15px;
    line-height: 20px;
}

#difficulty_container.disabled{
    opacity: 0.5;
}
#genres_container.disabled{
    opacity: 0.5;
}

#note_diff_genre {
    color: #eee;
    padding: 0px 10px 20px;
    font-size: 14px;
    font-style: italic;
    display: none;
}

#endlessJokers{
    padding-top: 10px;
}
#endlessJokers button{
    border: none;
    border-radius: 2px;
    background-color: #eee;
    color: #222831;
    padding: 5px;
}
#endlessJokers button:disabled{
    background-color: #bbb;
    color: #888;
}
#endlessJokers button:disabled span{
    background-color: #dedede;
    color: #888;
}

#legals_container{
    padding-top: 50px;
}
#legals_container img{
    max-width: 300px;
}
#legals_container p{
    max-width: 90%;
    margin: auto;
    margin-top: 25px;
    color: #eee;
}