﻿#raceScreen {
    display: none;
    /*background-color: aliceblue;*/
    width: 80vw;
    /*height: 250px;*/
    position: fixed;
    z-index: 999;
    left: 10%;
    top: 50%;
    transform: translate(0%, -50%);
}

@media (max-width: 576px){
    #raceScreen {
        width: 90vw;
        left: 5%;
    }
}

#raceScreen .card-body {
    position: relative;
}

.startLine {
    position: absolute;
    height: calc(100% - 1rem);
    border-right: 1px dotted;
    left: 85px;
    z-index: 1000;
}

    .startLine::after {
        content: "Start";
        position: absolute;
        bottom: 0;
        left: 5px;
    }

.finishLine {
    position: absolute;
    height: calc(100% - 1rem);
    border-right: 1px dotted;
    right: 20px;
    z-index: 1001;
}

    .finishLine::before {
        content: "Finish ";
        position: absolute;
        left: -50px;
        bottom: 0;
    }

.raceLane {
    /*height: 25%;*/
    background-color: lightskyblue;
    width: 100%;
    border-bottom: 1px dashed;
    position: relative;
}

    .raceLane > span.laneNumber {
        position: absolute;
        text-align: center;
        align-items: center;
        left: 10px;
        width: 20px;
        top: 50%;
        transform: translate(0, -50%);
    }

    .raceLane > span.laneDesc {
        position: absolute;
        text-align: center;
        align-items: center;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    @media (max-width: 576px) {
        .raceLane > span.laneDesc {
            text-align: left;
            left: 90px;
            top: 30%;
            transform: translate(0, -50%);
            font-size: smaller;
        }
    }

.raceLane > span.laneDistance {
    position: absolute;
    text-align: right;
    align-items: end;
    top: 30%;
    background-color: #87cefa;
}

    @media (max-width: 576px) {
        .raceLane > span.laneDistance {
            text-align: right;
            align-items: end;
            top: 45%;
            font-size: smaller;
            margin-left: 15px
        }
    }

    img.boat {
        height: 70%;
        position: absolute;
        left: 10px;
        top: 20%;
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
        /*transition: all 0.5s linear;*/
        /* transition-duration: 0.5s; */
        z-index: 1000;
    }
