@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --color-1: #ed1c24;
  --color-2: #009f4f;
  --color-3: #72be44;
  --color-4: #fff200;
  --color-gray: #221f21;
  --font-family: "Roboto Condensed", sans-serif
}

div.text-changer {
  transform: none;
  border-radius: 0;
  margin-left: -15px;
}

.text-changer span {
  background: var(--color-4);
  padding-left: 80px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 90%, 50px 50%, 0 10%, 0 0);
  color: var(--color-gray);
}

.text-element-1 {
  position: absolute;
  bottom: 0;
  left: 15px;
  display: flex;
  flex-direction: column-reverse;
  gap: 15px;
  width: 100%;
  align-items: start;
  height: 100%;
  box-sizing: border-box;
  z-index: 10;
}

.articleInformation {
  border-radius: 5px;
  background: var(--color-4);
  color: var(--color-gray);
  margin-left: 15px;
  margin-right: 15px;
}

.articleInformation a {
  color: var(--color-gray);
  border-color: var(--color-gray);
}

.accordeon {
  border-radius: 10px;
  background: var(--color-2);
  color: white;
  overflow: hidden;
}

.gallery>* {
  border-radius: 5px;
}

.eye-catcher>.container {
  padding: 0 15px;
}

.articleDetail .eye-catcher>.container {
  align-items: end;
}

.eye-catcher::after {
  content: "";
  width: 60%;
  height: 30%;
  background: red;
  position: absolute;
  bottom: 10%;
  right: 0;
  background: url(/imgs/CH-Schweif.png);
  background-size: contain;
  background-position: bottom right;
  background-repeat: no-repeat;
  z-index: 5;
}

.posts article {
  border-radius: 10px;
  overflow: hidden;
}

.btn,
.inheritTag {
  border-radius: 5px;
}

.nav-primary a {
  color: inherit;
  opacity: 0.7;
}

ul.nav-primary a.active,
.nav-primary a:hover {
  opacity: 1;
}

.eye-catcher::before {
  content: "";
  background: white;
  mask: radial-gradient(70% 100% at 45% 0%, transparent 99.5%, black 100%);
  width: 120%;
  height: 30%;
  z-index: 6;
  position: absolute;
  bottom: 0;
  left: -20%;
}

footer {
  position: relative;
  padding-top: 60px;
}

footer::before {
  content: "";
  background: white;
  mask: radial-gradient(55% 100% at 50% 0%, black 99.5%, #0000 100%);
  width: 100%;
  height: 10%;
  z-index: 6;
  position: absolute;
  top: 0;
  left: 0;
}

.text-element-1 h1 {
  background: none;
  padding: 10px 50px;
  position: absolute;
  top: 40px;
  font-style: italic;
  font-weight: 900;
}

.articleDetail>.container>h1 {
  transform: none;
  font-style: italic;
  background: none;
  padding: 10px 50px;
  position: relative;
  font-weight: 900;
}

.articleDetail>.container>h1::after,
.text-element-1 h1::after {
  content: "";
  background: var(--color-2);
  height: calc(100% - 35px);
  width: 100%;
  position: absolute;
  left: 0%;
  bottom: 0;
  border-radius: 30px;
  z-index: -1;
  min-height: 55%;
}

.articleDetail>.container>h1::before,
.text-element-1 h1::before {
  content: "";
  background: var(--color-3);
  height: 50px;
  width: 90%;
  position: absolute;
  left: 5%;
  top: 0;
  border-radius: 30px;
  z-index: -1;
  max-height: 60%;
}

.posts article:hover {
  background: var(--color-3);
}

.contactInfo a i::after,
.socials a::before,
.toggleNav::before {
  background: var(--color-3);
}

@media screen and (max-width: 800px) {
  .eye-catcher::after {
    display: none;
  }

  .eye-catcher::before,
  footer::before {
    height: 5%;
  }

  .open ul.nav-primary {
    box-shadow: 0px 0px 60px 60px #fffa9fa3;
  }
}
