*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  line-height: 1.5;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  border-color: transparent;
}

textarea {
  line-height: 1.5;
}

button {
  cursor: pointer;
}

button {
  background: transparent;
  border: none;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}

a:hover {
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 600;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

:focus {
  outline: none;
}

::selection {
  background: #e50087;
  color: #ffffff;
}

:root {
  color-scheme: light;
}

html {
  color-scheme: light;
}

[v-cloak] {
  display: none;
}

* {
  scrollbar-width: none;
  &::-webkit-scrollbar {
    display: none;
  }
}

html,
body,
#wrapper {
  height: 100svh;
  overflow-y: hidden;
}

/* Secondary pages (learn/educations) scroll natively without el-scrollbar */
html.nativeScroll,
html.nativeScroll body,
html.nativeScroll #wrapper {
  height: auto;
  min-height: 100svh;
  overflow-y: auto;
}

:root {
  --primary: #e50087;
}

body {
  direction: rtl;
  color: #000;
  background: #fff;
  font-family: "Estedad", sans-serif;
  position: relative;
}

#wrapper {
  position: relative;
}

.el-scrollbar__bar {
  z-index: 999999999 !important;
}

.el-overlay {
  z-index: 9999999999 !important;
}

.el-select-dropdown__item.is-selected {
  color: var(--primary) !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
