footer {
  margin-top: -1.6rem;
  min-height: 10rem;
  transition: margin-top 0.6s ease-in-out;
  z-index: 3;
  position: relative;
  background-color: #4c75e6;
}
.footer-container {
  background-color: #4c75e6;
  margin: 0 auto;
  padding: 24px 76px;
  max-width: 1768px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo-block {
  display: flex;
  align-items: center;
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  color: #ffffff;
  padding-top: 2px;
}
.footer-logo-block a {
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  color: #ffffff;
}
.footer-logo-block .lion-logo {
  padding-right: 16px;
}
.footer-contacts-block {
  display: flex;
  flex-direction: column;
  padding-left: 35px;
}
.footer-phone {
  text-align: center;
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: #cdfb3e;
  text-decoration: none;
  transition: all 0.7s ease;
  margin: auto;
  margin-bottom: 16px;
}
.footer-phone:hover {
  color: #4c75e6;
  background-color: #cdfb3e;
}
.footer-address {
  text-align: center;
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  max-width: 265px;
  color: #ffffff;
}
.footer-smm-block {
  display: flex;
  padding-top: 19px;
}
.footer__socials-link {
  padding-left: 24px;
  height: 24px;
  margin: 0;
}
.footer__socials-link:hover {
  background-color: #4c75e6;
}
.footer-main {
  padding: 39px 0;
}
.footer-main-container {
  max-width: 1260px;
  min-width: 1146px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-card {
  display: flex;
  flex-direction: column;
  flex-basis: 19%;
}
.footer-card-header {
  display: flex;
  justify-content: space-between;
}
.footer-card-header-name {
  font-family: "Kanit", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 24px;
  line-height: 32px;
  color: #ffffff;
  margin-bottom: 15px;
  max-width: 184px;
}
.footer-card-header-button {
  height: 6px;
  width: 25px;
  border: none;
  outline: none;
  background-color: transparent;
  display: none;
}
.footer-card-header-button img {
  height: 6px;
  width: 10px;
}
.footer-card-body {
  display: flex;
  flex-direction: column;
}
.footer-card-link {
  text-decoration: none;
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 23px;
  color: #cdfb3e;
  transition: all 0.7s ease;
  margin-right: auto;
  margin-top: 5px;
  margin-bottom: 4px;
}
.footer-card-link:hover {
  color: #333;
  background-color: #cdfb3e;
}
.footer-hidden {
  display: none;
  padding-bottom: 22px;
  transition: all 0.7s ease;
  /* margin-bottom: -368px; */
  /* opacity: 0; */
}
.footer-hidden.footer-visible {
  display: flex;
  /* margin-bottom: 0; */
  animation: show 0.7s ease;
  /* opacity: 1; */
  /* transform: translateY(500px); */
}
@keyframes show {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes hide {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}
.footer-bottom {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.footer-collapse-button-block {
  text-align: center;
  padding-top: 7px;
  padding-left: 27px;
}
.footer-collapse-button {
  transition: all 0.7s ease;
}
.footer-collapse-button.opened {
  transform: rotate(180deg);
}
.footer-app-block {
  display: flex;
}
.google-play-store {
  margin-right: 9px;
}
.footer-paysystem-block {
  display: flex;
}
.footer__business-info-cards {
  display: flex;
  margin-left: 25px;
  width: 47px;
}

@media screen and (max-width: 1500px) {
  .footer-container {
    padding: 24px 67px;
  }
  .footer__socials-link {
    padding-left: 32px;
  }
  .footer-contacts-block {
    padding-left: 40px;
  }
  .footer-main-container {
    max-width: initial;
    min-width: initial;
  }
}
@media screen and (max-width: 1279px) {
  .footer-container {
    padding: 24px 52px;
  }
  .footer-logo-block a {
    font-size: 12px;
  }
  .footer-logo-block .lion-logo {
    width: 35px;
    height: 20px;
    padding-right: 11px;
  }
  .footer-contacts-block {
    padding-left: 67px;
  }
  .footer-phone {
    font-size: 14px;
    line-height: 21px;
    margin-bottom: 19px;
  }
  .footer-address {
    font-size: 12px;
    line-height: 18px;
    max-width: 170px;
  }
  .footer-smm-block {
    display: flex;
    padding-top: 0;
    height: 20px;
    margin-right: -5px;
  }
  .footer__socials-link {
    height: 20px;
    padding-left: 17px;
  }
  .footer__socials-link img {
    width: 100%;
  }
  .footer-main {
    padding: 34px 0 30px;
  }
  .footer-card {
    flex-basis: 18%;
  }
  .footer-card-header-name {
    font-size: 14px;
    margin-bottom: 14px;
    max-width: 184px;
  }
  .footer-card-link {
    font-size: 12px;
    margin-top: 9px;
    margin-bottom: 9px;
  }
  .footer-hidden {
    padding-bottom: 30px;
  }
  .google-play-store,
  .app-store-apple {
    width: 70px;
  }

  .footer__business-info-cards {
    width: 32px;
    margin-left: 17px;
  }
  .footer-collapse-button-block {
    padding-top: 3px;
    padding-left: 47px;
  }
  .footer-collapse-button-block img {
    width: 80%;
  }
}
@media screen and (max-width: 799px) {
  .footer-main {
    padding: 47px 0 30px;
  }
  .footer-card {
    flex-basis: 30%;
  }
  .footer-card-link {
    line-height: 14px;
  }
  .footer-card-hidden {
    display: none;
  }
  .footer-top {
    align-items: center;
    flex-direction: column;
  }

  .footer-logo-block {
    justify-content: center;
    padding-top: 4px;
    padding-bottom: 28px;
  }
  .footer-logo-block .lion-logo {
    width: 32px;
    height: 20px;
    padding-right: 11px;
  }
  .footer-contacts-block {
    padding-left: 0;
    text-align: center;
  }
  .footer-phone {
    margin-bottom: 16px;
  }
  .footer-address {
    margin-bottom: 24px;
  }
  .footer__socials-link {
    height: 32px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .footer__socials-link img {
    width: 100%;
    height: 32px;
  }
}
@media screen and (max-width: 499px) {
  .footer-container {
    padding: 24px 17px;
  }
  .footer-main-container {
    flex-direction: column;
    /* max-width: 328px; */
  }
  .footer-main {
    padding: 45px 0 0px;
  }
  .footer-hidden {
    display: flex;
  }
  .footer-card {
    flex-basis: 100%;
    width: 100%;
    height: fit-content;
  }
  .footer-card-hidden {
    display: flex;
  }
  .footer-card-header {
    align-items: baseline;
    border-bottom: 1px solid #6e95ff;
  }
  .footer-card-header-name {
    margin-bottom: 0;
    max-width: initial;
  }
  .footer-card-header-button {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.7s ease;
  }
  .footer-card-header-button.opened {
    transform: rotate(180deg);
  }
  .footer-card-body {
    display: none;
    flex-direction: column;
    padding-top: 6px;
    padding-left: 15px;
    padding-bottom: 17px;
    transition: all 0.7s ease;
  }
  .footer-card-body.expanded {
    display: flex;
    animation: show 0.7s ease;
  }
  .footer-collapse-button-block {
    display: none;
  }
  .google-play-store {
    margin-right: 4px;
  }
  .footer__business-info-cards {
    margin-left: 6px;
  }
}
@media (max-width: 330px) {
  .footer__socials-link {
    padding-left: 15px;
    padding-right: 15px;
  }
}
