:root {
  --clr-primary-400: #131e3c;

  --clr-neutral-100: #fff;
  --clr-neutral-900: #272727;

  --ff-primary: "Roboto", sans-serif;
  --ff-accent: "Playfair Display", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--ff-primary);
  font-weight: 400;
  font-size: 1.3125rem;
  line-height: 1.6;
}

body,
h1,
h2,
h3,
p {
  margin: 0;
  padding: 0;
}

h1 {
  font-weight: 1000;
  line-height: 1;
  margin-top: 5rem;
  margin-bottom: 1rem;
}

h2 {
  font-weight: 600;
  text-align: center;
  margin-top: 3rem;
}

li {
  list-style-type: none;
  display: inline-block;
  padding: 1.5rem 2rem;
}

li a {
  text-decoration: none;
  color: black;
  cursor: pointer;
  outline: none;
  border-bottom: 0px solid var(--clr-primary-400);
  transition: background-color 200ms ease-in-out;
}

li a:hover,
li a:focus {
  background-color: #f1f1f1;
}

li:hover {
  background-color: #f1f1f1;
}

img {
  display: inline-block;
}

section {
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

form {
  max-width: 420px;
  margin: 50px auto;
}

.logo {
  width: 6rem;
  height: auto;
  position: relative;
  top: 0;
  left: -1rem;
}

.mobile-menu-start {
  display: none;
}

.header {
  background-color: var(--clr-neutral-100);
  text-align: center;
  width: 100%;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.3);
}

.dropbtn {
  background-color: var(--clr-neutral-100);
  border: none;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 2rem;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  font-size: 16px;
  padding: 1rem 1.5rem;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.header--container {
  width: min(90%, 80rem);
  margin-inline: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.spacer {
  flex-grow: 1;
}

.burger-menu {
  display: none;
}

.hero-container {
  width: min(90%, 80rem);
}

.hero-container p {
  height: 100%;
}

.hero-container h1 {
  padding-top: 5.5rem;
}

.hero-image {
  float: right;
  margin-left: 50px;
  margin-bottom: 0;
  padding-bottom: 0;
  width: 35%;
  shape-outside: url("./img/Thomas_Warmo_Ausschnitt.png");
}

.container {
  width: min(90%, 80rem);
  padding: 3rem 0rem 3rem 0rem;
}

.angebot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
}

.angebot p {
  text-align: center;
  margin-top: 1rem;
}

.angebot svg {
  height: 140px;
  fill: white;
}

.angebot-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}

.arbeiten {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.arbeiten p {
  line-height: 2em;
  max-width: min(90%, 40rem);
}

.arbeiten img {
  width: 100%;
  flex-grow: 1;
}

.kontakt {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-grow: 1;
}

.kontakt-form {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: column;
}

.feedback-input {
  color: white;
  font-weight: 500;
  font-size: 18px;
  border-radius: 5px;
  line-height: 22px;
  background-color: transparent;
  border: 2px solid var(--clr-neutral-100);
  transition: all 0.3s;
  padding: 13px;
  margin-bottom: 15px;
  width: 100%;
  box-sizing: border-box;
  outline: 0;
}

.feedback-input:focus {
  border: 2px solid var(--clr-neutral-900);
}

textarea {
  height: 150px;
  line-height: 150%;
  resize: vertical;
}

[type="submit"] {
  width: 100%;
  background: var(--clr-neutral-100);
  border-radius: 5px;
  border: 0;
  cursor: pointer;
  color: black;
  font-size: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
  transition: all 0.3s;
  margin-top: -4px;
  font-weight: 700;
  outline: none;
  margin-bottom: 2rem;
}
[type="submit"]:hover,
[type="submit"]:focus {
  background: var(--clr-neutral-900);
  color: white;
}

.kontakt-daten {
  display: flex;
  justify-content: space-around;
  align-items: baseline;
  flex-direction: column;
}

.kontakt-daten p {
  padding-bottom: 2rem;
  text-decoration: none;
  color: var(--clr-neutral-100);
}

.pair {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.referenzen {
  padding-top: 3rem;
}

.slidershow {
  padding-top: 2rem;
  width: min(90%, 70rem);
  height: 40rem;
  overflow: hidden;
  transform: translate(-50%, -10%);
}

.middle {
  position: relative;
  top: 50%;
  left: 50%;
}

.navigation {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.bar {
  width: 15px;
  height: 15px;
  border: 2px solid var(--clr-primary-400);
  border-radius: 50%;
  margin: 1rem 0.5rem;
  cursor: pointer;
  transition: 0.4s;
}

.leftArrow {
  position: absolute;
  left: 0;
  top: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
}

.rightArrow {
  position: absolute;
  right: 0;
  top: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  transform: rotate(180deg);
}

.rightArrow:hover,
.leftArrow:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.pos45Degree {
  position: relative;
  width: 30px;
  height: 5px;
  top: 30%;
  left: 15%;
  transform: rotate(-40deg);
  background-color: black;
}

.neg45Degree {
  position: relative;
  width: 30px;
  height: 5px;
  top: 50%;
  left: 15%;
  transform: rotate(40deg);
  background-color: black;
}

.bar:hover {
  background-color: var(--clr-neutral-900);
}

input[name="r"] {
  position: absolute;
  visibility: hidden;
}

.slides {
  width: 500%;
  height: 100%;
  display: flex;
}

.slide {
  width: 20%;
  transition: 0.6s;
}

.slide img {
  width: 100%;
  height: 100%;
}

#r1:checked ~ .s1 {
  margin-left: 0;
}

#r2:checked ~ .s1 {
  margin-left: -20%;
}

#r3:checked ~ .s1 {
  margin-left: -40%;
}

