.footer {
  color: var(--component-footer-color);
  background-color: var(--component-footer-background-color);
  width: 100%;
  margin-top: auto;
  padding: 0 2rem 1rem;
  font-weight: 500;
  font-size: var(--font-size-normal);
  line-height: 1.1875rem;

  .ant-row-space-between {
    padding-top: 12px;
  }

  #footer-label {
    text-align: start;
  }

  #footer-links {
    text-align: end;

    .ant-space-align-center {
      align-items: flex-start;
    }
  }

  .footer-link,
  .footer-language-selector,
  #copyrights {
    font-family: var(--font-family-1-name);
    font-size: var(--font-size-sm);
  }
}

.ant-select .ant-select-selection-item {
  font-weight: 500;
}

.footer-link:hover {
  color: var(--component-footer-hover-color);
}

@media screen and (max-width: 769px) {
  .footer #footer-links {
    text-align: center;
  }
}

@media screen and (max-width: 575px) {
  .container {
    .footer {
      position: relative !important;
      padding: 0 1rem 1rem;

      #copyrights {
        font-size: var(--font-size-xs);
      }
    }

    #footer-label {
      text-align: center !important;
      font-size: var(--font-size-xs);
      margin-top: 16px;
      margin-bottom: 11px;
    }

    #footer-links {
      text-align: center !important;

      .footer-link {
        font-size: var(--font-size-xs);
      }

      .footer-space {
        gap: 10px !important;

        .ant-space-item {
          flex-basis: 0;
          flex-grow: 1;
        }
      }
    }
  }

  footer.footer .footer-links-row {
    justify-content: center;
  }
}

#footer-row .footer-links-row {
  .footer-language-selector {
    border-left: 0.8px;
    border-right: 0.8px;
  }
  .footer-language-selector,
  .ant-select-suffix {
    color: var(--color-primary-1);
  }

  .ant-select-focused.footer-language-selector
    :not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer)
    .ant-select-selector {
    border-color: var(--color-primary-1);
    box-shadow: 0 0 0 2px var(--color-primary-4);
    outline: 0;
  }
}

.footer-links-row {
  justify-content: end;
  align-items: baseline;
  gap: 40px;

  .footer-language-selector .ant-select-content {
    background: none;
    border: none;
  }

  .footer-language-selector .ant-select-focused .ant-select-open {
    border: none;
  }
}

@media only screen and (max-width: 1000px) {
  .footer-links-row {
    justify-content: space-around;
    gap: 10px;
  }
}


