#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: #d5281d;
  z-index: 1000000;
}

.scroll-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #d5281d;
  color: white;
  font-size: 24px;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
  border-radius: 5px;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.scroll-to-top:hover {
  background-color: black;
}

.scroll-down-indicator {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 30px;
  color: #d5281d;
  opacity: 1;
  z-index: 1000;
  animation: bounce 1.5s infinite ease-in-out;
  transition: opacity 0.3s ease;
}

@keyframes bounce {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 10px);
  }
}

/* Ukrycie strzałki, gdy strona zostanie przewinięta */

.scroll-down-indicator.hide {
  opacity: 0;
  pointer-events: none;
}

#navig {
  margin-top: 24px;
  padding-left: 20px;
  padding-right: 20px;
  margin-right: 20px;
  margin-left: 20px;
  background: rgba(0,0,0,0);
  transition: background-color 0.5s ease;
}

.nav-link {
  display: block;
  padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
  font-size: var(--bs-nav-link-font-size);
  font-weight: var(--bs-nav-link-font-weight);
  color: #dddbdb;
  text-decoration: none;
  background: 0 0;
  border: 0;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}

@media (min-width: 300px) {
  #left {
    visibility: hidden;
    height: 50vh;
    opacity: 0.55;
  }
}

@media (min-width: 768px) {
  #left {
    visibility: visible;
    height: 50vh;
    opacity: 0.55;
  }
}

@media (min-width: 300px) {
  #haslo-1-obro {
    font-size: 30px;
    margin-left: 15px;
    margin-right: 15px;
    letter-spacing: 10px;
    line-height: 41px;
    transform: rotate(0deg);
    filter: blur(0px);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    padding-top: 0px;
    padding-bottom: 0px;
    text-align: center;
  }
}

@media (min-width: 300px) {
  #haslo-1 {
    font-size: 40px;
    margin-left: 15px;
    margin-right: 15px;
    letter-spacing: 10px;
    line-height: 51px;
  }
}

@media (min-width: 576px) {
  #haslo-1-obro {
    font-size: 52px;
    margin-left: 15px;
    margin-right: 15px;
    letter-spacing: 10px;
    line-height: 65px;
    transform: rotate(0deg);
    filter: blur(0px);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    padding-top: 0px;
    padding-bottom: 0px;
    text-align: center;
  }
}

@media (min-width: 576px) {
  #haslo-1 {
    font-size: 80px;
    margin-left: 15px;
    margin-right: 15px;
    letter-spacing: 10px;
    line-height: 83px;
  }
}

@media (min-width: 768px) {
  #haslo-1-obro {
    font-size: 40px;
    margin-left: 15px;
    margin-right: 15px;
    letter-spacing: 10px;
    line-height: 45px;
    transform: rotate(-90deg);
    filter: blur(0px);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    padding-top: 243px;
    padding-bottom: 290px;
  }
}

@media (min-width: 768px) {
  #haslo-1 {
    font-size: 40px;
    margin-left: 15px;
    margin-right: 15px;
    letter-spacing: 10px;
    line-height: 45px;
  }
}

@media (min-width: 992px) {
  #haslo-1-obro {
    font-size: 56px;
    margin-left: 15px;
    margin-right: 15px;
    letter-spacing: 10px;
    line-height: 59px;
    transform: rotate(-90deg);
    filter: blur(0px);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    padding-top: 243px;
    padding-bottom: 290px;
  }
}

@media (min-width: 992px) {
  #haslo-1 {
    font-size: 56px;
    margin-left: 15px;
    margin-right: 15px;
    letter-spacing: 10px;
    line-height: 59px;
  }
}

@media (min-width: 1200px) {
  #haslo-1 {
    font-size: 80px;
    margin-left: 15px;
    margin-right: 15px;
    letter-spacing: 10px;
    line-height: 83px;
  }
}

@media (min-width: 1200px) {
  #haslo-1-obro {
    font-size: 80px;
    margin-left: 15px;
    margin-right: 15px;
    letter-spacing: 10px;
    line-height: 83px;
    transform: rotate(-90deg);
    filter: blur(0px);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    padding-top: 243px;
    padding-bottom: 290px;
  }
}

@media (min-width: 300px) {
  #kolumna-banner {
    margin-top: 190px;
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media (min-width: 576px) {
  #kolumna-banner {
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
  }
}

@media (min-width: 300px) {
  #mode {
    display: block;
  }
}

@media (min-width: 768px) {
  #mode {
    display: none;
  }
}

@media (min-width: 300px) {
  #mode2 {
    display: none;
  }
}

@media (min-width: 768px) {
  #mode2 {
    display: initial;
  }
}

.menu-toggle {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1100;
  background: #000;
  color: #fff;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(248, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  z-index: 1040;
}

/* Górne menu (kontener) */

.custom-modal.top-menu {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  background: white;
  border-radius: 20px;
  transition: top 0.3s ease-in-out;
  z-index: 1050;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  padding: 20px;
}

.custom-modal.show {
  top: 0;
}

/* Kiedy menu jest otwarte */

.custom-modal.top-menu.show {
  top: 5vh;
}

.model img {
  border-radius: 10px;
}

/* Gdy menu otwarte - blokuj przewijanie strony */

body.no-scroll {
  overflow: hidden;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 20px;
  cursor: pointer;
}

.menu-top {
  padding: 20px;
  text-align: center;
}

.menu-series {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.series-btn {
  background: none;
  border: none;
  cursor: pointer;
  text-align: center;
  width: 200px;
}

.series-btn img {
  width: 100%;
  border-radius: 8px;
}

.series-btn span {
  display: block;
  margin-top: 5px;
  font-weight: bold;
}

.submenu {
  display: none;
  padding: 20px;
  background: #fff;
  border-top: 1px solid #ccc;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.model {
  width: 150px;
}

.model img {
  width: 100%;
  border-radius: 6px;
}

.model a {
  text-decoration: none;
  color: #000;
  display: block;
  text-align: center;
  margin-top: 5px;
  font-weight: 800;
}

@media (max-width: 600px) {
  .submenu {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .model {
    width: 90%;
    max-width: 300px;
  }
}

.list-group-item {
  transition: all 0.2s ease;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.list-group-item:hover {
  background-color: #f0f0f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

