:root {
  --deepblue: black;
  --deepred: black;
  --mediumred: var(--dirtyyellow);
  --bg-color: var(--dirtyyellow);
}

body,
.header-bar {
  background-color: var(--bg-color);
}

img {
  max-width: 100%;
}

/*  ZUCKER-HEADER */

.header-bar {
  width: calc(27vw * 0.83);
}

.word-count {
  color: var(--deepblue);
}

/*  ZUCKER-HEADER END*/


.skandal {
  max-width: 100rem;
  margin: 2rem auto -5rem auto;
  opacity: 0;
}

.skandal.go {
  animation-name: skandal;
  animation-duration: 0.6s;
  animation-delay: 0.3s;
  animation-fill-mode: forwards;
  transform-origin: bottom left;
  transform-origin: center;
  animation-timing-function: ease;
}

@keyframes skandal {
  0% {
    opacity: 1;
    transform: scale(0);
  }
  40% {
    opacity: 1;
    transform: scale(1.7);
  }
  70% {
    opacity: 1;
    transform: scale(0.7);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


h1,
h3 {
  color: var(--deepblue);
}

@media (max-width: 1000px) {
  h1 {
    font-size: 5rem;
  }
}

h5,
p {
  color: inherit;
}

.authors {
  margin-top: 5rem;
}

.authors,
.title {
  max-width: none;
}

.main__section {
  padding-top: 10rem;
  background: radial-gradient(circle, black 1px, var(--bg-color) 1px),
    radial-gradient(circle, black 1px, var(--bg-color) 1px) 2px 2px;
  background-size: 5px 5px;
}

p,
li,
h4,
h5,
h6 {
  padding-left: 2.0rem;
  padding-right: 2.0rem;
}

h5.head {
  line-height: 1em;
}

p.date,
p.name,
p.medium,
p.quote {
  margin: 0;
  color: var(--deepred);
}

.revidieren p.date,
.revidieren p.name,
.revidieren p.medium,
.revidieren p.quote {
  color: var(--deepblue);
}

p.date {
  margin-bottom: 1.2rem;
  border-bottom: 0.2rem dotted black;
  padding-bottom: 1.5rem;
}

p.date:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

p.quote {
  line-height: 1.2em;
  margin-bottom: 0.6rem;
  margin-top: 0.8rem;
}

p.date,
p.name,
p.medium {
  font-family: "Liberation-Mono", Courier, sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.35em;
}

.aussage,
.revidieren {
  position: relative;
  max-width: 47rem;
  margin: 1rem 2rem 1rem 1rem;
  padding: 1.5rem 0 1.5rem 0;
  border: 0.2rem solid;
  box-shadow: 0.75rem 0.75rem 0 0;
}

.category {
  margin-bottom: 4rem;
}

.category .aussage,
.category .revidieren {
  width: 80%;
}

.aussage {
  z-index: 1;
  color: var(--deepred);
  background-color: var(--dirtyyellow);
}

.revidieren {
  color: var(--deepblue);
  background-color: var(--mediumred);
}

.aussage:after {
  content: "";
  position: absolute;
  left: calc(100% + 0.75rem);
  top: calc(50% - 1rem);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 1rem 0 1rem 1.5rem;
  border-color: transparent transparent transparent black;
}

@media (max-width: 700px) {
  .aussage:after {
    content: "";
    position: absolute;
    top: calc(100% + 0.75rem);
    left: calc(50% - 0.75rem);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 1.5rem 1rem 0 1rem;
    border-color: black transparent transparent transparent;
  }
  .revidieren {
    margin-left: 4rem;
    margin-top: 1.5rem;
  }
}

.month {
  border-left: 0.2rem solid var(--deepred);
  margin-left: 1rem;
  margin-bottom: 2rem;
}

.monthname {
  margin-left: -6rem;
  color: var(--deepred);
  background-color: var(--bg-color);
  width: intrinsic;
  width: -moz-max-content;
  width: -webkit-max-content;
  text-align: left;
  border: 0.2rem solid var(--deepred);
  padding: 0.5rem 1rem 0.2rem 1rem;
  margin-bottom: 1rem;
}

.monthname p {
  color: var(--deepred);
  padding: 0;
  margin: 0;
}

/*  LAYOUT  */

.main__section.content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  overflow: hidden;
}

.text__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flexbox {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
}

footer {
  border-top: 3px solid var(--deepred);
}

footer a:link	  {color: black; text-decoration: underline;}
footer a:visited  {color: black; text-decoration: underline;}
footer a:hover    {color: red; text-decoration: underline;}
footer a:active   {color: red; text-decoration: underline;}


@media (max-width: 1200px) {

  .monthname {
    margin-left: -0.2rem;
  }

}

@media (max-width: 700px) {

  .flexbox {
    flex-direction: column;
  }

}