html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background-color: white;
  font-family: "zabars", Arial, Helvetica, sans-serif;
}

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;
}

header {
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 260px;
  position: relative;
  overflow: visible;
}

header .design-element {
  position: absolute;
  top: 0;
  width: 1200px;
  max-width: 100%;
  height: 10px;
  background: #51baeb;
}

header .logo {
  max-height: 100px;
  margin-top: 50px;
  z-index: 1;
}

.logo-container {
  height: 260px;
  width: 100%;
  display: flex;
  justify-content: center;
}

header .container-row {
  color: white;
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  z-index: 2;
}

header .container-row .box,
header .container-row .box2 {
  width: 190px;
  height: 102px;
  background: #51b9ea;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

header .container-row .box2 {
  border-left: 0.3px solid #a5a4a4;
  border-top: none;
  border-bottom: none;
}

.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;
}

footer {
  background: #51b9ea;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 105px !important;
}

.left-foot,
.right-foot,
footer .social-icons {
  width: 33%;
  height: 90px;
  display: flex;
  align-items: center;
}

.left-foot {
  justify-content: flex-end;
  gap: 20px;
  padding-right: 100px;
}

.right-foot {
  justify-content: flex-start;
  padding-left: 100px;
}

footer .social-icons {
  justify-content: center;
  gap: 20px;
}

footer .social-icons img {
  width: 35px;
  height: 35px;
  transition: transform 0.2s ease;
  cursor: pointer;
  padding-top: 10px;
}

footer .social-icons img:hover {
  transform: scale(1.2);
}

.icon-facebook {
  width: 30px !important;
  height: 30px !important;
}

@font-face {
  font-family: "Roboto";
  src: url("assets/fonts/Roboto-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 75% 125%;
}

body {
  font-family: "Roboto", sans-serif;
}

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;
}

a {
  color: #51b9ea;
  text-decoration: none;
  padding-bottom: 10px;
  font-weight: 540;
}

a:hover {
  color: #3498db;
}

.left-foot a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 20px;
  padding-top: 10px;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}

.left-foot a:hover {
  transform: translateY(-1px) scale(1.01);
}

.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);
}

.box,
.box2 {
  position: relative;
  background-color: #e30613;
  color: white;
  font-weight: bold;
  cursor: pointer;
  overflow: hidden;
  z-index: 0;
}

.box::after,
.box2::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #39a5d5;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.box:hover::after,
.box2:hover::after {
  opacity: 1;
}

.icon-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
}

.icon-container svg {
  width: 20px;
  height: 20px;
  color: #39a5d5;
  margin-bottom: 12px;
}

.icon-container svg[fill="currentColor"] path {
  fill: currentColor;
}

.icon-container svg[stroke="currentColor"] path,
.icon-container svg[stroke="currentColor"] circle {
  stroke: currentColor;
}

.icon-container-text {
  text-align: start;
}

@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) {
  header .container-row .box {
    width: 180px;
    height: 102px;
  }

  header .container-row .box2 {
    width: 180px;
    height: 102px;
  }

  .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) {
  header .container-row .box {
    width: 170px;
    height: 102px;
  }

  header .container-row .box2 {
    width: 170px;
    height: 102px;
  }

  .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) {
  header .container-row .box {
    width: 160px;
    height: 102px;
  }

  header .container-row .box2 {
    width: 160px;
    height: 102px;
  }

  .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) {
  header .container-row .box {
    width: 150px;
    height: 102px;
  }

  header .container-row .box2 {
    width: 150px;
    height: 102px;
  }

  .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) {
  header .container-row .box {
    width: 140px;
    height: 102px;
  }

  header .container-row .box2 {
    width: 140px;
    height: 102px;
  }

  .left-side {
    width: 530px;
    padding-right: 10px;
  }

  .right-side {
    width: 280px;
    padding-left: 10px;
  }

  .right-foot {
    display: none;
  }

  h1,
  h2 {
    font-size: 30px;
  }

  .picture {
    height: 202px;
  }

  .picture .title-picture {
    width: 1338px;
  }

  main {
    width: 100%;
  }
}

@media (max-width: 875px) {
  header .container-row .box {
    width: 130px;
    height: 102px;
  }

  header .container-row .box2 {
    width: 130px;
    height: 102px;
  }

  .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) {
  header .container-row .box {
    width: 120px;
    height: 102px;
  }

  header .container-row .box2 {
    width: 120px;
    height: 102px;
  }

  .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) {
  header .container-row {
    display: none !important;
  }

  .navbar {
    display: flex !important;
    justify-content: center;
    align-items: center;
    background-color: #51b9ea;
    height: 60px;
    width: 100%;
    position: relative;
  }

  .burger {
    font-size: 30px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .burger:hover {
    transform: scale(1.1);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    background-color: #51b9ea;
    width: 100%;
    text-align: center;
    flex-direction: column;
    z-index: 10;
  }

  .nav-links.show {
    display: flex;
    animation: fadeIn 0.3s ease;
  }

  .nav-links a {
    display: block;
    color: white;
    padding: 15px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }

  .nav-links a:hover {
    background-color: #39a5d5;
    color: #ffffff;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .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) {
  .left-foot {
    padding-right: 80px;
  }

  .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;
  }

  .left-foot {
    padding-right: 40px;
  }

  #vorname {
    width: 400px;
  }

  #nachname {
    width: 100%;
  }

  #telefon {
    width: 100%;
  }

  #email {
    width: 100%;
  }

  #mitteilung {
    width: 100%;
  }
}

@media (max-width: 530px) {
  footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .left-foot {
    padding-right: 0px;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
  }

  .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;
  }
}
