/*
--- 01 TYPOGRAPHY SYSTEM

- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Font weights
Default: 400
Medium: 500
Semi-bold: 600
Bold: 700

- Line heights
Default: 1
Small: 1.05
Medium: 1.2
Paragraph default: 1.6
Large: 1.8

- Letter spacing
-0.5px
0.75px

--- 02 COLORS

- Primary: #e67e22
- Tints:
#fdf2e9
#fae5d3
#eb984e

- Shades: 
#cf711f
#45260a

- Accents:
- Greys

#888
#767676 (lightest grey allowed on #fff)
#6f6f6f (lightest grey allowed on #fdf2e9)
#555
#333

--- 05 SHADOWS

0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);

--- 06 BORDER-RADIUS

Default: 9px
Medium: 11px

--- 07 WHITESPACE

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/

:root {
  color-scheme: light only;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 10px / 16px = 0.625 = 62.5% */
  overflow-x: hidden;

  scroll-behavior: smooth;
}

body {
  font-family: "Rubik", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #555;

  overflow-x: hidden;
}

.container {
  max-width: 120rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}

.grid {
  display: grid;
  column-gap: 6.4rem;
  row-gap: 9.6rem;
}

.grid:not(:last-child) {
  margin-bottom: 9.6rem;
}

.grid-2-columns {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3-columns {
  grid-template-columns: repeat(3, 1fr);
}

.grid-center-v {
  align-items: center;
}

.heading-primary,
.heading-secondary,
.heading-tertiary {
  font-weight: 700;
  color: #333;
  letter-spacing: -0.5px;
}

.heading-primary {
  font-size: 5.2rem;
  line-height: 1.05;
  margin-bottom: 3.2rem;
}

.heading-secondary {
  font-size: 4.4rem;
  line-height: 1.2;
  margin-bottom: 9.6rem;
}

.heading-tertiary {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 3.2rem;
}

.subheading {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  color: #cf711f;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  letter-spacing: 0.75px;
}

.link:link,
.link:visited {
  display: inline-block;
  color: rgb(230, 126, 34);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: all 0.3s;
}

.link:hover,
.link:active {
  color: #cf711f;
  border-bottom: 1px solid transparent;
}

/* HELPER/SETTINGS CLASSES */
.margin-right-sm {
  margin-right: 1.6rem !important;
}

.margin-bottom-md {
  margin-bottom: 4.8rem !important;
}

.center-text {
  text-align: center;
}

strong {
  font-weight: 500;
}

.underline {
  text-decoration: underline;
  text-decoration-color: #eb984e;
  text-decoration-thickness: 2px;
  text-decoration-skip-ink: auto;
}

.hell {
  background-color: white;
}

.wide-item {
  grid-column: span 2;
}

/* Callouts */
.callout {
  margin: 1.5rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  width: 80%;
}

@media (max-width: 34em) {
  .callout {
    width: 100%;
  }
}

.callout > .callout-title {
  display: flex;
  align-items: center;
  padding: 1rem 1rem 0.75rem;
  margin: 0;
  cursor: pointer;
  background: rgba(var(--callout-color), 0.2);
}
.callout-icon {
  width: 1.25em;
  height: 1.25em;
  margin-right: 0.5em;
  flex-shrink: 0;
}

.callout-title {
  font-size: 1.8rem;
  line-height: 1.8;
  font-weight: 600;
}

.callout-content {
  padding: 1rem 1rem 1rem;
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.8;
}
/* .callout[foldable] {
  cursor: pointer;
  border-style: dashed;
} */
.callout[data-callout="note"],
.callout[data-callout="abstract"] {
  --callout-color: 100, 116, 139;
}
.callout[data-callout="info"] {
  --callout-color: 59, 130, 246;
}
.callout[data-callout="todo"] {
  --callout-color: 34, 197, 94;
}
.callout[data-callout="theme"] {
  --callout-color: 230, 126, 34;
}
.callout[data-callout="success"] {
  --callout-color: 34, 197, 94;
}
.callout[data-callout="question"] {
  --callout-color: 99, 102, 241;
}
.callout[data-callout="warning"] {
  --callout-color: 245, 158, 11;
} /* Orange wie dein Theme [memory:32] */
.callout[data-callout="failure"] {
  --callout-color: 239, 68, 68;
}
.callout[data-callout="danger"] {
  --callout-color: 153, 27, 27;
}

.callout:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.callout.align-left {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}
.callout.align-center {
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}
.callout.align-right {
  text-align: left;
  margin-left: auto;
  margin-right: 0;
}

.spacer-bot {
  margin-bottom: 4.8rem;
}

.bg-white {
  background-color: #fff;
}

.bg-tint-light {
  background-color: #fdf2e9;
}
