:root {
  --background-color: white;
  --darker-background-color: rgb(28, 111, 71);
  --accent-color: rgb(82, 170, 82);
  --text-color: black;
  --navbar-height: 80px;
  --logo-wrapper-height: 115px;
}
* {
  margin: 0;
  padding: 0;
  /*font-size: 22px;*/
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
}
nav {
  height: var(--navbar-height);
  background-color: var(--background-color);
  display: flex;
  justify-content: center;
  align-items: center;
}
nav .logo {
  margin-left: 30px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 35px;
  font-variant: small-caps;
  text-decoration: none;
}
nav ul {
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
}
nav li {
  height: 100%;
  width: min-content;
  text-align: center;
  position: relative;
  margin-left: 2.5rem;
  font-weight: 500;
  font-size: 20px;
}
/*nav li:hover {
  background: whitesmoke;
}*/
nav ul a {
  height: 100%;
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;

  text-decoration: none;
}
.dropdown {
  height: min-content;
  width: 230px;
  background: whitesmoke;

  display: none;
  flex-direction: column;

  position: absolute;
  left: 0;
  top: var(--navbar-height);
  z-index: 999;
  box-shadow: 1px 1px 7px black;
}
.dropdown li {
  height: 70px;
  width: 100%;
  z-index: 999;
}
.dropdown li a {
  justify-content: flex-start;
  padding-left: 0px;
  width: calc(100% - 30px);
  z-index: 999;
}
nav li:hover .dropdown {
  display: flex;
}
nav input[type="checkbox"] {
  display: none;
}
.expandable_li {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  font-size: 20px;
}
.toggle_button {
  width: 30px;
  height: 23px;

  position: absolute;
  /*top: 25px;
  right: 25px;*/

  display: none;
  flex-direction: column;
  justify-content: space-between;
}
.bar {
  height: 4px;
  width: 100%;
  background: var(--text-color);
  border-radius: 100px;
}

@media (max-width: 1230px) {
  .container-aktuelles {
    width: 800px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
  }

  .strecke-umzug {
    width: 760px;
    height: 760px;
  }
}
@media (max-width: 840px) {
  .container-aktuelles {
    width: 400px;
    padding-right: 5px;
    padding-left: 5px;
    margin-right: auto;
    margin-left: auto;
  }

  .strecke-umzug {
    width: 350px;
    height: 460px;
  }
}
@media (max-width: 789px) {
  .strecke-umzug {
    width: 460px;
    height: 460px;
  }
}

@media (max-width: 510px) {
  .container-aktuelles {
    width: 320px;
    padding-right: 5px;
    padding-left: 5px;
    margin-right: auto;
    margin-left: auto;
  }
  .container-aktuelles p {
    font-size: 14px;
  }

  .strecke-umzug {
    width: 270px;
    height: 270px;
  }

  .impressum {
    flex-wrap: wrap;
  }
}

@media (max-width: 930px) {
  .toggle_button {
    display: flex;
  }
  nav ul {
    height: min-content;
    width: 100%;
    background-color: var(--background-color);

    display: none;
    position: absolute;
    top: 196px; /*dieser wert für responsives menü abstand*/
    z-index: 9999;
  }
  nav li {
    height: min-content;
    width: 100%;
  }
  nav ul a {
    padding: 30px 0;
  }
  .expandable_li {
    display: block;
  }
  .expandable_li label {
    padding: 30px 0;
    cursor: pointer;
    display: block;
  }
  .expandable_li:hover .dropdown {
    display: none;
  }
  .expandable_li input[type="checkbox"]:checked ~ .dropdown {
    display: block;
  }
  .dropdown {
    position: static;
    width: 100%;
    z-index: 9999;
  }
  .dropdown li {
    padding: 0;
    display: block;
    position: static;
    background: var(--darker-background-color);
    z-index: 9999;
  }
  .dropdown li a {
    width: 100%;
    padding: 0;
    justify-content: center;
    z-index: 9999;
  }
  #toggle_button:checked ~ ul {
    display: block;
  }

  nav li {
    margin-left: 0rem;
  }

  .logo-wrapper {
    /* background-color: blueviolet; */
    max-width: 100%;
    /*min-height: 200px;*/
    padding-top: 5px;

    display: flex;
    justify-content: center;
    flex-wrap: wrap-reverse;
    align-items: center;
  }

  .video-wrapper {
    width: 100%;
    height: auto;

    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  /* .container-main {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }*/
}

@media (max-width: 600px) {
  .logo {
    display: none;
  }

  .logo300 {
    display: flex;
  }

  .feld1 {
    height: 436px;
    width: 380px;
    /*border-style: solid;*/
    /*border-color: aquamarine;*/
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;

    display: flex;
  }

  .front-container {
    width: 100%;
    padding-right: 0px;
    padding-left: 0px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1300px;
  }
  .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: 0px;
    margin-left: 0px;
    justify-content: center;
  }
}

@media (max-width: 739px) {
  nav ul {
    height: min-content;
    width: 100%;
    background-color: var(--background-color);

    display: none;
    position: absolute;
    top: 260px; /*dieser wert für responsives menü abstand*/
    z-index: 9999;
  }
}

/*------------------------responsive index-card-------------------*/

@media (max-width: 1279px) {
  .index-image-container {
    width: 840px;
    max-height: 300px;
    overflow: hidden;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 850px) {
  .index-image-container {
    width: 400px;
    max-height: 300px;
    overflow: hidden;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    margin-left: auto;
    margin-right: auto;
  }

  .container-main {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .card_content {
    transform: translateY(calc(100% - 104px));
  }
}
@media (max-width: 390px) {
  .index-image-container {
    width: 360px;
    max-height: 300px;
    overflow: hidden;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    margin-left: auto;
    margin-right: auto;
  }

  .card {
    height: 500px;
    width: 360px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: 250ms ease-in-out;
    background-color: rgb(28, 111, 71);
  }
}

@media (max-width: 320px) {
  .index-image-container {
    width: 300px;
    max-height: 300px;
    overflow: hidden;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    margin-left: auto;
    margin-right: auto;
  }

  .card {
    width: 300px;
    height: 500px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: 250ms ease-in-out;
    background-color: rgb(28, 111, 71);
  }

  .content_head h3 {
    font-size: 25px;
  }
}
