/* Globalne style */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: white; /* Kolor tekstu w motywie ciemnym */
}

a {
  color: rgb(145, 145, 145);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

a:hover {
  color: rgb(255, 0, 0);
  text-decoration: underline;
}

button {
  background-color: rgb(91, 130, 235);
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

button:hover {
  background-color: rgb(148, 148, 148);
  box-shadow: 4px 4px 6px #ffff; /* Zwiększenie cienia po najechaniu */
}

/* Stylowanie lewego bloku */
#leftblock {
  color: white; /* Kolor tekstu w lewym bloku */
  position: fixed;
  top: 0; /* Umieszczamy blok na górze strony */
  bottom: 0; /* Rozciągamy blok od góry do dołu strony */
  width: 30%;
  background: linear-gradient(135deg, #181818, #222); /* Tło gradientowe w motywie ciemnym */
  border: 1px solid #444; /* Grubsza granica w motywie ciemnym */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Cień w motywie ciemnym */
  padding: 20px;
  margin-right: 20px;
}

#leftblock p {
  margin-bottom: 10px; /* Odstęp między paragrafami */
}

/* Stylowanie inputa */
input {
  border: 2px solid var(--color-rgb); /* Zielona ramka */
  background-color: white; /* Białe tło */
  color: black; /* Kolor czcionki */
  padding: 10px 20px; /* Wewnętrzny padding */
  border-radius: 5px; /* Zaokrąglone rogi */
  border: 3px;
  cursor: pointer; /* Kursor zmienia się na wskaźnik po najechaniu */
  transition: all 0.3s ease; /* Efekt przejścia */
  width: 200px; /* Domyślna szerokość pola */
}

/* Stylowanie hovera nad inputem */
input:hover {
  background-color: #f1f1f1; /* Delikatna zmiana koloru tła na najechanie */
  color: rgb(92, 92, 92); /* Zmiana koloru czcionki na najechanie */
  border-color: #555; /* Zmiana koloru ramki na najechanie */
}

/* Stylowanie focusa */
input:focus {
  width: 300px; /* Szerokość pola po kliknięciu */
}

/* Stylowanie modala */
.modal {
  display: none; /* Ukryj modal domyślnie */
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4); /* Transparentne tło */
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

/* Zamykanie modala po kliknięciu na przycisk */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
