@import url('./colors.css');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  outline: none;
  text-decoration: none;
  list-style: none;
  border: none;

  font-family: 'Montserrat', 'Poppins', Arial, Helvetica, sans-serif;
  font-weight: 400;
}

html { scroll-behavior: smooth; }

body {
  -webkit-font-smoothing: antialiased;
}

body, input, textarea, button {
  font-family: 'Montserrat', 'Poppins', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 1rem;
}

a,
button {
  cursor: pointer;
}
a { color: var(--black9); }


/* BACK TO TOP BTN */
.float-back-to-top {
  z-index: 20;
  position: fixed;
  bottom: 4.5rem;
  right: 2rem;

  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;

  font-size: 45px;

  filter: drop-shadow(2px 3px 3px var(--black5));
  color: var(--blue8);
  background: transparent;
}
.float-back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.float-back-to-top:hover {
  transform: translateY(5px);
}

/* FLOAT WHATSAPP BTN */
.float-whats {
  width: 100%;
  max-width: 45px;

  display: flex;

  z-index: 20;
  position: fixed;
  right: 2rem;
  bottom: 2rem;

  transition: .3s ease;
}
.float-whats img {
  width: 100%;
  filter: drop-shadow(2px 3px 3px var(--black5));
}
.float-whats:hover { transform: translateY(-5px) }


/* PAGE SCROLL */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  transition: .3s ease;
}
::-webkit-scrollbar-track {
  border-radius: 0.5rem;
  background: var(--gray8);
}
::-webkit-scrollbar-thumb {
  border-radius: 0.5rem;
  background: var(--black8);
}
::-webkit-scrollbar-thumb:hover { background: var(--black9); }


/* RESPONSIVE LAYOUT */
@media (max-width: 1080px) {
  html { font-size: 93.75%; }

  .float-back-to-top {
    bottom: 5rem;
  }
}

@media (max-width: 720px) {
  html { font-size: 87.5%; }
}