@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: lightgray;
    font-family: 'Rubik', 'Quicksand', 'Poppins';
    font-weight: 500;
    transition: all .3s ease-out;
}

.navbar {
    z-index: 1;
    position: fixed;
    width: 100%;
    /*min-height: 10%;*/
    background: rgb(212, 172, 135);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-bottom: 2px solid rgb(79, 59, 31);
}.navbar .spacer {
    width: 120px;
    max-width: 120px;
    display: flex;
    justify-content: center;
}
.navbar button, .navbar span {
    overflow: hidden;
    /*box-shadow: rgba(255, 255, 255, 0.55) 0px 0px 10px;*/
}.navbar a {
    margin: 0 auto;
    text-transform: capitalize;
    color: white;
    /*font-size: 1.3em;*/
    text-decoration: none;
    cursor: pointer;
    text-shadow: rgba(0, 0, 0, 0.4) 0px 2px 1px;
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: baseline;
}.navbar a span {
    padding: 0 5px;
    color: white;
}.navbar .krajnibtn {
    padding: 1%;
    border-radius: 50px;
}.navbar #home {
    border-radius: 16px;
    margin: 0 20px;
    cursor: pointer;
}
#nadpis h2 {
    margin: 0 15px;
}
#logout h1 {
    margin: 8px;
}#logout h1:hover {
    filter: brightness(94%);
}
#login_btn, #createAccSpan {
    cursor: pointer;
    text-decoration: underline;
}#login_btn:hover, #createAccSpan:hover {
    filter: brightness(90%);
    color: #ccc;
}
#colorBtn {
    cursor: pointer;
    visibility: hidden;
    border: none;
    box-shadow: rgb(51, 36, 23, .5) 0px 0px 6px 0px inset, rgba(0, 0, 0, .5) 0px 0px 4px 1px inset;
    border-radius: 100%;
    padding: 24px;
    transition: filter .1s ease-in;
}#colorBtn:hover {
    filter: brightness(94%);
}#colorBtn:focus {
    border: 1px solid black;
}
                                                        /* FORMS    */
.forms {
    display: flex;
    flex-direction: column;
    z-index: 1000;
    position: absolute;
    overflow: hidden;
}
.showTheOtherForm, .forms a {
    text-decoration: underline;
    color: #2e61e1;
}.showTheOtherForm:hover {
    color: #fff;
}
#prihlaseni .code, #logInForm .newCodeDiv .newCode {
    /* height: 32px; */
    background-color: white;
    margin: 5px 15px;
    padding: 4px 10px;
    border-radius: 10px;
    text-align: center;
    font-size: 25px;
}#prihlaseni .codeDiv {
    flex-direction: row;
}#prihlaseni div {
    display: flex;
    flex-direction: column;
    margin: 5px;
}#prihlaseni div input {
    margin-bottom: 5px;
}
.codeDiv .codeInput {
    margin: 0 5px;
    padding: 10px;
    border: 1px solid #333;
    width: 15px;
    height: 15px;
    text-align: center;
    font-size: 25px;
}.codeDiv .codeInput::-webkit-outer-spin-button,
.codeDiv .codeInput::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
#sendUserName .code, #logInForm .newCodeDiv .newCode {
    cursor: pointer;
}
#sendUserName .code:hover, #logInForm .newCodeDiv .newCode:hover {
    font-weight: bold;
    text-decoration: underline;
}


                                                        /* FORM     */
#createRoomTable, #joinRoomTable, #prihlaseni form, #chooseColor {
    display: flex;
    flex-flow: column;
    padding: 0 25px 25px 25px;
    min-width: 50vw;
    /* margin: 12% 5% 5%; */
    /*margin: 5%;*/
    color: #000;
    overflow: hidden;
    border-radius: 25px;
    background: rgb(212, 172, 135);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}   /*  FORM - INPUT    */
#createRoomTable input, #joinRoomTable input, #prihlaseni input {
    font-size: 18px;
    border: none;
    padding: 15px 6px;
    margin-bottom: 2%;
    font-weight: 400;
    outline: none;
    line-height: 1.5;
    color: #212529;
    border-radius: 0.375rem;
    box-shadow: rgb(204, 219, 232) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}   /*  FORM - BUTTON    */
