/*
----------
---Hero---
----------
*/

#hero {
  padding: 50px 10px 50px 10px;
  background: linear-gradient(
    180deg,
    rgba(242, 242, 242, 1) 0%,
    rgba(255, 255, 255, 1) 5%
  );
}

#hero .wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

#hero .obal {
  max-width: 500px;
}

#hero span {
  word-spacing: 10px;
  color: var(--barvaTextu2);
  font-size: 1.5em;
}

#hero h1 {
  font-size: 3em;
  margin: 10px 0px;
}

#hero input {
  border: 0px;
  background-color: #f0f0f0;
  padding: 10px 15px;
  margin-right: 15px;
  outline: none;
  border-radius: 5px;
  width: 150px;
}

#hero textarea:focus,
#hero input:focus {
  border: 2px solid var(--zakladniBarva);
}

#hero img {
  max-width: 400px;
  border-radius: 10px;
}

/*-----|||-----*/

/*
---------------
---Section----
---------------
*/

#section {
  padding: 50px 10px;
  background-color: var(--pozadi2);
}

#section .wrapper {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

#section .boxes {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 50px;
}

#section .box {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 50px;
  text-align: left;
}

#section .obal {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#section .box i {
  color: var(--icony);
  font-size: 1.5em;
  background-color: #fff;
  padding: 10px;
  border-radius: 10px;
  width: 27px;
}

#section a {
  color: var(--barvaTextu2);
  margin: 15px 0px;
}

#section li {
  line-height: 25px;
}

#section img {
  max-width: 500px;
  border-radius: 10px;
}

#section h3 {
  margin: 0px;
}

/*-----|||-----*/

/*
---------------
---Section-1---
---------------
*/

#section-1 {
  padding: 50px 10px;
  background-color: var(--pozadi1);
}

#section-1 .wrapper {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

#section-1 .boxes {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-top: 30px;
  flex-wrap: wrap;
}

#section-1 .box {
  max-width: 300px;
}

#section-1 .box i {
  color: var(--icony);
  font-size: 1.5em;
}

#section-1 .divier {
  height: 7em;
  border-right: 1px solid #ccc;
}

/*-----|||-----*/

/*
---------------
---Section-2---
---------------
*/

#section-2 {
  padding: 50px 10px;
  background-color: var(--pozadi2);
}

#section-2 .wrapper {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

#section-2 .boxes {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 50px;
  text-align: left;
  flex-wrap: wrap;
}

#section-2 .boxes:nth-of-type(1) {
  margin: 35px 0px;
}

#section-2 .box {
  max-width: 400px;
  background-color: var(--pozadi3);
  padding: 35px;
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 15px;
}

#section-2 .obal {
  display: flex;
  flex-direction: column;
}

#section-2 .box i {
  color: var(--icony);
  font-size: 1.5em;
  background-color: #fff;
  padding: 10px;
  border-radius: 10px;
  width: 27px;
}

#section-2 .box i {
  color: var(--icony);
  font-size: 1.5em;
  background-color: #fff;
  padding: 10px;
  border-radius: 10px;
  width: 27px;
}

#section-2 img {
  max-width: 150px;
  height: 200px;
  border-radius: 10px;
  object-fit: cover;
}

#section-2 a {
  color: var(--barvaTextu2);
  margin: 15px 0px;
}

#section-2 h3 {
  margin: 0px;
}

/*-----|||-----*/

@media only screen and (max-width: 768px) {
  #hero .wrapper {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  #hero img {
    max-width: 100%;
  }

  #section img {
    order: 2;
    max-width: 100%;
  }

  #section .box {
    flex-direction: column;
    align-items: center;
  }

  #section .obal {
    align-items: center;
    text-align: center;
  }

  #section-1 .divier {
    display: none;
  }
}
