body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: rgb(219, 219, 219);

}

.srodek-glowna {
  display: flex;
  flex-direction: column;
  align-items: center;

  height: 100vh; /* Wysokość na całą stronę */
}

.glowna-zdjecie {
  width: 50%;
  height: 50%;
  border-radius: 4px;
/* 
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center; */
  align-items: center;
}

/* Header Layout */
.naglowek-1 {
  background-color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.naglowek-lewo {
  display: flex;
  align-items: center;
}

.logo {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}

.naglowek-1-tytul {
  font-size: 24px;
  font-weight: bold;
  color: black;
  
}

.naglowek-prawo {
  display: flex;
  gap: 10px;
}

.naglowek-1-button {
  background-color: white;
  color: black;
  padding: 10px 20px;
  cursor: pointer;
  text-decoration: none;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  justify-content: 2px;
}

.naglowek-1-button:hover {
  background-color: #f0f0f0;
}

/* Stopka */
.stopka {
  background-color: white;
  color: black;
  padding: 10px;
  text-align: center;
  position: fixed;
  bottom: 0;
  width: 100%;
  font-size: larger;
}

/* Materiały */

.materialy-naglowek {
  font-size: x-large;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  /* font-weight: bold; */
  color: black;

}

.matma-1-3 {
  text-align: left;
  margin-left: 70px;
}

.matma-1-3 img:hover, .fizyka-7-8 img:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.fizyka-7-8{
  text-align: right;
  margin-right: 70px;
}

.materialy-przejscie {
    display: flex;
    justify-content: space-between;
    gap: 10px; /* Mały odstęp między elementami */
    flex-wrap: wrap;
}

.materialy-przejscie > div {
    flex: 1 1 48%; /* Elastyczna szerokość przy większych ekranach */
    max-width: 700px;
    box-sizing: border-box;
}

.materialy-przejscie img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 🔽 Dodaj responsywność dla małych ekranów (np. smartfony) */
@media (max-width: 600px) {
    .materialy-przejscie > div {
        flex: 1 1 100%; /* Obrazki będą jeden pod drugim i na całą szerokość */
    }
}

/* plikifizyka7-8 */

.fizyka-naglowek-prawo {
  display: flex;
  align-items: left;
  justify-content: space-between;
  gap: 10px;
}

.fizyka-naglowek-lewo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: center;
}

select {
  font-size: 1rem;
  padding: 0.5rem;
  margin-top: 1rem;
  text-align: center;
  cursor: pointer;
}

.naglowek-1-plikifizyka7-8 {
  display: flex;
  background-color: white;
}

.pobierz-plikifizyka7-8{
  background-color: rgb(219, 219, 219);
  color: black;
  border: none;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 16px;
  border-radius: 4px;
  text-align: center;
}

.pobierz-plikifizyka7-8-button{
  text-align: center;
  font-size: 1rem;
  margin-top: 1rem;

  padding: 10px 20px;
}
.pobierz-prezentacja-fiz button {
  background-color: white;
  color: black;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.pobierz-prezentacja-fiz {
  color: black;
  padding: 0.5rem 10px;
  margin-top: 1rem;
  font-size: 1rem;

  border: none;
  justify-content: 2px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.pobierz-prezentacja-fiz button:hover {
background-color: #e0e0e0;
}
.dark-mode-toggle {
  text-align: right;
}

/* linki */
a {
  text-decoration: none;
  color: inherit;
}

a::before {
  content: none !important;
}

/* plikimate1-3 */

/* Nagłówek */
.naglowek-1-plikimate1-3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: white;
  border-bottom: 1px solid #ebebeb;
}

.naglowek-1-plikimate1-3 h1 {
  margin: 0;
  font-size: 1.5rem;
}

/* Select i kontener */
.pobierz-plikimate1-3 {
  background-color: rgb(219, 219, 219);
  padding: 1rem;
  margin: 1rem auto;
  text-align: center;
  border-radius: 8px;
  width: fit-content;
}

select {
  font-size: 1rem;
  padding: 0.5rem;
  margin-top: 1rem;
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid #ebebeb;
}

/* Przycisk pobierania */
.pobierz-plikimate1-3-button {
  text-align: center;
}

.pobierz-plikimate1-3-button button {
  background-color: white;
  color: black;
  padding: 0.5rem 1rem;
  margin-top: 1rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid #ebebeb;
}

.pobierz-plikimate1-3-button button:hover {
  background-color: #e0e0e0;
}

/* Stopka */
.stopka {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  background-color: white;
  font-size: 0.9rem;
}

/* plikifizyka7-8 */
