body {
    font-size: 62.5%;
    text-align: center;
}

* {
    box-sizing: border-box;
}

h1 {
    font-size: 1.6rem;
}

h2 {
    font-size: 1.4rem;
}

h3 {
    font-size: 1.2rem;
}

p {
    padding: 0 20px;
}

button {
    cursor: pointer;
}

div {
    font-size: 1.2rem;
}

.burger:before {
    content: "\2630";
    font-size: 3.4rem;
}

.burger {
    position: absolute;
    top: -6px;
    left: 14px;
    cursor: pointer;
}

.menu {
    position: absolute;
    top: 11px;
    left: 46px;
    background-color: #CCCCCC;
    text-align: left;
    z-index: 3;
    border: 1px solid black;
    border-radius: 5px;
}

.menu > div {
    border: 1px solid black;
    padding: 5px 10px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    color: black;
    background-color: white;
}

.menu > div.selected {
    background-color: lightGreen;
    font-weight: bold;
}

.block {
    border: 2px solid black;
    padding-bottom: 30px;
    border-radius: 10px;
    background-color: #CCCCCC;
}

.list {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.list.name > div {
    border: 1px solid black;
    border-radius: 5px;
    width: 130px;
    height: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list.id > div {
    border: 1px solid black;
    border-radius: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;
}

.list.id > div.selected {
    background-color: lightGreen;
}

.list.id_and_name > div {
    border: 1px solid black;
    border-radius: 10px;
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 80%;
    padding: 5px 0;
    position: relative;
}

.list.more_less > div {
    width: 30px;
    height: 90px;
}

.list.more_less > div > div:nth-child(1) {
    font-size: 2rem;
    cursor: pointer;
    color: grey;
}

.list.more_less > div > div:nth-child(3) {
    margin-top: -6px;
    font-size: 2rem;
    cursor: pointer;
    color: grey;
}

.list.more_less > div > div:nth-child(2){
    display: flex;
    border: 1px solid black;
    border-radius: 10px;
    height: 30px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.list.id_and_name > div > div:nth-child(1) {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    font-weight: bold;
}

.list.id_and_name > div > div:nth-child(2) {
    padding-left: 30px;
}

.list.id_and_name > div > div:nth-child(3) {
    padding-left: 30px;
}

.list.id_name_and_phase > div {
    border: 1px solid black;
    border-radius: 10px;
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 90%;
    padding: 5px 0;
    position: relative;
}

.list.id_name_and_phase > div > div:nth-child(1),
.list.id_name_and_phase > div > div:nth-child(4) {
    position: absolute;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    font-weight: bold;
}

.list.id_name_and_phase > div > div:nth-child(1) {
    left: 0;
}

.list.id_name_and_phase > div > div:nth-child(4) {
    right: 0;
}

.list > div.charmed {
    background-color: purple;
    color: white;
}

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

.list_of_twin {
    flex: 1;
    border-color: grey;
    border-style: solid;
}


.list_of_twin h3 {
    text-align: center;
    margin: 0;
}

.list_of_twin:nth-child(1) {
    border-width: 1px 1px 1px 1px;
}

.list_of_twin:nth-child(2) {
    border-width: 1px 1px 1px 0px;
}

.list_of_twin div {
    border: 1px solid grey;
    border-radius: 10px;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
    margin: 3px;
    cursor: pointer;
}

.mine {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.mine > div {
    border: 1px solid black;
    border-radius: 5px;
    width: 80px;
    height: 80px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.mine > div.unknow {
    background-image: url('/img/stone.png');
    background-repeat: repeat;
    cursor: pointer;
}

.mine > div.success {
    background-image: url('/img/stone_gold.png');
    background-repeat: repeat;
}

.mine > div > span {
    background-color: #ffe61f;
    padding: 0 7px;
    border-radius: 30px;
    border: 1px solid black;
}

.mine > div.failed {
    background-image: url('/img/stone_used.png');
    background-repeat: repeat;
}

.block > button:nth-of-type(1) {
    margin-bottom: 30px;
}
.block > button:nth-of-type(2) {
    margin-top: 30px;
}

.list.click div {
    cursor: pointer;
}

.list div.status_0 {
    background-color: #ffcc80;
}

.list div.status_1 {
    background-color: #66bb6a;
    font-weight: bold;
}

.list div.status_2 {
    background-color: #e0e0e0;
}

.list div.team_0 {
}


.list div.team_1.enchanted,
.list div.team_2.enchanted {
    background-image: url('/img/enchanted.png');
    background-repeat: no-repeat;
    background-position: right;
}
.list div.team_3.enchanted {
    background-image: url('/img/enchanted_for_solitaire.png');
    background-repeat: no-repeat;
    background-position: right;
}

.twin_list .list_of_twin > div.team_1,
.list div.team_1 {
    background-color: #66bb6a;
}

.twin_list .list_of_twin > div.team_2,
.list div.team_2 {
    background-color: #000000;
    color: #FFFFFF;
}

.twin_list .list_of_twin > div.team_3,
.list div.team_3 {
    background-color: MediumOrchid;
}

.gold {
    background-color: gold;
}

.grey {
    background-color: grey;
}

.votes {
    padding: 0 20px;
}

.votes > div {
    border: 1px solid black;
    margin: 5px auto;
    padding: 5px;
    border-radius: 10px;
}

.votes > div:nth-child(1) {
    font-weight: bold;
}

.votes div.vote {
    font-size: 3rem;
}

body.day {
    background-image: url('/img/sky_day.png');
    background-repeat: repeat;
}

body.day .burger {
    color: black;
}

body.day .info_game {
    color: black;
}

body.night {
    background-image: url('/img/sky_night.png');
    background-repeat: repeat;
}

body.night .burger {
    color: white;
}

body.night .info_game {
    color: white;
}

body.death {
    background-image: url('/img/sky_death.png');
    background-repeat: repeat;
}

span.red {
    color: red;
}

.hide {
    display: none !important;
}

.pointer {
    cursor: pointer;
}

.qr_code {
    margin: 20px auto;
}

.qr_code img {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
}


.padding {
    padding: 0 10px;
}
