.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.game-time-controls {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.action {
    width: 70px;
    height: 30px;
    line-height: 22px;
    background: white;
    color: black;
    font-size: 16px;
    outline: none;
    border-radius: 4px;
    margin: 0 4px;
}

.start {
    opacity: 0;
}

.replay {
    display: none;
}

.timer {
    padding-top: 10px;
    font-size: 24px;
    padding-bottom: 12px;
}

#cards-match-shower {
    font-size: 24px;
    font-weight: bold;
    padding: 5px 0;
}

#main-board {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 auto;
}

.result-container {
    position: absolute;
    top: 50%;
    width: inherit;
    height: 60px;
    font-size: 36px;
}

.card-element__back, .card-element__top {
    display: inline-block;
    border: 3px solid white;
    box-sizing: border-box;
}

.card-element__back {
    background-image: repeating-linear-gradient(#f5e642 10%, #de8b1f 15%);
}

.card-element__top {
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-element__back .card-value {
    display: none;
}

.card-element__top .card-value {
    display: block;
}

.board-low-opacity {
    opacity: .4;
}