@font-face {
  font-family: "Mestre Heading";
  src: url("./assets/fonts/Mestre-Hairline.woff") format("woff"),
    url("./assets/fonts/Mestre-Hairline.woff2") format("woff2");
}

@font-face {
  font-family: "Mestre Body";
  src: url("./assets/fonts/Mestre-Regular.woff") format("woff");
}

html,
body {
  height: 100%;
  margin: 0;
  background-color: #002c5d;
  font-size: 10px;
}

.container {
  height: 100%;
  background-image: url("./assets/AVR089.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.row {
  margin: 10%;
}

.text-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  row-gap: 6rem;
}

.v2v-logo {
  margin-left: 9em;
}

.animate__animated.animate__pulse {
  --animate-duration: 2s;
  --animate-infinite: infinte;
}

.v2v-intro {
  max-width: 60%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  column-gap: 2rem;
}
.heading {
  display: flex;
  flex-direction: row;
}
.text h2 {
  font-family: "Mestre Heading";
  color: white;
  font-size: 4rem;
  letter-spacing: 2px;
}

.text {
  padding-left: 12rem;
}
.text p {
  color: white;
  font-family: "Mestre Body";
  font-size: 3rem;
  letter-spacing: 2px;
}

.text p:last-child {
  font-size: 2rem;
}

@media screen and (max-width: 768px) {
  .v2v-intro {
    max-width: 100%;
  }
}

@media only screen and (max-width: 481px) {
  .v2v-logo {
    margin-left: 0;
    transform: scale(0.8);
    display: flex;
    justify-content: center;
  }
  .v2v-intro {
    max-width: 100%;
  }
  .heading img {
    transform: scale(0.7);
    object-fit: contain;
  }

  .v2v-intro .text {
    display: flex;
    flex-direction: column;
  }

  .text {
    padding-left: 0;
  }

  .text h2 {
    font-size: 3rem;
  }

  .text p {
    font-size: 2rem;
  }
}
