
* {
  transition: color 0.05s, 
  background-color 0.3s, 
  margin 0.3s, 
  weight 0.3s, 
  height 0.3s, 
  max-width 0.3s,
  min-width 0.3s,
  max-height 0.3s,
  min-height 0.3s;

  --size-cube: 3rem;
}

body {
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  max-height: 100% !important;
  margin-top: 5rem;
  padding-right: 3rem !important;
  padding-left: 3rem !important;
}
#themeToggleBtn svg { width: 1.5rem; height: 1.5rem; }

#footer {
  background-color: transparent !important;
  z-index: 1;
}

.bg-light {
  --bs-bg-opacity: 0.8;
  background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}

.bg-dark {
  --bs-bg-opacity: 0.8;
  background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
}

.web {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.not-clickable {
  pointer-events: none;
  color: inherit;
  background-color: transparent;
}
.not-clickable:hover {
  background-color: transparent;
  color: inherit;
}

.logo-1 {
  width: 1rem !important;
  height: 1rem !important;
}

.logo-2 {
  width: 2rem !important;
  height: 2rem !important;
}

.logo-3 {
  width: 3rem !important;
  height: 3rem !important;
}

.logo-4 {
  width: 4rem !important;
  height: 4rem !important;
}

.logo-5 {
  width: 5rem !important;
  height: 5rem !important;
}

.ms-3s {
  margin-left: 1rem !important;
}

[data-bs-theme=dark] .card {
  --bs-tertiary-bg-rgba: 32, 32, 32, 0.5;
  background-color: rgba(var(--bs-tertiary-bg-rgba));
}

[data-bs-theme=light] .card {
  --bs-tertiary-bg-rgba: 238, 239, 240, 0.5;
  background-color: rgba(var(--bs-tertiary-bg-rgba));
}

.card {
  grid-column: 1;
}

.card-body {
  background-color: transparent !important;
}

.w-0 {
  width: 0rem !important;
}

.w-1 {
  width: 0.25rem !important;
}

.w-2 {
  width: 0.5rem !important;
}

.w-3 {
  width: 0.75rem !important;
}

.w-4 {
  width: 1rem !important;
}

.w-5 {
  width: 1.25rem !important;
}

.w-6 {
  width: 1.5rem !important;
}

.w-7 {
  width: 1.75rem !important;
}

.w-8 {
  width: 2rem !important;
}

.w-9 {
  width: 2.25rem !important;
}

.w-10 {
  width: 2.5rem !important;
}

.w-11 {
  width: 2.75rem !important;
}

.w-12 {
  width: 3rem !important;
}

.vw-15 {
  width: 15rem !important;
}

.vw-20 {
  width: 20rem !important;
}

.vw-25 {
  width: 25rem !important;
}

.vw-30 {
  width: 30rem !important;
}

.vw-35 {
  width: 35rem !important;
}

.vw-40 {
  width: 40rem !important;
}

.vw-45 {
  width: 45rem !important;
}

.vw-50 {
  width: 50rem !important;
}

.vw-55 {
  width: 55rem !important;
}

.vw-60 {
  width: 60rem !important;
}

.vw-65 {
  width: 65rem !important;
}

.vw-70 {
  width: 70rem !important;
}

.vw-75 {
  width: 75rem !important;
}

.vw-80 {
  width: 80rem !important;
}

.vw-85 {
  width: 85rem !important;
}

.vw-90 {
  width: 90rem !important;
}

.h-0 {
  height: 0rem !important;
}

.h-1 {
  height: 0.25rem !important;
}

.h-2 {
  height: 0.5rem !important;
}

.h-3 {
  height: 0.75rem !important;
}

.h-4 {
  height: 1rem !important;
}

.h-5 {
  height: 1.25rem !important;
}

.h-6 {
  height: 1.5rem !important;
}

.h-7 {
  height: 1.75rem !important;
}

.h-8 {
  height: 2rem !important;
}

.h-9 {
  height: 2.25rem !important;
}

.h-10 {
  height: 2.5rem !important;
}

.h-11 {
  height: 2.75rem !important;
}

.h-12 {
  height: 3rem !important;
}

.vh-45 {
  height: 45rem !important;
}

.pt-10r {
  padding-top: 10rem !important;
}

.start-49 {
  left: 49% !important;
}

.fs-5-5 {
  font-size: 1.125rem;
}

.rounded-bottom-2-1 {
  border-bottom: 0.25rem solid var(--linear-color) !important;
}

.collapse.rounded-bottom-2-1 {
  border-bottom: none !important;
}

.rounded-6 {
  border-radius: 1rem !important;
}

.rounded-7 {
  border-radius: 1.25rem !important;
}

.rounded-8 {
  border-radius: 1.5rem !important;
}

.rounded-9 {
  border-radius: 1.75rem !important;
}

.rounded-10 {
  border-radius: 2rem !important;
}

.card-img-top {
  object-fit: cover;
  max-width: 28rem;
  background-color: transparent;
}

.linear-shadow-1 {
  box-shadow: 0 0 1rem var(--linear-color-rgba) !important;
}

.linear-shadow-2 {
  box-shadow: 0 0 2rem var(--linear-color-rgba) !important;
}

.linear-shadow-3 {
  box-shadow: 0 0 3rem var(--linear-color-rgba) !important;
}

.shadow-glow {
  box-shadow: 0 0 15px var(--linear-color);
}

.social-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--linear-color);
  text-decoration: none;
  box-shadow: 0 0 5px var(--linear-color);
  transition: 0.15s ease-in-out;
}

