html {
  --black: #21252a;
  --grey-1: #343A40;
  --grey-2: #495057;
  --grey-3: #868E96;
  --grey-4: #ADB5BD;
  --grey-5: #CED4DA;
  --grey-6: #DEE2E6;
  --grey-7: #E9ECEF;
  --grey-8: #F1F3F5;
  --grey-9: #F8F9FA;
  --trans-black: rgba(33, 37, 42, .9);
  --red: #e10600;
  --gold: #ffda65;
  --gold-dark: #a3862c;
  --bronze: #c99355;
  --bronze-dark: #80582c;
}

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: "Inter UI", system-ui;
  color: var(--black);
  background: var(--black);
}

.list {
  width: 100%;
  max-width: 600px;
  margin: 3rem auto 3rem;
  border-radius: 0.4rem;
  box-shadow: 0px 12px 25px rgba(0, 0, 0, 0.1), 0px 5px 12px rgba(0, 0, 0, 0.07);
  opacity: 0.9;
}

@media screen and (max-width: 800px) {
  .list {
    margin: 0 auto;
  }
}

.list__table {
  width: 100%;
  border-spacing: 0;
  color: var(--grey-3);
  border:none;
}

body {
  padding-bottom: 40px;
}

.list__header {
  padding: 2rem 2rem;
  background: white;
  border-top-left-radius: 0.4rem;
  border-top-right-radius: 0.4rem;
}

.list__header h1,
.list__header h5 {
  margin: 0;
  padding: 0;
}

.list__header h5 {
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  color: var(--red);
}

.list__footer {
  padding: 0.1rem 1rem;
  background: white;
  text-align: center;
  border-bottom-left-radius: 0.4rem;
  border-bottom-right-radius: 0.4rem;
}

.list__value {
  display: block;
  font-size: 17px;
}

.wrapper {
  padding-bottom: 30px;
}

.list__label {
  font-size: 10px;
  opacity: 0.9;
}

.list__row {
  background: var(--grey-7);
  cursor: pointer;
  transition: all 300ms ease;
}

.list__row:hover,
.list__row:focus {
  transform: scale(1.05);
  /* box-shadow: 0px 15px 28px rgba(0, 0, 0, 0.1), 0px 5px 12px rgba(0, 0, 0, 0.08); */
  transition: all 0.1s ease;
}

.list__row:not(:last-of-type) .list__cell {
  box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.08);
}

.first-place {
  color: var(--gold-dark);
  background: var(--grey-9);
}

.first-place .list__cell:first-of-type {
  background: var(--gold);
  color: var(--gold-dark);
}

.second-place {
  color: var(--grey-2);
  background: var(--grey-9);
}

.second-place .list__cell:first-of-type {
  background: var(--grey-4);
  color: var(--grey-2);
}

.third-place {
  color: var(--bronze-dark);
  background: var(--grey-9);
}

.third-place .list__cell:first-of-type {
  background: var(--bronze);
  color: var(--bronze-dark);
}

.list__cell {
  padding: 1rem;
}

.list__cell:first-of-type {
  text-align: center;
  padding: 1rem 0.2rem;
  background: var(--grey-5);
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--trans-black);
  display: none;
  cursor: pointer;
  transition: all 300ms ease;
}

.overlay.is-open {
  display: block;
}

.sidebar {
  position: fixed;
  background: white;
  width: 100%;
  max-width: 500px;
  top: 0;
  bottom: 0;
  box-shadow: none;
  right: -500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /*@media screen and (max-width: 650px) {
        flex-direction: column-reverse;
        justify-content: space-between;
    }*/
  transition: all 300ms ease;
}

.sidebar.is-open {
  right: 0;
  transition: all 300ms ease;
  box-shadow: 0px 0px 100px var(--black);
}

.sidebar__header {
  display: flex;
  justify-content: space-between;
  background: var(--grey-9);
  align-items: center;
}

.sidebar__header,
.sidebar__body {
  padding: 2rem;
}

.sidebar__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--grey-4);
}

.button {
  font-family: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.button:focus,
.button:active {
  outline: 0;
}

.button--close {
  padding: 0;
  margin: 0;
  height: auto;
  line-height: 1;
  color: var(--grey-5);
}

.button--close:hover {
  color: var(--grey--4);
}

.driver {
  /* display: flex; */
  align-items: flex-start;
  opacity: 0;
  position: relative;
  left: 100px;
  -webkit-animation: fade 500ms ease 150ms forwards;
  animation: fade 500ms ease 150ms forwards;
}

.driver__image {
  /* width: 400px; */
  height: 200px;
  /* border-radius: 50%; */
  background-size: 40%;
  background-repeat: no-repeat;
  background-position: center;
  border: 3px solid white;
  /* box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.12); */
  /* margin-right: 1.5rem;
 */
 margin: auto;
}

.driver__content {
  width: auto;
}

.driver__title {
  font-weight: 700;
  font-size: 1.6rem;
  margin: 0.5rem 0;
  text-align: center;
}

.driver__table {
  width: 100%;
  color: var(--grey-2);
}

.driver__table small {
  color: var(--grey-4);
}

.driver__table td {
  padding: 0.3rem 0.6rem 0.3rem 0;
  height: 2rem;
}

.driver__table td img {
  position: relative;
  top: 5px;
  margin-right: 6px;
}

@-webkit-keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
    left: 0;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
    left: 0;
  }
}

.activity-badge{
  width: 35px;
  background: lightgray;
  padding: 5px;
  border-radius: 10px;
  filter: invert(1);
}

.caps{
  font-variant: petite-caps;
    font-weight: bold;
}

.a-no-link{
  text-decoration: none;
  color: initial;
}

.driver__table > tbody> tr > td:has(small){
  text-align: right;
}
.driver__table > tbody> tr > td:has(small)::after{
  content: ":";
}

.center{
  text-align: center;
}

.bold{
  font-weight: bold;
}