@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

body {
  display: flex;
  flex-direction: row;
  overflow-x: hidden;
  font-family: "Work Sans", sans-serif;
}

#left {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Horizontal zentrieren */
  align-items: center; /* Vertikal zentrieren */
  height: 100%; /* Beispielhöhe, anpassen nach Bedarf */
  width: 550px; /* Beispielbreite, anpassen nach Bedarf */
  padding: 140px 100px 100px 100px;
}

#logo {
  display: flex;
  align-self: flex-start;
}

#logo img {
  width: 97px;
  height: auto;
  margin-bottom: 8px;
}

h1 {
  font-size: 64px;
  font-family: "Playfair Display", serif;
}

p {
  font-size: 24px;
}

#small-container {
  display: flex;
  gap: 30px; /* Abstand zwischen den Rechtecken */
  align-self: flex-start; /* optional, um links auszurichten */
  margin-top: 10px;
}

#small-white-reg {
  display: flex;
  background-color: white;
  justify-content: center; /* horizontal */
  align-items: center; /* vertikal */
  border-radius: 20px;
  border: 2px solid black;
  width: 200px;
  height: 60px;
  font-size: 24px;
}

#small-black-reg {
  display: flex;
  color: white;
  justify-content: center; /* horizontal */
  align-items: center; /* vertikal */
  background-color: black;
  border-radius: 20px;
  width: 200px;
  height: 64px;
  font-size: 24px;
  text-decoration: none;
}

#white-regtangle {
  width: 600px;
  height: 100px;
  border-radius: 20px;
  border: 2px solid black;
  background-color: white;
  display: flex;
  margin-top: 20px;
  justify-content: space-between;
  padding: 10px;
  box-sizing: border-box;
}

#icon-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
  max-width: 120px;
  padding: 10px;
}

#icon-item img {
  width: 22px;
  height: auto;
  margin-bottom: 8px;
}

#icon-item p {
  font-size: 12px;
  margin: 1px;
  width: 90px;
}

#right {
  /* display: flex; */
  flex-direction: column;
  justify-content: center; /* Horizontal zentrieren */
  /* align-items: center; Vertikal zentrieren */
  position: relative;
  height: 100%; /* Beispielhöhe, anpassen nach Bedarf */
  width: 100%;
  margin-left: 200px;
}

@media screen and (max-width: 1600px) {
  #right {
    margin-left: 0;
  }
}

#big-white-reg {
  display: flex;
  background-color: white;
  justify-content: center; /* horizontal */
  align-items: center; /* vertikal */
  border-radius: 30px;
  border: 2px solid black;
  width: 480px;
  height: 570px;
  margin-top: 140px;
  z-index: 1;
  position: absolute;
  left: 150px;
}

#small-white-reg-r {
  display: flex;
  background-color: white;
  justify-content: center; /* horizontal */
  align-items: center; /* vertikal */
  border-radius: 30px;
  border: 2px solid black;
  width: 310px;
  height: 480px;
  top: 200px;
  left: 180px;
  position: relative;
  z-index: 1;
}

#phone {
  position: absolute;
  top: 200px;
  left: 250px;
  z-index: 2;
}

#phone img {
  width: 320px;
  height: auto;
}

#star {
  position: absolute;
  top: 90px;
  left: 110px;
  z-index: 1;
}

#small-green {
  display: flex;
  position: absolute;
  justify-content: center; /* horizontal */
  align-items: center; /* vertikal */
  border-radius: 20px;
  width: 290px;
  height: 60px;
  font-size: 24px;
  background-color: rgba(24, 204, 99, 1);
  color: white;
  z-index: 2;
  top: 620px;
  left: 60px;
}

#big-green {
  top: 240px;
  left: 510px;
  display: flex;
  position: absolute;
  justify-content: center; /* horizontal */
  align-items: center; /* vertikal */
  border-radius: 20px;
  width: 200px;
  height: 50px;
  font-size: 24px;
  background-color: rgba(24, 204, 99, 1);
  z-index: 2;
  color: white;
}

.error {
	padding: 5px;
	background-color: rgba(255,0,0,0.1);
}
.success {
	padding: 5px;
	background-color: rgba(0,255,0,0.1);		
}
