/**
 * @file
 * The footer components.
 *
 * It includes styles for the footer itself and its
 * components.
 */

/**
 * Global footer rules
 */

.main__footer {
  margin-top: auto;
  background-color: var(--color-primary--clear);
}

.block-itep-footercontact {
  text-align: center;
}

.region-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 0 0rem 0;
}

.region-footer .menu {
  margin: 0;
  font-weight: 500;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.region-footer a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
.region-footer a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0px;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.region-footer a:hover::after,
.region-footer a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}
.region-footer a:hover {
  text-decoration: none;
}

@media all and (min-width: 1000px) {
  .region-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: unset;
    padding: 3rem 0 1rem 0;
  }
  .region-footer .menu {
    text-align: unset;
    gap: 1rem;
    margin-top: 0rem;
  }
}


