@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');


body {
    margin: 0;
    overflow-x: hidden;
    font-family: "Google Sans", sans-serif;
}

section {
    /* max-width: 100vw;
    max-height: 100vh;
    min-width: 100vw;
    min-height: 100vh; */
    background-color: #ecf0f1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.background-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.background-container img {
    max-width: 400px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;

}

.navigation {
    width: 100%;
    height: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.navigation button {
    width: 250px;
    height: 40px;
    margin: 10px 0;
    border-radius: 4px;
    box-sizing: border-box;
    outline: 0;
    border: 2px #0f667e solid;
    background-color: #0f667e;
    color: #ecf0f1;
    font-family: "Google Sans", sans-serif;
    font-size: 18px;
}

.navigation button:hover {
    background-color: #ecf0f1;
    color: #0f667e;
    cursor: pointer;
}

.navigation button:active {
    background-color: #0f667e;
    color: #ecf0f1;
    cursor: pointer;
}

.navigation input {
    width: 250px;
    height: 40px;
    margin: 10px 0;
    outline: none;
    background-color: #00000000;
    box-sizing: border-box;
    border: 0px;
    border-bottom: 2px #0f667e solid;
    font-family: "Google Sans", sans-serif;
    font-size: 18px;
}

#game {
    width: 100%;
    /* display: flex; */
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    /* padding: 20px; */
    /* box-sizing: border-box; */
    align-items: center;
    position: relative;
    /* gap: 20px; */
    /* height: auto;
    max-height: 100%; */
}

#field {
    background: url("media/images/field.png") no-repeat center/contain;
    /* max-width: 700px; */
    /* width: 100%;
    height: 100%; */
    /* width: 100%;
    max-width: 700px;
    height: auto;
    border-spacing: 0;
    aspect-ratio: 9/8;
    box-sizing: border-box;
    /* margin: 0 0px 20px 0; */
    /* min-width: 0;
    min-height: 0; */
    gap: 0;
    border-spacing: 0;
    /* height: 100%; */
    max-width: 700px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

#field .row {
    display: flex;
}

#field .row div {
    width: 100%;
    height: 100%;
    /* max-width: 50px;
    max-height: 50px; */
    aspect-ratio: 1/1;
    /* background-color: #8c0d4871; */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.chip {
    max-width: 50%;
    max-height: 50%;
    border-radius: 50%;
}



#field td {
    margin: 0;
    padding: 0;
    min-width: 50px;
    min-height: 50px;
    max-width: 50px;
    max-height: 50px;
    /* width: calc(100% / 9);
    height: calc(100% / 8); */
    /* aspect-ratio: 1; */
    /* background-color: #8c0d4871; */
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    /* height: calc(100vh - 40px); */
    display: flex;
    flex-direction: row;
    /* height: auto; */
    justify-content: center;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
}

#inner-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    /* margin: 20px 20px 20px 0; */
    /* height: calc(100vh - 40px); */
}

#video-holder {
    display: flex;
    width: 100%;
    max-width: 400px;
    flex-direction: column;
    margin-bottom: 20px;
}

.current-video {
    display: flex;
}

.current-video video {
    width: 50%;
    /* aspect-ratio: 3/4; */
    background-color: #a2a2a2;
    border: 1px #ecf0f1 solid;
    box-sizing: border-box;
}

.reserve-video {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.reserve-video video {
    /* width: calc(100% / 4); */
    flex: 1;
    width: 100%;
    max-width: calc(100% / 3);
    height: 100%;
    /* aspect-ratio: 3/4; */
    background-color: #a2a2a2;
    border: 1px #ecf0f1 solid;
    box-sizing: border-box;
    object-fit: cover;
}

#controls {
    width: 400px;
    height: 100%;
    /* background-color: #8c0d4800; */
    display: flex;
}

.current-player {
    min-width: 250px;
    background-color: #fff;
    border-radius: 2px;
    border: #0f667e 3px, solid;
    border-right: 0px;
    box-sizing: border-box;
    padding: 20px;
    box-shadow: #0000001a 3px 3px 10px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}

.current-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

#current-color {
    width: 50px;
    height: 50px;
    background-color: #0f667e;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

#current-request {
    margin-bottom: 0;
}

