@font-face {
  font-family: "MinionPro";
  font-style: normal;
  font-weight: normal;
  src: url(./fonts/MinionPro-Regular.otf) format("opentype");
}

@font-face {
  font-family: "MinionPro";
  font-style: italic;
  font-weight: normal;
  src: url(./fonts/MinionPro-It.otf) format("opentype");
}

@font-face {
  font-family: "MinionPro";
  font-style: normal;
  font-weight: bold;
  src: url(./fonts/MinionPro-Bold.otf) format("opentype");
}

@font-face {
  font-family: "MinionPro";
  font-style: italic;
  font-weight: bold;
  src: url(./fonts/MinionPro-BoldIt.otf) format("opentype");
}

body {
  font-family: "MinionPro", serif;
  line-height: 1;
  background: #fff;
  margin: 0;
  padding: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  text-align: justify;
}

body > main a {
  color: #c41f3b;

}

header {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #ddd;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav ul li {
  display: inline;
  margin: 0 10px;
  font-size: 1.1em;
}

nav ul li a {
  display: flex;
  align-items: center;

  color: black;

  text-decoration: none;
  align-items: baseline;
}
nav ul li a:hover {
  border-bottom: 0.09em solid black;
  margin-bottom: -0.09em;
  text-decoration: none !important;
}

nav ul li a img {
  width: auto; /* Rozmiar ikon */
  height: 0.8em;
  margin-right: 5px; /* Odstęp między ikoną a tekstem */
  vertical-align: text-top; /* Wyrównanie ikon z tekstem */
}

nav ul li .separator {
  font-size: 0.8em;
  color: #000; /* Kolor kropek */
}

nav ul li a:hover {
  text-decoration: underline;
}

h1 {
  font-size: 2em;
  font-weight: normal;
  text-align: left;
  font-variant: small-caps;
  margin-bottom: 1em;
}
h2 {
  font-size: 1.5em;
  font-weight: normal;
  text-align: left;
  font-variant: small-caps;
  margin-bottom: 1em;
}

.profile-info {
  display: flex;
  align-items: center; /* Wyrównanie obrazka i ikon w jednej linii */
}

img.profile-pic {
  border: 1px solid black;
  max-width: 120px;
  height: auto;
  margin-right: 20px; /* Odstęp między zdjęciem a ikonami */
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info p {
  margin: 2px 0;
}

.contact-info img {
  width: 20px; /* Rozmiar ikon */
  height: 20px;
  margin-right: 10px; /* Odstęp między ikoną a tekstem */
  vertical-align: middle; /* Wyrównanie ikon z tekstem */
}

.contact-info a {
  color: #000; /* Czarne linki */
  text-decoration: none;
  font-size: 1em;
}

.contact-info a:hover {
  text-decoration: underline;
}

footer {
  border-top: 1px solid #ddd; /* Cienka, lekka linia na dole */
  padding-top: 1em;
  text-align: center;
  margin-top: 2em;
}
