/*
---------------
---site---
---------------
*/
#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 50px 10px;
}

#section-2 .wrapper {
  max-width: 1200px;
  margin: auto;
}

#section-2 img#cover {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: 100% 70%;
  border-radius: 30px;
}

#section-2 .textObraz {
  display: flex;
  flex-direction: row;
  gap: 15px;
}

#section-2 .textObraz img {
  max-width: 200px;
  object-fit: cover;
  border-radius: 20px;
}

/*-----|||-----*/

/*
---------------
---section-3---
---------------
*/
#section-3 {
  padding: 50px 10px;
  background: linear-gradient(
    270deg,
    rgba(138, 148, 246, 1) 0%,
    rgba(179, 89, 247, 1) 50%
  );

  height: auto;
  color: #fff;
  text-align: center;
}

#section-3 .wrapper {
  max-width: 1200px;
  margin: auto;
}

/*-----|||-----*/

/*
---------------
---Galerie-----
---------------
*/

#galerie {
  padding: 50px 10px;
  font-size: 2.5em;
  color: var(--zakladniBarvy);
}

#galerie .wrapper {
  max-width: 1200px;
  margin: auto;
}

#galerie img {
  width: 200px;
  object-fit: cover;
  height: 200px;
  border-radius: 15px;
  cursor: pointer;
}

#galerie .galerieRada {
  display: flex;
  flex-direction: row;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

#galerie .w3-modal-content.w3-animate-zoom {
  background-color: transparent;
  text-align: center;
}

#galerie .w3-animate-zoom {
  animation: animatezoom 0.6s;
}

.w3-modal {
  z-index: 3;
  display: none;
  padding-top: 100px;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.w3-modal-content {
  margin: auto;
  background-color: #fff;
  position: relative;
  padding: 0;
  outline: 0;
}

@keyframes animatezoom {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/*-----|||-----*/

/*
---------------
---section-4---
---------------
*/
#section-4 {
  padding: 50px 10px;
  background: linear-gradient(
    90deg,
    rgba(138, 148, 246, 1) 0%,
    rgba(179, 89, 247, 1) 50%
  );

  height: auto;
  color: #fff;
  text-align: center;
}

#section-4 .wrapper {
  max-width: 1200px;
  margin: auto;
}

/*-----|||-----*/

/*
---------------
---FAQ---------
---------------
*/
#FAQ {
  padding: 50px 10px;
}

#FAQ .wrapper {
  max-width: 1200px;
  margin: auto;
}

#FAQ .obal {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 50px;
}

#FAQ h2 {
  text-align: center;
}

#FAQ .FAQBoxes {
  width: 500px;
}

#FAQ .FAQBox {
  margin-top: 20px;
  cursor: pointer;
}

#FAQ .FAQBoxStyle {
  background: linear-gradient(
    90deg,
    rgba(138, 148, 246, 1) 0%,
    rgba(179, 89, 247, 1) 50%
  );
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

#FAQ .FAQBox:nth-of-type(1) .FAQText {
  display: block;
}

#FAQ .FAQBox:nth-of-type(1) .fa-circle-right {
  display: none;
}

#FAQ .FAQBox:nth-of-type(1) .fa-circle-up {
  display: block;
}

#FAQ .FAQNadpis {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #bebebe;
}

#FAQ .FAQNadpis h4 {
  font-size: 1.5em;
  margin: 0px;
}

#FAQ .FAQNadpis i {
  font-size: 2em;
  background-color: #f4f8fa;
  color: var(--zakladniBarvy);
  border-radius: 20px;
}

#FAQ .fa-circle-up {
  display: none;
}

#FAQ .FAQText {
  background-color: #f4f8fa;
  padding: 15px;
  display: none;
  animation: fadein 0.6s;
}

#FAQ .FAQText p {
  font-size: 1em;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/*-----|||-----*/

@media only screen and (max-width: 768px) {
  #section-2 img#cover {
    width: 100%;
    height: auto;
  }
  #section-2 .textObraz {
    flex-direction: column;
    align-items: center;
  }

  #galerie img {
    width: 90% !important;
    height: auto !important;
  }

  .w3-modal {
    padding-top: 70px;
    background-color: rgba(0, 0, 0, 0.699);
  }

  #FAQ .obal {
    flex-direction: column;
  }

  #FAQ .FAQBoxes {
    width: 100%;
  }
}