.buttons {
    width: 150px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.buttons button {
    display: flex;
    justify-content: center;
    align-items: center;
    border: #0f667e 3px solid;
    box-sizing: border-box;
    background-color: #fff;
    cursor: pointer;
}

.buttons button:disabled {
    background-color: #a2a2a2;
    cursor: auto;
}

.buttons button:disabled:active {
    background-color: #a2a2a2;
}

.buttons button:active {
    background-color: #c6c6c6;
}


#action {
    width: 150px;
    min-height: 150px;
    font-weight: 600;
    font-size: 20px;
}

#action img {
    width: 100px;
}

.admin-functions {
    max-width: 100%;
    display: flex;
    justify-content: space-between;
}

.admin-functions button img {
    width: 19px;
}

.admin-functions button {
    width: 100%;
    border-top: 0px;
    border-left: 0px;
}

#skip {
    border-left: #0f667e 3px solid;
}

.cards {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cards button {
    border-top: 0px;
    height: 100%;
    min-height: 50px;
    font-size: 20px;
    font-weight: 600;
}


/* #video-holder :nth-child(-n+2) {
    width: 50%;
    background-color: aqua;
} */

#lobby {
    /* display: none; */
    max-width: 100vw;
    max-height: 100vh;
    min-width: 100vw;
    min-height: 100vh;




}



#info {
    /* display: none; */
    /* height: 100%; */
    /* display: flex; */
    justify-content: center;
    align-items: center;
}

#player-info {
    background-color: #fff;
    border: #0f667e 3px solid;
    padding: 20px;
    box-sizing: border-box;
}

#player-history {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.history {
    background-color: #fff;
    border: #0f667e 3px solid;
    padding: 20px;
    box-sizing: border-box;
    min-width: 400px;

}

.history-item {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: #0f667e 3px solid;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    font-weight: 600;
    color: #0f667e;
}

#players-list {
    padding-bottom: 0;
    flex-wrap: wrap;
}

.players-list-item {
    background-color: #fff;
    border: #0f667e 3px solid;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 10px;
    gap: 10px;
}

.players-color {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.players-color h2 {
    color: #fff;
}

.avatar-inputs {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #0000006a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.avatar-inputs-container {
    background-color: #fff;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.avatar-inputs-container h2 {
    margin: 0;
}

.avatar-inputs input {
    width: 250px;
    height: 40px;
    margin: 10px 0;
    outline: none;
    background-color: #00000000;
    box-sizing: border-box;
    border: 0px;
    border-bottom: 2px #0f667e solid;
    font-family: "Google Sans", sans-serif;
    font-size: 18px;
}

.avatar-inputs textarea {
    min-width: 250px;
    min-height: 40px;
    margin: 10px 0;
    outline: none;
    background-color: #00000000;
    box-sizing: border-box;
    border: 0px;
    border-bottom: 2px #0f667e solid;
    font-family: "Google Sans", sans-serif;
    font-size: 18px;
    resize: vertical;
}

.colors {
    display: flex;
    max-width: 200px;
    flex-wrap: wrap;
    gap: 10px;
}

.color-btn input {
    display: none;
}

.color-btn label {
    display: block;
    width: 40px;
    height: 40px;
    background-color: #0f667e;
    border-radius: 50%;
    box-sizing: border-box;
    border: 0px #fff solid;
}

.color-btn input:checked+label {
    /* background-color: #a2a2a2; */
    border: 2px #000 solid;
}

.color-btn input:disabled+label {
    /* background-color: #a2a2a2; */
    display: none;
}

#violet-btn {
    background-color: #B659A2;
}

#purple-btn {
    background-color: #676BB1;
}

#blue-btn {
    background-color: #3EB2E6;
}

#green-btn {
    background-color: #A2CE47;
}

#yellow-btn {
    background-color: #FED548;
}

#orange-btn {
    background-color: #F38334;
}

#red-btn {
    background-color: #EF3A44;
}

.avatar-inputs button {
    width: 250px;
    height: 40px;
    border-radius: 4px;
    box-sizing: border-box;
    outline: 0;
    border: 2px #0f667e solid;
    background-color: #0f667e;
    color: #ecf0f1;
    font-family: "Google Sans", sans-serif;
    font-size: 18px;
}