.social-btn:last-child {
  border-right: 0px solid transparent !important;
}

.social-btn:first-child {
  border-left: 0px solid transparent !important;
}

.active-button:hover {
  
  transition: 0.15s ease-in-out;
  transform: scale(1.01);
  box-shadow: 0 0 10px var(--linear-color) !important;
  border: 0;
  z-index: 999;
}

.active-button:not(:hover) {
  transition: 0.15s ease-in-out;
}

[data-bs-theme=dark] .social-btn {
  --bs-tertiary-bg-rgb: 32, 32, 32;
  background-color: rgb(var(--bs-tertiary-bg-rgb));
  border-right: 1px solid #3f3f3f;
  border-left: 1px solid #3f3f3f;
}

[data-bs-theme=light] .social-btn {
  --bs-tertiary-bg-rgb: 238, 239, 240;
  background-color: rgb(var(--bs-tertiary-bg-rgb));
  border-right: 1px solid #c2c2c2;
  border-left: 1px solid #c2c2c2;
}

.gap-2p {
  gap: 0.5rem !important;
}

.gap-3p {
  gap: 1rem !important;
}

.pt-3p {
  padding-top: 0rem !important;
}

[data-bs-theme=light] {
  --bs-body-bg: #fff;
  --bs-dark-rgb: 36, 36, 36;
  --bs-light-rgb: 255, 255, 255;
  --bs-tertiary-bg-rgb: 230, 230, 230;
}

[data-bs-theme=light] a {
  color: #000 !important;
}

[data-bs-theme=dark] a {
  color: #b4b4b4 !important;
}

[data-bs-theme=light] .btn-back {
  background-color: #E6E6E6;
  color: #000 !important;
  border: 1px solid #000 ;
}
[data-bs-theme=dark] .btn-back {
  background-color: #242424;
  color: #b4b4b4 !important;
}

[data-bs-theme=light] .btn-back:hover {
  background-color: #cccccc;
  color: #000 !important;
  transform: scale(0.97);
}
[data-bs-theme=dark] .btn-back:hover {
  background-color: #3f3f3f;
  color: #b4b4b4 !important;
  transform: scale(0.97);
}

[data-bs-theme=dark] {
  --bs-body-bg: #333333;
  --bs-dark-rgb: 36, 36, 36;
}

[data-bs-theme=dark] footer, [data-bs-theme=dark] footer a {
  --bs-dark-rgb: 51, 51, 51;
  color: #b4b4b4 !important;
}

[data-bs-theme=light] footer a {
  color: #000 !important;
}

#projects-container {
  overflow: hidden !important;
  position: relative !important;
  width: 100% !important;
}

#projects-slider {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.page {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 1rem;
  flex: 0 0 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

.project-card {
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.project-card.active {
  display: block !important;
}

.social-btn.disabled {
  opacity: 0.5;
  pointer-events: none;
}

#pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0 1rem 0;
}

#prev {
  transform: scaleX(-1);
}

.disabled {
  transform: scale(1);
  box-shadow: 0 0 0 var(--linear-color) !important;
}

.disabled:hover {
  transform: scale(1);
  box-shadow: 0 0 0 var(--linear-color) !important;
}

@media (max-width: 1400px) {
  .page {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
  }
}

@media (max-width: 991px) {
  .page {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

.copy-notification {
  position: fixed;
  top: 4rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--linear-color-rgba);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-size: 16px;
  z-index: 1050;
  display: none;
  animation: fade-in-out 4s ease-in-out;
}

@keyframes fade-in-out {
  0% {
      opacity: 0;
      transform: translateX(-50%) translateY(-20%);
  }
  10% {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
  }
  90% {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
  }
  100% {
      opacity: 0;
      transform: translateX(-50%) translateY(-20%);
  }
}

.image-container {
  height: 60vh;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.image-container img.w-100{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.image-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), var(--bs-body-bg)); /* Плавный переход от прозрачного к черному */
  z-index: 1;
}

