:root {
  --color-primary: #faa700;
  --color-primary-hover: #ffb21b;
  --color-secondary: #576D70;
  --color-text: #1f3a3d;
  --color-bg: #f2f2f2;
  --color-fg: #fff;
  --color-error: #c91a25;
  --color-border: #cad1d2;
  --color-content-link: #0265D2;
  font-family: 'Inter UI', '-apple-system', BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji';
}

#content {
  min-height: 100vh;
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--color-bg);
}

button {
  padding: 0.3em 1em;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 1em;
  font-family: inherit;
  color: white;
  background-color: var(--color-primary);
  cursor: pointer;
  transition: border-color 0.25s;

  &:hover {
    background-color: var(--color-primary-hover);
  }

  &:focus,
  &:focus-visible {
    outline: 2px auto -webkit-focus-ring-color;
  }
}

div, span, h1, h2, h3, h4, h5, h6, p {
  color: var(--color-text);
}

.text-link {
  color: var(--color-text);
  text-decoration: none;

  &:hover {
    text-decoration: underline;
  }
}

.content-link {
  color: var(--color-content-link);
  text-decoration: none;

  &:hover {
    text-decoration: underline;
  }
}

.anchor-button {
  padding: 0.3em 1em;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 1em;
  font-family: inherit;
  text-decoration: none;
  color: white;
  background-color: var(--color-primary);
  cursor: pointer;
  transition: border-color 0.25s;

  &:hover {
    background-color: var(--color-primary-hover);
  }
  
  &:focus,
  &:focus-visible {
    outline: 2px auto -webkit-focus-ring-color;
  }
}

.rounded-sign-up-anchor-button {
  min-width: 30px;
  display: flex;
  align-items: center;
  border-radius: 15px;
  text-transform: none;

  &:focus { 
    outline: none; 
  }
}

.rounded-sign-up-anchor-button-text {
  height: 24px;
  color: white;
}

.rounded-sign-up-anchor-button-icon {
  height: 24px;
  width: 24px;
}

.switch {
  min-height: 24px;
  min-width: 50px;
  max-height: 24px;
  max-width: 50px;
  display: inline-block;
  position: relative;
}

.switch input {
  width: 0;
  height: 0;
  opacity: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  background-color: var(--color-border);
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  height: 22px;
  width: 22px;
  left: 1px;
  bottom: 1px;
  position: absolute;
  content: "";
  border-radius: 50%;
  background-color: var(--color-fg);
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--color-primary);
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}