/* ServerConsultant Base Styles
   Foundation styles for HTML elements
   ========================================= */

/* Box Sizing
   ----------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Root
   ----------------------------------------- */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Body
   ----------------------------------------- */
body {
  margin: 0;
  font-family: var(--sc-font-primary);
  font-size: var(--sc-text-base);
  font-weight: var(--sc-font-normal);
  line-height: var(--sc-leading-normal);
  color: var(--sc-gray-20);
  background-color: var(--sc-gray-100);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography
   ----------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--sc-space-4) 0;
  font-family: var(--sc-font-primary);
  font-weight: var(--sc-font-semibold);
  line-height: var(--sc-leading-tight);
  color: var(--sc-white);
}

h1 {
  font-size: var(--sc-text-5xl);
  font-weight: var(--sc-font-bold);
}

h2 {
  font-size: var(--sc-text-4xl);
}

h3 {
  font-size: var(--sc-text-3xl);
}

h4 {
  font-size: var(--sc-text-2xl);
}

h5 {
  font-size: var(--sc-text-xl);
}

h6 {
  font-size: var(--sc-text-lg);
}

p {
  margin: 0 0 var(--sc-space-6) 0;
  line-height: var(--sc-leading-relaxed);
}

/* Links
   ----------------------------------------- */
a {
  color: var(--sc-primary);
  text-decoration: none;
  transition: color var(--sc-transition-fast);
}

a:hover {
  color: var(--sc-primary-light);
  text-decoration: none;
}

a:focus {
  outline: 2px solid var(--sc-primary);
  outline-offset: 2px;
}

/* Lists
   ----------------------------------------- */
ul, ol {
  margin: 0 0 var(--sc-space-6) 0;
  padding-left: var(--sc-space-8);
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

li {
  margin-bottom: var(--sc-space-2);
}

/* Remove default list styles when needed */
ul.unstyled,
ol.unstyled {
  list-style: none;
  padding-left: 0;
}

/* Images
   ----------------------------------------- */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Forms
   ----------------------------------------- */
input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
}

button {
  cursor: pointer;
}

/* Tables
   ----------------------------------------- */
table {
  border-collapse: collapse;
  width: 100%;
}

/* Code
   ----------------------------------------- */
code,
pre {
  font-family: var(--sc-font-mono);
  font-size: var(--sc-text-sm);
}

code {
  background-color: var(--sc-gray-90);
  padding: var(--sc-space-1) var(--sc-space-2);
  border-radius: var(--sc-radius-base);
}

pre {
  background-color: var(--sc-gray-90);
  padding: var(--sc-space-4);
  border-radius: var(--sc-radius-md);
  overflow-x: auto;
}

pre code {
  background-color: transparent;
  padding: 0;
}

/* Horizontal Rule
   ----------------------------------------- */
hr {
  margin: var(--sc-space-8) 0;
  border: 0;
  border-top: var(--sc-border-width) solid var(--sc-gray-80);
}

/* Blockquote
   ----------------------------------------- */
blockquote {
  margin: 0 0 var(--sc-space-6) 0;
  padding-left: var(--sc-space-6);
  border-left: var(--sc-border-width-4) solid var(--sc-primary);
  font-style: italic;
  color: var(--sc-gray-50);
}

/* Selection
   ----------------------------------------- */
::selection {
  background-color: var(--sc-primary);
  color: var(--sc-white);
}

::-moz-selection {
  background-color: var(--sc-primary);
  color: var(--sc-white);
}

/* Focus Visible
   ----------------------------------------- */
:focus-visible {
  /* outline: 2px solid var(--sc-primary); 
  outline-offset: 2px;*/
}

/* Scrollbar
   ----------------------------------------- */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--sc-gray-90);
}

::-webkit-scrollbar-thumb {
  background: var(--sc-gray-60);
  border-radius: var(--sc-radius-md);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--sc-gray-50);
}