body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0 5vw;
  line-height: 1.6;
}

header, section {
  margin-bottom: 40px;
}

h1, h2, h3 {
  color: #1a1a1a;
}

a {
  display: inline-block;
  color: #0073e6;
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

i {
  margin-right: 5px;
  color: #0073e6;
}

.more-info {
  margin-top: 10px;
}

.registration {
  font-weight: bold;
}

.renewal {
  color: #777;
}

section > article {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 15px;
  margin: 10px 0;
}

@media (min-width: 768px) {
  section > article {
    width: 20%;
    display: inline-block;
    vertical-align: top;
    margin-right: 1%;
  }

  section > article:nth-child(2n) {
    /*margin-right: 0;*/
  }

  article:nth-of-type(even) {
    background-color: #f5f7fa;
  }
}

header {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.logo {
  max-height: 50px;
  margin-right: 20px;
}

.header-text {
  flex: 1;
  min-width: 250px;
}

.header-text h1 {
  font-size: 1.5rem;
  margin: 0 0 10px;
}

.header-text p {
  margin: 0 0 10px;
}

.header-text a {
  display: inline-block;
  margin-top: 5px;
}

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  opacity: 0;
  visibility: hidden;
  background-color: #0073e6;
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 999;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  background-color: #005bb5;
}

section {
  background-color: #ffffff;
  padding: 40px 30px;
  margin: 40px auto;
  border-radius: 12px;
  box-sizing: border-box;
  max-width: 1200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

section:nth-of-type(even) {
  background-color: #f5f7fa;
}

section:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

body > section + section {
  margin-top: -20px;
}

footer {
  background-color: #f5f7fa;
  padding: 40px 30px;
  margin-top: 40px;
  box-sizing: border-box;
  color: #1a1a1a;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-link {
  font-size: 0.9rem;
  color: #0073e6;
  text-decoration: none;
  font-weight: bold;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-info {
  text-align: right;
  max-width: 400px;
  font-size: 0.875rem;
}

.footer-info p {
  margin: 0;
  color: #777;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-info {
    text-align: left;
    margin-top: 20px;
  }

  .header-text h1 {
    font-size: 1.2rem;
  }

  .logo {
    margin-bottom: 15px;
  }
}

.hero {
  background-image: url('img/darmowa-migracja-hostingu.webp');
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#pic {
  height: 55vh;
  filter: sepia(1) hue-rotate(190deg) saturate(3) brightness(1);
}

#grad {
  height: 25vh;
  background-image: linear-gradient(to right, #cce6ff, #0073e6);
}