@font-face {
  font-family: "Arial Narrow";
  src: url("./font/arial-narrow.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html {
  font-family: "Arial Narrow", sans-serif;
  letter-spacing: 1px;
  font-weight: 500;
}

body {
  margin: 0;
  font-size: 20px;
}

.dolacz {
  margin: 10px;
  padding: 7px 15px;
  background-color: #f9a14e;
  border-radius: 5px;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  text-decoration: none;
}

.dolacz:hover {
  text-shadow: 5px 4px 9px rgba(66, 68, 90, 1);
  -webkit-box-shadow: 5px 5px 15px 0px rgba(66, 68, 90, 1);
  -moz-box-shadow: 5px 5px 15px 0px rgba(66, 68, 90, 1);
  box-shadow: 5px 5px 15px 0px rgba(66, 68, 90, 1);
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: #005fa4;
  z-index: 4;
}

header .header_dolacz {
  margin: 0 20px 0 0;
}

header img {
  height: 80px;
  padding: 10px;
}

header div {
  display: flex;
  flex-direction: row;
  align-items: center;
}

header menu {
  padding: 0;
  margin: 0;
}

header ul {
  list-style-type: none;
  display: flex;
  flex-direction: row;
  padding: 0;
}

header ul li {
  margin: 10px;
}

main {
  margin: 134px 30px 30px;
  font-size: 16px;
  color: #005fa4;
}

main > div {
  display: flex;
  flex-direction: row;
  margin: 10px;
}

main div img {
  width: 20%;
  margin: 0 0 0 30px;
}

main h2 {
  text-align: center;
  margin: 20px 0 40px;
}

hr {
  background-color: #404545;
  height: 2px;
  margin: 0;
}

footer a {
  text-decoration: none;
  color: #005fa4;
  font-weight: 900;
  font-size: 16px;
}

footer .dane {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

footer .tytul {
  text-align: center;
}

footer p {
  color: #005fa4;
  font-weight: 900;
  margin: 15px;
  white-space: nowrap;
  font-size: 16px;
}

footer > div > div {
  margin: 20px 30px;
  width: 25%;
}

footer .sm {
  text-align: center;
}

footer .sm-icons {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}

footer .sm .maile {
  display: flex;
  justify-content: space-evenly;
  margin: 10px 0 0;
  color: #005fa4;
  flex-wrap: wrap;
}

footer .sm .maile a {
  margin: 15px 5px 0;
  text-align: center;
}

footer .sm-icons .sm-icon {
  background-color: #005fa4;
  width: 40px;
  padding: 5px 5px 3px;
  margin: 0 5px;
  border-radius: 5px;
}

footer .copyright p {
  color: #404545;
  text-align: center;
  font-size: 15px;
  white-space: wrap;
}

@media screen and (max-width: 1500px) {
  main div img {
    width: 30%;
  }
}

@media screen and (max-width: 1300px) {
  main div img {
    width: 40%;
  }
}

@media screen and (max-width: 1150px) {
  main div img {
    width: 50%;
  }
}

@media screen and (max-width: 960px) {
  main > div {
    flex-direction: column;
  }

  main div img {
    width: 100%;
    margin: 20px 0;
  }
}

@media screen and (max-width: 850px) {
  footer > div > div {
    width: 40%;
  }
}

@media screen and (max-width: 620px) {
  footer > div > div {
    width: 100%;
    text-align: center;
  }
}
