/*
* {
  font-family: "Ubuntu", sans-serif;
}
*/

:root {
  --text-color: rgb(254, 251, 234);  
  --text-color-rgb: 254, 251, 234;
  --bg-color: rgb(37, 37, 37);

  --bg-color-gradient-start: rgb(13, 29, 49);
  --bg-color-gradient-end: rgb(12, 13, 19);

  --slider-border-color: rgba(0, 168, 204, 0.3);
  --slider-bg: rgb(35, 38, 43);
  --slider-bg-hover: rgb(0, 168, 204);
  --slider-shadow-hover: rgba(0, 168, 204, 0.5);

  --fotka-bg: rgba(255, 255, 255, 0.05);
  --fotka-shadow: rgba(0, 168, 204, 0.4);
  --fotka-shadow-hover: rgba(0, 168, 204, 0.7);

  --kategoria-color: rgb(0, 168, 204);
}

[data-theme="light"] {
  --text-color: rgb(37, 37, 37);
  --text-color-rgb: 37, 37, 37;
  --bg-color: rgb(254, 251, 234);

  --bg-color-gradient-start: rgb(240, 244, 248);
  --bg-color-gradient-end: rgb(217, 226, 236);

  --slider-border-color: rgba(28, 62, 112, 0.1); 
  --slider-bg: rgba(0, 0, 0, 0.04);              
  --slider-bg-hover: rgb(28, 62, 112);          
  --slide-shadow-hover: rgba(28, 62, 112, 0.25);  

  --fotka-bg: rgba(0, 0, 0, 0.8);              
  --fotka-shadow: rgba(28, 62, 112, 0.6);         
  --fotka-shadow-hover: rgba(28, 62, 112, 1);

  --kategoria-color: rgb(28, 62, 112);
}

* {
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

body {
  margin: 0;
  background-color: var(--bg-color);
  background-image: radial-gradient(ellipse at bottom, var(--bg-color-gradient-start) 0%, var(--bg-color-gradient-end) 100%);
  background-size: cover; /* na celú obrazovku */
  background-position: center; /* vycentrovanie pozadia */
  background-repeat: no-repeat; /* iba jeden obrázok */
  background-attachment: fixed;
  box-sizing: border-box;
  overflow-x: hidden;
  height: 100%;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  display: none;
}

.copyrightp {
  position: fixed;
  bottom: 0;
  padding: 0 1ch;
  color: var(--text-color);
  font-weight: bold;
}

.copyrightspan {
  font-size: 2ch;
}

.copyrightp {
  left: 0;
  right: auto;
}

.container {
  margin-top: 16px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

.nadpis {
  color: var(--text-color);
  text-transform: uppercase;
}

.nadpis h1 {
  margin: 0;
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.slider-button {
  background: var(--slider-bg);
  border: 1px solid var(--slider-border-color);
  color: var(--text-color);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
}

.slider-button svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.slider-button:hover {
  background: var(--slider-bg-hover);
  color: var(--bg-color);
  box-shadow: 0 0 15px var(--slider-shadow-hover);
}

.slider-button:active svg {
  transform: scale(0.85);
}

.container-slider {
  display: flex;
  flex-wrap: nowrap;
  scroll-behavior: smooth;

  box-sizing: border-box;
  gap: 24px;
  padding: 20px;
  width: 100%;

  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.container-komponent {
  background-color: var(--slider-bg);
  color: var(--text-color);
  border: 1px solid var(--fotka-bg);
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  justify-content: flex-start;

  flex: 0 0 calc((100% - 48px) / 3);
}

.container-komponent a, 
.container-komponent a:link, 
.container-komponent a:visited, 
.container-komponent a:hover, 
.container-komponent a:active {
  color: inherit !important;
  text-decoration: none !important;
  display: block;
  width: 100%;
  height: 100%;
}

.container-komponent-obrazok {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.container-komponent-obrazok img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0px 0px 25px var(--fotka-shadow));
  transition: filter 0.3s ease;
  cursor: pointer;
  padding: 8px;
}

.container-komponent:hover .container-komponent-obrazok img {
  filter: drop-shadow(0px 0px 35px var(--fotka-shadow-hover));
}

.kategoria {
  font-size: 1.5rem;
  color: var(--kategoria-color);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.container-komponent-info ul, .container-komponent-info li {
  color: rgba(var(--text-color-rgb), 0.7) !important;
}

@media print {
    body {display: none !important;}
}

@media (max-width: 1024px) {
  .container-komponent {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 768px) {
  .container-komponent {
    flex: 0 0 100%;
  }
}