.footer {
  background-color: var(--sky-blue);
  color: var(--white);
}

.footer a {
  text-decoration: none;
}

.footer>div {
  width: 100%;
}

.footer-share-page {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  gap: 10px;
}

.footer-share-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-share-title-text {
  font-size: 18px;
  font-weight: 700;
}

.footer-socials-share {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social-share-link {
  width: 58px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-connect-contact {
  background-color: var(--light-gray);
  color: var(--black);
  padding: 24px;
}

.footer-connect-contact>.container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-connect {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-connect-title {
  font-size: 28px;
  font-weight: 700;
}

.footer-connect-text {
  color: var(--gray);
}

.footer-connect-socials {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 20px;
}

.footer-contact-title {
  font-size: 28px;
  font-weight: 700;
  width: 100%;
}

.footer-contact-link {
  background-color: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
}

.footer-contact-link-text {
  font-size: 15px;
  padding: 0 8px;
}

.footer-contact-link-arrow {
  border-left: 1px solid var(--white);
  height: 48px;
}

.footer-curve {
  background-color: var(--light-gray);
  display: flex;
  align-items: end;
  justify-content: center;
}

.footer-curve span {
  background-color: var(--sky-blue);
  width: 100%;
  height: 44px;
  clip-path: ellipse(52% 100% at 50% 100%);
}

.footer-main {
  padding: 40px 24px;
}

.footer-main>.container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 30px;
  line-height: 1.5;
}

.footer-column:first-child {
  gap: 25px;
}

.footer-logo {
  width: 100%;
  max-width: 385px;
}

.footer-bo-cong-thuong {
  width: auto;
}

.footer-column-head {
  font-size: 20px;
  font-weight: 600;
}

.footer-column-link {
  font-size: 18px;
}

.footer-form {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: stretch;
  border: 1px solid var(--white);
}

.footer-form-input {
  background-color: transparent;
  border: none;
  outline: none;
  color: var(--white);
  padding: 0 16px;
  font-size: 18px;
  font-weight: 500;
  flex-grow: 1;
  min-width: 200px;
}

.footer-form-input::placeholder {
  color: var(--white);
}

.footer-form-submit {
  border: none;
  outline: none;
  background-color: transparent;
  border-left: 1px solid var(--white);
  height: 48px;
  cursor: pointer;
}

.copyright {
  background-color: var(--white);
  color: var(--black);
  font-size: 13px;
  text-align: center;
  padding: 15px;
  line-height: 1.5;
}

.scroll-to-top {
  display: flex;
  align-items: center;
  justify-content: start;
  width: 166px !important;
  position: fixed;
  bottom: 0;
  right: 0;
  background-color: var(--blue);
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  z-index: 12;
}

.scroll-to-top:hover path {
/*   fill: var(--black); */
  transition: all .1s;
}

.scroll-to-top:hover::before {
  transform: translateX(0);
  transition: all .1s;
}

@media screen and (min-width: 834px) {
  .footer-share-page {
    flex-direction: row;
    gap: 40px;
  }

  .footer-connect-contact {
    padding: 32px;
  }

  .footer-connect-contact>.container {
    flex-direction: row;
    gap: 66px;
  }

  .footer-connect,
  .footer-contact {
    width: calc(50% - 33px);
  }

  .footer-curve span {
    height: 86px;
  }

  .footer-main {
    padding: 0 32px;
    padding-bottom: 32px;
  }

  .footer-main>.container {
    flex-direction: row;
    gap: 14px;
    flex-wrap: wrap;
  }

  .footer-column {
    width: calc(50% - 7px);
  }

  .copyright {
    font-size: 15px;
  }

  .scroll-to-top {
    font-size: 14px;
  }
}

@media screen and (min-width: 1200px) {
  .footer-connect-title, .footer-contact-title {
    font-size: 38px;
  }

  .footer-main {
    padding: 0;
    padding-bottom: 80px;
  }

  .footer-main>.container {
    gap: 66px;
  }

  .footer-column {
    width: calc(100% / 3 - 44px);
  }

  .copyright {
    font-size: 18px;
  }
}

.login {
  overflow: hidden;
}

.modal-login {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 500;
  justify-content: center;
  align-items: center;
}

.modal-login.open {
  display: flex;
}

.modal-login-backdrop::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, .2);
  z-index: 1;
}

#login-form {
  max-width: 500px;
  padding: 80px 10px;
  border-radius: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  background-color: var(--white);
  transform: translateY(-100px);
  opacity: 0;
  transition: all .3s ease .2s;
  position: relative;
  z-index: 2;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--gray);
}

.modal-login.open #login-form {
  transform: translateY(0);
  opacity: 1;
  transition: all .3s ease .5s;
}

.login-username {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 300px;
}

#user_login {
  font-size: 18px;
  font-weight: 500;
  color: var(--gray);
  border-radius: 0;
  outline: none;
  border: 1px solid var(--gray);
  padding: 15px 10px;
  margin-top: 10px;
}

#user_login:-webkit-autofill,
#user_login:-webkit-autofill:hover,
#user_login:-webkit-autofill:focus,
#user_login:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px var(--white) inset !important;
  -webkit-text-fill-color: var(--gray) !important;
}

.login-pwd {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 300px;
}

.pwd-container {
  display: flex;
  justify-content: space-between;
  border: 1px solid var(--gray);
  margin-top: 10px;
}

#user_pass {
  font-size: 18px;
  font-weight: 500;
  color: var(--gray);
  border: none;
  outline: none;
  background-color: transparent;
  padding: 15px 10px;
  flex-grow: 1;
  border-right: 1px solid var(--gray);
  border-radius: 0;
}

#user_pass:-webkit-autofill,
#user_pass:-webkit-autofill:hover,
#user_pass:-webkit-autofill:focus,
#user_pass:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px var(--white) inset !important;
  -webkit-text-fill-color: var(--gray) !important;
}

#hide-pwd {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  border: none;
  outline: none;
  background-color: transparent;
  padding: 15px 0;
  width: 48px;
  cursor: pointer;
}

#hide-pwd svg {
  width: 20px;
  height: 100%;
}

#user_pass[type="password"]+#hide-pwd .pwd-unhide {
  display: none;
}

#user_pass[type="text"]+#hide-pwd .pwd-hide {
  display: none;
}

.login-remember {
  width: 100%;
  max-width: 300px;
}

.submit-login {
  width: 100%;
  max-width: 300px;
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  background-color: var(--blue);
  padding: 12px 16px;
  border: none;
  outline: none;
}

.submit-login::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 3px solid var(--white);
  border-bottom-color: transparent;
  border-radius: 50%;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  display: none;
}

.submit-login:hover::before {
  border-color: var(--white);
  border-bottom-color: transparent;
}

.submit-login:disabled::before {
  display: inline-block;
}

.login-err-msg {
  color: red;
  font-size: 14px;
  font-weight: 400;
  width: 100%;
  max-width: 300px;
  visibility: hidden;
  display: block;
  margin-top: 10px;
}

@keyframes rotation {
  0% {
    transform: translate(-50%, -50%) rotate(0);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}