@import url(/utilites.css);
*,
body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  padding-bottom: 2rem;
}

.tesla_header {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100dvh;
}

.header_container {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: auto;
  padding: 1rem;
  border-radius: 1rem;
  background-color: rgb(245, 241, 241);
  min-height: 90dvh !important;
  max-width: 95%;
}
.header_container * {
  z-index: 1;
}

.header_video {
  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%);
  border-radius: 1rem;
  opacity: 0.3;
  /* Push the video to the background */
}

.tesla_header_img_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.tesla_header_img_container h1 {
  text-align: center;
  font-size: 2.3rem;
  color: rgb(70, 67, 67);
  font-weight: 600;
}
.tesla_header_img_container img {
  width: 100%;
}

.tesla_header_content_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 80%;
}
.tesla_header_content_container h1 {
  color: #3e6ae1;
  font-size: 2.3rem;
  font-weight: bold;
  width: -moz-fit-content;
  width: fit-content;
}
.tesla_header_content_container p {
  width: 80%;
  text-align: center;
  margin-top: 0.8rem;
  color: rgb(70, 67, 67);
}
.tesla_header_content_container .header_content_buttons {
  width: 28rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 1rem;
}
.tesla_header_content_container .header_content_buttons a {
  text-decoration: none;
  display: block;
  width: 100%;
  height: 2.5rem;
  margin: 0 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.3rem;
  font-weight: 500;
}
.tesla_header_content_container a:nth-child(1) {
  background-color: #3e6ae1;
  color: white;
}
.tesla_header_content_container a:nth-child(2) {
  background-color: white;
  color: #3e6ae1;
}

.sociaMedia {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
}
.sociaMedia span {
  display: flex;
}
.sociaMedia span img {
  width: 1.5rem;
  margin: 0 0.5rem;
  opacity: 0.7;
}

@media screen and (max-width: 1205px) {
  .tesla_header_content_container h1 {
    text-align: center;
  }
}
@media screen and (max-width: 1000px) {
  .tesla_header_img_container img {
    min-width: 30rem;
  }
  .tesla_header_content_container .header_content_buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
  .tesla_header_content_container .header_content_buttons a {
    margin-top: 0.5rem;
  }
}
@media screen and (max-width: 932px) {
  .header_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .tesla_header_img_container img {
    width: 100%;
    max-width: 25rem;
    min-width: auto;
    height: 100%;
  }
  .tesla_header_img_container h1 {
    display: none;
  }
  .tesla_header_content_container {
    width: 100%;
  }
  .tesla_header_content_container p {
    width: 100%;
  }
  .sociaMedia {
    position: unset;
    margin: 1rem;
  }
}/*# sourceMappingURL=tesla_header.css.map */