#createRoomTable button, #joinRoomTable button, #prihlaseni button, #chooseColor button {
    border: 1px solid #cccc;
    padding: 15px;
    line-height: 1.5;
    font-weight: 400;
    font-size: 18px;
    color: #212529;
    cursor: pointer;
    border-radius: 0.375rem;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
#prihlaseni form#login{
    margin: 0;
}
#prihlaseni #login {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
}
                                                /* tabulka - VYBER BARVY */
#chooseColor .colorBox {
    display: inline-flex;
    flex-flow: row wrap;
    justify-content: center;
    background: white;
    overflow-y: scroll;
    min-height: 220px;
    margin-bottom: 25px;
    border-radius: 30px;
    box-shadow: rgb(204, 219, 232) 0px 4px 6px 1px inset, rgba(255, 255, 255) -3px -3px 6px 1px inset;
}#chooseColor button.colorBtn {
    /*background-color: ;    - podle jeho id/name/.. */
    width: 80px;
    height: 80px;
    border: 4px solid white;
    border-radius: 50%;
    margin: 10px 20px;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    transition: border-color .15s ease-in-out, background .15s ease-in-out, box-shadow .15s ease-in-out;
}#chooseColor button {
    margin: 0 50px;
}#chooseColor button.colorBtn:hover {
    background: #d5d5d5;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 4px 10px;
}
@media only screen and (min-width: 750px) {
    #chooseColor button.colorBtn {
        width: 120px;
        height: 120px;
        margin: 50px 20px;
    }
}@media only screen and (max-width: 725px) {
    #chooseColor button.colorBtn {
        margin: 10px 15px;
    }
}@media only screen and (max-width: 430px) {
    #chooseColor button.colorBtn {
        margin: 10px 8%;
    }
}@media only screen and (max-width: 320px) {
    #chooseColor button.colorBtn {
        margin: 4%;
    }
}

