:root {
  --background-color: white;
  --background-color__bar-graph-positiv: #A9D9C2;
  --background-color__bar-graph-negativ: #F23005;
  --text-color: black;
}

html, body {
  box-sizing: border-box;
  border: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: "DM Sans", sans-serif;
  background-color: var(--background-color);
}

*, ::before, ::after {
  box-sizing: inherit;
}

body {
  /* opacity: 0;
  transition: opacity 0.4s ease; */
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
a {
  margin: 0;
  padding: 0;
  color: var(--text-color);
}

h1 {
  hyphens: auto;
}

p,
li,
a,
address {
  font-size: .9rem;
  font-weight: 300;
  line-height: 1.25;
}

address {
  font-style: normal;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  transition: all .3s ease;
}

a:hover {
  text-decoration: underline;
  text-decoration-style: wavy;
  -moz-text-decoration-style: wavy;
  -webkit-text-decoration-style: wavy;
}

.l-grid {
  position: relative;
  height: 100%;
  max-height: 100%;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
}

.l-grid--login {
  background-image: linear-gradient(to right top, #ebbcbc, #e8c1af, #dec7a9, #ceceab, #bcd4b6, #b3d9bd, #a8dec7, #9de2d4, #92e8da, #85efe1, #74f5e9, #5ffbf1) !important;
}

.l-grid--404 {
  background-color: var(--highlight-color);
}

.l-grid__header {
  position: sticky;
  top: 0;
  grid-column: 1 / 2;
  grid-row: 1 / 2;
    background-color: white;
    z-index: 2;
}

.l-grid__main {
  position: relative;
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  width: 100%;
  max-width: 100vw;
  overflow: scroll;
}

.l-grid__footer {
  position: relative;
  grid-column: 1 / 2;
  grid-row: 3 / 4;
  background-color: white;
}

.l-grid__footer--login {
  background-color: rgba(255, 255, 255, 0);
}

.c-header,
.c-main,
.c-nav,
.c-footer {
  position: relative;
  padding: 20px;
}

.c-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

.c-nav {
  position: relative;
  width: 100%;
  padding: 0;

}

.c-nav__list {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto;
}

.c-nav__list-item {
  position: relative;
  grid-row: 1 / 2;
}

.c-nav__list-item--1 {
  grid-column: 1 / 2;
}

.c-nav__list-item--2 {
  grid-column: 2 / 3;
  place-self: center;
}

.c-nav__list-item--3 {
  grid-column: 3 / 4;
}

.c-nav__hamburger-menu {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.c-nav__hamburger-menu-icon,
.c-nav__context-menu-icon {
  position: relative;
  height: 24px;
  width: 24px;
  margin: 16px;
}

.c-nav__hamburger-menu-icon-stroke {
  position: absolute;
  left: 3px;
  width: 18px;
  height: 2px;
  background-color: #757575;
}

.c-nav__hamburger-menu-icon-stroke--top {
  transform: translate(0, 6px);
}

.c-nav__hamburger-menu-icon-stroke--center {
  transform: translate(0, 11px);
}

.c-nav__hamburger-menu-icon-stroke--bottom {
  transform: translate(0, 16px);
}

.c-nav__context-menu-icon-dot {
  position: absolute;
  right: 3px;
  width: 4px;
  height: 4px;
  border-radius: 100%;
  background-color: #757575;
}

.c-nav__context-menu-icon-dot--top {
  transform: translate(0, 4px);
}

.c-nav__context-menu-icon-dot--center {
  transform: translate(0, 10px);
}

.c-nav__context-menu-icon-dot--bottom {
  transform: translate(0, 16px);
}

.c-main {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.c-main--overview,
.c-main--logout {
  flex-direction: column;
}

.c-main--logout h1 {
  display: block;
}

.c-login,
.c-login__logo,
.c-transaction {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.c-transaction {
  position: absolute;
  display: none;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, .95);
  z-index: 10;
}

.c-transaction__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
}

.c-transaction__close p {
  font-size: 1.5rem;
}

.c-login__logo img {
  width: 56px;
  height: 56px;
}

.c-login__logo h1 {
  font-size: 1rem;
  font-weight: normal;
}

.c-login__form,
.c-transaction__form {
  position: relative;
  width: 83.33333vw;
}

.c-login__form fieldset,
.c-login__form .c-login__input-container,
.c-transaction__form fieldset,
.c-transaction__form .c-transaction__input-container {
  position: relative;
  width: 100%;
}

.c-login__form fieldset,
.c-transaction__form fieldset {
  margin: 1rem 0 0 0;
  padding: 0;
  border: none;
}

.c-login__form .c-login__input-container,
.c-transaction__form .c-transaction__input-container {
  margin-top: 25px;
}

.c-transaction__form fieldset {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, auto);
}

.c-transaction__input-container--date,
.c-transaction__input-container--zuordnung,
.c-transaction__input-container--currency {
  grid-row: 1 / 2;
}

.c-transaction__input-container--date {
  grid-column: 1 / 3;
  padding-right: 0.25rem;
}

.c-transaction__input-container--zuordnung {
  grid-column: 3 / 5;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.c-transaction__input-container--currency {
  grid-column: 5 / 7;
  padding-left: 0.25rem;
}

.c-transaction__input-container--category,
.c-transaction__input-container--note {
  grid-column: 1 / 7;
}

.c-transaction__input-container--category {
  grid-row: 2 / 3;
}

.c-transaction__input-container--note {
    grid-row: 3 / 4;
}

.c-transaction__input-container--from,
.c-transaction__input-container--for {
  grid-row: 4 / 5;
}

.c-transaction__input-container--from {
  grid-column: 1 / 4;
  padding-right: 0.25rem;
}

.c-transaction__input-container--for {
  grid-column: 4 / 7;
  padding-left: 0.25rem;
}

.c-transaction__input-container--amount,
.c-transaction__input-container--saving {
  grid-row: 5 / 6;
}

.c-transaction__input-container--amount {
  grid-column: 1 / 4;
  padding-right: 0.25rem;
}

.c-transaction__input-container--saving {
  grid-column: 4 / 7;
  padding-left: 0.25rem;
}

.c-transaction__input-container--category {
  position: relative;
  width: 100%;
  max-width: 100%
}

.c-transcation__radio-container {
  position: relative;
  display: flex;
  flex-direction: row;
  overflow-x: scroll;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
}

.c-transcation__radio-container::webkit-scrollbar {
  width: 0;
  height: 0;
}

.c-transcation__radio-container input {
  position: relative !important;
  opacity: 0 !important;
  cursor: pointer;
  height: 0 !important;
  width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.c-transcation__radio-container label {
  position: relative !important;
  top: auto !important;
  left: -3px !important;
  bottom: auto !important;
  right: auto !important;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid #757575;
  border-radius: 50px;
  padding: 5px 8px 5px 8px !important;
  margin-right: 6px !important;
  font-size: .87rem;
  transform: translate(0, 0) scale(1) !important;
  margin-top: 0px !important;
}

.c-transcation__radio-container label:hover {
  background-color: #FF99D8;
}

.c-transcation__radio-container input:checked + label {
  background-color: #FF99D8;
}

.c-transaction input[type=submit] {
  grid-row: 6 / 7;
  grid-column: 1 / 7;
}

.c-login__form label,
.c-transaction__form label {
  position: absolute;
  top: 0;
  left: 0;
  padding-left: 3px;
  margin-top: 3px;
  transition: transform .3s ease;
}

.c-transaction__input-container--saving label,
.c-transaction__input-container--for label {
  padding-left: calc(3px + 0.25rem);
}

.c-login__form input,
.c-transaction__form input {
  padding: 6px 3px 3px 3px;
  outline: none;
  z-index: 1;
  position: relative;
  background: none;
  width: 100%;
  border: 0;
  color: #212121;
  transition: all .3 ease;
  font-size: 1em;
}

.c-login__form input:valid ~ label,
.c-transaction__form input:valid ~ label {
  transform: translate(0, 0) scale(1);
  margin-top: 0px;
}

.c-login__form input:focus ~ label,
.c-login__form input:valid ~ label,
.c-transaction__form input:focus ~ label,
.c-transaction__form input:valid ~ label {
  transform: translate(-12.1%, -70%) scale(0.75);
  margin-top: 0px;
}

.c-transaction__input-container--zuordnung input:focus ~ label,
.c-transaction__input-container--zuordnung input:valid ~ label,
.c-transaction__input-container--currency input:focus ~ label,
.c-transaction__input-container--currency input:valid ~ label {
  transform: translate(-6%, -70%) scale(0.75);
  margin-top: 0px;
}

.c-transaction__input-container--from input:focus ~ label,
.c-transaction__input-container--from input:valid ~ label {
  transform: translate(-10%, -70%) scale(0.75);
  margin-top: 0px;
}

.c-transaction__input-container--amount input:focus ~ label,
.c-transaction__input-container--amount input:valid ~ label {
  transform: translate(-10%, -70%) scale(0.75);
  margin-top: 0px;
}

.c-transaction__input-container--for input:focus ~ label,
.c-transaction__input-container--for input:valid ~ label {
  transform: translate(-3.5%, -70%) scale(0.75);
  margin-top: 0px;
}

.disabled {
  color: grey !important;
}

.c-transaction__input-container--saving input:focus ~ label,
.c-transaction__input-container--saving input:valid ~ label {
  transform: translate(-9%, -70%) scale(0.75);
  margin-top: 0px;
}

.c-login__bar,
.c-transaction__bar {
  position: relative;
  left: 0;
  bottom: 0;
  background: #757575;
  width: 100%;
  height: 1px;
  transition: all .3s ease;
}

.c-login #input--user:focus~.c-login__bar--user,
.c-login #input--password:focus~.c-login__bar--password
.c-transaction #input--date:focus~.c-transaction__bar,
.c-transaction #input--zuordnung:focus~.c-transaction__bar,
.c-transaction #input--currency:focus~.c-transaction__bar,
.c-transaction #input--category:focus~.c-transaction__bar,
.c-transaction #input--note:focus~.c-transaction__bar,
.c-transaction #input--from:focus~.c-transaction__bar,
.c-transaction #input--for:focus~.c-transaction__bar,
.c-transaction #input--amount:focus~.c-transaction__bar,
.c-transaction #input--saving:focus~.c-transaction__bar {
  background: #EE7777;
}

.c-login input[type=submit],
.c-transaction input[type=submit] {
  position: relative;
  margin-top: 30px;
  padding-bottom: .5rem;
  background-color: rgba(255, 255, 255, .6); /*#F6CAB8;*/
  border: solid 1px #757575;
  border-radius: 50px;
  transition: all .3s ease;
  cursor: pointer;
}

.c-login input[type=submit]:hover,
.c-transaction input[type=submit]:hover{
  background-color: rgba(255, 255, 255, .9); /*#F6CAB8;*/
}

.c-login__error {
  position: absolute;
  width: 100%;
  bottom: -2.5rem;
  left: 0;
}

.c-login__error p {
  text-align: center;
  color: #EE7777;
}

.c-select-time-period {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - (100% * 2 / 12));
  margin-bottom: 4rem;
}

.c-select-time-period p {
  font-size: 1.17em;
}

.c-select-time-period__previous p,
.c-select-time-period__next p {
  font-weight: bold;
  color: darkgrey;
}

.c-select-time-period__previous {

}

.c-select-time-period__time-period {

}

.c-select-time-period__next {

}

.c-bar-graph {
  position: relative;
  width: calc(100% - (100% * 2 / 12));
  height: 3rem;
  height: auto;
  margin-bottom: 1.5rem;
}

.c-bar-graph__negativ {
  position: absolute;
  top: calc(2.5rem - 8px);
  top: 0;
  right: 0;
  width: 42.86%;
  height: 8px;
  background-color: var(--background-color__bar-graph-negativ);
}

.c-bar-graph__positiv {
  position: relative;
  top: calc(2.5rem - 8px);
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 8px;
  background-color: var(--background-color__bar-graph-positiv);
}

.c-overview {
  position: relative;
  width: calc(100% - (100% * 1 / 12));
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 0px repeat(4, 5.25rem);
}

.c-overview p {
  font-size: 2em;
    font-weight: normal;
}

.c-overview a {
  font-size: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.c-overview a:hover {
  text-decoration: none;
}

.c-overview__income,
.c-overview__expenditure,
.c-overview__difference-between-income-and-expenditure,
.c-overview__expenses,
.c-overview__balance {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.c-overview__income {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.c-overview__expenditure {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.c-overview__difference-between-income-and-expenditure {
  grid-column: 1 / 3;
  grid-row: 3 / 4;
}

.c-overview__expenses {
  grid-column: 1 / 3;
  grid-row: 4 / 5;
}

.c-overview__balance {
  grid-column: 1 / 3;
  grid-row: 5 / 6;
}

.c-overview__income h2,
.c-overview__expenditure h2,
.c-overview__difference-between-income-and-expenditure h2,
.c-overview__expenses h2,
.c-overview__balance h2 {
  font-size: 1.17em;
  font-weight: normal;
}

.c-overview__income p,
.c-overview__expenditure p,
.c-overview__difference-between-income-and-expenditure p,
.c-overview__expenses p,
.c-overview__balance p {
  margin-top: .05em;
}

.c-main--listview {
  position: relative;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 100%;
  padding: 0;
}

.c-main--listview .c-transcation__radio-container {
  width: 100%;
  padding-left: .95rem;
  padding-right: .5rem;
}

.c-filter {
  position: relative;
  width: 100%;
  max-width: 100%;
  /* height: 4em;
  min-height: 4rem; */
  display: flex;
  align-items: center;
}

.c-filter form {
  margin: 0;
  padding: 0;
}

.c-main__listview-summary {
  position: relative;
  width: 100%;
  height: 12rem;
  min-height: 12rem;
  padding: 0 1rem 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column:
}

.c-main__listview-summary h1 {

}

.c-main__listview-summary p {
  font-size: 2rem;
  font-weight: bold;
}

.c-main--listview ul {
  position: relative;
  width: 100% !important;
  overflow: scroll;
  padding-top: 1rem;
  margin-top: 1rem;
}

.c-main__list-item {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.c-main__list-item:last-of-type {
  padding-bottom: 10rem;
}

.c-main__list-item table {
  position: relative;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

.c-main__list-item tr {
  margin: 0;
}

.c-main__list-item tr:nth-child(1) {
  font-size: 11px;
  font-weight: 400;
}

.c-main__list-item tr:nth-child(2) {
  text-transform: uppercase;
  font-weight: 500;
}

.c-main__list-item tr:nth-child(3) {
  font-weight: 400;
}

.c-main__list-item tr:nth-child(2),
.c-main__list-item tr:nth-child(3) {
  font-size: 15px;
  letter-spacing: 1.25px;
}

.c-main__list-item td {
  color: var(--text-color__li);
}

.c-main__list-item-table-cell--positiv {
  color: var(--text-color__positiver-betrag);
}

.c-main__list-item-table-cell--negativ {
  color: var(--text-color__negativer-betrag);
}

.c-main__list-item td:nth-child(even) {
  text-align: right;
}

.c-main__list-item .c-auslagen {
  position: relative;
  top: -0.5rem;
  left: .3rem;
  background-color: #FF99D8;
  border-radius: 50px;
  color: white;
  padding: .1rem .3rem;
}

.color {

}

.color--positiv {
  color: var(--background-color__bar-graph-positiv) !important;
}

.color--negativ {
  color: var(--background-color__bar-graph-negativ)!important;
}

.c-button {
  display: inline-block;
  position: absolute;
  right: 1rem;
  white-space: nowrap;
  cursor: pointer;
  background-color: rgba(255, 255, 255, .85);
}

.c-button a {
  display: inline-block;
  border: 1px solid #757575;
  border-radius: 50px;
  padding: 5px 8px 5px 8px !important;
}

.c-button a:hover {
  text-decoration: none;
  background-color: #FF99D8;
}

.c-button--next {
  bottom: 3rem;
    bottom: 6rem;
}

.c-button--overview {
  bottom: 6rem;
    bottom: 3rem;
}



.has-top-border {
  border-top: 1px solid #757575;
}

.has-bottom-border {
  border-bottom: 1px solid #757575;
}

.has-bottom-shadow {
  box-shadow: 0 -10px 20px black;
}

.has-top-shadow {
  box-shadow: 0 10px 20px black;
}


/* ab hier alt */

.c-article,
.c-project,
.c-rechtliches,
.c-analysen {
  position: relative;
  padding: 20px;
}

.c-article h1,
.c-project h1,
.c-rechtliches h1,
.c-analysen h1 {
  margin-bottom: 12px;
}

.c-article p,
.c-project p,
.c-analysen p {
  font-size: 1.17em;
}

.c-article p:nth-child(1),
.c-project p:nth-child(1) {}

.c-article p:nth-child(2),
.c-project p:nth-child(2) {}

.c-article p:nth-child(3),
.c-project p:nth-child(3),
.c-analysen p:nth-child(3) {
  margin-top: 12px;
  font-size: 0.67rem;
}

.c-article p:nth-child(4),
.c-project p:nth-child(4),
.c-analysen p:nth-child(4) {
  margin-top: 24px;
  font-size: 1rem;
}

.c-rechtliches {
  width: 100%;
  max-width: 100vw;
}

.c-rechtliches h2,
.c-rechtliches h3 {
  margin-top: 24px;
  margin-bottom: 12px;
}

.c-rechtliches h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

h2+h3 {
  margin-top: 1rem !important;
}

.c-rechtliches p {
  font-size: 1rem;
  margin-top: 0.5rem;
  word-wrap: break-word;
}

.c-rechtliches a {
  font-size: 1rem;
}

.c-next-button {
  position: fixed;
  right: 2rem;
  bottom: 12%;
  background-color: var(--highlight-color);
  border: 2px solid var(--c-plus-color);
  border-radius: 50px;
  padding: 8px 8px 6px 8px;
}

.c-next-button p {
  font-size: 1rem;
}

.c-back-button {
  position: fixed;
  right: 2rem;
  bottom: 7%;
  background-color: var(--highlight-color);
  background-color: white;
  border: 2px solid var(--c-plus-color);
  border-radius: 50px;
  padding: 8px 8px 6px 8px;
}

.c-back-button p {
  font-size: 0.9rem;
}

.c-collapsible {}

.c-collapsible__list {}

.c-collapsible__list-item {
  position: relative;
  padding: 20px;
}

/* .c-collapsible__list-item:hover {
  background-color: #f2f2f2;
} */
.c-collapsible__list-item--info {
  padding: 0;
}

.c-collapsible__list-item--article {}

.c-collapsible__list-item--project {}

.c-collapsible__list-item--highlighted {
  background-color: var(--highlight-color);
}

.c-collapsible__teaser {
  display: none;
  cursor: default;
}

.c-collapsible__teaser p {
  margin-top: 16px;
}

.c-collapsible__thumbnails {
  position: relative;
}

.c-collabsible__tumnbnails-image {
  display: inline;
  z-index: 9999999999999;
  width: 24%;
  padding-right: 1%;
  cursor: pointer;
}

.c-collabsible__tumnbnails-image:nth-child(4) {
  padding-right: 0;
  mask-image: linear-gradient(to left, transparent 0%, #FFFFFF99 60%);
  -webkit-mask-image: linear-gradient(to left, transparent 0%, #FFFFFF99 60%);
}

.c-collapsible__gradient {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-image: linear-gradient(to right, transparent 50%, white 100%);
}

.c-main__portfolio-overlay {
  position: fixed;
  z-index: 100;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: white;
  overflow: scroll;
}

.c-main__portfolio-overlay-description {
  position: absolute;
  width: 100%;
  bottom: 5%;
  padding: 20px;
  padding-bottom: 0;
}

.c-main__portfolio-overlay-title {
  width: 90%;
}

.c-main__portfolio-overlay-teaser {
  font-size: 0.83rem;
}

.c-main__portfolio-overlay-teaser+p a {
  background-color: var(--highlight-color);
  border: 2px solid var(--c-plus-color);
  border-radius: 50px;
  padding: 8px 8px 6px 8px;
  font-size: 0.87em;
}

.c-main__portfolio-overlay-teaser+p {
  padding-top: 0.63rem;
}

.c-main__portfolio-overlay-description--left {
  left: 0;
}

.c-main__portfolio-overlay-description--right {
  right: 0;
}

.c-main__portfolio-overlay-description p {
  margin-top: 16px;
}

.c-main__portfolio-overlay-close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 20px;
  cursor: pointer;
}

.c-main__portfolio-overlay-x {
  display: inline-block;
  position: relative;
  top: 8px;
  left: 8px;
  transform: rotate(45deg);
  font-size: 3rem;
  line-height: 0;
}

.c-image-gallery {
  position: relative;
  white-space: nowrap;
  overflow: scroll;
  scroll-snap-type: x mandatory;
  scroll-snap-points-x: repeat(100%);
  scroll-snap-type: mandatory;
  scroll-margin: 0px;
  scroll-padding: 0px;
  overflow-y: hidden;
  font-size: 0;
}

.c-image-gallery__arrow {
  position: relative;
  align-self: flex-end;
  z-index: 2000;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  border: 2px solid var(--c-plus-color);
  cursor: pointer;
}

.c-image-gallery__arrow--left {
  right: 5%;
  margin-top: 16px;
  border: 2px solid darkgrey;
  color: darkgrey;
}

.c-image-gallery__arrow--right {
  right: 5%;
  margin-top: 16px;
}

.c-image-gallery__image {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 4px;
  font-size: 1rem;
  margin-bottom: 0;
  width: 90%;
  scroll-snap-align: center;
}

.c-image-gallery__image:nth-child(4) {
  padding-right: 0;
  mask-image: linear-gradient(to left, transparent 10%, #FFFFFF99 60%);
  -webkit-mask-image: linear-gradient(to left, transparent 10%, #FFFFFF99 60%);
}

.c-plus {
  position: relative;
  width: 25px;
  height: 25px;
  margin-top: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  border: 2px solid var(--c-plus-color);
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 0;
  transition: transform .6s ease;
  cursor: pointer;
}

.c-plus:hover {
  transform: rotate(135deg);
}

.c-plus--highlighted {
  border: 2px solid var(--highlight-color);
  color: var(--highlight-color);
}

.c-footer {
  padding: 1rem 0 1rem 0;
}

.c-footer__list {
  display: flex;
  flex-direction: row;
}

.c-footer__list-item {
  position: relative;
  width: calc(100% / 3);
  margin: 0;
  align-items: center;
  justify-content: center;
}

.c-footer__list-item a {
  position: relative;
  display: inline-block;
  width: 100%;
  text-align: center;
}

.c-footer__list-item--1 {}

.c-footer__list-item--2 {
}

.c-footer__list-item--3 {}

.c-footer__list-item--4 {
}

.c-footer__list-item--4 {
}

.c-footer--login {
  padding: 20px;
  padding-bottom: 10px;
}

.c-footer--login .c-footer__list {
    flex-direction: column;
}

.c-footer--login .c-footer__list-item {}

.c-footer--login .c-footer__list-item--1 {}

.c-footer--login .c-footer__list-item--2 {
  margin-left: 12.5%;
}

.c-footer--login .c-footer__list-item--3 {}

.c-footer--login .c-footer__list-item--4 {
  margin-left: 37.5%;
}

.c-footer--login .c-footer__list-item--4 {
  margin-left: 31.25%;
}

.has-135deg-rotation {
  transform: rotate(135deg);
}

.has-32px-margin-top {
  margin-top: 32px !important;
}

/* ANIMATION DER FEHLERSEITE */
.c-error {
  position: relative;
  padding: 20px;
  height: calc(100vh - 335px);
  /* height: 100%; */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.c-error__text {
  position: relative;
  margin-top: -4rem;
}

.c-error__text p {
  font-size: 1.618rem;
  text-align: center;
}

.c-error__text p:last-of-type {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.c-error__animation {
  position: relative;
  left: -2em;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  box-sizing: content-box;
  font-size: 0.8rem;
}

.c-error__animation .gesicht, .arm {
  border: 0.6em solid transparent;
  border-right: 0.6em solid;
}

.c-error__animation .gesicht {
  border-left: 0.6em solid;
}

.c-error__animation .auge, .mund, .arm {
  position: absolute;
}

.c-error__animation .auge, .arm {
  border-radius: 50%;
}

.c-error__animation .gesicht {
  position: relative;
  border-radius: 30% / 60%;
  width: 13em;
  height: 8em;
}

.c-error__animation .gesicht .auge {
  position: absolute;
  border: 0.6em solid;
  width: 1em;
  height: 1em;
  top: 15%;
  left: 45%;
  animation: auge__rechts 3s linear infinite;
}

.c-error__animation .gesicht .auge+.auge {
  left: 80%;
  animation: auge__links 2.5s linear infinite;
}

.c-error__animation .gesicht .mund {
  position: absolute;
  box-shadow: 0 0 0 0.4em currentColor inset;
  width: 1.6em;
  height: 1.6em;
  top: 48%;
  left: 64%;
  animation: mund 2s cubic-bezier(0.17, 0.81, 0.29, 0.94);
}

.c-error__animation .gesicht .arm {
  position: absolute;
  width: 3.2em;
  height: 4.5em;
  top: -7%;
  left: -15%;
  transform-origin: 80% 80%;
  transform: rotate(45deg);
  animation: arme 1.9s cubic-bezier(0, 1, 0, 1);
}

.c-error__animation .gesicht .arm+.arm {
  left: 90%;
  animation: arme 2s cubic-bezier(0, 1, 0, 1);
}

@media screen and (min-width: 576px) {
  .c-nav {
    margin-bottom: 2rem;
  }

  #article .c-nav,
  #project .c-nav {
    margin-bottom: 0;
  }

  .c-main__portfolio-overlay-title {
    font-size: 1rem !important;
  }

  .c-main__portfolio-overlay-teaser {
    font-size: 1.17rem;
    width: 85vw;
  }

  .c-main__portfolio-overlay-teaser+p a {
    font-size: 1rem !important;
  }

  .c-main__portfolio-overlay-description {
    background: linear-gradient(transparent 0%, white 20%, white 100%);
  }

  .c-image-gallery__image {
    height: auto;
    width: auto;
    max-width: 66.6666%;
    max-height: 55vh;
    /* margin-left: 20px; */
  }

  .c-image-gallery__arrow {
    width: 45px;
    height: 45px;
    font-size: 2rem;
  }
}

@media screen and (min-width: 768px) {

  .c-main__info,
  .c-collapsible__teaser,
  .c-collapsible__thumbnails {
    width: 66.66666%;
  }

  .c-article,
  .c-project,
  .c-rechtliches,
  .c-analysen {
    width: 66.6666%;
  }
}

@media screen and (min-width: 992px) {
  .c-nav {
    width: 66.66666%;
  }

  .c-nav__logo {
    position: fixed;
    display: block;
    top: 55px;
    right: 6.25%;
    width: auto;
    height: 66px;
    z-index: 2;
  }

  .c-nav__logo img {
    position: relative;
    width: auto;
    height: 100%;
  }

  .c-nav__logo a {
    width: 100%;
    height: 100%;
  }

  .c-main__info,
  .c-collapsible__teaser,
  .c-collapsible__thumbnails {
    width: 50%;
  }

  .c-main__info .c-collapsible__teaser {
    width: 100%;
  }

  .c-next-button,
  .c-back-button {
    right: 33.33333%;
  }

  .c-next-button {
    bottom: 17%;
  }

  .c-back-button {
    bottom: 12%;
  }

  .c-image-gallery {
    width: 100%;
  }

  .c-image-gallery__image {
    height: auto;
    width: 66.6666%;
    max-width: none;
    max-height: none;
    /* margin-left: 20px; */
  }

  .c-image-gallery__image:first-of-type {
    margin-left: 16.66666%;
  }

  .c-image-gallery__image:last-of-type {
    margin-right: 16.66666%;
  }

  .c-main__portfolio-overlay-description {
    width: 27.5%;
    height: 40%;
    padding-right: 5%;
    bottom: auto;
    top: 0;
    background-image: radial-gradient(farthest-corner at -10px -10px, white 15%, transparent 70%);
  }

  .c-main__portfolio-overlay-title {
    font-size: 0.87rem !important;
  }

  .c-main__portfolio-overlay-teaser {
    font-size: 1rem !important;
    width: auto;
  }

  .c-main__portfolio-overlay-teaser+p a {
    position: absolute;
    right: 6rem;
    bottom: 0;
    font-size: 1rem;
    white-space: nowrap;
    background-color: var(--highlight-color);
    border: 2px solid var(--c-plus-color);
    border-radius: 50px;
    padding: 8px 8px 6px 8px;
  }

  .c-main__portfolio-overlay-teaser+p {
    position: fixed;
    bottom: 7%;
    right: 12.5%;
  }

  .c-main__image {
    width: 90vw;
    height: auto;
    margin-left: 20px;
  }

  .c-main__image {
    height: auto;
    width: auto;
    max-width: 90vw;
    max-height: 90vh;
    margin-left: 20px;
  }
}

@media screen and (min-width: 1200px) {
  .c-nav {
    width: 66.66666%;
  }

  .c-nav__logo {
    position: fixed;
    display: block;
    top: 55px;
    right: 6.25%;
    width: auto;
    height: 66px;
  }

  .c-nav__logo img {
    position: relative;
    width: auto;
    height: 100%;
  }

  .c-nav__logo a {
    width: 100%;
    height: 100%;
  }

  .c-article,
  .c-project,
  .c-rechtliches,
  .c-analysen {
    width: 50%;
  }

  .c-main__info,
  .c-collapsible__teaser,
  .c-collapsible__thumbnails {
    width: 35%;
    width: 37.5%;
  }

  .c-main__info .c-collapsible__teaser {
    width: 100%;
  }

  .c-next-button,
  .c-back-button {
    right: 33.33333%;
  }

  .c-next-button {
    bottom: 17%;
  }

  .c-back-button {
    bottom: 12%;
  }

  .c-image-gallery {
    width: 100%;
  }

  .c-image-gallery__image {
    width: 50%;
  }

  .c-image-gallery__image:first-of-type {
    margin-left: 25%;
  }

  .c-image-gallery__image:last-of-type {
    margin-right: 25%;
  }

  .c-image-gallery__arrow {
    width: 45px;
    height: 45px;
    font-size: 2rem;
  }

  .c-main__portfolio-overlay-description {
    width: 27.5%;
    height: 40%;
    padding-right: 5%;
    bottom: auto;
    top: -15px;
    background-image: radial-gradient(farthest-corner at -10px -10px, white 15%, transparent 70%);
  }

  .c-main__portfolio-overlay-teaser {
    font-size: 1rem;
  }

  .c-main__portfolio-overlay-teaser+p a {
    font-size: 1rem;
    background-color: var(--highlight-color);
    border: 2px solid var(--c-plus-color);
    border-radius: 50px;
    padding: 8px 8px 6px 8px;
  }

  .c-main__portfolio-overlay-teaser+p {
    position: fixed;
    bottom: 7%;
    right: 12.5%;
  }
}

@keyframes auge__links {
  from, 30%, 38%, 70% {
    background: currentColor;
    border: 0;
    transform: translate(0.4em, 0.4em) scale(1, 1);
  }

  34% {
    background: currentColor;
    border: 0;
    transform: translate(0.4em, 0.4em) scale(1, 0);
  }

  74.9% {
    background: currentColor;
    border: 0;
    transform: translate(0.4em, 0.4em) scale(1.5, 0);
  }

  75%, to {
    background: transparent;
    border: 0.4em solid;
    transform: translate(0, 0);
  }
}

@keyframes auge__rechts {
  from, 30%, 38%, 70% {
    background: currentColor;
    border: 0;
    transform: translate(0.4em, 0.4em) scale(1, 1);
  }

  34% {
    background: currentColor;
    border: 0;
    transform: translate(0.4em, 0.4em) scale(1, 0);
  }

  74.9% {
    background: currentColor;
    border: 0;
    transform: translate(0.4em, 0.4em) scale(1.5, 0);
  }

  75%, to {
    background: transparent;
    border: 0.5em solid;
    transform: translate(0, 0);
  }
}

@keyframes mund {
  from, 75% {
    height: 0.2em;
    transform: translateY(0.8em);
  }

  87.5%, to {
    height: 1.6em;
    transform: translateY(0);
  }
}

@keyframes arme {
  from, 75% {
    transform: rotate(155deg);
  }

  to {
    transform: rotate(45deg);
  }
}
