@import "./shared.css";

/* start header image */
.header-image {
  background-image: url(../images/covers/kontakt-header.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 533px;
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}
.header-image::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}
.header-image .text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  color: white;
}
.header-image h6 {
  margin-bottom: 10px;
}

@media only screen and (max-width: 991px) {
  .header-image {
    height: 350px;
  }
}
/* end header image ---------------------------------*/

/* start title section */
.title_wrapper {
  margin-top: 100px;
  margin-bottom: 50px;
}

.title_box {
  margin-bottom: 80px;
}

.title_box .hint1 {
  color: var(--textActionColor);
  margin-bottom: 10px;
}

.title_box h3 {
  color: var(--textMainColor);
}

.title_box .hint2 {
  color: var(--textSecondaryColor);
  margin-top: 10px;
  margin-bottom: 70px;
  font-size: 16px;
}

/* end title section */

/* start contacts_wrapper section */
.contacts_wrapper {
  margin-bottom: 100px;
}

.contacts_wrapper .contact_card {
  padding: 40px 20px;
  min-height: 260px;
  color: #fff;
  text-align: center;
  border-radius: 20px;
  background: var(--mainColor);
}

.contacts_wrapper .contact_card i {
  font-size: 40px;
  margin-bottom: 20px;
}

.contacts_wrapper .contact_card h5 {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: capitalize;
  margin: 0 0px 20px;
}

.contacts_wrapper .contact_card p {
  margin-bottom: 0;
}

/* start responsive edit (tablet) */
@media (min-width: 768px) and (max-width: 991px) {
  .contacts_wrapper .row {
    justify-content: center;
  }
}

@media screen and (max-width: 991px) {
  .contacts_wrapper .contact_card {
    margin-bottom: 40px;
  }
}
/* end contacts_wrapper section */

/* start 'map_form_wrapper' section */
.map_form_wrapper {
  margin-bottom: 0;
}

.map_form_wrapper .left_part {
  padding-bottom: 50px;
}

.map_form_wrapper .left_part {
  background: var(--secondaryColor);
}

.map_form_wrapper .left_part form .form-control {
  border: 1px solid #e3e7ec;
  height: 45px;
  border-radius: 5px;
  color: var(--textMainColor);
}

.map_form_wrapper .left_part form textarea {
  width: 100%;
  height: 200px !important;
  resize: none;
}

.map_form_wrapper .left_part form textarea:focus {
  outline: 0;
}

.map_form_wrapper .right_part {
  min-height: 400px;
}

/* end 'map_form_wrapper' section */

/* start logos section */
.tesla_car {
  display: flex;
  justify-content: center;
  height: 200px;
  margin-bottom: 50px;
  margin-top: 50px;
}

.tesla_car img {
  max-width: 100%;
}

.logos-box .logos {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
}

.logos-box .logos img {
  width: 60px;
  height: 60px;
  margin: 0 30px 30px;
}

.logos-box .primary-button {
  margin: 15px auto 100px;
}

@media screen and (max-width: 767px) {
  .tesla_car img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
  }
}
/* end logos section ------------------------------------------*/