.container {
    width: 100%;
    height: 100%;
    background-color: #fffa;
    background: linear-gradient(to bottom, rgba(92, 77, 66, 0.5) 0%, rgba(92, 77, 66, 0.5) 100%), url("background.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}.body {
    height: 100%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #fffa;
    background: linear-gradient(to bottom, rgba(92, 77, 66, 0.5) 0%, rgba(92, 77, 66, 0.5) 100%), url("background.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}
.tabulka::-webkit-scrollbar {
    width: 6px;
    background-color: transparent;
}
.tabulka::-webkit-scrollbar-track {
    background-color: transparent;
}
.tabulka::-webkit-scrollbar-thumb {
    background-color: #444a;
    border-radius: 8px;
    height: 20px;
}
.timeline {     /*   novy blok nad tabulkami   */
    height: 80px;
    width: 100%;
    display: flex;
    padding: 0;
    background: white;
    margin-top: 54px/*81px;*/
}.timeline .table {
    max-width: 120px;
    margin: 5px 12px 3px;
    padding: 2px 6px;
    border: solid steelblue 2px;
    border-radius: 10px;
    background: white;
    color: black;
}.timeline .table .title {
    font-size: 11px;
    text-decoration: underline;
}.timeline .table .content{
    font-size: 10px;
    color: #212529;
}
                                                                            /*          TABLES           */
.tabulky {
    height: 100%;
    width: 100%;
    padding: 16px;
    /* margin-top: 85px; */
    display: flex;
    color: black;
    overflow-x: scroll;
}

button.edit {
    /* height: 10px;*/
    /* width: 50px; */
    /* border-radius: 10px; */
    /* border: none;
    position: relative;
    margin: -40px -5px auto auto;
    background-color: white;
    background-image: url("edit-button.png");
    background-repeat: no-repeat;
    background-size: contain; */

        /* position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        top: 0;
        right: 0;
        width: 15px;
        height: 15px;
        margin: 5px;
        background-color: white;
        color: red;
        font-weight: bold;
        border: 2px solid black;
        font-size: 11px; */
}

/*  ___________________________________________________________    */
/* TOHLE MUSIM PREDELAT ABY TO BYLO PO CELE SIRCE _PRED_ TABULKAMI */
.tabulky .arrows {
    height: 100%;
    width: 100%;
    display: flex;
    flex-basis: 100%;
    justify-content: space-between;
    /*position: sticky;*/
}
.tabulky .arrow {
    height: 40px;
    width: 40px;
    border-radius: 40px;
    margin: auto 20px;
}
.tabulky .tabulka {
    width: 300px;
    min-width: 250px;
    /* max-width: 500px; */
    border: 2px solid #333;
    border-radius: 25px;
    padding: 16px;
    margin: 0 24px;
    background: #bbb;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px, rgba(0, 0, 0, 0.24) 0px 0px 4px inset;
    display: flex;
    flex-direction: column;
    /*justify-content: space-between;*/
    overflow-y: scroll;
    overflow-x: hidden;
}
.tabulky .tabulka .chat {
    border-top: 1px solid black;
    background: rgb(180, 113, 124);
}
.tabulka .seznam .head .nadpis {
    text-transform: capitalize;
    font-size: 18px;
    font-weight: 600;
}
.tabulky .tabulka .seznam .div_pro_body {
    border-bottom: 1px solid black;
    padding-bottom: 10px;
    line-height: 1.2;
    font-family: 'Rubik';
}
.tabulky .tabulka .seznam .div_pro_body, #introduction h3, #introduction h4 {
    text-align: center;
}
.tabulky .tabulka .seznam .div_pro_body .bod {
    list-style-type: none;
    width: 100%;
    font-size: 16px;
}
.tabulky .tabulka .seznam .div_pro_body .bod.crossed {
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    opacity: .7;
}
.tabulky .tabulka .seznam .div_pro_body .bod .textOfRow {
    width: 70%;
    margin: 0 3px;
}
.tabulky .tabulka .seznam .div_pro_body .bod .deleteBtn {
    font-size: large;
    padding: 0;
    width: 15px;
    line-height: 14px;
    border: solid 1px grey;
    border-radius: 4px;
}
.tabulky .tabulka .seznam .div_pro_body .bod button {
    width: 20%;
    margin: 0 3px;
    overflow: hidden;
}
.tabulky .tabulka .seznam .tlacitko {
    width: 100%;
    display: flex;
    justify-content: center;
}
/*//////////   chtel bych ho nahradit uz rovnou otevrenym inputem   ////*/
.tabulky .tabulka .seznam .tlacitko button {
    margin: 16px auto;
    padding: 4px 15px;
    /*background: rgb(212, 172, 135);*/
    font-size: larger;
    border-radius: 15px;
    cursor: pointer;
}
/*//////////////*/



/* udelat rovnou .center .bold ... */
                                                                            /*          ROOMS           */
.rooms #nadpis_rooms {
    width: 100%;
    margin: 80px 5% 5%;
    /* margin: 5%; */
}.rooms #nadpis_rooms h2 {
    font-size: 1.35em;
    font-weight: normal;
}
.rooms {
    display: flex;
    width: 100%;
    /*height: 100%;*/
    overflow-y: scroll;
    flex-flow: row wrap;
    justify-content: space-around;
}.room {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #fff7;
    width: 10%;
    height: 0;
    padding: 4.75% 0;
    margin: 5%;
    border-radius: 18px;
    background: transparent;
    border: 3px solid white;
    transition: .3s all ease-out;
    box-shadow: rgba(255, 255, 255, 0.45) 0px 0px 20px, rgba(255, 255, 255, 0.45) 0px 0px 20px inset;
}.room span {
    font-size: 130%;
}.room:hover {
    color: #fffa;
    box-shadow: rgba(255, 255, 255, 0.45) 0px 0px 25px, rgba(255, 255, 255, 0.45) 0px 0px 35px inset;
}
.available {
    padding: 5%;
    border: none;
    background-image: url("plus_ico_3.png");
    background-size: cover;
    transition: .3s all ease-out;
    cursor: pointer;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,rgba(255, 255, 255, 0.45) 0px 0px 20px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset, rgba(255, 255, 255, 0.6) 0px 0px 50px inset;
}.available:hover {
    opacity: 0.75;
}
.taken {
    display: flex;
    flex-direction: column;
    color: #333;
    background: rgb(240, 248, 255);
    cursor: pointer;
}.taken:hover {
    color: #222;
    background: rgb(206, 219, 228);
    box-shadow: rgba(255, 255, 255, 0.45) 0px 0px 25px, rgba(255, 255, 255, 0.45) 0px 0px 35px inset;
}.taken .limit {
    font-size: 14px;
}
@media only screen and (max-width: 1000px) {
    .room {
        width: 18%;
        padding: 9% 5%;
    }
}@media only screen and (max-width: 700px) {
    .room {
        width: 22%;
        padding: 15%;
    }
    .rooms #nadpis_rooms {
        margin: 80px 5% 5%;
    }
}
@media only screen and (max-width: 1400px) {
    .body {
        height: 100%;
    }
}
@media only screen and (min-width: 800px) {
    #sendUserName h1, #nadpis h1 {
        font-size: 5.5em;
    }
    #sendUserName h2, #nadpis h2 {
        font-size: 1.6em;
    }
    #prihlaseni h4 {
        font-size: 18px;
    }#prihlaseni #login_btn {
        font-size: 26px;
    }
}@media only screen and (max-width: 800px) and (orientation: portrait) {
    #sendUserName h1, #nadpis h1 {
        font-size: 4.5em;
    }
    #createRoomTable input, #joinRoomTable input, #prihlaseni input {
        font-size: 14px;
        padding: 6px 8px;
    }#createRoomTable button, #joinRoomTable button, #prihlaseni button, #chooseColor button {
        padding: 6px 8px;
        font-size: 14px;
    }.rooms #nadpis_rooms h2 {
        font-size: 1.2em;
        margin: 25px;
    }
}@media only screen and (max-width: 500px) and (orientation: portrait) {
    #sendUserName h1, #nadpis h1 {
        font-size: 3.5em;
    }#sendUserName h2, #nadpis h2 {
        font-size: 1.35em;
    }#createRoomTable, #joinRoomTable, #prihlaseni {
        min-width: 240px;
    }/*.navbar {
        min-height: 8%;
    }*/.navbar #logout h1 {
        font-size: 1.4em;
    }.rooms #nadpis_rooms h2 {
        font-size: 1em;
    }
}@media only screen and (min-width: 440px) and (orientation: portrait) {
    #prihlaseni input {
        width: 64%;
    }#prihlaseni button {
        width: 30%;
    }#prihlaseni div {
        display: flex;
        flex-direction: column;
        margin: 5px;
        align-items: center;
        justify-content: center;
    }
}
@media only screen and (max-width: 400px) and (orientation: portrait) {
    #login h4 {
        font-size: .9em;
    }#prihlaseni #login_btn {
        font-size: 16px;
    }#prihlaseni div {
        display: flex;
        flex-direction: column;
        margin: 5px;
    }#prihlaseni div input {
        margin-bottom: 5px;
    }
}@media only screen and (max-width: 350px) and (orientation: portrait) {
    #sendUserName h1, #nadpis h1 {
        font-size: 2.5em;
    }#sendUserName h2, #nadpis h2 {
        font-size: 1.2em;
    }#login h4 {
        font-size: .8em;
    }#prihlaseni #login_btn {
        font-size: 15px;
    }
}