.error-background {
  position: absolute;
  z-index: -1;
}

.position-relative:has(.container) {
  position: relative;
}

.title-status-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-container {
  margin-left: auto;
}

.card_view_pc {
  overflow: visible !important;
}

.card_view_mobile {
  overflow: hidden !important;
  display: none;
}

.card .d-flex.gap-2p.w-100 {
  width: 100%;
  justify-content: space-around;
}



.color-container {
  justify-self: center !important;
  align-self: center;
  grid-column: 2;
  margin-left: 3rem !important;
}

.color-value { 
  text-align: center; 
  padding: 0.25rem; 
  width: 100%;
  box-shadow: 0 0 3px var(--linear-color) !important;
}

.color-value:hover { 
  transition: 0.15s ease-in-out;
  transform: scale(1.02);
  box-shadow: 0 0 7px var(--linear-color) !important;
  border: 0;
  z-index: 999;
}

.color-value:not(:hover) {
  transition: 0.15s ease-in-out;
}

.color-value, .reset-button-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-bs-theme=dark] .color-value {
  --bs-tertiary-bg-rgba: 32, 32, 32, 0.8;
  background-color: rgba(var(--bs-tertiary-bg-rgba));
}

[data-bs-theme=light] .color-value {
  --bs-tertiary-bg-rgba: 238, 239, 240, 0.8;
  background-color: rgba(var(--bs-tertiary-bg-rgba));
}

.cube-container {
  position: fixed;
  bottom: 1.25rem; 
  right: 1.25rem;   
  width: var(--size-cube);
  height: var(--size-cube);
  perspective: 600px;
  transform-origin: center;
  z-index: 999 !important;
}

.cube {
  position: absolute !important;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: rotate 5s infinite linear;
}

.cube .face {
  position: absolute;
  width: var(--size-cube);
  height: var(--size-cube);
  border: 0.25rem solid var(--linear-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
  font-size: 20px;
}

.cube .face::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bs-body-bg);
  filter: brightness(0.7) opacity(0.8);
  z-index: -1;
}

.card_border_y {
  border-top: 2px solid var(--linear-color) !important;
  border-bottom: 2px solid var(--linear-color) !important;
}


.cube .face:nth-child(1) { transform:                 translateZ(calc(var(--size-cube)/2)); }
.cube .face:nth-child(2) { transform: rotateY(90deg)  translateZ(calc(var(--size-cube)/2)); }
.cube .face:nth-child(3) { transform: rotateY(180deg) translateZ(calc(var(--size-cube)/2)); }
.cube .face:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--size-cube)/2)); }
.cube .face:nth-child(5) { transform: rotateX(90deg)  translateZ(calc(var(--size-cube)/2));}
.cube .face:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--size-cube)/2));}

.cube .face:nth-child(1)::before { filter: brightness(0.6) opacity(0.8); } /* Front */
.cube .face:nth-child(2)::before { filter: brightness(0.6) opacity(0.8); } /* Right */
.cube .face:nth-child(3)::before { filter: brightness(0.6) opacity(0.8); } /* Back */
.cube .face:nth-child(4)::before { filter: brightness(0.6) opacity(0.8); } /* Left */
.cube .face:nth-child(5)::before { filter: brightness(0.6) opacity(0.8); } /* Top */
.cube .face:nth-child(6)::before { filter: brightness(0.6) opacity(0.8); } /* Bottom */

[data-bs-theme=light] .cube .face:nth-child(1)::before { filter: brightness(1) opacity(0.6); }
[data-bs-theme=light] .cube .face:nth-child(2)::before { filter: brightness(1) opacity(0.6); }
[data-bs-theme=light] .cube .face:nth-child(3)::before { filter: brightness(1) opacity(0.6); }
[data-bs-theme=light] .cube .face:nth-child(4)::before { filter: brightness(1) opacity(0.6); }
[data-bs-theme=light] .cube .face:nth-child(5)::before { filter: brightness(1) opacity(0.6); }
[data-bs-theme=light] .cube .face:nth-child(6)::before { filter: brightness(1) opacity(0.6); }

@keyframes rotate {
  0% { transform: rotateX(0deg) rotateY(0deg); }
  100% { transform: rotateX(360deg) rotateY(360deg); }
}

@media (max-width: 1400px) {
  
  .color-container {
    width: 100% !important;
    padding-top: 2.5rem;
    margin-left: 0rem !important;
  }
}

