body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
}
header {
  background: #468277;
  padding: 20px;
  text-align: center;
}
nav {
  background: #ffffff;
  padding: 10px;
  text-align: right;
}
nav a {
  margin-right: 25px;
  text-decoration: none;
  color: #a9a9a9;
  padding: 8px 16px;
}

nav a:hover {
  color: #61836c;
  background-color: #b6b6b6;
}
main {
  padding: 20px;
  font-family: Inter;
}
footer {
  background: #294c46;
  text-align: center;
  padding: 15px;
  margin-top: 20px;
  color: white;
}

#intro {
  width: 300px;
  margin: auto;
  text-align: justify;
}

#designers {
  margin: 0%;
  padding: 0%;
}

#designers:hover {
  font-size: xx-large;
  font-weight: 1900;
  color: rgb(107, 146, 140);
}

.title {
  font-weight: 600;
  margin-right: 10%;
}

#flexbox {
  display: flex;
}
#headline {
  font-weight: bolder;
  font-family: monospace;
  color: white;
}

#active {
  font-weight: bolder;
  color: black;
}

#typewriter {
  overflow: hidden;
  border-right: 3px solid #333;
  white-space: nowrap;
  animation: typing 4s steps(80, end), blink-caret 0.75s step-end infinite;
  width: fit-content;
  font-family: monospace;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-right-color: transparent;
  }
  50% {
    border-right-color: #000000;
  }
}

.slider {
  display: flex;
  height: 250px;
  overflow: visible;
  position: relative;
  width: 100%;
  padding-top: 20px;
}

.slide-track {
  display: flex;
  width: calc(250px * 12);
  animation: scroll 10s linear infinite;
  gap: 20px;
}

.slide {
  width: 250px;
  height: 250px;
  object-fit: cover;
  transition: 
    transform 0.4s ease,
    margin 0.4s ease,
    filter 0.4s ease;
  z-index: 1;
}

.slider:hover .slide {
  filter: brightness(0.4);
}

.slide:hover {
  filter: brightness(1) !important;
  transform: scale(1.3) translateY(-20px);
  z-index: 10;
  margin-left: 20px;
  margin-right: 20px;
}

.slider:hover .slide-track {
  animation-play-state: paused;
}


@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}




#textzwei {
  font-family: Inter;
  letter-spacing: -1px;
  line-height: 0.3;
  font-size: 25pt;
  padding-top: 100px;
  width: 800px;
  margin-left: 245px;
  transition: all 0.5s ease;
}

#textzwei.open {
  line-height: 0.9;
}

#textdrei{
  margin-left: 850px;
  margin-right: 100px;
  text-align: justify;
  text-justify: inter-word;
  font-weight: 400
}

#textvier{
  font-size: 20pt;
  width: 500px;
  margin-left: 220px;
  margin-top: 100px;
  margin-bottom: 100px;
  color:  rgb(232, 111, 41)
}
#unten{
  width: 100%;
  padding-bottom: 200px;
  padding-top: 100px;
  overflow: hidden;
  margin-top: -100px;
  background: url("medien/how_designers_could_escape_capitalism-image-8.png");
  background-size: contain;
  background-repeat: no-repeat;
}