main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.picture {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 286px;
  background: #f3f3f3;
  overflow: hidden;
}

.picture .title-picture {
  width: 1828px;
  height: auto;
  display: block;
}

.main-content {
  width: 1200px;
  padding-top: 50px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.main-content2 {
  width: 1200px;
  display: flex;
  flex-direction: row;
  text-align: center;
}

.main-content2-left {
  width: 800px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-bottom: 50px;
  padding-right: 50px;
}

.main-content2-right {
  width: 800px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.left-side {
  display: flex;
  flex-direction: column;
  padding-left: 30px;
  padding-right: 40px;
  width: 70%;
}

.right-side {
  display: flex;
  flex-direction: column;
  padding-left: 30px;
  padding-right: 30px;
  width: 30%;
}

#vorname {
  width: 450px;
  height: 40px;
}

#nachname {
  width: 450px;
  height: 40px;
}

#telefon {
  width: 450px;
  height: 40px;
}

#email {
  width: 450px;
  height: 40px;
}

#mitteilung {
  width: 450px;
  height: 100px;
}

.form-group input,
.form-group textarea {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  padding: 8px;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  background-color: #ffffff;
  outline: none;
  border-color: #888;
}

.error-message {
  font-size: 0.9em;
  color: red;
  min-height: 1.2em;
  visibility: hidden;
  margin-top: 5px;
  margin-bottom: 5px;
  text-align: start;
}

.error-message.visible {
  visibility: visible;
}

h1 {
  color: black;
  font-family: "Roboto", Sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 34px;
}

h2 {
  font-size: 38px;
  color: #51b9ea;
}

h3 {
  font-size: 30px;
  color: black;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  hyphens: auto;
  overflow-wrap: break-word;
}

p {
  font-size: 19px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.blue {
  color: #51b9ea;
  font-weight: 550;
}

.gray {
  color: gray;
}

.contact-button {
  display: block;
  margin-top: 50px;
  margin-bottom: 50px;
  margin-left: 0;
  background-color: #e30613;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  height: 60px;
  width: 220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-button:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1300px) {
  main {
    width: 100%;
  }

  .main-content2-left {
    width: 50%;
    padding-left: 50px;
  }

  .main-content2-right {
    width: 50%;
  }

  @media (max-width: 1220px) {
    .main-content2 {
      width: 100%;
      overflow-x: hidden;
    }

    .main-content {
      width: 100%;
    }
  }
}

@media (max-width: 1200px) {
  .picture {
    height: 266px;
  }

  .picture .title-picture {
    width: 1728px;
  }

  .left-side {
    width: 600px;
  }

  .right-side {
    width: 300px;
  }

  main {
    width: 100%;
  }

  .text-top {
    padding-right: 10px;
    padding-left: 10px;
  }

  .main-content2-left {
    width: 50%;
    padding-left: 30px;
  }

  .main-content2-right {
    width: 50%;
  }
}

@media (max-width: 1120px) {
  .picture {
    height: 256px;
  }

  .picture .title-picture {
    width: 1628px;
  }

  main {
    width: 100%;
  }

  .main-content2-left {
    width: 50%;
  }

  .main-content2-right {
    width: 50%;
    padding-right: 50px;
  }
}

@media (max-width: 1060px) {
  .left-side {
    width: 550px;
  }

  .right-side {
    width: 300px;
  }

  h1,
  h2 {
    font-size: 34px;
  }

  .picture {
    height: 232px;
  }

  .picture .title-picture {
    width: 1528px;
  }

  main {
    width: 100%;
  }

  .main-content2-left {
    width: 50%;
    padding-right: 40px;
  }

  .main-content2-right {
    width: 50%;
    padding-right: 70px;
  }
}

@media (max-width: 1015px) {
  .left-side {
    width: 530px;
    padding-right: 20px;
  }

  .right-side {
    width: 280px;
    padding-left: 20px;
  }

  h1,
  h2 {
    font-size: 32px;
  }

  .picture {
    height: 202px;
  }

  .picture .title-picture {
    width: 1438px;
  }

  main {
    width: 100%;
  }
}

@media (max-width: 935px) {
  .left-side {
    width: 530px;
    padding-right: 10px;
  }

  .right-side {
    width: 280px;
    padding-left: 10px;
  }

  h1,
  h2 {
    font-size: 30px;
  }

  .picture {
    height: 202px;
  }

  .picture .title-picture {
    width: 1338px;
  }

  main {
    width: 100%;
  }
}

@media (max-width: 875px) {
  .left-side {
    width: 480px;
  }

  .right-side {
    width: 280px;
  }

  h1,
  h2 {
    font-size: 28px;
  }

  .picture {
    height: 192px;
  }

  .picture .title-picture {
    width: 1238px;
  }

  main {
    width: 100%;
  }

  #vorname {
    width: 400px;
  }

  #nachname {
    width: 400px;
  }

  #telefon {
    width: 400px;
  }

  #email {
    width: 400px;
  }

  #mitteilung {
    width: 400px;
  }

  .main-content2-right {
    padding-right: 50px;
  }
}

@media (max-width: 815px) {
  .left-side {
    width: 430px;
  }

  .right-side {
    width: 280px;
  }

  .picture {
    height: 172px;
  }

  .picture .title-picture {
    width: 1138px;
  }

  main {
    width: 100%;
  }

  #vorname {
    width: 380px;
  }

  #nachname {
    width: 380px;
  }

  #telefon {
    width: 380px;
  }

  #email {
    width: 380px;
  }

  #mitteilung {
    width: 380px;
  }

  .main-content2-left {
    padding-right: 40px;
    width: 400px;
  }

  .main-content2-right {
    padding-right: 40px;
    width: 370px;
  }
}

@media (max-width: 768px) {
  .picture {
    height: 128px;
  }

  .picture .title-picture {
    width: 1058px;
  }

  .main-content2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  main {
    width: 100%;
  }

  .main-content2-left {
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .icon-container-text {
    width: 600px;
    text-align: center;
  }

  .main-content2-right {
    width: 100%;
    padding-right: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #vorname {
    width: 600px;
  }

  #nachname {
    width: 100%;
  }

  #telefon {
    width: 100%;
  }

  #email {
    width: 100%;
  }

  #mitteilung {
    width: 100%;
  }
}

@media (max-width: 630px) {
  .icon-container-text {
    width: 500px;
    text-align: center;
  }

  #vorname {
    width: 500px;
  }

  #nachname {
    width: 100%;
  }

  #telefon {
    width: 100%;
  }

  #email {
    width: 100%;
  }

  #mitteilung {
    width: 100%;
  }
}

@media (max-width: 580px) {
  .left-side {
    width: 500px;
  }

  #vorname {
    width: 400px;
  }

  #nachname {
    width: 100%;
  }

  #telefon {
    width: 100%;
  }

  #email {
    width: 100%;
  }

  #mitteilung {
    width: 100%;
  }
}

@media (max-width: 530px) {
  .icon-container-text {
    width: 400px;
    text-align: center;
  }
}

@media (max-width: 450px) {
  #vorname {
    width: 350px;
  }

  #nachname {
    width: 100%;
  }

  #telefon {
    width: 100%;
  }

  #email {
    width: 100%;
  }

  #mitteilung {
    width: 100%;
  }
}

@media (max-width: 400px) {
  #vorname {
    width: 310px;
  }

  #nachname {
    width: 310px;
  }

  #telefon {
    width: 310px;
  }

  #email {
    width: 310px;
  }

  #mitteilung {
    width: 310px;
  }

  .icon-container-text {
    width: 300px;
    text-align: center;
  }
}
