body {
  font-family: 'Inter', sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
  color: #333;
  transition: background-color 0.4s, color 0.4s;
}

.dark-mode {
  background-color: #1e1e1e;
  color: #f4f4f4;
}

.card {
  max-width: 800px;
  margin: 50px auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: background 0.4s, box-shadow 0.3s;
}

.dark-mode .card {
  background: #2e2e2e;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.profile-photo {
width: 150px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 8px; /* delikatnie zaokrąglone rogi, opcjonalnie */
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

h1, h2 {
  text-align: center;
}

h2 {
  color: #005a9c;
  margin-top: 30px;
}

.dark-mode h2 {
  color: #66aaff;
}

ul {
  list-style-type: disc;
  padding-left: 20px;
}

a {
  color: #0073b1;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.dark-mode a {
  color: #aad8ff;
}

footer {
  margin-top: 40px;
  border-top: 1px solid #ddd;
  padding-top: 20px;
  font-size: 0.9em;
  text-align: center;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 15px 30px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 24px;
  margin-right: 10px;
}

.switch input { display: none; }

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 24px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:checked + .slider:before {
  transform: translateX(21px);
}

.slider.round {
  border-radius: 24px;
}

.slider.round:before {
  border-radius: 50%;
}

.fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.linkedin-link {
  text-align: center;
  margin: 20px 0;
}

.linkedin-link i {
  margin-right: 8px;
  vertical-align: middle;
}
