body {
  background: #000;
}

.btn-outline-primary {
  border-color: #53a018;
  color: #53a018;
}

.btn-outline-primary.active {
  border-color: #53a018;
  background-color: #53a018;
  color: #fff;
}

.notice {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #91bdfb;
  color: #91bdfb;
  font-size: .85rem;
}

header {
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  position: relative;
  font-weight: bold;
}

header .buttons {
  display: flex;
  align-items: center;
}

header .language-switch {
  display: block;
  width: 38px;
  height: 38px;
  background-size: cover;
  border-radius: 38px;
  position: relative;
}

header .language-switch:before {
  content: "";
  position: absolute;
  left: -4px;
  top: -4px;
  bottom: -4px;
  right: -4px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: all ease .3s;
  border-radius: 38px;
}

header .language-switch:hover:before {
  border-color: #fff;
}

header .language-switch.en {
  background-image: url(https://www.smartrace.de/wp-content/themes/generatepress_child/img/english.png);
}

header .language-switch.de {
  background-image: url(https://www.smartrace.de/wp-content/themes/generatepress_child/img/deutsch.png);
}

header:before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: url(../img/flag.jpeg) no-repeat center;
  background-size: cover;
  border-radius: 8px 8px 0px 0px;
  z-index: -1;
}

header img {
  height: 70px;
}

header h1 {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0px;
}

.window .left {
  flex-shrink: 1;
  flex-grow: 0;
  flex-basis: 65%;
}

.window .controls {
  margin-bottom: -15px;
}

.window .controls .btn-group strong {
  font-size: .9rem;
}

.window .right {
  flex-basis: 25%;
  flex-grow: 1;
  flex-shrink: 1;
  min-width: 400px;
}

.window .right section {
  padding: 20px;
  border-radius: 7px;
  margin-top: 20px;
  background: rgba(17, 17, 17, 0.7);
  color: #fff;
}

.window .right section header {
  margin: -20px -20px 20px -20px;
  border-radius: 5px 5px 0px 0px;
  padding: 10px 20px;
  overflow: hidden;
}

.window .right section input {
  background: #222;
  border: 1px solid #333;
  color: #fff;
}

.window .right #ace {
  height: 320px;
  display: block;
  border-radius: 8px;
}

.iframe-container {
  border-radius: 15px;
  padding: 5px;
  max-width: 100%;
  aspect-ratio: 1.25;
}

.iframe-container.portrait {
  aspect-ratio: .75;
}

.iframe-container.small {
  width: 824px;
  aspect-ratio: 2;
}

.iframe-container.small.portrait {
  width: 390px;
  aspect-ratio: .5;
}

.iframe-container.medium {
  width: calc(1080px * .9);
}

.iframe-container.medium.portrait {
  width: calc(810px * .9);
}

.iframe-container.large {
  width: calc(1080px * 1.1);
}

.iframe-container.large.portrait {
  width: calc(800px * 1.1);
}

.iframe-container iframe {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: url(../img/start_grid_blur.jpg) no-repeat center;
  background-size: cover;
}

.car-card {
  min-height: 240px;
  border: 1px solid #333;
  border-radius: 5px;
  margin-bottom: 20px;
}

.car-card h6 {
  margin-bottom: 15px;
}

.car-card .image {
  height: 120px;
  background-size: contain;
  background-position: center;
  background-color: #111;
  background-repeat: no-repeat;
}
