.race {
  width: 100%;
  background-color: #ffc634;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;

  flex-direction: column;

  padding: 80px 80px;

  overflow: hidden;

  /* min-height: 100vh; */
}

.race .header {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  width: 100%;
}

.race .text-wrapper {
  -webkit-text-stroke: 4px #000000;
  font-family: "Bangers", Helvetica;
  font-weight: 400;
  color: #ed3a23;
  font-size: 90px;
  letter-spacing: 1.8px;
  line-height: 85.5px;

  word-wrap: break-word;
  text-align: center;
}

.race .subheader {
  position: relative;
  width: fit-content;
  font-family: "Inter", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 28px;
  text-align: center;
  letter-spacing: -1.12px;
  line-height: 37px;
}

.race .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 60px;
  width: 100%;

  flex: 1;
  position: relative;

  min-height: max(750px, calc(100vh - 350px));
}

.price-labels {
  position: absolute;
  left: 0;
  top: 50px;
  width: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100% - 100px);
  padding-left: 10px;
}

.price-labels div {
  font-size: 18px;
  transform: translateY(-50%);

  font-family: "Inter", Helvetica;
  font-weight: 500;
}

.price-labels sub {
  vertical-align: sub;
}

.price-labels div:first-child {
  margin-top: -25px;

  font-family: "Bangers", Helvetica;
  font-weight: 400;
  font-size: 32px;
}

.race .arrows-container {
  position: absolute;
  top: 0;
  right: 0;
  left: 160px;
  height: 100%;

  border-left: #000 12px solid;
  border-bottom: #000 11px solid;
}

.race .arrows-container::before {
  content: "";
  position: absolute;
  top: 3px;
  left: -8px;
  width: 100%;
  height: 100%;

  border-left: #ed3a23 4px solid;
  border-bottom: #ed3a23 5px solid;
}

.race .arrows-container .arrow-up {
  /* position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px; */

  transform: scale(1.7) translateX(-14%) translateY(10px);
  position: absolute;
  top: -60px;
  left: -30px;
  width: 60px;
  height: 60px;
}

.race .arrows-container .arrow-right {
  /* position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px; */

  transform: scale(1.7) translateY(-3%) translateX(-10px) rotate(90deg);
  position: absolute;
  bottom: -30px;
  right: -60px;
  width: 60px;
  height: 60px;
}




.finish-line {
  position: absolute;
  top: 0;

  left: 200px;
  right: 50%;

  height: 80px;
  /* background-color: red; */
  background-size: contain;
  background-repeat: repeat-x;
  background-position: center;
  background-image: url("../img/03_f.svg");
}

.finish-line .finish-line-text {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Bangers", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 32px;
  letter-spacing: 0.64px;
  line-height: 38px;
}

.track {
  position: absolute;
  top: 100px;
  bottom: 50px;

  left: 200px;
  right: 50%;

  display: flex;
  justify-content: space-between;

  border-left: #000 10px dashed;
}

.lane {
  width: 25%;
  position: relative;

  border-right: #000 10px dashed;
}

@media (max-width: 768px) {
  .race {
    padding: 80px 16px;
  }

  .race .arrows-container {
    transform: translateX(-28px);
  }

  .track {
    border-left: #000 4px dashed;
  }

  .lane {
    border-right: #000 4px dashed;
  }
}

.car {
  position: absolute;
  bottom: 0;
  width: 50%;
  height: auto;

  transition: bottom 1s;

  left: 50%;
  transform: translateX(-50%);
}

.green {
  bottom: 0;
}

.blue {
  bottom: 0;
}

.red {
  bottom: 0;
}

.lightblue {
  bottom: 0;
}


.race2 {
  position: absolute;
  top: 0;
  bottom: 50px;

  /* left: calc(200px + 50%); */
  right: 0;

  width: calc(50% - 100px);

  display: flex;
  justify-content: center;
  align-items: center;
}





.race2-wrapper {
  position: relative;
  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;

  transform: scale(0.9);
}

.race2-base-img {
  /* position: absolute; */
  /* top: 0; */
  /* left: 0; */
  max-width: 100%;
  max-height: 100%;
  /* object-fit: contain; */
  /* object-position: left; */
}

.race2-burn-wrapper {
  position: absolute;
  bottom: -5%;
  right: 12%;
  width: 40%;
  height: 40%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("../img/03_l_burn.svg");
}

.race2-burn-wrapper .burn-text {
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Bangers", Helvetica;
  font-weight: 400;
  color: #ED3A23;
  font-size: 62px;
  letter-spacing: 0.64px;
  line-height: 38px;
}

.race2-burn-wrapper .burn-text-value {
  position: absolute;
  top: 56%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Bangers", Helvetica;
  font-weight: 400;
  color: #ED3A23;
  font-size: 62px;
  letter-spacing: 0.64px;
  line-height: 38px;
}

