/* footer */
.footer {
  padding: 120px 10% 0 10%;
  background-color: black;
}

/* footer brand */
.footer-brand-container {
  display: grid;
  justify-content: center;
}
.footer-brand-container img {
  height: 30px;
  width: auto;
}

/* footer grid */
.footer-grid {
  margin-top: 120px;

  display: grid;
  grid-template-columns: repeat(5, auto);
  grid-template-areas: "a b c d e";
  gap: 30px;
}

/* footer box */
.footer-box {
  display: grid;
  align-content: flex-start;
  justify-items: flex-start;
}

/* footer box area name */
.footer-box:nth-child(1) {
  grid-area: a;
}
.footer-box:nth-child(2) {
  grid-area: b;
}
.footer-box:nth-child(3) {
  grid-area: c;
}
.footer-box:nth-child(4) {
  grid-area: d;
}
.footer-box:nth-child(5) {
  grid-area: e;
}

/* footer fonts */

.footer-grid h5{
  font-size: 1.15rem;
}
.footer-grid a,
.footer-grid p {
  font-family: "Red Hat Display";
  /* display: block; */
  font-size: 16px;
  color: #acacac;
  font-weight: 600;
}
.footer-grid a:hover {
  color: white;
  font-weight: 700;
}

.footer-contact a,
.footer-contact p {
  margin-bottom: 9px;
}

.footer-contact p:last-child {
  margin-bottom: 0;
}

/* footer socials */
.footer-icons {
  display: grid;
  grid-template-columns: repeat(7, auto);
  justify-content: center;
  gap: 16px;
  margin-top: 120px;
}
.footer-icons a {
  font-size: 1em;
}


/* title links hover */
.footer-grid a h5 {
  color: white;
  transition: all 0.3s;
}
.footer-grid a:hover h5 {
  color: #acacac;
}

/* footer bottom */
.footer-bottom {
  /* background-color: #0d0d0d; */
  display: grid;
  justify-items: center;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 30px;
}
.footer-bottom img {
  height: 20px;
  width: auto;
  margin-bottom: 30px;
}
.footer-bottom p {
  font-size: 12px;
  /* text-transform: uppercase; */
  margin-bottom: 0;
}

/* footer margins */
.footer-mt {
  margin-top: 30px;
}
.footer-mr {
  margin-right: 3rem;
}

/* ---------- MEDIA QUERIES ---------- */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(3, auto);
    grid-template-areas:
      "a b d"
      "a c e";
  }
}

@media (max-width: 992px) {
  .footer {
    padding: 80px 5% 0 5%;
  }
  .footer-mr {
    margin-right: 1rem;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 80px 10% 0 10%;
  }
  .footer-grid {
    grid-template-columns: repeat(2, auto);
    grid-template-areas:
      "a b"
      "a d"
      "a c"
      "a e";
  }
  .footer-icons {
    margin-top: 100px;
  }
  .footer-mr {
    margin-right: 0;
  }
}
@media (max-width: 600px) {
  .footer {
    padding: 80px 10% 0 10%;
  }
  .footer-grid {
    grid-template-columns: repeat(1, auto);
    grid-template-areas:
      "a"
      "b"
      "d"
      "c"
      "e";
  }
}
@media (max-width: 470px) {
  .footer-icons {
    margin-top: 80px;
  }
  .footer-icons a {
    font-size: 0.6em;
  }
  .footer-icons .jbtn-icon {
    width: 25px;
    height: 25px;
  }
}
@media (max-width: 340px) {
  .footer-icons {
    gap: 10px;
  }
}
@media (max-width: 300px) {
  .footer-icons {
    gap: 8px;
  }
  .footer-grid a,
  .footer-grid p {
    font-size: 14px;
  }
}
@media (max-width: 280px) {
  .footer-icons {
    gap: 6px;
  }
  .footer-icons a {
    font-size: 0.5em;
  }
  .footer-icons .jbtn-icon {
    width: 20px;
    height: 20px;
  }
}
