@import url('https://fonts.cdnfonts.com/css/montserrat');
@import url('https://fonts.cdnfonts.com/css/rajdhani');


/*=Typography=*/
html {
  font-size: 18px;
    overflow-x: hidden;
}

body {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

section {
  padding: 5em 0;
}

p {
  font-size: 18px;
  line-height: 1.5;
}

a, a :hover, a:active {
  color: #fff;
  text-decoration: none;
}

h2 {
  font-family: 'montserrat', sans-serif;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.fade-in-up.show {
  opacity: 1;
  transform: translateY(0);
}

.zoom-out {
  opacity: 0;
  transform: translateY(20px) scale(1.2);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.zoom-out.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Sub Section
********************************************************************* */

.sec-position {
  background: #F1F1F1;
  text-align: left;
}

.sec-position .line {
  margin-top: 1em;
  height: 0.5em;
  background: linear-gradient(to left, #42688E, #3D8BD6);
}

.sec-position h1 {
  color: #fff;
}

.sec-position a:hover i, .sec-position a:focus i, .sec-position a:active i,
.sec-position a:hover .background p, .sec-position a:focus .background p, .sec-position a:active .background p {
  color: #3D8BD6;
}

.sec-position .background {
  pointer-events: none;
  align-items: center;
  justify-content: space-between;
  display: flex;
  background: linear-gradient(to left, #464445, #232223);
  box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
  padding: 1rem;
  transition: background 0.5s ease, box-shadow 0.3s ease;
}

.sec-position .background p {
  text-align: left;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
  font-weight: 600;
}

.sec-position .flex {
  display: flex;
  align-items: center; /* Zarovnání obrázku a textového bloku na střed */
}

.sec-position .flex > div {
  margin-left: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Rozprostření textu */
  height: 100%; /* Aby se space-between uplatnil */
  min-height: 10em; /* Nastavení minimální výšky */
}

.sec-position .background i {
  margin-right: 1rem;
  line-height: 1.5;
  font-size: 1rem;
}

.sec-position .expand {
  pointer-events: none;
  padding: 1rem;
  box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
  background: #fff;
  color: #000;
}

.sec-position .expand p {
  pointer-events: none;
  padding: 0;
  margin: 0;
  font-weight: 400;
}

.sec-position .expand h3 {
  padding-top: 1rem;
}

.sec-position .expand ul {
  font-weight: 400;
  margin: 0;
  padding: 0;
}

.sec-position .expand ul li {
  list-style-position: inside;
}

.sec-position .expand .end {
  padding-top: 1rem;
}

@media (min-width: 768px) {
  .sec-position {
    text-align: left;
  }
}