/* Global */

::selection {
  background: #ff193f;
  color: #fff;
}

html {
  scroll-padding-top: 70px;
  orphans: 2;
}

body {
  font-family: Inter,Helvetica Neue,Helvetica,Arial,sans-serif;
  color: var(--bs-gray-400);
  background-color: #212529;
}

a:focus, a:hover {
  color: #b61a2f;
}

a {
  transition: all .2s ease-in-out;
  color: #ff3b5b;
  text-decoration: none;
}

/* Back to top */

.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: #ff193f url(../img/cd-top-arrow.svg) no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s, background-color .3s 0s;
  transition: opacity .3s 0s, visibility 0s .3s, background-color .3s 0s;
  border-radius: 6px;
}

.cd-top.cd-top--show, .cd-top.cd-top--fade-out, .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s, background-color .3s 0s;
  transition: opacity .3s 0s, visibility 0s 0s, background-color .3s 0s;
}

@media only screen and (min-width: 768px) {
  .cd-top {
    right: 20px;
    bottom: 20px;
  }
}

@media only screen and (min-width: 1024px) {
  .cd-top {
    height: 60px;
    width: 60px;
    right: 30px;
    bottom: 30px;
  }
}

.cd-top.cd-top--show {
  visibility: visible;
  opacity: 1;
}

.cd-top.cd-top--fade-out {
  opacity: .7;
}

.cd-top:hover {
  background-color: #b40a0a;
  opacity: 1;
}

/* Hero */

.hero-sec {
  padding: 90px 0px 0px 0px;
  background: linear-gradient(170deg, #24272b 0%, #17191c 100%);
}

.hero-bg {
  background: radial-gradient(rgba(255,255,255,0.08) -17%, #00000000 100%), url("../../assets/img/dot-1.svg") top / 20px repeat;
}

/* Sections */

.section-heading-title {
  position: relative;
  display: inline-block;
}

.section-heading-title:before {
  content: "";
  position: absolute;
  top: 140%;
  left: 33%;
  width: 33%;
  border: 1.5px solid #ed1c24;
}

/* Spis treści */

.toc {
  display: flex;
  flex-direction: column;
}

.toc span {
  margin-bottom: 6px;
}

.toc-h1 {
}

.toc-h2 {
  padding-left: 18px;
}

.toc-h3 {
  padding-left: 36px;
  font-size: 0.9em;
}

/* Dla kogo */

.dla-kogo-box {
  background: url("../../assets/img/frame-1a.svg") top left / auto no-repeat, url("../../assets/img/frame-1b.svg") top right / 40px no-repeat, url("../../assets/img/frame-1c.svg") bottom right no-repeat, url("../../assets/img/frame-1d.svg") bottom left / 26px no-repeat, #212529;
  box-shadow: 0px 0px 16px rgba(0,0,0,0.5);
  padding: 32px;
}

.dla-kogo-box p {
  margin-bottom: 0px;
}

.footer-dark .copyright {
  text-align: center;
  padding-top: 24px;
  opacity: 0.3;
  font-size: 13px;
  margin-bottom: 0;
}

/* Accordion */

.accordion {
  --bs-accordion-color: #212529;
  --bs-accordion-bg: var(--bs-accordion-bg);
  --bs-accordion-border-color: var(--bs-gray-800);
  --bs-accordion-border-width: 2px;
  --bs-accordion-btn-color: var(--bs-gray-400);
  --bs-accordion-btn-bg: var(--bs-accordion-bg);
  --bs-accordion-btn-focus-border-color: var(--bs-danger);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem var(--bs-danger);
  --bs-accordion-active-color: var(--bs-white);
  --bs-accordion-active-bg: var(--bs-accordion-border-color);
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dc3545'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Carousel */

.carousel-control-prev:hover, .carousel-control-prev:focus, .carousel-control-next:hover, .carousel-control-next:focus {
  opacity: 1;
  background-color: rgba(33,37,41,0.5);
}

@media (min-width: 1200px) {
  .svg-bg-lines {
    background: url("../../assets/img/bg-paralax-1.svg") center / cover no-repeat;
  }
}

@media screen and (min-width : 320px) and (max-width : 1200px) {
  .svg-bg-lines {
    background-color: #191b1e;
  }
}

/* Autor */

.img-autor-publikacji {
  min-width: 100px;
  max-width: 100px;
  margin-right: 16px;
  margin-bottom: 8px;
  border-radius: 6px;
}

.autor-box {
  margin-bottom: 2rem;
}

/* Tabela porownawcza */

.bs-icon {
  --bs-icon-size: .75rem;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: var(--bs-icon-size);
  width: calc(var(--bs-icon-size) * 2);
  height: calc(var(--bs-icon-size) * 2);
  color: var(--bs-primary);
}

.bs-icon-xs {
  --bs-icon-size: 1rem;
  width: calc(var(--bs-icon-size) * 1.5);
  height: calc(var(--bs-icon-size) * 1.5);
}

.bs-icon-sm {
  --bs-icon-size: 1rem;
}

.bs-icon-md {
  --bs-icon-size: 1.5rem;
}

.bs-icon-lg {
  --bs-icon-size: 2rem;
}

.bs-icon-xl {
  --bs-icon-size: 2.5rem;
}

.bs-icon.bs-icon-primary {
  color: var(--bs-white);
  background: var(--bs-primary);
}

.bs-icon.bs-icon-primary-light {
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), .2);
}

.bs-icon.bs-icon-semi-white {
  color: var(--bs-primary);
  background: rgba(255, 255, 255, .5);
}

.bs-icon.bs-icon-rounded {
  border-radius: .5rem;
}

.bs-icon.bs-icon-circle {
  border-radius: 50%;
}

.bg-white-300 {
  background: rgba(255, 255, 255, 0.3) !important;
}

.rounded-bottom-left {
  border-radius: 0;
  border-bottom-left-radius: .25rem!important;
}

.rounded-bottom-right {
  border-radius: 0;
  border-bottom-right-radius: .25rem!important;
}

/* Footer */

