html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  height: fit-content !important;
  min-height: 100%;
}

.header-height {
  padding-top: 70px;
}

/* -----------------------------------------------------------------------------------------------
 * FOOTER
 * ---------------------------------------------------------------------------------------------- */

footer {
  display: grid;
  justify-content: center;
  align-content: center;
  gap: 30px;
  width: 100%;
  height: 219px;
  background-color: var(--blue2);
}

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

body.dark .ubits-logo__light {
  display: none;
}

body.light .ubits-logo__dark {
  display: none;
}

footer .footer__logo img {
  height: 35px;
}

footer .footer__slogan {
  display: block;
  text-align: center;
  color: var(--text3);
}

footer .footer__policy {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

footer .footer__policy .dot {
  display: inline-block;
  height: 5px;
  width: 5px;
  background-color: var(--textInverseLink);
  border-radius: 50%;
}

footer .footer__policy a {
  color: var(--textInverseLink);
  text-decoration: none;
  cursor: pointer;
}

footer .footer__policy a:hover {
  text-decoration: underline;
}

@media (max-width: 719px) {
  footer {
    height: 267px;
  }

  footer .footer__policy {
    flex-direction: column;
    column-gap: 30px;
  }

  footer .footer__policy .dot {
    display: none;
  }
}

/* ---------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------- */

::-webkit-scrollbar {
  width: 5px;
  background-color: var(--gray3);
}

::-webkit-scrollbar-track {
  border-radius: 5px;
  background-color: var(--gray3);
}

::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: var(--gray2);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--gray1);
}

/************* MEDIA QUERY *************/

@media only screen and (max-width: 1023px) {
  .header-height {
    padding-top: 48px;
  }
}
