@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
  color: $ma-color-secondary-900;
}

html{
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Fira Sans, sans-serif;
  -webkit-font-smoothing: antialiased;

  &::selection {
    background: $ma-color-secondary-100;
  }

  &::-webkit-scrollbar {
    width: 7px;
    height: 7px;

    &-button {
      display: none;
    }

    &-thumb {
      background: $ma-color-secondary;
      border-radius: 5px;
    }

    &-track {
      border-radius: 5px;
    }
  }
}

i {
  &::before {
    margin: 0 !important;
  }
}


h1 {
  font-size: 1.7em;
}


a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;

  a:visited {
    color: unset;
    text-decoration: none;
  }
}

li {
  list-style: none;
}

fieldset {
  border: none;
}

ul {
  list-style-type: none;
}

hr {
  border: 0;
  border-top: 1px solid $ma-color-secondary-100;
}

button {
  padding: 5px;
  cursor: pointer;

  &:hover,
  &:focus {
    box-shadow: none;
    outline: none;
  }

  &:disabled {
    background-color: $ma-color-secondary-300;
    border-color: $ma-color-secondary-300;
    cursor: not-allowed;
    outline-color: initial;
    color: white;

    &:hover {
      background-color: $ma-color-secondary-300;
      border-color: $ma-color-secondary-300;
      outline-color: initial;
      color: $ma-color-secondary;
    }
  }
}

input:-webkit-autofill {
  -webkit-background-clip: text;
}

@-moz-keyframes spin {
  from {
    -moz-transform: rotate(0deg);
  }
  to {
    -moz-transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}

.ma-animate-spin {
  -moz-animation: ma-spin 2s infinite linear;
  -o-animation: ma-spin 2s infinite linear;
  -webkit-animation: ma-spin 2s infinite linear;
  animation: ma-spin 2s infinite linear;
  display: inline-block;
}

@keyframes ma-spin {
  from {
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -moz-transform: rotate(359deg);
    -o-transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
