/* background-color: rgb(42, 123, 255);
background-color: rgb(255, 255, 255); */

.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 87vh;
  position: relative;
  overflow: hidden;
}
.header-container::before {
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background: url("../images/ford-transit.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  filter: brightness(50%);
  overflow: hidden;
}

.header-info-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: auto;
  width: 85%;
  position: relative;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.493);
  color: rgb(255, 255, 255);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.info-element1 {
  grid-column: 1/4;
  font-size: 25px;
  height: auto;
}
.info-element1 > h1 {
  margin-bottom: 0;
  margin-top: 15px;
}

.h1-span {
  color: rgb(42, 123, 255);
}

.info-element2 {
  grid-column: 1/4;
}
.info-element2 > p {
  margin: auto;
  margin-top: 2%;
  margin-bottom: 2%;
  padding-top: 10px;
  border-top: white solid 1px;
  width: 70%;
  font-size: 16px;
  line-height: 25px;
}
.info-element3 {
  grid-column: 1/4;
  display: flex;
  justify-content: center;
  column-gap: 3%;
  align-items: center;
}

.info-element3 > a {
  text-align: center;
  width: 20%;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 20px;
  padding: 10px;
  width: auto;
  margin-bottom: 2%;
  transition: all 200ms linear;
}

.button-services,
.button-contact {
  color: rgb(255, 255, 255);
  border: solid 2px rgb(255, 255, 255);
  background-color: rgba(0, 0, 0, 0.118);
  box-shadow: 0px 0px 5px 0px rgb(0, 0, 0);
}

.button-services:hover,
.button-contact:hover {
  color: rgb(42, 123, 255);
  border: solid 2px rgb(42, 123, 255);
  background-color: rgba(0, 0, 0, 0.452);
  /* font-size: 21px; */
}

@media (max-width: 700px) {
  .info-element1 {
    font-size: 16px;
  }
  .info-element3 {
    flex-wrap: wrap;
  }
  .info-element3 > a {
    font-size: 18px;
  }
}
