body{
    background-color: #e7e7e7;
    padding: 0px;
}
img{
    border-style: none;
}

#score {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 40px;
}
.active_player {
    width: 36px;
    opacity: 100%;
    border-radius: 50%;
    padding-top: 3px;
    font-weight: bold;
    font-size: 24px;
    border-color: grey;
    border-width: 4px;
    border-style: solid;
    margin: 0px 20px 0px 20px;
    opacity: 100%;
}
.inactive_player {
    width: 36px;
    border-radius: 50%;
    padding-top: 1px;
    font-weight: bold;
    font-size: 24px;
    border-color: white;
    border-width: 4px;
    border-style: solid;
    margin: 0px 20px 0px 20px;
    opacity: 20%;
}

.footer {
    height: 70px;
    display: flex;
    background-color: white;
}
#footer__image{
    width: 70px;
    height: 70px;
}
.footer__image-silent {
    background-image: url('../imgs/hlava_zepredu.png');
}
.footer__image-speak {
    background-image: url('../imgs/hlava_zestrany.png');
    background-size: 70px;
}
.footer__description {
    padding-top: 10px;
    padding: 15px 0px 0px 20px;
    font-size: 28px;
}
.footer__back-button {
    /*margin: 0px 15px 0px auto;*/
    height: 70px;
    width: 70px;
    border-style: none;
    cursor: pointer;
    background-size: 60px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('../imgs/pe_sipka_leva.png');
    background-color: inherit;
}
.footer__refresh-button {
    margin: 0px 15px 0px calc(50% - 100px);
    height: 70px;
    width: 70px;
    border-style: none;
    cursor: pointer;
    background-size: 60px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('../imgs/pe_sipka_ref.png');
    background-color: inherit;
}
.footer__forward-button {
    margin: 0px 15px 0px auto;
    height: 70px;
    width: 70px;
    border-style: none;
    cursor: pointer;
    background-size: 60px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('../imgs/pe_sipka_prava.png');
    background-color: inherit;
}
.content{
    height: calc(100% - 70px);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    overflow-y: auto;
}

.section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.section-item {
    margin: 5px;
    width: 110px;
    /* width: calc(30% - 5px); */
    height: 130px;
}

.section-item_img {
    object-fit: contain;
    width: 100%;
    cursor: pointer;
}

.game__card {
    float: left;
    background: grey url('../imgs/Pexymonster_zadni_strana.png');
    background-size: contain;
    margin: 2px;
    padding: 0px;
    cursor: pointer;
    z-index: 2;
}

#game div .cardContent{
   background-color: #fff;
   margin: 0px;
   padding-top: 10%;
   font-size: 28px;
   font-family: 'Helvetica Neue', Lato, Helvetica, Arial, sans-serif;
}

.cardImg {
    border: none;
    z-index: 3;
    width: 100%;
    height: 100%;
}

.cardTooltip {
    background-color: #fff;
    color: darkslategrey;
    font-size: 28px;
    border-radius: 5px;
    box-shadow: 2px 2px 4px 2px rgba(0, 0, 0, 0.3);
    z-index: 100;
    position: absolute;
    left:0%;

    text-align: center;
    padding: 5px 10px;
    position: relative;
    z-index: 1;
    transition: opacity 0.6s;
    white-space: nowrap;
}

.card-success {
    box-sizing: border-box;
    border: 4px solid yellow;
}
.card-fail {
    opacity: 0.4;
}