@import url("https://fonts.googleapis.com/css2?family=Signika+Negative:wght@400;600&display=swap");
:root {
  --number-size: 1.2rem;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  scrollbar-color: inherit;
}

body {
  font-family: "Signika Negative", sans-serif, Arial;
  background-color: #1d1d1d;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  letter-spacing: 1px;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 10; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: hidden; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  height: 80%;
  z-index: 20;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.vid {
  position: relative;
}

.fade-to-black {
  opacity: 0.1;
}

.top-layout {
  width: 100vw;
  height: 100vh;
  background-color: #1d1d1d;
  display: grid;
  grid-template-columns: [col1-start] 240px [col2-start] minmax(1000px, 1fr) [col3-start] 480px [col-end];
  grid-template-rows: [row1-start] auto [row2-start] 1fr [row-end];
  padding: 10px;
  -moz-column-gap: 4px;
       column-gap: 4px;
  row-gap: 4px;
}

.primary-video {
  position: relative;
  background-color: grey;
  border: solid;
  border-width: 2px;
  border-radius: 4px;
  border-color: darkslategrey;
  grid-column-start: col2-start;
  grid-column-end: col3-start;
  grid-row-start: row1-start;
  grid-row-end: row2-start;
  align-self: start;
  width: 100%;
  aspect-ratio: 16/9;
}

.secondary-video-column {
  position: relative;
  background-color: #1d1d1d;
  grid-column-start: col3-start;
  grid-column-end: col-end;
  grid-row-start: row1-start;
  grid-row-end: row-end;
  /* grid-row-end: row2-start; */
  display: flex;
  flex-direction: column;
}

.small-vid {
  position: relative;
  background-color: grey;
  border: solid;
  border-width: 2px;
  border-radius: 4px;
  border-color: darkslategrey;
}

#small-vid-top {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  flex: 0, 1, auto;
}

#small-vid-bottom {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  flex: 0, 1, auto;
}

#small-racer-info {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  flex: 0, 1, auto;
}

.highlight {
  border: 4px solid yellow;
}

.inner {
  width: 100%;
  position: relative;
  aspect-ratio: 16/9;
}

/* video overlay */
.vidbanner {
  position: absolute;
  width: 100%;
  height: 10%;
  z-index: 12;
  /* background-color: rgb(3, 9, 182); */
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}

.vid-overlay-carnum {
  border: solid;
  border-width: 2px;
  border-color: rgb(233, 232, 239);
  border-radius: 4px;
  background-color: rgb(37, 6, 189);
  height: 26px;
  display: flex;
  flex: 0, 1, auto;
  text-align: center;
  padding-left: 6px;
  padding-right: 6px;
  margin-right: 10px;
  cursor: pointer;
}

.vid-overlay-name {
  background-color: #262626;
  border: solid;
  border-width: 2px;
  border-color: rgb(26, 20, 20);
  border-radius: 4px;
  padding-left: 3px;
  padding-right: 3px;
  height: 26px;
  display: flex;
  text-align: center;
  flex: 0, 1, auto;
}

/* scoring tower */
.scoring-tower-column {
  background-color: #1d1d1d;
  border: solid;
  border-width: 2px;
  border-radius: 4px;
  border-color: darkslategrey;
  grid-column-start: col1-start;
  grid-column-end: col2-start;
  grid-row-start: row1-start;
  grid-row-end: row-end;
  display: grid;
  grid-template-rows: [score-header-start] 100px [score-header-middle] 1fr [score-header-end] 30px [score-header-racehero];
}

.scoring-tower-header {
  grid-row-start: score-header-start;
  grid-row-end: score-header-middle;
  display: grid;
  grid-template-rows: 50px 50px;
  grid-template-columns: 50px 1fr;
  position: relative;
}

.scoring-tower-racehero {
  position: relative;
  font-size: 9px;
  grid-row-start: score-header-end;
  grid-row-end: score-header-racehero;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: baseline;
  right: 10px;
}

