/*
---------------
---Kontakt---
---------------
*/

#section-1 {
  padding: 50px 10px;
  background: linear-gradient(
    90deg,
    rgba(138, 148, 246, 1) 0%,
    rgba(179, 89, 247, 1) 50%
  );

  height: auto;
  color: #fff;
}

#section-1 .wrapper {
  max-width: 1200px;
  margin: auto;
}

/*-----|||-----*/

/*
---------------
---section-2---
---------------
*/

#section-2 {
  padding: 50px 10px;
  background-color: #ffffff;
}

#section-2 .wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

#section-2 .text {
  max-width: 400px;
}

#section-2 form {
  max-width: 400px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  padding: 30px;
  border-radius: 15px;
}

#section-2 form .boxes {
  display: flex;
  flex-direction: row;
}

#section-2 form .box {
  width: 200px;
}

#section-2 form input,
#section-2 form textarea {
  margin-bottom: 10px;
  background-color: #ecedf2;
  border: none;
  padding: 10px;
  border-radius: 10px;
}

#section-2 .neBox input {
  width: 300px;
}

#section-2 .neBox textarea {
  width: 300px;
}

#section-2 input#ButtonOdeslat {
  background-color: var(--zakladniBarvy);
  color: #fff;
}

/*-----|||-----*/

/*
---------------
---#section-3---
---------------
*/

#section-3 {
  padding: 50px 10px;
}

#section-3 .wrapper {
  max-width: 1200px;
  margin: auto;
}

#section-3 .obal {
  display: flex;
  flex-direction: row;
  gap: 20px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 15px;
}

#section-3 .text {
  padding: 15px;
}

#section-3 .text h2 {
  margin: 20px 0px 0px 0px;
}

#section-3 .kontaktniUdaje {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  font-size: 1.2em;
  color: var(--zakladniBarvy);
  text-align: left;
}

#section-3 i {
  min-width: 43px;
  font-size: 2em;
}

#section-3 a {
  text-decoration: none;
  font-size: 1.2em;
}
#section-3 img {
  width: 500px;
  object-fit: cover;
  border-top-right-radius: 15px;
}

/*-----|||-----*/

@media only screen and (max-width: 768px) {
  #section-2 form {
    width: 80%;
  }

  #section-2 form .boxes {
    flex-direction: column;
  }

  #section-2 .neBox input,
  #section-2 .neBox textarea {
    width: 100%;
  }

  #section-3 .obal {
    flex-direction: column;
  }

  #section-3 img {
    width: 100%;
  }
}
