body {
  margin: 0;
  background-color: #2f3336;
  color: #efefef;
  font-family: 'Open Sans', sans-serif;
  font-size: 17px;
}

h1.logo {
  font-size: 44px;
  font-weight: 700;
  color: #ddd;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-top: 50px;
  margin-bottom: 40px;
  padding: 10px;
  align-items:center;
}

nav {
  background-color: #1c74b2;
  text-align: center;
  width: 100%;
}

.top-header {
  width: 100%;
}

.menu {
  list-style-type: none;
  margin: 0;
  padding: 10px;
  font-size: 18px;
  min-height: 38px;
  line-height: 200%;
}

.menu > li {
  display: inline-block;
  padding-left: 20px;
  padding-right: 20px;
  border-right: 1px dashed #0a2b42;
}

.menu > li:first-child {
  border-left: 1px dashed #0a2b42;
}

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

a:hover {
  color: #0a2b42;
}

.term {
  margin-left: auto;
  margin-right: auto;
  width: 1000px;
  text-align: center;
  padding: 0;
  margin-bottom: 20px;
}

.term2 {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  text-align: center;
  padding: 0;
  margin-bottom: 20px;
}

#sem1_courses{ display: none; }
#sem2_courses{ display: none; }
#sem3_courses{ display: none; }
#sem4_courses{ display: none; }
#sem5_courses{ display: none; }

.courses {
  display: flex;
  justify-content: center;
  align-items:center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.courses_weather {
  display: flex;
  /* justify-content: center; */
  /* align-items:center; */
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

h1 {
  font-weight: 400;
  margin-bottom: 20px;
}


.course {
  display: flex;
  background-color: #1c74b2;
	width: 230px;
	height: 142px;
  text-align: center;
  flex-basis: auto;
  align-items:center;
  justify-content: center;

}

.sem_header > span:hover {
	cursor: pointer;
}

.course:hover {
  background-color: #0b63a1;
}

/* kontakt */

.info {
  text-align: center;
  margin: 50px;
}

.wyklady {
  width: 1000px;
  margin: 0 auto;
  text-align: justify;
}

/* index */

input {
	background: #1e2225;
	font-size: 30px;
	color: #1c74b2;
	padding: 2vh 5vh;
	margin: 3vh 1vh;
	border: 1px solid #1c74b2;
	border-radius: 2px;
}

textarea {
  background: #1e2225;
	color: #1c74b2;
	padding: 2vh 5vh;
	margin: 3vh 1vh;
	border: 1px solid #1c74b2;
	border-radius: 2px;
}

.edit_button {
  background: #1e2225;
	color: #1c74b2;
	padding: 2px 5px;
	margin: 3px 1px;
	border: 1px solid #1c74b2;
	border-radius: 2px;
}

.edit_button:hover {
  color: #4fa7e5;
	border: 1px solid #4fa7e5;
	transition: 0.2s;
  cursor: pointer;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border: 1px solid #1c74b2;
  -webkit-text-fill-color: #1c74b2;
	-webkit-box-shadow: 0 0 0px 1000px #1e2225 inset;
  font-size: 30px !important;
  
}

.przycisk-width {
  width: 400px;
}

.przycisk:hover{
  color: #4fa7e5;
	border: 1px solid #4fa7e5;
	transition: 0.2s;
  cursor: pointer;
}

.przycisk-red{
  color: #b21c1c;
	border: 1px solid #b21c1c;
}

.przycisk-red:hover {
  color: #e54f4f;
	border: 1px solid #e54f4f;
}
.w {
  font-weight: 700;
	color: #2d85c3;
	margin: 0px;
}

.users_table {
  border-collapse: collapse;
}

.users_table td, .users_table th {
  padding: 10px;
}

.zyje-1 {
  color: #1dc104;
}

.zyje-0 {
  color: #5c5c5c;
}

.rules {
  padding: 20px;
}

/* Kontener na pasek */
.bar-container {
  width: 20%;             /* Szerokość paska */
  height: 100px;           /* Wysokość paska */
  background-color: black; /* Kolor tła, gdy pasek nie jest wypełniony */
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

/* Pasek wypełnienia */
.bar-fill {
  width: 100%;
  position: absolute;
  bottom: 0;
  transition: height 0.3s ease, background-color 0.3s ease;
}

/* Klasy dla różnych wartości wypełnienia */
.level-0 .bar-fill {
  height: 0%;
  background-color: red;
}

.level-1 .bar-fill {
  height: 100%;
  background-color: rgb(42, 189, 42);
}

.level-2 .bar-fill {
  height: 80%;
  background-color: rgb(42, 189, 42);
}

.level-3 .bar-fill {
  height: 60%;
  background-color: yellow;
}

.level-4 .bar-fill {
  height: 40%;
  background-color: orange;
}

.level-5 .bar-fill {
  height: 20%;
  background-color: red;
}

footer {
  background-color: #1e2225;
  margin-top: 50px;
  text-align: center;
  padding: 20px;
}