footer {
  background: #003a9d;

  ul {
    list-style-type: none;
  }
}

.footer-inner {
  padding: 5rem 0 3rem 0;
}

.footer-link-text {
  text-decoration: none;
  color: #fff;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.footer-link-title {
  padding-bottom: 3.2rem;
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
}

.footer-link-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.7rem;

  li {
    display: flex;
    align-items: center;
  }
}

.footer-link-img {
  min-width: 1.8rem;
  min-height: 1.2rem;
  max-width: 1.8rem;
  max-height: 1.2rem;
  width: 1.8rem;
  height: 1.2rem;

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.footer-link-text {
  font-size: 1.6rem;
  margin-left: 1rem;
  font-weight: normal;
}
h6.footer-link-text {
  margin: 0;
}

.footer-middle {
  display: grid;
  grid-template-columns: 1fr;
  margin: 4rem 0 0 0;

  &::after {
    display: block;
    content: "";
    border: none;
    border-top: 0.1rem solid rgba(255, 255, 255, 0.644);
    margin: 3rem 0 6rem 0;
  }
}

.footer-middle-link {
  display: flex;
  font-size: 1.6rem;
  color: #fff;
  text-decoration: underline;
  justify-self: center;
}

.footer-bottom {
  display: flex;
  gap: 4rem;
  align-items: center;
  justify-content: space-around;

  h4 {
    font-size: 1.6rem;
    color: #fff;
    font-weight: normal;
  }

  a {
    font-size: 1.6rem;
    width: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    color: #fff;
    border: 0.1rem solid #fff;
  }
}

@media screen and (max-width: 1360px) {
  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
  .footer-link-title {
    font-size: 2rem;
  }
  .footer-link-text {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 1000px) {
  .footer-bottom {
    flex-direction: column;

    a {
      width: 100%;
    }
  }
}
@media screen and (max-width: 900px) {
  .footer-links {
    grid-template-columns: 1fr;
    gap: 5rem;
  }
  .footer-link-title {
    font-size: 1.8rem;
  }
  .footer-link-text {
    font-size: 1.6rem;
  }
}

@media screen and (max-width: 700px) {
  .footer-links {
    grid-template-columns: 1fr;
    gap: 5rem;
  }
  .footer-link-title {
    font-size: 1.6rem;
  }
  .footer-link-text {
    font-size: 1.4rem;
  }
  .footer-middle-link {
    font-size: 1.4rem;
  }
  .footer-bottom {
    h4 {
      font-size: 1.4rem;
    }
  }
}
