/*General Styles*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.logos {
  display: flex; /* Użyjemy Flexboxa */
  justify-content: center; /* Wyśrodkuj w poziomie */
  align-items: center; /* Wyśrodkuj wertykalnie */
}

.logos img {
  width: 150px;
  height: auto;
  margin: 0 10px; /* Odstęp poziomy między logami */
}

.links {
  color: white;
  display: flex; /* Użyjemy Flexboxa */
  justify-content: space-between; /* Rozłoży elementy na całej szerokości kontenera */
  align-items: center; /* Wyśrodkuj wertykalnie */
  padding: 40px 85px; /* Dodaj odstęp 20 pikseli z lewej i prawej strony */
}

.links a {
  font-size: 17px;
  text-decoration: none; /* Usuń podkreślenie spod linków */
  color: inherit; /* Dziedzicz kolor tekstu od rodzica */
  padding: 0px 15px; 
}

.cooperation {
  background-color: #6699cc; /* Dodaj tło w kolorze niebieskim */
  padding: 50px 0; /* Dodaj odstęp z góry i dołu */
  color: white;
}

@media screen and (max-width: 1200px) {
  .logos, .links {
    flex-direction: column;
    text-align: center;
  }

@media screen and (max-width: 1200px) {
  .logos img {
  width: 200px;
  height: auto;
  margin: 0px 10px 0px; /* Odstęp poziomy między logami */
  }
}

  .logos img {
    margin: 10px auto;
  }

  .links {
    padding: 30px 0px 0px 0px; /* Zmieniamy padding, aby przesunąć linki w lewo */
  }
}

html {
  font-size: 17px;
  font-family: "Roboto", sans-serif;
  color: #333;
}

ul,
nav {
  list-style: none;
}

@media (max-width: 1035px) {
  nav {

  }
}

a {
  text-decoration: none;
  opacity: 0.8;
  color: #fff;
}

a:hover {
  opacity: 1;
}

a.btn {
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
  background-color: #ff847c;
  opacity: 1;
  transition: all 400ms;
  padding: 18px 42px;
}


a.btn:hover {
  background-color: #f36d67;
}


section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px;
}

section:not(.hero):nth-child(even) {
  background-color: #f9f9f9;
}

.grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

hr {
  width: 200px;
  height: 3px;
  background-color: #ff847c;
  border: 0;
  margin-bottom: 40px;
}

.image-1 {
  background-image: url("https://p-z-p.pl/zamowienia-gry-mmo.jpg");
}

.image-2 {
  background-image: url("https://p-z-p.pl/zamowienia-gry-video.webp");
}

.image-3 {
  background-image: url("https://p-z-p.pl/zamowienia-gry-mmorpg.jpg");
}

.image-4 {
  background-image: url("https://p-z-p.pl/zamowienia-gry-komputerowe.webp");
}

section h3.title {
  text-transform: uppercase;
  font: bold 42px "Roboto", sans-serif;
  margin-bottom: 30px;
  text-align: center;
}

section p {
  max-width: 900px;
  line-height: 1.8;
  padding: 0 0px;
  margin-bottom: 30px;
  text-align: center;
}

@media (max-width: 800px) {
  section {
    padding: 50px;
  }
}

/* Header Styles */
header {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px 0;
  opacity: 0;
  animation: 1s slidefade 1s forwards;
  color: #fff;
  z-index: 2;
  text-transform: uppercase;
  text-align: center;
}

section h2.title {
  text-transform: uppercase;
  font: bold 42px "Roboto", sans-serif;
  margin-bottom: 30px;
  text-align: center;
}

header nav {
  display: flex;
  margin-right: -15px;
  color: #000080;
}

@media (max-width: 650px) {
  header nav {
    line-height: 1.5em; /* Zwiększa odstępy między wierszami w akapitach */
    flex-direction: column; /* Ustawienie flex-direction na kolumnę w wersji mobilnej */
    text-align: center;
  }
}

