/* Atomic Styles */

/* ///////////////////// */

/* ***** Font Colors */

/* --- Default */

.fcolor--dark {
  color: var(--color__dark);
}

.fcolor--light {
  color: var(--color__light);
}

/* --- Corporate */

.fcolor--primary {
  color: var(--color__primary);
}

.fcolor--secondary {
  color: var(--color__secondary);
}

.fcolor--accent {
  color: var(--color__accent);
}

/* --- System */

.fcolor--success {
  color: var(--color__success);
}

.fcolor--warning {
  color: var(--color__warning);
}

.fcolor--error {
  color: var(--color__error);
}

/* ***** Background Colors*/

/* --- Default */

.bg--dark {
  background-color: var(--color__dark);
}

.bg--light {
  background-color: var(--color__light);
}

/* --- Corporate */

.bg--primary {
  background-color: var(--color__primary);
}

.bg--secondary {
  background-color: var(--color__secondary);
}

.bg--accent {
  background-color: var(--color__accent);
}

.bg--accentLight {
  background-color: var(--color__accentLight);
}

.bg--accent--ultralight {
  background-color: var(--color__accentUltralight);
}

/* --- System */

.bg--success {
  background-color: var(--color__success);
}

.bg--warning {
  background-color: var(--color__warning);
}

.bg--error {
  background-color: var(--color__error);
}

/* ***** Gradients */

.bg--gradient--shadow::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -o-linear-gradient(
    325deg,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.1) 51.26%,
    rgba(0, 0, 0, 0)
  );
  background: linear-gradient(
    125deg,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.1) 51.26%,
    rgba(0, 0, 0, 0)
  );
}

/* ***** Borders */

.radius--small {
  border-radius: var(--radius__small);
}

.radius--regular {
  border-radius: var(--radius__regular);
}

.radius--large {
  border-radius: var(--radius__large);
}

/* ***** Text widths */

.txt--60 {
  max-width: 60ch;
}

.txt--20 {
  max-width: 20ch;
}

/* ***** Layout & Overflows */

.pos--relative {
  position: relative;
}

.overflow--hidden {
  overflow: hidden;
}

.ib {
  display: inline-block;
}

.blur {
  -webkit-filter: blur(7px);
  filter: blur(7px);
}

.align-center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

/* ***** Height & Position */

.centered {
  margin-left: auto;
  margin-right: auto;
}

.height--full {
  height: 100%;
}

/* ***** Fixed Ratios */

[class*="ratio--"] {
  position: relative;
  height: auto;
}

[class*="ratio--"]::before {
  display: block;
  content: "";
  width: 100%;
}

[class*="ratio--"] > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ratio--1_1::before {
  padding-top: calc(1 / 1 * 100%);
}

.ratio--2_1::before {
  padding-top: calc(1 / 2 * 100%);
}

.ratio--3_2::before {
  padding-top: calc(2 / 3 * 100%);
}

.ratio--2_3::before {
  padding-top: calc(3 / 2 * 100%);
}

.ratio--3_4::before {
  padding-top: calc(4 / 3 * 100%);
}

.ratio--4_3::before {
  padding-top: calc(3 / 4 * 100%);
}

.ratio--5_2::before {
  padding-top: calc(2 / 5 * 100%);
}

.ratio--2_5::before {
  padding-top: calc(5 / 2 * 100%);
}

.ratio--16_3::before {
  padding-top: calc(3 / 16 * 100%);
}

.ratio--16_5::before {
  padding-top: calc(5 / 16 * 100%);
}

.ratio--16_9::before {
  padding-top: calc(9 / 16 * 100%);
}

.ratio--9_16::before {
  padding-top: calc(16 / 9 * 100%);
}

.ratio--16_10::before {
  padding-top: calc(10 / 16 * 100%);
}

.ratio--10_16::before {
  padding-top: calc(16 / 10 * 100%);
}

/* BREAKPOINTS */

@media only screen and (max-width: 36em) {
  .ratio-md--4_3::before {
    padding-top: calc(3 / 4 * 100%);
  }

  .ratio-md--3_4::before {
    padding-top: calc(4 / 3 * 100%);
  }
}
