#elerhetoseg {
  margin-bottom: calc(2 * var(--section-space));
  padding-top: var(--section-space);
}

.contact__row {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  width: 90%;
  max-width: 1400px;
  margin: auto;
  padding: 5rem 4rem;
  border-radius: 2rem;
  background-image: var(--img-contact);
  background-size: cover;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.contact__row .overlay-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - (400px + 10rem));
  height: 100%;
  background-color: var(--blue-800);
  opacity: 0.95;
  pointer-events: none;
}

.contact__row .overlay-2 {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(400px + 10rem);
  height: 100%;
  background-color: var(--blue-900);
  opacity: 0.95;
  pointer-events: none;
}

.contact__row div:nth-child(3) {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-right: 8rem;
}

.contact__row div:nth-child(3) h2 {
  margin-bottom: 1.5rem;

  color: var(--neutral-50);
}

.contact__row div:nth-child(3) p {
  color: var(--neutral-200);
}

.contact__row div:nth-child(3) p strong {
  font-weight: 600;
}

.contact__row div:nth-child(3) img {
  width: 100%;
  max-width: 525px;
  margin-top: 2rem;
  border-radius: 1rem;
}

.contact__row div:last-child {
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: 1rem;
  padding: 3rem 2rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--neutral-50) 10%, transparent);
  background-color: color-mix(in srgb, var(--neutral-100) 10%, transparent);
  backdrop-filter: blur(10px);
}

.contact__row div:last-child h2 {
  margin-bottom: 1rem;
  text-align: center;
  /* text-transform: uppercase; */
  color: var(--blue-50);
}

.contact__row div:last-child h2 span {
  color: var(--blue-500);
}

.contact__row div:last-child form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__row div:last-child form input,
.contact__row div:last-child form textarea {
  border: 1px solid color-mix(in srgb, var(--neutral-50) 10%, transparent);
  color: #ffffff;
  background-color: color-mix(in srgb, var(--neutral-100) 10%, transparent);
}

.contact__row div:last-child form input::placeholder,
.contact__row div:last-child form textarea::placeholder {
  color: var(--neutral-400);
}

.contact__row div:last-child form button {
  width: 100%;
  color: var(--blue-950);
  background-color: var(--blue-50);
}

@media only screen and (max-width: 1024px) {
  #elerhetoseg {
    margin-bottom: 0;
  }
  .contact__row {
    flex-direction: column;
    padding: 4rem 0;
    border-radius: 0;
    width: 100%;
  }
  .contact__row div:nth-child(2) {
    margin: auto;
  }
  .contact__row div:nth-child(3) {
    margin-right: 0;
    margin-bottom: 4rem;
    width: 90%;
  }
  .contact__row div:last-child {
    margin-right: auto;
    width: 90%;
  }
}
