#content p {
  opacity: 0;
  display: none;
}

#content div {
  opacity: 1;
  display: none;
}

.medic-info {
  border-radius: 16px;
  background: #FFF;
  padding: 12px 15px;
}

.desc-device-medic {
  color: #515151;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.devices.list-effects ul {
  direction: rtl;
  padding-right: 16px;
  padding-left: 5px;
}

.devices.list-effects ul li {
  margin: 12px 0px;
  text-align: right;
}

#content p.active {
  opacity: 1;
  display: block;
}

#content div.devices {
  width: 100%;
  opacity: 0;
  display: none;
  transform: translateY(-40px);
  /* Przesunięcie o 20px w górę */
  transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out;
  /* Płynność */
}

#content div.devices p {
  opacity: 1;
  display: block;
}

/* Stan aktywny - po kliknięciu */
#content div.devices.active {
  display: block;
  /* Najpierw przywracamy blok */
  opacity: 1;
  transform: translateY(0);
  /* Powrót na miejsce */
}

/* Dodatkowa animacja klatkowa dla lepszego efektu "wejścia" */
@keyframes slideInSmooth {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Nakładamy animację na aktywny kontener */
#content div.devices.active {
  animation: slideInSmooth 0.75s ease-in-out;
}

.device-img {
  justify-content: center;
  align-items: center;
  display: flex;
  width: 100%;
}

.img-device {
  width: 100%;
}


@media screen and (max-width: 992px) {
  .grecaptcha-badge {
    display: none !important;
  }

  #przewijanieDoGory {
    right: 10px !important;
    bottom: 25px !important;
  }

  .devices.list-effects ul {
    direction: ltr;
    padding-right: 5px;
    padding-left: 16px;
  }

  .devices.list-effects ul li {
    text-align: left;
  }

  .device-img img {
    width: 100%;
  }

  .pc {
    display: none !important;
  }

  .medic-info svg {
    display: none;
  }

  .device-img {
    padding-bottom: 0px;
  }
}

#content {
  text-align: justify;
  height: 395px;
  overflow: auto;
  padding: 10px;
  width: 100%;
}

#content p {
  opacity: 0;
  transition: all 0.3s ease-in-out;
  color: #515151;
  text-align: left;
  font-family: Open Sans;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 25px;
}

#content p b {
  color: #515151;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px;
}

.devices.list-effects ul li::marker {
  color: #EF8700 !important;
}

#content div:nth-child(2) {
  text-align: right;
}

#content p:nth-child(4) {
  text-align: right;
}

#content div.devices:nth-child(4) p {
  text-align: right;
}

#content div.devices:nth-child(3) p {
  text-align: left;
}

.title-device {
  color: #515151;
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: 65px;
}

a {
  text-decoration: none;
}

.back {
  color: rgba(81, 81, 81, 0.50);
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
}

.back-div {
  width: fit-content;
}

.back-div:hover {
  cursor: pointer;
}

.btns-shows {
  border-bottom: 1px solid #CCC;
  width: fit-content;
  display: flex;
  gap: 20px;
  width: 100%;
}

.btns-shows button {
  color: #515151;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  background-color: transparent;
  border: none;
  white-space: nowrap;
  width: 100%;
}

button.active {
  border-bottom: 2px solid #515151;
}

/*style strzałki*/
#przewijanieDoGory {
  position: fixed;
  right: 85px;
  border-radius: 50px;
  bottom: 80px;
  opacity: 1;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 0px 48px 0px rgba(0, 0, 0, 0.10);
  visibility: visible;

}

#przewijanieDoGory.ukryj:hover {
  cursor: alias;
  pointer-events: none;
}

#przewijanieDoGory:hover {
  cursor: pointer;
}

.ukryj {
  visibility: hidden;
  opacity: 0 !important;
  bottom: 0px !important;
}

#przewijanieDoGory svg {

  width: 65px;
  height: 65px;
}

.grecaptcha-badge {
  display: block;
}

@supports (-webkit-touch-callout: none) {
  .grecaptcha-badge {
    display: none !important;
    visibility: hidden !important;
    -webkit-display: none !important;
    width: 0px !important;
    height: 0px !important;
  }

  .btns-shows {
    gap: 0px !important;
    max-width: 100% !important;
  }

}

.medic-info.devices {
  background: white !important;
  box-shadow: 0px 0px 48px 0px rgba(0, 0, 0, 0.10);
}