:root {
  --primary-color: #004080;
  --background-light: #f0f0f0;
  --background-dark: #d9e4ec;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(var(--background-light), var(--background-dark));
  margin: 0;
  padding: 0;
}

header {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding-bottom: 1rem;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
}

header p {
  font-size: 1.2rem;
  margin-top: 0.5rem;
  margin-bottom: 0.3rem;
}

section {
  padding: 2rem;
  margin: auto;
  max-width: 900px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

section h2 {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  font-size: 1.4rem;
  padding-bottom: 0.5rem;
  margin-top: 0.5rem;
}

section ul {
  padding-left: 1.2rem;
}

section p,
ul li {
  font-size: 1rem;
  line-height: 1.6;
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.9rem;
}

img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}


/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  header p {
    font-size: 1rem;
  }
  section {
    padding: 1rem;
  }
  section h2 {
    font-size: 1.2rem;
  }
  section p,
  ul li {
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .social-wrapper {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.5rem;
  }
  header p {
    font-size: 0.9rem;
  }
  section h2 {
    font-size: 1rem;
  }
}

/* PRZYCISKI I SOCIAL */
.button-wrapper,
.social-wrapper {
  text-align: center;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

a.nav-button,
a.email-button,
a.fb-button,
a.insta-button,
a.li-button {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background-color: #00bcd4;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  font-size: 16px;
  text-decoration: none;
  font-family: inherit;
  gap: 8px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

a.email-button {
  background-color: #4CAF50;
}
a.email-button:hover {
  background-color: #3E8E41;
}

a.fb-button {
  background-color: #1877F2;
}
a.fb-button:hover {
  background-color: #145dc0;
}

a.insta-button {
  background-color: #E1306C;
}
a.insta-button:hover {
  background-color: #C1275C;
}

a.li-button {
  background-color: #0e76a8;
}
a.li-button:hover {
  background-color: #095a8e;
}

a.nav-button:hover {
  background-color: #0199ac;
}

a.nav-button i,
a.email-button i,
a.fb-button i,
a.insta-button i,
a.li-button i {
  color: white;
  margin-right: 8px;
}

a.nav-button i {
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* TABELA */
.table-wrapper {
  overflow-x: auto;
  margin-top: 1rem;
}

.match-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.match-table th,
.match-table td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}

.match-table th {
  background-color: #f0f0f0;
  color: var(--primary-color);
}
.profile-photo {
  width: 160px;
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  margin-top: 1rem;
}

@media screen and (max-width: 768px) {
  .profile-photo {
    width: 120px;
  }
}


.match-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.center {
  text-align: center;
}
