/*
----------
---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-1---
---------------
*/

#section-1 {
  padding: 50px 10px;
  background-color: var(--pozadi2);
}

#section-1 .wrapper {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

#section-1 .boxes {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  text-align: left;
}

#section-1 .boxes:nth-of-type(1) {
  margin: 35px 0px;
}

#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(--pozadi1);
}

#section-2 .wrapper {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

#section-2 .obal {
  display: flex;
  flex-direction: row;
  margin: auto;
  gap: 50px;
  justify-content: center;
  margin-top: 35px;
  flex-wrap: wrap;
}

#section-2 img {
  max-width: 150px;
}

/*-----|||-----*/

/*
---------------
---Section-3---
---------------
*/

#section-3 {
  padding: 50px 10px;
  background-color: var(--pozadi2);
}

#section-3 .wrapper {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

#section-3 .boxes {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 50px;
  text-align: left;
  flex-wrap: wrap;
}

#section-3 .boxes:nth-of-type(1) {
  margin: 35px 0px;
}

#section-3 .box {
  max-width: 400px;
  background-color: var(--pozadi3);
  padding: 35px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

#section-3 .box i {
  color: var(--icony);
  font-size: 1.5em;
  background-color: #fff;
  padding: 10px;
  border-radius: 10px;
}

#section-3 img {
  max-width: 300px;
  border-radius: 10px;
}

#section-3 a {
  color: var(--barvaTextu2);
  margin: 15px 0px;
}

#section-3 h3 {
  margin: 15px 0px;
}

/*-----|||-----*/

/*
---------------
---Section-4---
---------------
*/
#section-4 {
  padding: 50px 10px;
  background-color: var(--pozadi1);
}

#section-4 .wrapper {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

#section-4 .boxes {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: left;
}

#section-4 .box {
  max-width: 300px;
  padding: 25px;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#section-4 .boxes:nth-of-type(1) .box:nth-of-type(2) {
  border-left: 1px solid #0452bf29;
  border-right: 1px solid #0452bf29;
}

#section-4 .boxes:nth-of-type(2) .box:nth-of-type(1) {
  border-top: 1px solid #0452bf29;
  border-bottom: 1px solid #0452bf29;
}

#section-4 .boxes:nth-of-type(2) .box:nth-of-type(2) {
  border-left: 1px solid #0452bf29;
  border-right: 1px solid #0452bf29;
  border-top: 1px solid #0452bf29;
  border-bottom: 1px solid #0452bf29;
}

#section-4 .boxes:nth-of-type(2) .box:nth-of-type(3) {
  border-top: 1px solid #0452bf29;
  border-bottom: 1px solid #0452bf29;
}

#section-4 .boxes:nth-of-type(3) .box:nth-of-type(2) {
  border-left: 1px solid #0452bf29;
  border-right: 1px solid #0452bf29;
}

#section-4 .obal {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

#section-4 .obal h3 {
  margin: 0px;
}

#section-4 .obal i {
  color: var(--icony);
}

#section-4 a {
  color: var(--barvaTextu2);
}

/*-----|||-----*/

/*
---------------
---Section-5---
---------------
*/
#section-5 {
  padding: 50px 10px;
  background-color: var(--pozadi2);
}

#section-5 .wrapper {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

#section-5 .slider {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

#section-5 .slider button {
  background-color: var(--pozadi2);
  color: #000;
  border: 1px solid #000;
  padding: 10px 25px;
  font-size: 1.5em;
  opacity: 0.5;
  transition: 0.2s;
}

#section-5 .slider button#prvni {
  background-color: var(--barvaTextu2);
  color: #fff;
  opacity: 1;
}

#section-5 .slider button:focus {
  background-color: var(--barvaTextu2);
  color: #fff;
  opacity: 1;
}

#section-5 .slide {
  display: none;
  flex-direction: row;
  text-align: left;
  justify-content: center;
  gap: 50px;
  margin-top: 30px;
}

#section-5 #first {
  display: flex;
}

#section-5 #first {
  display: flex;
}

#section-5 .slide .obal {
  max-width: 500px;
}

#section-5 .slide img {
  max-width: 400px;
}

#section-5 a {
  color: var(--barvaTextu2);
}

#section-5 li {
  line-height: 25px;
}

/*-----|||-----*/

@media only screen and (max-width: 768px) {
  #hero .wrapper {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  #hero img {
    max-width: 100%;
  }

  #section-1 .boxes {
    flex-wrap: wrap;
    justify-content: center;
  }

  #section-1 .box {
    border-bottom: 1px solid var(--barvaTextu2);
  }

  #section-1 .divier {
    display: none;
  }

  #section-4 .boxes {
    flex-wrap: wrap;
    justify-content: center;
  }

  #section-4 .box {
    border: 0px !important;
    border-bottom: 1px solid var(--barvaTextu2) !important;
  }
  #section-5 .slide {
    flex-direction: column;
    align-items: center;
  }

  #section-5 .slide img {
    max-width: 100%;
  }
}
