body {
    margin: 0;
    padding: 0;
    background: #5b8c2a;
    background: url(https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/background-of-green-and-healthy-grass-royalty-free-image-1586800097.jpg);
    background-size: 170px;
}

.hide {
    display: none;
}

.wrapper {
    width: 100%;
    height: 100vh;
    display: inline-block;
    float: left;
}

.track {
    width: 100%;
    max-width: 700px;
    height: 100%;
    display: flex;
    margin: 0 auto;
    background: #a08363;
    border-left: 10px solid #fff;
    border-right: 10px solid #fff;
    position: relative;
}

.lane {
    border-right: 2px solid #fff;
    border-color: rgba(0,0,0,0.5);
    height: 100%;
    width: 25%;
    background: url(https://aggregatesnow.com/wp-content/uploads/2017/03/057241694-soil-background_400x400.jpg);
    background-size: 300px;
    position: relative;
}

.lane-side {
    height: 100%;
    width: 250px;
    position: absolute;
    left: -250px;
}

.lane-side .section {
    border-bottom: 0;
}

.lane-side .section.secret.hand.hhand-compact {
    display: block;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 
    1;
    position: relative;
}

.lane-side .section.secret::before {
    content: '';
    width: 150px;
    height: 209px;
    z-index: 1;
    position: absolute;
    top: calc(50% - 105px);
    left: calc(50% - 75px);
    background: none;
    border-radius: 5px;
    background: url(/assets/cards/RED_BACK.svg);
    background-size: 100%;
}

.lane-side .section.secret img {
	position: relative;
	z-index: 9;
	opacity: 0;
    width: 150px;
    padding: 0!important;
}

.lane-side .section.secret.hand.hhand-compact.active img {
	opacity: 1;
}

.section {
    height: 16.66%;
    border-bottom: 2px solid #fff;
}

.section.finish-line {
    border-width: 5px;
}

.horse {
    width: 120px;
    height: 120px;
    position: absolute;
    background: none;
    border-radius: 100%;
    text-align: center;
    line-height: 30px;
    bottom: 0;
    left: calc(50% - 60px);
    transform: translate(0, -20px);
    transition: all 300ms ease;
}

.horse img {
    width: 100%;
}

.horse[data-position="1"] {
    bottom: calc(16.66% * 1);
}

.horse[data-position="2"] {
    bottom: calc(16.66% * 2);
}

.horse[data-position="3"] {
    bottom: calc(16.66% * 3);
}

.horse[data-position="4"] {
    bottom: calc(16.66% * 4);
}

.horse[data-position="5"] {
    bottom: calc(16.66% * 5);
}

div#chosen-card-deck {
    position: absolute;
    right: -260px;
    top: 10px;
    width: 220px;
    height: 307px;
}

div#chosen-card-deck img {
    width: 100%;
}

div#chosen-card {
    position: absolute;
    right: -260px;
    top: 350px;
    width: 220px;
    height: 307px;
}

div#chosen-card img {
    width: 100%;
}

button.btn-start {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 999;
    background: #eca713;
    border: 0;
    padding: 8px 20px 10px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

button.btn-start:hover {
    background: #edb845;
}

div#counter {
    position: absolute;
    z-index: 99;
    top: 0;
    right: 0;
    font-size: 600px;
    width: 100%;
    text-align: center;
    color: #fff;
}

div#score {
    position: absolute;
    top: 100px;
    left: calc(50% - 250px);
    width: 500px;
    height: auto;
    background: #fff;
    padding: 50px;
    box-sizing: border-box;
    border-radius: 20px;
    box-shadow: 0 20px 30px rgb(0 0 0 / 40%);
    text-align: center;
    opacity: 0;
    transition: all 300ms ease;
}

div.score.show {
    opacity: 1!important;
}

div#score span#title {
    font-size: 21px;
    font-weight: 500;
    color: #000;
}

div#score span#title2 {
    font-size: 21px;
    font-weight: 500;
    color: #000;
}

div#score h1 {
    font-size: 55px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #000;
}

div#score h2 {
    font-size: 30px;
    color: #000;
}

div#horseimg {
    margin-bottom: 40px;
}

div#score .item img {
    width: 90px;
}

div#score .item {
    width: 33%;
    display: inline-block;
    float: left;
    margin-top: 20px;
}

div#score .item h2 {
    font-size: 20px;
}

.horse.dopet::before {
    content: 'DOPET!';
    background: #cc0606;
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    font-weight: 600;
    padding: 0 10px;
    border-radius: 8px;
}