.scoring-tower-header-logo {
  background-color: white;
  border-radius: 4px;
  padding: 2px;
  padding-left: 6px;
  padding-right: 6px;
  grid-row-start: 1;
  grid-row-end: 2;
  grid-column-start: 1;
  grid-column-end: 1;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  text-align: center;
}

.image {
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background-color: #008cba;
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: 0.5s ease;
}

.scoring-tower-header-logo:hover .overlay {
  bottom: 0;
  height: 100%;
}

.link-text {
  white-space: nowrap;
  color: white;
  font-size: 20px;
  position: absolute;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.scoring-tower-header-trackname {
  padding: 4px;
  grid-row-start: 1;
  grid-row-end: 2;
  grid-column-start: 2;
  grid-column-end: 3;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  text-align: center;
}

.scoring-tower-header-timer {
  grid-row-start: 2;
  grid-row-end: 3;
  grid-column-start: 1;
  grid-column-end: 3;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  text-align: center;
}

.scoring-tower-header-timer-flagcolor {
  background-color: green;
}

.scoring-tower-results {
  border-radius: 4px;
  grid-row-start: score-header-middle;
  grid-row-end: score-header-end;
  overflow-x: hidden;
  overflow-y: auto;
}

.car-info {
  position: relative;
  padding-top: 2px;
  padding-bottom: 2px;
  background-color: #262626;
  border: solid;
  border-width: 2px;
  border-color: rgb(26, 20, 20);
  border-radius: 6px;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: row;
  text-align: center;
  align-items: center;
  position: relative;
}

.car-highlight {
  z-index: 200;
  border: 1px solid rgb(245, 245, 167);
  /* opacity: 0.3; */
}

.car-position {
  color: rgb(235, 226, 226);
  width: 38px;
  height: 100%;
  text-align: right;
  display: flex;
  flex: 0, 1, auto;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  text-align: center;
}

.car-logo {
  width: 40px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  text-align: center;
  background-color: rgb(37, 6, 189);
}

.car-num {
  padding-left: 2px;
  padding-right: 2px;
  border: solid;
  border-width: 2px;
  border-color: rgb(233, 232, 239);
  border-radius: 4px;
  background-color: rgb(37, 6, 189);
  height: 26px;
  display: flex;
  flex: 0, 1, auto;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  text-align: center;
  cursor: pointer;
}

.car-name {
  font-size: 16px;
  padding: 5px;
  height: 100%;
  /* inline-size: 100px; */
  overflow-wrap: break-word;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  text-align: center;
  flex-grow: 1;
}

.car-gap {
  font-size: 0.75rem;
  padding: 5px;
  height: 100%;
  /* border: solid; */
  /* border-width: 4px; */
  /* border-color: rgb(37, 6, 189); */
  /* border-radius: 4px; */
  width: 75px;
  flex: 0, 1, auto;
  display: flex;
  justify-content: center;
  align-content: right;
  flex-direction: column;
  text-align: right;
  cursor: pointer;
}

.car-laptime {
  font-size: 0.75rem;
  padding: 5px;
  height: 100%;
  /* border: solid; */
  /* border-width: 4px; */
  /* border-color: rgb(37, 6, 189); */
  /* border-radius: 4px; */
  width: 75px;
  flex: 0, 1, auto;
  display: flex;
  justify-content: center;
  align-content: right;
  flex-direction: column;
  text-align: right;
  cursor: pointer;
}

.car-hidden {
  display: none;
}

/* racer lap time table */
.race-facts {
  border: solid;
  border-width: 2px;
  border-radius: 4px;
  border-color: darkslategrey;
  display: flex;
  height: 100%;
  /* width: 100%; */
  /* grid-column-start: col3-start;
  grid-column-end: col-end;
  grid-row-start: row2-start;
  grid-row-end: row-end; */
  flex-direction: column;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  overflow: scroll;
}

#racer-header {
  margin-top: 10px;
  /* padding-top: 10px; */
  display: flex;
}

#racer-number {
  /* margin-top: 10px; */
  /* padding-top: 10px; */
  display: flex;
}

#racer-name {
  /* margin-top: 10px; */
  /* padding-top: 10px; */
  display: flex;
}

