.traffic-banner {
  background-image: url(/img/created/compressed_img/Flagging_3.jpg);
  background-size: cover; /* Adjust to your liking */
  background-position: center; /* Adjust to your liking */
  margin-top: 10px;
  height: calc(75vh - 20px); /* Adjust to your liking */
  display: flex;
  justify-content: center;
  align-items: center;
}

.traffic-banner::before {
  content: "";
  position: absolute;
  margin-top: 10px;
  height: calc(75vh - 20px);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
}

.traffic-banner h2 {
  color: white; /* Set the color of your title */
  font-size: 5.5rem; /* Adjust to your liking */
  text-align: center;
  text-shadow: 2px 2px #000; /* Add a shadow to your title */
  z-index: 1;
}

.traffic-banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 2px 2px 5px #000000;
}

/* --Body of Page-- */

.traffic-title {
  width: 100%;
  padding-top: 4.5rem;
  background-color: #242424;
}

.traffic-about {
  width: 100%;
  padding: 3rem 0;
  background-color: #242424;
}

.traffic-about-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 60px;
}

.traffic-about-img {
  box-shadow: 5px 5px 15px rgba(150, 150, 150, 0.5);
}

.traffic-about-img img {
  width: 30vw;
  height: auto;
}

.traffic-about-text {
  flex-basis: 455px;
}

.traffic h1 {
  font-size: 6rem;
  align-items: center;
  justify-content: left;
}

.traffic-about-text p {
  padding: 20px 0;
}

.traffic-about-text a {
  font-size: 1.8rem;
  display: block;
  background-color: var(--site-color-01);
  padding: 10px 20px;
  width: fit-content;
  border-radius: 10px;
}

.traffic-about-text a:hover {
  background-color: var(--site-color-01-hover);
  transition: ease-in-out 15ms;
}

.flagger-mobile {
  display: none;
}

/* Mobile Version */

@media only screen and (max-width: 600px) {
  .flagger-desktop {
    display: none;
  }

  .flagger-mobile {
    display: block;
  }

  .traffic-banner {
    height: 35vh;
  }

  .traffic-banner h2 {
    font-size: 3.4rem;
    line-height: 1.5;
    color: #fff;
    font-family: Roboto;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    padding-top: 60px;
  }

  .traffic-title h4 {
    font-size: 2.2rem;
    line-height: 1.1;
    color: #fff;
    font-family: Roboto;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
  }

  .traffic-banner::before {
    display: none;
  }

  .traffic-about-flex {
    flex-direction: column;
    column-gap: 20px;
  }

  .traffic-about-img img {
    width: fit-content;
  }
}

/* Tablet Version */

@media only screen and (max-width: 768px) {
  .flagger-desktop {
    display: none;
  }

  .flagger-mobile {
    display: block;
  }

  .traffic-about-img {
    width: fit-content;
  }

  .traffic-about-img img {
    width: 600px;
  }

  .traffic-title h4 {
    font-size: 2.2rem;
    line-height: 1.1;
    color: #fff;
    font-family: Roboto;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
  }
}
