footer {
  font-family: 'Inter', sans-serif;
  color: #212121;
  font-size: 16px;
  background-color: #edf3f5;
	background-image: url('../assets/bg/footer-side-desktop.png'), url('../assets/bg/footer-desktop.png');
	background-repeat: no-repeat, repeat-x;
	background-position: top right, top;
	background-size: auto 572px, auto, 40px;
	padding: 108px 76px 100px 76px;
	font-size: 14px;
	letter-spacing: -0.15px;
	color: #212121;
}

footer .hide {
  display: none!important;
}

footer * {
  box-sizing: border-box;
}
footer button {
  border: 0;
  background: transparent;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

footer .logo {
  display: inline-block;
  margin-bottom: 90px;
  width: 231px;
  width: 375px;
  /* @media (max-width: 1023px) {
    width: 231px;
    margin-bottom: 70px;
  } */
}
footer h2, footer p, footer li {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6666666667;
  margin: 3px 0;
}
footer a {
  color: #212121;
}
footer .flex {
  display: flex;
  column-gap: 30px;
}
footer .flex > div {
  width: 310px;
}
footer .flex2 {
  display: flex;
  column-gap: 50px;
}
footer .flex3 {
  display: flex;
  column-gap: 33px;
  padding-top: 52px;
}
footer .flex3 a {
  display: inline-block;
  border: 1px dotted transparent;
}
footer .flex3 a img {
  display: block;
}
footer .flex3 a:hover {
  border-color: black;
}
footer ul {
  margin: 0;
  list-style: none;
  padding: 0;
}
footer a:hover {
  text-decoration: none;
}
footer .pb-40px {
  padding-bottom: 30px;
}

.btn-back-to-top {
  position: fixed;
  right: 0;
  bottom: 50px;
  bottom: 5%;
  right: 2%;
	visibility: hidden;
	opacity: 0;
	transition: 0.1s ease-in-out;
  font-size: 18px;
  line-height: 1.6666666667;
  letter-spacing: -0.18px;
  font-weight: 700;
  color: #0E4C90;
  display: flex;
  align-items: center;
  gap: 8px;
  &.active {
    visibility: visible;
    opacity: 1;
  }
  &:after {
    background-image: url('../assets/icons/icon-arrow-circle.svg');
    background-repeat: no-repeat;
    background-size: 22px;
    content: '';
    width: 22px;
    height: 22px;
    display: inline-block;
    transform: rotate(-90deg);
    border: 1px dotted transparent;
  }
  &:hover {
    text-decoration: underline;
  }
}

footer .btn-back-to-top.active {
  visibility: visible;
  opacity: 1;
}

footer.btn-back-to-top:after {
  background-image: url('../assets/icons/icon-arrow-circle.svg');
  background-repeat: no-repeat;
  background-size: 22px;
  content: '';
  width: 22px;
  height: 22px;
  display: inline-block;
  transform: rotate(-90deg);
  border: 1px dotted transparent;
}

footer.btn-back-to-top:hover {
  text-decoration: underline;
}

@media (max-width: 1023.9px) {
  footer {
    padding: 80px 20px;
    background-image: url('../assets/bg/footer-desktop.png');
    background-repeat: repeat-x;
    background-position: top;
    background-size: auto, 40px;
  }
  footer .mobile-invisible {
    visibility: hidden;
  }
  footer .mobile-hidden {
    display: none;
  }
  footer .flex {
    flex-direction: column;
    row-gap: 30px;
  }
  footer .logo {
    width: 231px;
    margin-bottom: 70px;
  }
}

@media (max-width: 767.9px) {
  footer .btn-back-to-top {
    right: 20px;
  }
  footer .btn-back-to-top span {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    border: 0;
  }
  footer .btn-back-to-top:after {
    width: 32px;
    height: 32px;
    background-size: 32px;

  }
  footer .btn-back-to-top:hover:after {
    border-color: #0E4C90;
  }
}

@media (min-width: 1024px) {
  footer .desktop-hidden {
    display: none;
  }
  footer .desktop-invisible {
    visibility: hidden;
  }
}
