@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
*,
body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: "Lato", serif;
}

img {
  -webkit-user-drag: none;
  user-drag: none;
}

.tesla_button {
  text-decoration: none;
  width: 100%;
  height: 2.5rem;
  margin: 0 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.3rem;
  font-weight: 500;
  background-color: #3e6ae1;
  color: white;
  cursor: pointer;
}

.warning-box {
  background: #ffcccc;
  color: #d8000c;
  border: 1px solid #d8000c;
  padding: 20px;
  border-radius: 8px;
  display: inline-block;
  width: 100%;
  text-align: center;
}

input[type=checkbox] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 23px !important;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  cursor: pointer;
}

input[type=checkbox]:checked::before {
  content: "✓";
  position: absolute;
  bottom: 0px;
  left: 5px;
  font-size: 12px;
  color: #171a20;
  font-weight: 600;
}

.learnMoreBtn {
  margin-top: 2rem;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  color: #393c41;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1.5rem;
  outline: none;
  border: none;
  text-align: center;
  line-height: 1rem;
  cursor: pointer;
}

.activeItem {
  outline: 2px solid #9caed3;
  outline-offset: 0.3rem;
  border-radius: 50%;
  box-shadow: 0 0 10px 5px rgba(32, 25, 25, 0.445);
}

.scrolling-text {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  animation: scroll 20s linear infinite;
  background-color: yellow;
  padding: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.15rem;
  font-family: "Inter", sans-serif !important;
}
.scrolling-textContainer {
  background-color: yellow;
}

@keyframes scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.autoDriveSection {
  position: relative;
  padding-bottom: 2rem;
}

.autoDriveSectionVideo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  /* Ensures the video covers the screen without distortion */
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0.4;
}

.autoDriveSectionTitle {
  position: relative;
  text-align: left;
  padding: 2rem;
  padding-bottom: 1rem;
  font-size: 2.5rem;
  color: black;
}
.autoDriveSectionTitle::before {
  content: "";
  position: absolute;
  background-color: rgb(88, 81, 81);
  height: 60%;
  width: 0.8rem;
  left: -1px;
  margin-left: 1rem;
}
.autoDriveSectionTitle span {
  display: block;
}
.autoDriveSectionTitle span:nth-child(2) {
  margin-left: 2rem;
  font-size: 1.1rem;
}
@media screen and (max-width: 473px) {
  .autoDriveSectionTitle {
    font-size: 2rem;
  }
  .autoDriveSectionTitle span:nth-child(2) {
    font-size: 1rem;
  }
}

.autoDriveContainer {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 980px) {
  .autoDriveContainer {
    flex-direction: column-reverse;
    margin: 0 auto;
  }
}

.autoDriveContainer .textContent {
  max-width: 35rem;
  font-size: 1rem;
  padding: 3rem;
}
@media screen and (max-width: 980px) {
  .autoDriveContainer .textContent {
    padding: 1rem;
    text-align: center;
  }
}

.autoDriveVideoContainer {
  width: 100%;
  max-width: 35rem;
  padding: 2rem;
}
.autoDriveVideoContainer video {
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  border-radius: 7px;
}
@media screen and (max-width: 980px) {
  .autoDriveVideoContainer video {
    width: 100%;
  }
}/*# sourceMappingURL=autoDriveSection.css.map */