* { /* całkowite ustawienie strony */
  box-sizing: border-box;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  padding: 0;
  margin: 0;
}
body { /* ciało strony*/
    background-repeat: no-repeat;
    background-image: url(../gfx/tlo_strony.jpg);
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-color: #3c89c1;
}
header { /* nagłówek strony */
    position: fixed;
    top: 0;
    left: 0;
    border-bottom: 3px solid #5eade6;
    width: 100%;
    display: flex;
    background-color: rgba(0, 48, 83, 0.650);
    z-index: 1; 
}
.logo { /* pojemnik loga strony */
    display: flex;
    align-items: stretch;
    width: fit-content;
}
nav { /* menu na nawigujące na stronie*/
        margin-left: auto; margin-right: auto;
        padding: 20;
        position: relative;
    }
    nav ul {
        list-style: none;
        display: flex;
        margin: 0;
        padding: 0;
    }
    nav ul li {
        flex: 1;
        text-align: center;
    }
    nav ul li a {
        display: block;
        padding: 20px 10px 0px 10px;
        color: #fff;
        text-decoration: none;
        transition: color 0.3s ease;
        font-size: 20px;
    }
        .active {
        color: #5eade6;
    }
    nav ul li a:hover {
        color: #5eade6;
    }
    .indicator {
        position: absolute;
        height: 3px;
        background: #5eade6;
        transition: all 0.3s ease;
    }
.navmob { /* menu nawigacji strony na urz. mobilnych */
  padding: 20px;
  float: left;
  width: 10%;
  visibility: hidden;
}
footer { /* stopka strony */
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  background-color: #003153;
  color: white;
}
.footertext{
  color: rgb(255, 255, 255);
}
.kirplogo {  /* Logo KIRP */
  width: 32px;
  position: fixed;
  display: flex;
  justify-content: right;
  align-items: right;
  float: right;
  right: 5%;
}
.gggimg { /* Logo GGG */
  width: auto;
  height: 66px;
  margin: 0px;
  padding: 0px;
  object-fit: cover;
}
/* panel navigacyjny dla urządzeń mobilnych */
@media screen and (max-width: 800px) {
  nav {
    width: 0vh;
    visibility: hidden;
  }
  .navmob {
    padding-right: 20px;
  }
  .navmob {
    visibility: visible;
  }
span {
  font-size: 20px;
  font-weight: bolder;
  display: flex; 
  justify-content: center;
  cursor: pointer;
}
}
/* menu nawigacji na telefonie */
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  background-color: #5d9aca;
  overflow-x: hidden;
  padding-top: 60px;
  transition: 0.5s;
}

/* linki w menu */
.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #000000;
  display: block;
  transition: 0.3s;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.sidenav a:hover {
  background-color: #ffffff50;
}
.sidenav .closebtn:hover {
  border: none;
  color: #ffffff;
  background-color:#ffffff00;
}
.sidenav img {
  width: 32px;
  height: auto;
  margin-right: 5px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}
.pagecontent { /* zawartość głównej strony */
  padding: 10vh 0;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  transform: translateY(100px);
  animation: MainPageMove 1.5s ease-out forwards;
  }

  @keyframes MainPageMove {
    0% {
    opacity: 0;
    transform: translateY(20vw);
    }
    100% {
    opacity: 1;
        transform: translateY(0);
      }
}
h1, h2 { /* tekst powitalny */
  text-align: center;
  margin-left: 5vw;
  margin-right: 5vw;
  color: white;
}
h1{
  padding-top: 50px;
  font-size: 8vh;
}
h2{
  padding-bottom: 20px;
}
.learnmore { /* przycisk przekierowujący na strone "O nas" */
  text-decoration: none;
  padding: 10px;
  color: white;
  display: flex; 
  justify-content: center;
}
.learnmoretext {
  text-decoration: none;
  color: white;
  background-color: #003153;
  padding: 2vh;
}
.learnmoretext:hover {
  background-color: #4e90c2;
}
video{
  width: 50%;
  height: auto;
  margin-right: auto;
  margin-left: auto
}
h3 {
  font-weight: normal;
  text-align: center;
  padding: 10px;
  font-size: xx-large;
  color: white;
}
.pagecontent h2 {
  padding-top: 20px;
  padding-bottom: 0;
}
.container {
  display: flex;
  padding-top: 5vh;
  padding-bottom: 5vh;
}
.container_a {
  display: flex;
  padding-top: 5vh;
  padding-bottom: 5vh;
  visibility: visible;
}
.container_b {
  display: flex;
  padding-top: 5vh;
  padding-bottom: 5vh;
  display: none;
}
.infotext {
  margin: 20px;
  width: 50%;
}
.infoimage {
  width: 720px;
  max-width: 100%;
}
.infoimage img{
  display: block;
  margin: auto;
  width: 50%;
}
.historytext {
  width: 100%;
}
.historyimage {
  padding: 2%;
}

.list_text {
  list-style-type: none;
  text-align: left;
  padding: 2%;
}
.rap_bal{
  text-decoration: none;
  color: #5eade6;
}

@media screen and (max-width: 800px) {
.container {
  display: flex;
  flex-direction: column;
  }
.container_a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  display: none;
  }
.container_b {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  visibility: visible;
  }
.infotext {
  margin: 0px;
  width: 100%;
  z-index: 2;
  text-align: center;
}
.infoimage {
  width: 720px;
  max-width: 100%;
}
.infoimage img{
  display: block;
  margin: auto;
  width: 75%;
}
h3 {
  font-weight: normal;
  text-align: center;
  padding: 10px;
  font-size: x-large
}
}