html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Custom Styles */
#resultsTable thead {
    display: table;
    width: 100%;
    table-layout: fixed;
}
#resultsTable tbody {
    display: block;
    max-height: 400px;
    overflow-y: auto;
    width: 200px;
}

#resultsTable tbody tr {
    width: 100%;
    display: table;
    table-layout: fixed;
}
#resultsTable th, #resultsTable td {
    padding-left: 5px;
    padding-right: 5px;
}

#resultTableContainer {
    height: 450px;
    width: 200px;
}

#displayArea {
    position: relative;
    max-width: 600px;
    width: 100%;
    height: 60px;
}

#metrics {
    width: 100%;
    height: 30px;
    display: inline-block;
    float: left;
    border-top: 1px solid #000;
}

#metrics > .distanceMarker {
    height: 30px;
    width: calc(100% / 6);
    display: inline-block;
    float: left;
    border-left: 1px solid #000;
}

#railLine {
    position: relative;
    width: 100%;
    height: 9px;
    display: inline-block;
    float: left;
    border-top: 1px solid #000;
}

.train {
    display: inline-block;
    position: absolute;
    height: 4px;
    width: 4px;
    top: 2px;
}

#train1 {
    background-color: red;
    left: 0px;
}

#train2 {
    background-color: blue;
    left: 0px;
}

.parachute {
    display: inline-block;
    position: absolute;
    height: 4px;
    width: 4px;
    top: -7px;
    background-color: #000;
}

#parachute1 {
    left: 0px;
}

#parachute2 {
    left: 0px;
}

#instructionText {
    width: 350px;
    max-width: 100%;
}
#codeContainer {
    width: 447px;
    max-width: 100%;
}

@media(min-width: 768px) {
    #instructionText {
        width: 270px;
    }
    #codeContainer {
        width: 405px;
    }
}
@media (min-width: 1400px) {
    #instructionText {
        width: 350px;
    }
    #codeContainer {
        width: 447px;
    }
}