@import url("naglowek.css");
@import url("menu.css");
@import url("footer.css");
@import url("../cookie/cookie.css");
@import url("../scroll/scroll.css");
@import url("projekty_web.css");

body {
	background-image: url('../images/tlo/tlo.jpg');
	font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
	font-size: 1.3rem;
	font-weight: 500;
	background-repeat: no-repeat;   /* brak powtórzeń */
    background-size: cover;         /* dopasowanie do całego elementu */
    background-position: center;
    background-attachment: fixed;
}
p {
    font-size: 1.3rem;
	line-height: 1.3;	
}


h1 {
  font-size: 1.6rem;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.3rem;
}
h4 {
  font-size: 1.2rem;
}
h5 {
  font-size: 1.0rem;
}
h6 {
  font-size: 0.8rem;
}


/* Akcenty – np. linki */
a {
  font-weight: 500;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
#glowny{
	margin-top: 15px;
	background: linear-gradient(
    to right, 
    rgba(255,255,255,0.9), 
    rgba(200,200,130,0.9)
  );
	border-radius: 7px;	
}
.zdjeciefront_1 img  {
	width: 100%;
	border-radius: 7px;
}

.zdjeciefront_2 img  {
	width: 100%;
	border-radius: 7px;
}
#cytat {
	display: flex;
    justify-content: center;
	align-items: center;
	text-align: center;	
	line-height: 2.0;
	color: #444;
	font-style: italic;
}
#cytat p {
	text-align: center;	
	line-height: 2.0;
	color: #444;
	font-style: italic;
}

.scroll-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Kluczowe: od razu ustawiamy startową pozycję po prawej */
.scrolling-text {
  display: inline-block;
  white-space: nowrap;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
  transform: translateX(100%);              /* start: po prawej krawędzi */
  animation: scroll-left 10s linear infinite;
  animation-fill-mode: both;                 /* zachowuje stan z klatek brzegowych */
  will-change: transform;
}




@keyframes scroll-left {
  0% {
    transform: translateX(100%);             /* start od prawej */
  }
  100% {
    transform: translateX(-100%);            /* koniec po lewej */
  }
}

/* Opcjonalnie: szacunek dla preferencji użytkownika */
@media (prefers-reduced-motion: reduce) {
  .scrolling-text {
    animation: none;
    transform: none;
  }
}


