h2.before-references,
.postup h2 {
  background-color: var(--color-9);
  padding: 15px;
  max-width: 600px;
  font-size: 1.8rem;
  border-radius: 10px;
}

/* Kontakt */

/* **************************** */
.contact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

/* Reference */

/* **************************** */
.reference .block-items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.reference .block-items .block-item {
  flex: 0 1 100%;
  margin-bottom: 50px;
}

.reference .block-items .block-item h3 {
  margin-top: 0;
  font-size: 1.4rem;
}

.reference .block-items .block-item h3 a {
  color: black;
}

.reference .block-items .block-item img {
  width: 100%;
  height: auto;
  border: 1px solid #eee;
}

/* Kontaktní blok */

/* Block s kontakty a formulářem
/* **************************** */
.contact-details {
  /* display: flex; */
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  max-width: 600px;
  background-color: var(--color-6);
  border-radius: 20px;
  height: min-content;
  padding: 25px 15px;
  margin-bottom: 50px;
}

.contact-details p {
  flex: 0 1 100%;
  font-size: 1.3rem;
  color: black;
  text-align: left;
  line-height: 170%;
}

.contact-details p a {
  text-decoration: underline;
}

.contact-details p a:hover {
  color: var(--color-4);
}

.contact-details p strong {
  color: var(--color-4);
  font-weight: bold;
}

.contact-details p strong a,
.contact-details p strong span {
  color: var(--color-4) !important;
}

/* Promo */

/* **************************** */
.blok-spoluprace-varianta {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 20px;
}

.popis-spoluprace {
  background-color: var(--color-9);
  padding: 25px;
  border-radius: 10px;
}

.popis-spoluprace p {
  font-size: 1.4rem;
  font-weight: normal;
  color: var(--color-main);
}

.popis-spoluprace p strong {
  font-size: 1.5rem;
  color: black;
}

.popis-spoluprace p:last-child {
  font-size: 1.6rem;
  font-weight: bold;
}

/* ednoduché stánky */

/* **************************** */
.path-jednoduche-webove-stranky-na-miru h1 {
  /* font-size: 1.8rem; */
}

#article-content {
  margin-bottom: 20px;
}

/* Call to action */
.call-to-action {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--color-9);
  padding: 20px;
  border-left: 15px solid var(--color-4);
  border-radius: 10px;
  margin-bottom: 50px;
  width: fit-content;
}

.call-to-action h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.call-to-action p {
  font-size: 1.2rem;
  margin-bottom: 10px !important;
  text-align: left;
  color: black;

  /* line-height: 130%; */
}

.call-to-action p strong {
  color: var(--color-main);
  font-size: 1.6rem;
  margin: 0 0 20px 0;
}

.call-to-action p span {
  color: var(--color-4);
  font-weight: bold;

}

.call-to-action a.tlacitko {
  margin: 20px 0 0 10px;
  padding: 7px 30px;
  background-color: var(--color-4);
  color: white;
  border-radius: 10px;
  display: inline-block;
  width: fit-content;
  font-weight: normal;
  text-decoration: none;
}

.call-to-action a.tlacitko:hover {
  background-color: var(--color-main);
}

.call-to-action strong {
  /* font-size: 1.6rem; */
  color: var(--color-4);
}

.call-to-action a {
  /* font-size: 1.4rem; */
  font-weight: bold;
  color: var(--color-4);
  text-decoration: underline;
}

.self-promo {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 30px 20px 20px 20px;
  background-color: var(--color-9);
  border-radius: var(--border-radius);
  margin-bottom: 50px;
  max-width: 40rem;
}

.self-promo img {
  width: 100%;
  max-width: 130px;
  height: auto;
  margin: 0 1rem 1.5rem 0;
  border-radius: var(--border-radius-small);
}

.self-promo h2 {
  font-size: 1.5rem;
  margin: 0 0 1rem 0;
  line-height: 100%;
}

.self-promo p {
  color: black;
  line-height: 150%;
  margin-bottom: 1rem !important;
  font-size: 1.2rem !important;
}

/* Mobil */

/* **************************** */
@media screen and (min-width: 450px) {
  .self-promo {
    flex-direction: row;
    margin-bottom: 50px;
  }

  .self-promo img {
    margin-bottom: 0;
  }

}

@media screen and (min-width: 550px) {
  .contact-details p {
    font-size: 1.6rem;
  }

  .self-promo {
    flex-direction: row;
    margin-bottom: 50px;
  }

  .self-promo img {
    margin-bottom: 0;
  }

}

@media screen and (min-width: 600px) {
  .reference .block-items {
  }

  .reference .block-items .block-item {
    flex: 0 1 45%;
  }

}

@media screen and (min-width: 700px) {
  .contact-details {
    /* display: flex; */
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;

    /* width: 100%; */

    /* max-width: 1000px; */
    padding: 45px 30px;
    margin-bottom: 100px;
  }

  .contact-details p,
  .contact-details form {
    flex: 0 1 46%;
  }

  .blok-spoluprace-varianta {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 50px;
  }

  .popis-spoluprace {
    width: 80%;
    background-color: var(--color-9);
    padding: 25px 50px;
    border-radius: 20px;
  }

  .popis-spoluprace p {
    font-size: 25px;
  }

  .path-jednoduche-webove-stranky-na-miru h1 {
    font-size: 2.3rem;
  }

}

@media screen and (min-width: 700px) {
  h2.before-references,
  .postup h2 {
    background-color: var(--color-9);
    padding: 20px;
    max-width: 600px;
    font-size: 2rem;
  }

}

@media screen and (min-width: 900px) {
  .call-to-action p strong {
    font-size: 2rem;
  }

  .call-to-action p {
    font-size: 1.5rem;
  }

  .call-to-action .tlacitko {
    font-size: 1.3rem;
  }

  .reference .block-items .block-item {
    flex: 0 1 30%;
  }
}

@media screen and (min-width: 1000px) {
  .contact {
    flex-direction: row;
  }

  .contact .block {
    width: 45%;
  }

  .call-to-action {
    margin: 100px 0;
  }

}

@media screen and (min-width: 1200px) {
  .reference .block-items {
  }

  .reference .block-items .block-item {
    flex: 0 1 22%;
  }

  .popis-spoluprace {
    position: relative;
    top: -50px;
  }

  .call-to-action {
    padding: 25px;
  }

  .call-to-action p {
    font-size: 1.6rem;
  }

}