#racer-lap-table {
  padding-top: 10px;
}

.racer-info {
  position: relative;
  padding-top: 2px;
  padding-bottom: 2px;
  background-color: #262626;
  border: solid;
  border-width: 2px;
  border-color: rgb(26, 20, 20);
  border-radius: 6px;
  width: 100%;
  height: 20px;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: row;
  text-align: center;
  align-items: center;
  position: relative;
}

.disclaimer {
  display: flex;
  align-self: flex-end;
  font-size: 12px;
}

.racer-lap {
  padding-left: 2px;
  padding-right: 2px;
  border: solid;
  border-width: 2px;
  border-color: rgb(233, 232, 239);
  border-radius: 4px;
  background-color: rgb(37, 6, 189);
  height: 20px;
  display: flex;
  flex: 0, 1, auto;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  text-align: center;
}

.racer-position {
  font-size: 16px;
  padding: 5px;
  height: 100%;
  inline-size: 100px;
  overflow-wrap: break-word;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  text-align: center;
  flex-grow: 1;
}

.racer-gap {
  font-size: 0.75rem;
  padding: 5px;
  height: 100%;
  border: solid;
  border-width: 4px;
  border-color: rgb(37, 6, 189);
  border-radius: 4px;
  width: 75px;
  flex: 0, 1, auto;
  display: flex;
  justify-content: center;
  align-content: right;
  flex-direction: column;
  text-align: right;
}

.racer-laptime {
  font-size: 0.75rem;
  padding: 5px;
  height: 100%;
  border: solid;
  border-width: 4px;
  border-color: rgb(37, 6, 189);
  border-radius: 4px;
  width: 75px;
  flex: 0, 1, auto;
  display: flex;
  justify-content: center;
  align-content: right;
  flex-direction: column;
  text-align: right;
}

.product {
  margin: 50px auto;
  width: 280px;
  height: 370px;
  background: white;
  border: 1px solid #333;
  position: relative;
  z-index: 1;
}

.ribbon-wrapper {
  width: 40px;
  height: 40px;
  overflow: hidden;
  position: absolute;
  top: 0px;
  left: 0px;
}
.ribbon-wrapper .ribbon {
  font: bold 8px sans-serif;
  color: #333;
  text-align: center;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  position: absolute;
  top: 6px;
  left: -20px;
  width: 60px;
  background-color: #ebb134;
  color: #fff;
}

.red-ribbon {
  font: bold 8px sans-serif;
  color: #333;
  text-align: center;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  position: absolute;
  top: 6px;
  left: -20px;
  width: 60px;
  background-color: #bd0b0b;
  color: #fff;
}

.box1 {
  -webkit-transform: rotate(45deg);
  width: 100px;
  height: 100px;
  background-color: #bd0b0b;
  position: relative;
  z-index: 1000;
}