@media screen and (max-width: 900px) and (max-height: 700px) and (orientation: landscape) {
    #createRoomTable input, #joinRoomTable input, #prihlaseni input, #createRoomTable button, #joinRoomTable button, #prihlaseni button, #chooseColor button {
        font-size: 4vh;
        padding: 6px;
    }
    html, body {
        height: 100%;
        overflow-y: auto;
    }
    .body {
        /* height: 100%; */
        /* overflow-y: scroll; */
        padding: clamp(10%, 10vh, 50vh) 0 20vh;
    }
    #sendUserName h1, #nadpis h1 {
        font-size: 10vh;
    }#sendUserName h2, #nadpis h2 {
        font-size: 5vh;
        margin: 0.3em;
    }
    #nadpis_rooms {
        margin-top: 80px;
        h1 {
            font-size: 7vh;
        }
        h2 {
            font-size: 5vh!important;
        }
    }
}
@media screen and (min-height: 430px) and (orientation: landscape) {
    #nadpis_rooms {
        h2 {
            font-size: 1.2em!important;
        }
    }
}
@media screen and (min-width: 1500px) and (orientation: landscape) {
    .rooms #nadpis_rooms {
        margin: 90px 5% 0;
        h1 {
            font-size: 3em;
        }
        h2 {
            font-size: 1.5em!important;
        }
    }
}