@media (min-width: 1400px) {
  .mt-xl-0,
  .mt-xl-1,
  .mt-xl-2,
  .mt-xl-3,
  .mt-xl-4,
  .mt-xl-5,
  .mt-xl-6,
  .mt-xl-7,
  .mt-xl-8 {
    margin-top: 0 !important;
  }

  .fs-xxl-1 { font-size: 2.5rem !important; }
  .fs-xxl-2 { font-size: 2rem !important; }
  .fs-xxl-3 { font-size: 1.5rem !important; }
  .fs-xxl-4 { font-size: 1.25rem !important; }
  .fs-xxl-5 { font-size: 1rem !important; }
  .fs-xxl-6 { font-size: 0.875rem !important; }
}


@media (min-width: 991px) {
  .px-xl-0 {
    padding-left: 0rem !important;
    padding-right: 0rem !important;
  }
  .px-xl-1 {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }
  .px-xl-2 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  .px-xl-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .px-xl-4 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .py-xl-0 {
    padding-top: 0rem !important;
    padding-bottom: 0rem !important;
  }
  .py-xl-1 {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }
  .py-xl-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  .py-xl-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  .py-xl-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .pb-xl-0 {
    padding-bottom: 0rem !important;
  }
  .pb-xl-1 {
    padding-bottom: 0.25rem !important;
  }
  .pb-xl-2 {
    padding-bottom: 0.5rem !important;
  }
  .pb-xl-3 {
    padding-bottom: 1rem !important;
  }
  .pb-xl-4 {
    padding-bottom: 1.5rem !important;
  }
  .pb-xl-5 {
    padding-bottom: 3rem !important;
  }
  .pb-xl-6 {
    padding-bottom: 4rem !important;
  }

  .mb-xl-0 {
    margin-bottom: 0rem !important;
  }
  .mb-xl-1 {
    margin-bottom: 0.25rem !important;
  }
  .mb-xl-2 {
    margin-bottom: 0.5rem !important;
  }
  .mb-xl-3 {
    margin-bottom: 1rem !important;
  }
  .mb-xl-4 {
    margin-bottom: 1.5rem !important;
  }
  .mb-xl-5 {
    margin-bottom: 3rem !important;
  }
  .mb-xl-6 {
    margin-bottom: 4rem !important;
  }

  .fs-lg-1 { font-size: 2.5rem !important; }
  .fs-lg-2 { font-size: 2rem !important; }
  .fs-lg-3 { font-size: 1.5rem !important; }
  .fs-lg-4 { font-size: 1.25rem !important; }
  .fs-lg-5 { font-size: 1rem !important; }
  .fs-lg-6 { font-size: 0.875rem !important; }
}

