/* Animacje */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-in-out forwards;
}

.slide-in {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideIn 1s ease-in-out forwards;
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
      opacity: 0;
      transform: translateX(-50px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}


.title {
    width: 100%;
    margin: 80px 0 20px 0;
    padding: 10px;
  }

  .title h1 {
    text-align: center;
    font-size: 32px;
  }
  
  .line_adaptacja {
    width: 100%;
    height: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .line_30 {
    width: 20%;
    height: 4px;
    background-color: #4aa3df;
    margin-top: 10px;
  }
  .box {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin: 100px 0 40px 0;
  }
  .text {
    width: 75%;
    padding: 0 200px;
    margin: 100px 0 100px 100px;
  }
  .text p {
    text-align: center;
    margin: 0 120px;
  }
  .photo {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .photo img {
    width: 100%;
    height: 100%;
    transform: scaleX(-1);
    padding-left: 150px;
  }
  .cloud-box_l {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    width: 50%;
    margin-left: 120px;
    padding: 20px 0 20px 80px;
  }
  .stanowisko_l {
    background: #d4ebf2;
    padding: 20px;
    border-radius: 25px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
    margin: 20px auto;
    min-width: 350px;
    text-align: center;
  }
  .pracownik_zdj_l {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
  }
  .osoba_l {
    display: flex;
    margin: 50px 0;
    padding: 20px;
    width: 100%;
  }
  .opis_l {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 200px 120px 40px;
    width: 50%;
  }
  .pracownik_zdj_l img {
    width: 35%;
    height: 35%;
  }
  .cloud-box_r {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    width: 50%;
    padding: 20px;
  }
  .stanowisko_r {
    display: flex;
    flex-direction: column;
    background: #d4ebf2;
    padding-left: 20px;
    margin-right: 120px;
    border-radius: 30%;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
    width: 50%;
    text-align: center;
    font-size: 18px;
  }
  .pracownik_zdj_r {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
    padding-right: 120px;
  }
  .osoba_r {
    display: flex;
    margin: 50px 0;
    padding: 20px;
    width: 100%;
  }
  .opis_r {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 40px 120px 200px;
    width: 50%;
  }
  .pracownik_zdj_r img {
    width: 35%;
    height: 35%;
  }
  
  /* Tablet – max-width: 1024px */
  @media only screen and (max-width: 1024px) {
    .text {
      padding: 0 100px;
      margin: 80px 0 80px 50px;
    }
    .text p {
      margin: 0 60px;
    }
    .photo img {
      padding-left: 80px;
    }
    .cloud-box_l {
      margin-left: 60px;
      padding: 20px 0 20px 40px;
      width: 60%;
    }
    .stanowisko_l {
      min-width: 300px;
    }
    .stanowisko_r {
      margin-right: 60px;
      width: 60%;
    }
    .opis_l {
      padding: 80px 100px 80px 20px;
      width: 40%;
    }
    .opis_r {
      padding: 80px 20px 80px 100px;
      width: 40%;
    }
  }
  
  /* Mobile – max-width: 768px */
  @media only screen and (max-width: 768px) {
    .box {
      flex-direction: column;
      margin: 40px 0 20px 0;
    }
    .text {
      width: 100%;
      padding: 20px;
      margin: 20px 0;
    }
    .text p {
      margin: 0;
    }
    .photo {
      width: 100%;
      margin-top: 20px;
    }
    .photo img {
      padding-left: 0;
    }
    .osoba_l, .osoba_r {
      flex-direction: column;
      padding: 20px;
    }
    .opis_l, .opis_r {
      width: 100%;
      padding: 20px;
      order: 2;
    }
    .cloud-box_l, .cloud-box_r {
      width: 100%;
      order: 1;
      margin: 0;
      padding: 20px;
    }
    .stanowisko_l, .stanowisko_r {
      width: 100%;
      margin: 10px 0;
    }
    .pracownik_zdj_l, .pracownik_zdj_r {
      padding: 0;
      margin: 10px 0;
    }
    .pracownik_zdj_l img, .pracownik_zdj_r img {
      width: 50%;
      height: auto;
    }
    .opis_l, .opis_r {
      padding: 10px;
    }
  }