// @author    : Adarsh Pastakia
// @version   : 5.0.0
// @copyright : 2019
// @license   : MIT
@if $google-font-sans-serif {
  @import url($google-font-sans-serif);
}

@if $google-font-serif {
  @import url($google-font-serif);
}

@if $google-font-mono {
  @import url($google-font-mono);
}

@if $local-font-sans-serif {
  @import url($local-font-sans-serif);
}

@if $local-font-serif {
  @import url($local-font-serif);
}

@if $local-font-mono {
  @import url($local-font-mono);
}

html {
  box-sizing: border-box;
  height: 100vh;
  overflow: hidden;
  width: 100vw;

  *,
  *::after,
  *::before {
    box-sizing: inherit;
  }

  &:root {
    font-size: $base-font-size;
    --gutter: #{0px};
  }
}

body {
  cursor: default;
  height: 100vh;
  line-height: $base-line-height;
  margin: 0;
  overflow: hidden;
  padding: 0;
  user-select: none;
  width: 100vw;

  font: {
    family: $base-font-family;
    size: 1rem;
    weight: $base-font-weight;
  }
}

%hr {
  height: 0;
  opacity: 0.25;
  transform: scaleY(0.5);
}

%vr {
  align-self: stretch;
  opacity: 0.25;
  transform: scaleX(0.5);
}

%vr-dark {
  @extend %vr;
}

::-webkit-scrollbar {
  height: 5px;
  width: 5px;
}

input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

input::-ms-clear,
select::-ms-clear,
textarea::-ms-clear {
  display: none;
}

input:-webkit-autofill,
select:-webkit-autofill,
textarea:-webkit-autofill,
input:-internal-autofill-previewed,
input:-internal-autofill-selected,
textarea:-internal-autofill-previewed,
textarea:-internal-autofill-selected,
select:-internal-autofill-previewed,
select:-internal-autofill-selected {
  // stylelint-disable-next-line declaration-no-important
  background-color: transparent !important;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