#r4:checked ~ .s1 {
  margin-left: -60%;
}

#r5:checked ~ .s1 {
  margin-left: -80%;
}

input[type="radio"]:checked + .bar {
  color: #f00;
  font-style: normal;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-text {
  line-height: 3.5rem;
  padding-right: 2rem;
}

.info-text-mobile {
  display: none;
}

.bg-primary {
  background-color: var(--clr-primary-400);
  color: var(--clr-neutral-100);
}

.bg-light {
  background-color: var(--clr-neutral-100);
  color: black;
}

.bg-dark {
  background-color: var(--clr-neutral-900);
  color: var(--clr-neutral-100);
}

.anchor {
  display: block;
  position: relative;
  top: -100px;
  visibility: hidden;
}

.left {
  padding-right: 2rem;
}

.right {
  padding-left: 2rem;
}

.impressum p {
  margin-bottom: 1rem;
}

@media (max-width: 1350px) {
  .hero-image {
    display: none;
  }
}

@media (max-width: 860px) {
  .logo {
    display: none;
  }

  .header {
    display: none;
  }

  h1 {
    margin-top: 5rem;
  }

  .burger-menu {
    display: inline-block;
    cursor: pointer;
    position: fixed;
    width: 100%;
    background-color: var(--clr-neutral-100);
    padding: 2rem;
    z-index: 100;
  }

  .bar1,
  .bar2,
  .bar3 {
    width: 35px;
    height: 5px;
    background-color: #333;
    margin: 6px 0;
    transition: 0.4s;
  }

  /* Rotate first bar */
  .change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
  }

  /* Fade out the second bar */
  .change .bar2 {
    opacity: 0;
  }

  /* Rotate last bar */
  .change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
  }

  .hero-container h1 {
    padding-top: 2rem;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 2rem 0rem 2rem 0rem;
  }

  .mobile-menu-start {
    display: inline-block;
    flex-grow: 1;
  }

  .angebot {
    flex-direction: column;
  }

  .angebot p {
    margin-top: 0rem;
  }

  .angebot-item {
    padding-bottom: 2rem;
  }

  .arbeiten {
    flex-direction: column;
  }

  img {
    padding-bottom: 2rem;
    height: 50%;
    width: auto;
  }

  li {
    display: block;
  }

  .info-text {
    line-height: 2rem;
    padding-right: 0;
  }

  .slidershow {
    height: 50%;
  }

  .kontakt {
    flex-direction: column-reverse;
  }

  .kontakt-daten {
    align-items: center;
  }

  .pair {
    flex-direction: column;
  }

  .left,
  .right {
    padding: 0;
  }
}