@media (max-width: 991px) {
  * {
    --size-cube: 2.5rem;
  }

  .card_view_pc {
    overflow: hidden;
    display: none;
  }

  .card_view_mobile {
    display: block;
  }

  .status-container {
    margin-left: 0;
  }

  .image-container {
    height: 100vh;
  }

  .reset-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    box-shadow: 0 0 5px var(--linear-color) !important;
    transition: 0.15s ease-in-out !important;
  }

  body {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }

  .vw-50m {
    width: 100vw !important;
  }

  .vw-55m {
    width: 100vw !important;
  }

  .gap-2p, .gap-3p {
    gap: 0rem !important;
  }

  .pt-3p {
    padding-top: 1rem !important;
  }

  .collapse.rounded-bottom-2-1 {
    border-bottom: 0.25rem solid var(--linear-color) !important;
  }

  .start-49 {
    left: 50% !important;
  }

  .card-body {
    padding: 0.5rem !important;
  }

  .card-img-top, .card-center { 
    margin-right: auto !important;
    margin-left: auto !important;
    justify-content: center !important;
  }

  .card-img-top {
    margin-top: 1rem;
    width: 20rem;
  }

  .card {
    position: relative;
    border: 0 solid transparent !important;
    width: 100%;
  }

  .card_w-100 {
    width: 100% !important;
  }

  .row>* {
    margin-top: 0px;
  }

  .card_pm {
    padding: 0rem !important;
  }

  .card_border-0m {
    border: 0 !important;
    border-color: transparent !important;
  }

  .card_border_y {
    border-top: 2px solid var(--linear-color) !important;
    border-bottom: 2px solid var(--linear-color) !important;
  }

  .social-links {
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
    gap: 0 !important;
    width: 100%;
    border-radius: 0 0 10px 10px;
    z-index: 10;
  }

  .card-body {
    padding-bottom: 3rem !important;
  }

  .scroll-item > .card > .card-body {
    padding-bottom: 0rem !important;
  }
  
  .social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--linear-color);
    text-decoration: none;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 0 0 var(--linear-color);
    border-radius: 0;
    padding: 1.5rem 0;
  }

  .active-button:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--linear-color) !important;
  }

  .px-below-0 {
    padding-left: 0rem !important;
    padding-right: 0rem !important;
  }
  .px-below-1 {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }
  .px-below-2 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  .px-below-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .px-below-4 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .py-below-0 {
    padding-top: 0rem !important;
    padding-bottom: 0rem !important;
  }
  .py-below-1 {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }
  .py-below-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  .py-below-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  .py-below-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .pb-below-0 {
    padding-bottom: 0rem !important;
  }
  .pb-below-1 {
    padding-bottom: 0.25rem !important;
  }
  .pb-below-2 {
    padding-bottom: 0.5rem !important;
  }
  .pb-below-3 {
    padding-bottom: 1rem !important;
  }
  .pb-below-4 {
    padding-bottom: 1.5rem !important;
  }
  .pb-below-5 {
    padding-bottom: 3rem !important;
  }
  .pb-below-6 {
    padding-bottom: 4rem !important;
  }

  .pt-below-0 {
    padding-top: 0rem !important;
  }
  .pt-below-1 {
    padding-top: 0.25rem !important;
  }
  .pt-below-2 {
    padding-top: 0.5rem !important;
  }
  .pt-below-3 {
    padding-top: 1rem !important;
  }
  .pt-below-4 {
    padding-top: 1.5rem !important;
  }
  .pt-below-5 {
    padding-top: 3rem !important;
  }
  .pt-below-6 {
    padding-top: 4rem !important;
  }

  .mb-below-0 {
    margin-bottom: 0rem !important;
  }
  .mb-below-1 {
    margin-bottom: 0.25rem !important;
  }
  .mb-below-2 {
    margin-bottom: 0.5rem !important;
  }
  .mb-below-3 {
    margin-bottom: 1rem !important;
  }
  .mb-below-4 {
    margin-bottom: 1.5rem !important;
  }
  .mb-below-5 {
    margin-bottom: 3rem !important;
  }
  .mb-below-6 {
    margin-bottom: 4rem !important;
  }

  .mt-below-0 {
    margin-top: 0rem !important;
  }
  .mt-below-1 {
    margin-top: 0.25rem !important;
  }
  .mt-below-2 {
    margin-top: 0.5rem !important;
  }
  .mt-below-3 {
    margin-top: 1rem !important;
  }
  .mt-below-4 {
    margin-top: 1.5rem !important;
  }
  .mt-below-5 {
    margin-top: 3rem !important;
  }
  .mt-below-6 {
    margin-top: 4rem !important;
  }
  .mt-below-7 {
    margin-top: 5rem !important;
  }
  .mt-below-8 {
    margin-top: 6rem !important;
  }
}

@media (min-width: 768px) {
  .fs-md-1 { font-size: 2.5rem !important; } /* 40px */
  .fs-md-2 { font-size: 2rem !important; }   /* 32px */
  .fs-md-3 { font-size: 1.5rem !important; } /* 24px */
  .fs-md-4 { font-size: 1.25rem !important; } /* 20px */
  .fs-md-5 {font-size: 1rem !important;}   /* 16px */
  .fs-md-6 { font-size: 0.875rem !important; } /* 14px */
}

@media (max-width: 576px) {
  .px-below-sm-0 {
    padding-left: 0rem !important;
    padding-right: 0rem !important;
  }
  .px-below-sm-1 {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }
  .px-below-sm-2 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  .px-below-sm-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .px-below-sm-4 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .py-below-sm-0 {
    padding-top: 0rem !important;
    padding-bottom: 0rem !important;
  }
  .py-below-sm-1 {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }
  .py-below-sm-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  .py-below-sm-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  .py-below-sm-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .card-img-top {
    width: 100%;
  }
}

@media (min-width: 576px) {
  .fs-sm-1 { font-size: 2.5rem !important; } /* 40px */
  .fs-sm-2 { font-size: 2rem !important; }   /* 32px */
  .fs-sm-3 { font-size: 1.5rem !important; } /* 24px */
  .fs-sm-4 { font-size: 1.25rem !important; } /* 20px */
  .fs-sm-5 { font-size: 1rem !important; }   /* 16px */
  .fs-sm-6 { font-size: 0.875rem !important; } /* 14px */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1); /* Делает стрелки белыми на темном фоне */
    width: 2rem; /* Изменяет размер */
    height: 2rem;
}