/* video controls */
.controls {
  border: solid;
  border-width: 2px;
  border-radius: 4px;
  border-color: darkslategrey;
  grid-column-start: col2-start;
  grid-column-end: col3-start;
  grid-row-start: row2-start;
  grid-row-end: row-end;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.interface {
  background-color: #262626;
  border-radius: 10px;
  width: 1000px;
  height: 200px;
  box-shadow: 0 19px 28px rgba(0, 0, 0, 0.05), 0 15px 8px rgba(0, 0, 0, 0.04);
}

.timeline > * + * {
  margin-top: 0.5rem;
}

.timeline__item {
  width: 100%;
  background-color: purple;
  border-radius: 999px;
  box-sizing: border-box;
  text-align: center;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline__item.purple span {
  display: none;
  font-size: 0.85rem;
}

.scrubber {
  position: relative;
  bottom: 1rem;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 99px;
  background-color: #e55555;
  z-index: 1;
}

.button__svg {
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 2px;
  pointer-events: none;
}

.button {
  position: relative;
  font-size: 0;
  border: none;
  outline: none;
  background-color: transparent;
  top: 10px;
  left: 1rem;
  cursor: pointer;
}

.button.playing .pause {
  opacity: 1;
}

.button.playing .play {
  opacity: 0;
}

.button:not(.playing) .pause {
  opacity: 0;
}

.button:not(.playing) .play {
  opacity: 1;
}

.times {
  width: calc(100% - 40px);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  z-index: 999;
  margin-left: 20px;
}

#time-guide {
  width: calc(100% - 20px);
  margin-left: 10px;
}

.times > * {
  position: relative;
}

.times div:nth-child(4n+2) {
  margin-top: 1rem;
  width: 0.5px;
  height: 15px;
  background-color: #fff;
  opacity: 0.7;
  position: relative;
}

.times span {
  display: none;
  font-size: var(--number-size);
}

.times div:nth-child(20n+2) {
  height: 10px;
  background-color: #fff;
  opacity: 1;
}

.times div:nth-child(20n+2) span {
  display: block;
  font-family: "nunito", sans-serif, Arial;
  color: #fff;
  text-align: center;
  position: absolute;
  width: auto;
  height: 1rem;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.label {
  height: 10px;
  background-color: rgba(242, 6, 6, 0.5647058824);
}

.label span {
  position: relative;
  width: 10rem;
  height: 20rem;
  top: 10rem;
  left: 0%;
  transform: translateX(-0.5rem);
  z-index: 2;
}

.labelholder {
  position: relative;
  margin-top: 10px;
  width: calc(100% - 20px);
  margin-left: 10px;
  height: 0px;
}

.lap-label {
  position: absolute;
}

.diamond-shape {
  display: inline-block;
  background: rgb(118, 112, 112);
  height: 20px;
  text-align: center;
  transform: rotate(45deg);
  width: 20px;
  cursor: pointer;
}

.item-count {
  display: inline-block;
  color: #333;
  display: table-cell;
  height: 20px;
  transform: rotate(-45deg);
  vertical-align: middle;
  width: 20px;
  font-size: 12px;
}

.green-flag {
  position: absolute;
  display: inline-block;
  background: rgb(3, 144, 14);
  height: 20px;
  text-align: center;
  transform: rotate(45deg);
  width: 20px;
  cursor: pointer;
}

.white-flag {
  position: absolute;
  display: inline-block;
  background: rgb(251, 249, 248);
  height: 20px;
  text-align: center;
  transform: rotate(45deg);
  width: 20px;
  cursor: pointer;
}

.checkered-flag {
  position: absolute;
  display: inline-block;
  background: rgb(118, 112, 112);
  height: 20px;
  text-align: center;
  transform: rotate(45deg);
  width: 20px;
  cursor: pointer;
  /* background-image: url('static/clipart3574953.png'); */
}

.move-video {
  position: absolute;
  display: inline-block;
  background: rgb(118, 112, 112);
  height: 20px;
  text-align: center;
  width: 20px;
  cursor: pointer;
  /* background-image: url('static/clipart3574953.png'); */
}

/* volume controls */
#control-bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: relative;
}

#control-bar-button {
  display: flex;
  flex: 0, 1, auto;
  position: relative;
}

#player-volume {
  display: flex;
  flex: 0, 1, auto;
  width: 200px;
  height: 25px;
  position: relative;
  top: 30px;
  right: 40px;
}

i {
  position: absolute;
  margin-top: -6px;
  color: #666;
}

i.fa-volume-down {
  margin-left: 4px;
}

i.fa-volume-up {
  margin-right: -2px;
  right: 0;
}

#volume {
  position: absolute;
  left: 24px;
  margin: 0 auto;
  height: 5px;
  width: 150px;
  background: #555;
  border-radius: 15px;
}

.ui-slider-range-min {
  height: 5px;
  width: 150px;
  position: absolute;
  background: #2ecc71;
  border: none;
  border-radius: 10px;
  outline: none;
}

.ui-slider-handle {
  width: 14px;
  height: 14px;
  border-radius: 14px;
  background: #fff;
  position: absolute;
  margin-left: -4px;
  margin-top: -4px;
  cursor: pointer;
  outline: none;
}/*# sourceMappingURL=style.css.map */