body 
{
    align-items: center;
    align-content: center;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

table
{
    margin-left: auto;
    margin-right: auto;
}

.kolicek
{
    border: 2px solid black;
    background-color: black;
}

.kolicek.disabled
{
    background-color: red;
    border: 2px solid red;
}

.empty
{
    border: 2px solid black;
}

.empty.disabled
{
    background: none;
    border: 2px solid red;
}

.header
{
    display: flex;
    border-radius: 5px;
}

.score
{
    width: 200px;
    margin-top: 10px;   
}

.back
{
    width: 200px;
    margin-top: 10px;
}

.name
{
    flex: 1;
}


.material-icons.main {
    font-size: 150px;
}

body, html
{
    z-index: 2;
    height: 100%;
    overflow: hidden;
    overflow-x: hidden;
    position: relative;
}

a
{
    text-decoration: none;
    color: whitesmoke;
}

.selected.kolicek.disabled
{
    background-color: blue;
    border: 2px solid blue;
}

.selected.empty.disabled
{
    background: none;
    border: 2px solid blue;
}

tbody button
{
    color: rgba(255, 255, 255, 0);
}

.possible
{
    background-color: none;
    border: 2px solid green;
}

#gameOver
{
    display: block;
    position: fixed;
    z-index: 1; 
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    transition: top 1s ease-in-out;
}

#gameOverContent
{
    margin-top: 40%;
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, .4); 
    border-radius: 5px;
    width: 60%;
    min-height: 200px;
    margin: auto;
    background-color: white;
    color: black;
    padding: 70px 0;
}

noscript
{
    z-index: 10;
    position: fixed;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    color: white;
    background-color: #e21515;
    border: solid;
    border-color: #e21515;
    border-width: 1px;
    font-size: 25px;
    overflow: hidden;
}

#loading
{
    z-index: 9;
    position: fixed;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    display: block;
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    color: white;
    background-color: rgb(31, 31, 31);
    transition: all 1s ease-in-out;
    opacity: 1;
}

#loadingContent
{
    padding: 70px 0;
}

.spinner {
  width: 40px;
  height: 40px;
  background-color: #333;
    transition: all 1s ease-in-out;

  margin: 100px auto;
  -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
  animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
  0% { -webkit-transform: perspective(120px) }
  50% { -webkit-transform: perspective(120px) rotateY(180deg) }
  100% { -webkit-transform: perspective(120px) rotateY(180deg)  rotateX(180deg) }
}

@keyframes sk-rotateplane {
  0% { 
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg) 
  } 50% { 
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg) 
  } 100% { 
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}

.modal
{
    display: block;
    position: fixed;
    z-index: 1; 
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    transition: top 1s ease-in-out;
}

.modalContent
{
    margin-top: 40%;
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, .4); 
    border-radius: 5px;
    width: 60%;
    min-height: 200px;
    margin: auto;
    background-color: white;
    color: black;
    padding: 70px 0;
}

.navigace
{
    padding: 0;
    margin: 0;
    top: 0;
    background-color: rgb(31, 31, 31);
    position: fixed;
    left: -100%;
    color: white;
    height: 100%;
    width: 200px;
    transition: left 1s ease-in-out;
}

.navigace a
{
    text-decoration: none;
    color: whitesmoke;
}

#navHeader
{
    display: inline;
}

input, textarea
{
    font-family: 'Montserrat', sans-serif;
    border: 2px solid black;
    background: none;
    width: auto;
    min-height: 40px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

#loadingTooLong
{
    z-index: 3;
    position: fixed;
    padding: 0;
    margin: 0;
    top: -101%;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    color: white;
    background-color: #e21515;
    border: solid;
    border-color: #e21515;
    border-width: 1px;
    font-size: 25px;
    overflow: hidden;
}

select
{
    border: 2px solid white;
    width: 100px;
    height: 40px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition-duration: 0.4s;
    cursor: pointer;
    background-color: #333;
    color: white;
}

option
{
    background-color: #333;
    color: white;
    box-sizing: border-box;
    border: 2px solid white;
    border-radius: 5px;
}

#changeLangSelectorNext
{
    border: 2px solid white;
    width: 100px;
    height: 40px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition-duration: 0.4s;
    cursor: pointer;
    background-color: white;
    color: #333;
}

#changeLangSelectorCancel
{
    border: 2px solid white;
    width: 100px;
    height: 40px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition-duration: 0.4s;
    cursor: pointer;
    background-color: #333;
    color: white;
}

#changeLang
{
    z-index: 3;
    position: fixed;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    display: block;
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    color: white;
    background-color: rgb(31, 31, 31);
    transition: all 1s ease-in-out;
    opacity: 1;
}

#changeLangSelector
{
    z-index: 4;
    position: fixed;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    display: block;
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    color: white;
    background-color: rgb(31, 31, 31);
    transition: all 1s ease-in-out;
    opacity: 1;
}

#changeLangText, #changeLangSelector
{
    padding: 70px 0;
}