.race2-lap-wrapper {
  position: absolute;
  top: -5%;
  right: 12%;
  width: 40%;
  height: 40%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("../img/03_l.svg");

  display: flex;
  justify-content: center;
  align-items: center;
}

.race2-lap-arrow {
  width: 19%;
  height: 20%;
  margin-bottom: 12%;
  margin-left: 2%;

  transform: rotate(250deg) translate(0, -28%);
}

.race2-lap-arrow.lap2 {
  transform: rotate(300deg) translate(0, -28%);
}

.race2-lap-arrow.lap3 {
  transform: rotate(356deg) translate(0, -12%);
}

.race2-lap-arrow.lap4 {
  transform: rotate(390deg) translate(15%, 0%);
}

.race2-lap-wrapper .lap-text {
  position: absolute;
  top: 64%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Bangers", Helvetica;
  font-weight: 400;
  color: #ED3A23;
  font-size: 62px;
  letter-spacing: 0.64px;
  text-align: center;
}

.race2-wrapper .button {
  position: absolute;
  /* background-color: red; */
  background-color: transparent;
  cursor: pointer;

  border: none;

  width: 10%;
  height: 9%;
  border-radius: 100%;
}

.race2-wrapper .ellipse {
  position: absolute;
  width: 2%;
  height: 2%;
  background-color: #ed3a23;
  border-radius: 100%;
  border: 2px solid;
  border-color: #000000;
}

.race2-wrapper .dot-text {
  position: absolute;
  font-family: "Inter", Helvetica;
  font-weight: 600;
  color: #000000;
  font-size: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.race2-wrapper .dot-text .value {
  line-height: 1;
}

.race2-wrapper .el1 {
  top: 39%;
  left: 24%;
}

.race2-wrapper .dot-text1 {
  top: 38.5%;
  left: 29%;
}

.race2-wrapper .el2 {
  top: 47%;
  left: 22%;
}

.race2-wrapper .dot-text2 {
  top: 46.5%;
  left: 27%;
}

.race2-wrapper .el3 {
  top: 55%;
  left: 24%;
}

.race2-wrapper .dot-text3 {
  top: 54.5%;
  left: 29%;
}

.race2-wrapper .button:hover {
  background-color: transparent;
}

.race2-wrapper .btn1 {
  top: 30%;
  left: 4%;
}

.race2-wrapper .btn2 {
  top: 40.5%;
  left: 0.4%;
}

.race2-wrapper .btn3 {
  top: 51.5%;
  left: 0.4%;
}

.race2-wrapper .btn4 {
  top: 62%;
  left: 4.6%;
}

.race2-wrapper .btn-all {
  width: 25%;
  height: 22%;

  top: 39%;
  left: 69.6%;
}

.race3 {
  position: relative;
  display: none;
  margin-top: 50px;
}

.race3 .button {
  position: absolute;
  /* background-color: red; */
  background-color: transparent;
  cursor: pointer;

  border: none;

  width: 10%;
  height: 9%;
  border-radius: 100%;
}

.race3 .ellipse {
  position: absolute;
  width: 2%;
  height: 2%;
  background-color: #ed3a23;
  border-radius: 100%;
  border: 2px solid;
  border-color: #000000;
}

.race3 .dot-text {
  position: absolute;
  font-family: "Inter", Helvetica;
  font-weight: 600;
  color: #000000;
  font-size: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.race3 .dot-text .value {
  line-height: 1;
}

.race3 .el1 {
  top: 39%;
  left: 24%;
}

.race3 .dot-text1 {
  top: 38.5%;
  left: 29%;
}

.race3 .el2 {
  top: 47%;
  left: 22%;
}

.race3 .dot-text2 {
  top: 46.5%;
  left: 27%;
}

.race3 .el3 {
  top: 55%;
  left: 24%;
}

.race3 .dot-text3 {
  top: 54.5%;
  left: 29%;
}

.race3 .button:hover {
  background-color: transparent;
}

.race3 .btn1 {
  top: 30%;
  left: 4%;
}

.race3 .btn2 {
  top: 40.5%;
  left: 0.4%;
}

.race3 .btn3 {
  top: 51.5%;
  left: 0.4%;
}

.race3 .btn4 {
  top: 62%;
  left: 4.6%;
}

.race3 .btn-all {
  width: 25%;
  height: 22%;
  top: 39%;
  left: 69.6%;
}

@media (orientation: portrait) {
  .race2 {
    display: none;
  }

  .finish-line {
    right: 0;
  }

  .track {
    right: 0;
  }

  .race3 {
    display: flex;
  }

  .race .container {
    min-height: max(750px, calc(70vh - 350px));
  }
}
