/* Reset stylów */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

/* Styl ogólny */
body {
  background-color: #2c2f36;
  font-family: "Open Sans", sans-serif;
  color: #ffffff;
  background:  #6a6f7a ;
}

/* Kontener główny */
#container {
  width: 100%;
  max-width: 1000px;
  background-color: #85888f;
  margin: 50px auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

}


/* Menu nawigacyjne */
#menu {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #c01313;
  gap: 70px;
  height: 60px;
  background-color: #3e4047;
  font-size: 18px;
  font-weight: 600;
}

#menu a {
  color: #ffffff;
  text-decoration: none;
  padding: 10px 15px;
  transition: background-color 0.5s ease, color 0.5s ease;
  border-radius: 4px;
}

#menu a:hover {
  background-color: #c01313;
  color: #ffffff;
}

/* Logo */
#logo {
  text-align: center;
  background-color: #3e4047;
}




/* Treść po lewej */
#content {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  padding: 40px 70px
}

/* Slideshow po prawej */
#slideshow {
  position: absolute;
  top: 200px;
  right: 20px;
  width: 350px;
  height: 350px;
  background-color: #6c6e74;
  border-radius: 8px;
  border: 3px solid #3e4047;
  box-shadow: 0 4px 12px #000000ce;
  overflow: hidden;
  z-index: 10;
}

#slideshow img {
  width: 300px;
  height: 300px;
  object-fit: contain;
  position: absolute;
  top: 20px;
  left: 25px;
  transition: opacity 1s ease-in-out;
}

/* Stopka */
#stopka {
  background-color: #3e4047;
  text-align: center;
  color: #bbb;
  padding: 20px;
  font-size: 14px;
  clear: both;
}

#main {
  position: relative;
  padding: 20px;
  color: #ffffff;
}
.drukarki{
  font-size: 18px;
}
ul {
  list-style-type: disc; /* kropki */
  padding-left: 20px;    /* odstęp od lewej, żeby kropki się wyświetliły */
  margin-left: 0;        /* możesz dostosować margines */
  font-size: 14px;
}

#contentdrukarki {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  margin-right: 340px; /* dodajemy margines, by ominąć slideshow */
    padding: 30px 30px
}
#contentlaptop{
    font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  margin-right: 340px; /* dodajemy margines, by ominąć slideshow */
  height: 400px;
    padding: 30px 30px
}
#logo2 {
  text-align: center;
  background-color: #3e4047;
}

#logo img, #logo2 img {
  width: 100%;
  max-width: 1000px;
  height: auto;
}

#slideshow1{
  position: absolute;
  top: 45px;
  right: 30px;
  width: 350px;
  height: 350px;
  background-color: #6c6e74;
  border-radius: 8px;
  border: 3px solid #3e4047;
  box-shadow: 0 4px 12px #000000ce;
  overflow: hidden;
  z-index: 10;
}
#slideshow1 img {
  width: 300px;
  height: 300px;
  object-fit: contain ;
  position: absolute;
  top: 10px;
  left: 20px;
  transition: opacity 1s ease-in-out;
}
#contentxd{
    font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  padding: 40px 70px;
  text-align: center;
}
#contentcennik{
    font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  padding: 40px 70px
}
#contentcennik ul {
    font-size: 16px;
}
#content h1{
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 50px;
}

/* === STYLOWANIE DLA TELEFONÓW I MAŁYCH EKRANÓW === */
@media (max-width: 768px) {

  /* Kontener z mniejszym marginesem */
  #container {
  margin: 20px auto;
  padding: 0 10px;
}

  /* Menu w kolumnie */
  #menu {
    flex-direction: row;
    gap: 10px;
    height: auto;
    padding: 10px 0;
  }

  #menu a {
    font-size: 16px;
    padding: 8px 10px;
  }

  /* Logo dopasowane do szerokości */
  #logo img,
  #logo2 img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  /* Content z mniejszym paddingiem i mniejszą czcionką */
  #content,
  #contentcennik,
  #contentxd {
    padding: 20px;
    font-size: 16px;
  }

  #content h1 {
    font-size: 36px;
  }

  /* Content z marginesem na slideshow – usuwamy na telefonie */
  #contentdrukarki,
  #contentlaptop {
    margin-right: 0;
    padding: 20px;
    font-size: 16px;
  }

  /* Ukryj slideshow na telefonie – można też go przenieść niżej zamiast chować */
  #slideshow,
  #slideshow1 {
    display: none;
  }

  /* Stopka z mniejszą czcionką */
  #stopka {
    font-size: 12px;
    padding: 15px;
  }

  /* Zmniejszamy rozmiar fontu listy */
  ul {
    font-size: 14px;
  }
}
