footer {
  width: 100%;
  height: auto;

  background-color: var(--white);
  border-top: 2px solid var(--red);
}

.footer-container {
  display: flex;
  padding: 2rem 1rem;

  font-style: normal;
  word-break: break-word;
}

@media (max-width: 942px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
  }
}

.footer-container a {
  font-weight: bold;

  transition: color 200ms ease-in-out;
}

.footer-container p:hover a {
  color: var(--red);

  transition: color 200ms ease-in-out;
}

.footer-container p {
  padding: 0.5rem 0;

  font-weight: 600;
}

@media (max-width: 942px) {
  .footer-container p {
    font-size: 0.875rem;
  }
}

.footer-item1 {
  flex: 1;
}

.footer-item1 iframe {
  width: 100%;
  max-width: 650px;
  height: 300px;

  border: none;
  border-radius: 10px;
}

@media (max-width: 632px) {
  .footer-item1 iframe {
    max-width: 380px;
  }
}

.footer-item2 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

@media (max-width: 942px) {
  .footer-item1,
  .footer-item2 {
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 420px;
  }
}

@media (max-width: 632px) {
  .footer-item1 {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.footer-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-icon::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;

  border: 2px solid var(--black);
  border-radius: 5px;
}

.location::before {
  background: url('../img/icons/location.svg') center no-repeat;
}

.email::before {
  background: url('../img/icons/mail.svg') center no-repeat;
}

.phone::before {
  background: url('../img/icons/phone.svg') center no-repeat;
}

.fax::before {
  background: url('../img/icons/fax.svg') center no-repeat;
}

.instagram::before {
  background: url('../img/icons/instagram.svg') center no-repeat;
}

@media (max-width: 942px) {
  .footer-icon::before {
    width: 20px;
    height: 20px;
  }

  .location::before,
  .email::before,
  .phone::before,
  .fax::before,
  .instagram::before {
    background-size: 20px;
  }
}
