@use './variables' as v;
@use '../global/' as *;
@use './scrollbar';

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}

html {
  font-size: 62.5%;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}

body {
  font-size: 1.6rem;
  color: v.$gray-light;
  font-family:
    Poppins,
    Roboto,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Oxygen,
    Ubuntu,
    Cantarell,
    'Open Sans',
    'Helvetica Neue',
    sans-serif;
  background: v.$bg-light;
  overflow-x: hidden;
  position: relative;
  max-height: 100dvh;
}

#app,
#root {
  position: relative;
  min-height: 100dvh;
}

h1,
h2,
h3,
h4,
h5,
h6,
.title,
.nav {
  font-family: Poppins;
}

section,
div {
  .title {
    font-family: Poppins;
  }
}

p,
span {
  font-family: Roboto;
}

p,
span,
div,
section,
a,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: v.$text-main;
}

#root {
  background: v.$bg-light;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
}

.visually-hidden,
.hidden {
  @include visually-hidden;
}

:root {
  --nav-links-animation-duration: 250ms;
  --nav-collapse-duration: 250ms;
  --page-content-limit: 1510px;
}

#datepicker-root {
  z-index: 6;
  position: relative;
}
