/* ==========================================================
   FOOTER
   ========================================================== */

.footer{
  width: 100%;
  height: auto;
  background-color: #ff3b1f;
  display: flex;

  flex-direction: column;
  align-items: center;
}

.topFooter{
  width: 95%;
  display: flex;
  margin-top: 20vh;
  border: solid 1px #f0ece2;
}

.footerOne{
  width: 100%;
  padding: 2rem;
  border-right: solid 1px #f0ece2;
  padding-bottom: 20vh;
}

.footerOne h3{
  font-family: 'font1medium';
  color: #f0ece2;
  line-height: 1;
  font-size: 3rem;
  width: 80%;
}
.footerOne p{
  font-family: 'font1regular';
  color: #f0ece2;
  line-height: 1.2;
  font-size: 1rem;
  width: 70%;
  margin-top: 5vh;
}

.footerTwo{
  width: 100%;
  padding: 2rem;
  border-right: solid 1px #f0ece2;
}

.footerThree{
  width: 100%;
  padding: 2rem;
  border-right: solid 1px #f0ece2;
}
.links h3{
  font-family: 'font1medium';
  font-size: 1.5rem;
  color: #f0ece2;

}
.linksTag{
  margin-top: 5vh;
}
.link{
  font-family: 'poppins';
  font-size: 1rem;
  font-weight: 400;
  color: #f0ece2;
  text-decoration: none;
}
.link i{
  padding-left: 0.5vw;
  font-size: 0.5rem;
}
.bottomFooter{
  margin-top:5vh;
  padding-left: 2vw;
  padding-right: 2vw;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 10vh;
}
.bottomFooter img {
  width: 10rem;
}
.bottomFooter p{
  font-family: 'font1bold';
  font-size: 15vw;   /* was set by JS (15% of viewport width) – now plain CSS */
  color: #f7f7eabf;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

  .topFooter {
    flex-wrap: wrap;
    margin-top: 14vh;
  }

  /* tagline on its own row, Links + Contact side by side below it */
  .footerOne {
    flex: 1 1 100%;
    width: 100%;
    border-right: none;
    border-bottom: solid 1px #f0ece2;
    padding-bottom: 3rem;
  }

  .footerTwo,
  .footerThree {
    flex: 1 1 50%;
    width: auto;
    min-width: 0;
  }

  .footerThree {
    border-right: none;
  }

  .footerOne h3 {
    width: 100%;
    max-width: 14em;
    font-size: clamp(2.2rem, 6.4vw, 3rem);
  }

  .footerOne p {
    width: 100%;
    max-width: 30rem;
    margin-top: 3vh;
  }

  .link {
    overflow-wrap: anywhere;
  }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

  .topFooter {
    flex-direction: column;
    margin-top: 12vh;
  }

  .footerOne,
  .footerTwo,
  .footerThree {
    flex: none;
    width: 100%;
    border-right: none;
    border-bottom: solid 1px #f0ece2;
  }

  .footerThree {
    border-bottom: none;
  }

  .footerOne {
    padding-bottom: 3rem;
  }

  .footerOne h3 {
    font-size: 2rem;
  }

  .footerOne p {
    width: 100%;
    font-size: 0.9rem;
  }

  .links h3 {
    font-size: 1.3rem;
  }

  .bottomFooter p {
    font-size: 18vw;
  }
}