header nav li {
  margin: 0 15px;
}

/* Hero Styles */
.hero {
  position: relative;
  justify-content: center;
  text-align: center;
  min-height: 120vh;
  color: #fff;
}

.hero .background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://p-z-p.pl/zamowienia-publiczne-branza-gier.webp");
  background-size: cover;
  background-position: center center; /* Wyśrodkuje tło */
  z-index: -1;
  background-color: rgba(153, 204, 255, 0.1); /* Kolor tła z 10% przeźroczystością */
}

.hero h1 {
  font: 64px "Roboto", sans-serif;
  text-shadow: 2px 2px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

.hero h3 {
  font: 26px "Raleway", sans-serif;
  font-weight: 300;
  text-shadow: 2px 2px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
}

@media (max-width: 1035px) {
  .hero h3 {
   font-size: 21px;
  }
}

.hero a.btn {
  padding: 18px 42px;
}

.hero-content-area {
  opacity: 0;
  margin-top: 200px;
  animation: 2s slidefade 2s forwards;
}


@keyframes slidefade {
  100% {
    opacity: 1;
    margin: 0;
  }
}

@media (max-width: 1035px) {
  header {
    height: 330px;
    flex-direction: column; /* Ustawienie flex-direction na kolumnę w wersji mobilnej */
    text-align: center;
  }
}

    flex-direction: column; /* Ustawienie flex-direction na kolumnę w wersji mobilnej */
    text-align: center;
  }
}

@media (max-width: 1200px) {
  .hero {
    min-height: 115vh; /* Dostosuj wysokość hero dla wersji mobilnej */
  }
}

/*Destinations Section*/

.destinations .grid li {
  height: 300px;
  padding: 20px;
  background-clip: content-box;
  background-size: cover;
  background-position: center;
}

.destinations .grid li.small {
  flex-basis: 30%;
}

.destinations .grid li.large {
  flex-basis: 70%;
}

@media (max-width: 1100px) {
  .destinations .grid li.small,
  .destinations .grid li.large {
    flex-basis: 50%;
  }
}

@media (max-width: 800px) {
  .destinations .grid li.small,
  .destinations .grid li.large {
    flex-basis: 100%;
  }
}

/*Packages Section*/

.packages .grid li {
  padding: 40px;
  flex-basis: 50%;
  text-align: center;
}

.packages .grid li i {
  color: #ff847c;
}

.packages .grid li h4 {
  font-size: 26px;
  margin: 25px 0;
}

@media (max-width: 800px) {
  .packages .grid li {
    flex-basis: 100%;
    padding: 20px;
  }
}

/*Testimonials Section*/

.testimonials .quote {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5;
  margin: 30px 0 20px;
}

@media (max-width: 800px) {
  .testimonials .quote {
    font-size: 18px;
    margin: 15px 0;
  }

  .testimonials .author {
    font-size: 14px;
  }
}

/*Contact Section*/

.contact form {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 60%;
}

.contact a.btn {
  padding: 18px 42px;
}

.contact form .btn {
  padding: 16px 38px;
}

.contact form input {
  padding: 12px;
  margin-right: 20px;
  font-size: 16px;
  color: #555;
  flex: 1;
}

@media (max-width: 1200px) {
  .contact form input {
    flex-basis: 100%;
    margin: 0 0 20px 0;
  }
}

/*Footer Section*/

footer {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: #555;
  color: #fff;
  padding: 20px 0;
}

footer ul {
  display: flex;
}

footer ul li {
  margin-left: 16px;
}

footer p {
  text-transform: uppercase;
  font-size: 14px;
  opacity: 0.6;
  align-self: center;
}

@media (max-width: 1100px) {
  footer {
    flex-direction: column;
  }

  footer p {
    text-align: center;
    margin-bottom: 20px;
  }

  footer ul li {
    margin: 0 8px;
  }
}