/* Stylowanie ogólne */

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    background-color: rgba(0, 0, 0, 0); /* Przezroczysty czarny */
    transition: background-color 0.3s ease; /* Gładkie przejście tła */
    padding: 15px 0;
    z-index: 1000; /* Aby zawsze było nad zawartością */
}

.navbar.scrolled {
    background: linear-gradient(to bottom right, #020621, #0f2440);

}

.navbar li {
    list-style: none;
    margin: 0 15px;
}

.navbar li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.navbar li a:hover {
    color: #0f2440; /* Zmiana koloru po najechaniu */
}

section {
  background: linear-gradient(to bottom right, #160764, #015b44);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

article {
	width: 90%;
  display: flex;
}

.bild {
  background-image: url("content/Matylewicz, Michal.jpg");
  width: 50%;
  background-size: cover;
  background-position: top;
  border-radius: 50px 0 0 50px;
}
@media (max-width: 768px) {
  .bild {
    width: 100%;
    background-size: cover;
    border-radius: 50px 0 0 50px;
    height: 300px;
  }
}
.info {
  width: 50%;
  background-color: gray;
  padding: 5px;
  border-radius: 0 50px 50px 0;
  color: #63626e;
}

.info > h1 {
  font-size: 36px;
}

.info >p {
  color: #0f2440;
  text-align: justify;
  margin-bottom: 75px;
}

.info >a {
  background-color: #0f2440;
  font-weight: bolder;
  display: block;
  width: 150px;
  text-align: center;
  padding: 5px 0;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 4px 4px 0 black;
  transition: all 0.5s linear;
}
.info >a:hover {
  font-weight: bold;
  box-shadow: 0 0 4px black;
  color: #020621;
  background-color: #063735;
}
/* Stylowanie sekcji z tłem paralaksy */
.parallax-bg {
    min-height: 300px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
	
}

.parallax1 {
    background-image: url('content/obraz_firma.png');
}

.parallax2 {
    background-image: url('content/obraz_firma2.png');
}

.parallax3 {
    background-image: url('content/obraz_firma2.png');
}

/* Stylowanie treści */
.content {
    padding: 40px;
    text-align: center;
    background: linear-gradient(to bottom right, #020621, #0f2440);
}

h1, h2 {
	margin: 0;
	padding: 10px 0 0 0;
	text-align: center;
    color: black;
}

.paragraf{
	margin: 0;
	padding: 0px 10px 0 10px;
	text-align: center;
    color: white;
}

.animated-header {
	margin: 0;
	padding: 100px 0 0 0;
	text-align: center;
    color: #063735;
	
}
#animated-header {
    font-size: 4rem;
    text-align: center;
}
	
p {
	margin: 0 0 0 15px;
	text-align: justify;
    color: #666;
    line-height: 1.6;
}

/* Stylowanie stopki */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
}
