* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "Roboto", sans-serif;
}

.header {
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-items: center;
  text-transform: uppercase;
  background-color: #125990;
  color: #fff;
  position: sticky;
  top: 0;
}

.header h1 {
  font-weight: 500;
  letter-spacing: 4px;
}

.tlo {
  background: #bdcdd9;
  background-image: url("./material.jpg");
  clip-path: polygon(-10% -10%, 120% 25%, 75% 110%, 45% 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.tlo_bazowe {
  background: #dce5ed;
}

.footer {
  height: 80px;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  background-color: #125990;
  color: #fff;
  letter-spacing: 1px;
  padding-left: 20px;
  font-size: 14px;
}

.main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 160px);
}

.logowanie {
  height: calc(100vh - 160px);
}

.form {
  background-color: #125990;
  width: 400px;
  height: 200px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.form input {
  margin: 10px 0;
  width: 150px;
  height: 30px;
}

.form input[type="password"] {
  text-align: center;
}

.form input[type="submit"] {
  cursor: pointer;
}

.zajecia {
  display: flex;
  align-items: center;
}

.zajecia table {
  margin: 20px 0;
  width: 1200px;
  border: 1px solid #aed3f0;
  border-collapse: collapse;
}

.zajecia table th {
  text-transform: uppercase;
  padding: 8px 5px;
  border: 1px solid #aed3f0;
  background-color: #ddeefb;
}

.zajecia table tr:hover {
  background-color: #ddeefb;
}

.zajecia table td {
  border: 1px solid #aed3f0;
  padding: 8px 5px;
}

.zajecia .nr {
  width: 50px;
  text-align: center;
}

.zajecia .zasob {
  width: 150px;
}

.footer a {
  color: #fff;
  text-decoration: none;
  cursor: default;
}

.zajecia .plan {
  width: 1500px;
}

.plan .godz {
  width: 90px;
}

.plan td,
.plan th {
  width: 220px;
  height: 50px;
}

.min__plan {
  display: none;
}

@media only screen and (max-width: 1525px) {
  .tlo {
    background: #bdcdd9;
    background-image: url("./material.jpg");
    clip-path: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .plan {
    display: none;
  }

  .zajecia {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .zajecia table {
    margin: 20px 10px;
    width: 700px;
    border: 1px solid #aed3f0;
    border-collapse: collapse;
  }

  .min__plan {
    display: block;
  }

  .min__plan .nr {
    width: 50px;
    text-align: center;
  }
  .min__plan .godz {
    width: 120px;
    text-align: center;
  }

  .min__plan td,
  .min__plan th {
    width: calc(700px - 170px);
    height: 50px;
  }
}

@media only screen and (max-width: 600px) {
  .tlo {
    background: #bdcdd9;
    background-image: none;
    clip-path: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .form {
    width: 300px;
  }

  .zajecia table {
    margin: 20px 10px;
    max-width: 350px;
    border: 1px solid #aed3f0;
    border-collapse: collapse;
  }

  .min__plan {
    display: block;
  }

  .min__plan .nr {
    display: none;
  }
  .min__plan .godz {
    max-width: 80px;
    text-align: left;
  }

  .min__plan td,
  .min__plan th {
    height: 50px;
    max-width: 270px;
  }
}
