body {

  background: rgb(246,246,246);
  background: linear-gradient(311deg, rgba(246,246,246,1) 0%, rgba(231,231,231,1) 19%, rgba(251,251,251,1) 46%, rgba(228,228,228,1) 76%, rgba(233,233,233,1) 100%, rgba(233,233,233,1) 100%);
  opacity: 0;
  min-height: 100vh;

}

h1 {
  font-size: 3rem !important;
  font-family: 'Gloria Hallelujah', cursive;
}

.funny {
  font-family: 'Gloria Hallelujah', cursive;
}

h3 {
  font-size: 1.5rem;
  font-family: 'PT Sans Narrow', sans-serif;
  font-weight: bold;

}

h3.tytul-wiersz {

}

.dark-a {
  color: #575757;
}

.pbar-a {
  text-decoration: none;
  color: #c7c7c7;
}

.new-info {
  margin-left: -25px;
}

.agi-data {
  font-size: smaller;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid #c5c5c5;
  font-weight: bold;
  width: calc(100% + 25px);
  background-color: #f1f1f1;
  padding-top: 5px;
  padding-left: 25px;
  padding-right: 5px;
  /*border-top: 1px solid #ffffff;*/
  font-family: 'PT Sans Narrow', sans-serif;
  margin-left: -25px;

}

#agizoom {
  display: none;
  position: fixed;
  top:0;
  left: 0;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  width: 100%;
  height: 100vh;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  background-color: black;
  z-index: 299;
  cursor: pointer;
}
#agizoom #agizoom-img {
  display: block;
  position: relative;
  width: 80%;
  height: 90vh;
  max-height: 90vh;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  /* border: 5px solid #252525; */
}

#galeria {
  display: grid;
  position: relative;
  grid-gap: 2px 2px;
  grid-auto-columns: calc(50% - 0px);
  grid-auto-flow: row;
  grid-template-columns: auto auto;
  width: 100%;
  padding-top: 5px;
  padding-bottom: 5px;

}
.galimg {
  display: block;
  position: relative;
  background-size: cover;
  background-position: center center;
  padding-top: 100%;
  height: 0;
  box-sizing: border-box;
  filter: grayscale(80%);
  cursor: pointer;
}

.galimg:hover {
  filter: grayscale(0%);
}

#bg-a {
  display: block;
  position: fixed;
  bottom: 0;
  right: 0;
  width: 40vw;
  height: 60vh;
  background-image: url("/userfiles/ja-okruszki.png");
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 1;
  z-index: 80;
}

#bg-b {
  z-index: 0;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 60vw;
  height: 100vh;
  opacity: 1;
  background: rgb(255,255,255);
  background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 42%, rgba(255,255,255,0.8) 63%, rgba(251,251,251,0) 100%);
}

#agi-top {
  display: block;
  position: relative;
}

.agi-data span {
  color: #b7b7b7;
  font-family: 'Gloria Hallelujah', cursive;

}

.agi-tresc {
  padding-bottom: 25px;
  padding-top: 20px;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 1.2rem;
  display: block;
  position: relative;
}

.agi-tresc-b {
  padding-bottom: 5px;
  padding-top: 0px;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 1.2rem;
  display: block;
  position: relative;
}

.ptsansnarrow {
  font-family: 'PT Sans Narrow', sans-serif;
}

.poem-zoom {
  position: absolute;
  display: block;
  top: 50px;
  left: 50px;
  transform: scale(6);
  opacity: 0.04;
}

.agi-section {
  column-width: 30vw;
  column-gap: 25px;
  column-count: 2;
  max-width: 70vw;
  display: block;
  position: relative;
}

.agi-section-2 {
  column-width: 60vw;
  column-gap: 25px;
  column-count: 1;
  max-width: 70vw;
  display: block;
  position: relative;
}

.c-date {
  font-size: 0.8em;
  color: #545454;
  font-family: 'PT Sans Narrow', sans-serif;
}

.agi-section-b {
  max-width: 70vw;
  min-height: calc(100vh - 250px);
}

.tresc {
  min-height: calc(100vh - 250px);
}

.text-right {
  text-align: right;
}

.okruszki-right {
  text-align: right;
  padding-right: 50px;
  padding-bottom: 15px;
  color: black !important;
  text-decoration: none;
  display: block;
  position: relative;
  font-size: 2em;
}

.pointer {
  cursor: pointer;
}

#search-box {
  display: none;
  position: absolute;
  width: 75vw;
  box-sizing: border-box;
  padding: 25px;
  border: 4px solid grey;
  background-color: #afafaf;
  top: 117px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 25px;
  text-align: center;
  z-index: 300;
}

#pages-bar {
  max-width: 59vw;
  font-weight: bold;
  position: relative;
}

.agi-box-1 {
  border-left: 8px solid #5b5b5b;
  padding-left: 25px;
  border-bottom: 1px solid #5b5b5b;
  margin-bottom: 25px;
  break-inside: avoid;
  max-width: 29vw;
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  position: relative;
  z-index: 99;
}

.tresc-column {
  background: rgb(241,241,241);
  background: linear-gradient(0deg, rgba(251,251,251,1) 0%, rgba(255,255,255,1) 23%, rgba(255,255,255,1) 66%, rgba(233,233,233,1) 100%, rgba(253,253,253,1) 100%);
  z-index: 99;
  padding: 20px 20px 20px 20px !important;
  font-family: 'Andada Pro', serif;

}

.agi-section-b .agi-box-1b {
  border-left: 8px solid #5b5b5b;
  padding-left: 25px;
  padding-top: 10px;
  margin-bottom: 15px;
  border-bottom: none;
  break-inside: avoid;
  max-width: 59vw;
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  position: relative;
  z-index: 99;
  text-decoration: none;
  color: #1c1c1c;
  border-bottom: 1px solid #5b5b5b;
}

.top-h3 {
  border-bottom: 1px solid #5b5b5b;
  max-width: 59vw;
  margin-bottom: 15px;
}

.ppp {
  color: #e7e7e7;
}

.agi-box-1:hover, .agi-box-1b:hover  {
  background: rgb(231,231,231);
  background: linear-gradient(0deg, rgba(231,231,231,1) 0%, rgba(255,255,255,1) 66%, rgba(241,241,241,1) 100%);
}
.agi-box-1:hover .agi-data {
  background-color: white !important;
}


.agi-top {
  background: rgb(241,241,241);
  background: linear-gradient(0deg, rgba(241,241,241,1) 0%, rgba(255,255,255,1) 23%, rgba(255,255,255,1) 66%, rgba(233,233,233,1) 100%, rgba(233,233,233,1) 100%);
  border-bottom: 8px solid #bebebe;
}

.menu-a a:link, .menu-a a:visited {
  text-decoration: none;
  color: grey;
  font-weight: bold;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 1.2rem;
}

.menu-a a:hover {
  color: black;
}

.start-div {
  font-size: 1.5em;
  color: #3d3d3d;
  font-family: 'PT Sans Narrow', sans-serif;

}
.start-div p {
  margin: 0 !important;

}

#arrow-top  {
  display: block;
  position: fixed;
  bottom: 40px;
  right: 15vw;
  opacity: 0;
  z-index: 222;
}

#arrow-top a {
  display: block;
  position: relative;

}


.agi-tresc-zoom {
  display: block;
  position: absolute;
  bottom: 20px;
  right: 20px;
  transform: scale(2);
  opacity: 0.5;
}

.agi-tresc-full {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  box-sizing: border-box;
  width: 100%;
  background-color: white;
  min-height: 100vh !important;
  max-height: 100vh !important;
  overflow-y: scroll;
  padding-left: 10vw;
  padding-top: 10vh;
  z-index: 100;
}

.tresc-full-in {
  font-size: 1.4em;
}






#stopka {
  display: block;
  position: relative;
  color: white;
  z-index: 99;
  background-color: #383838;
  min-height: 200px;
  font-family: 'PT Sans Narrow', sans-serif;

}

#stopka a:link, #stopka a:visited {
  color: white;
  text-decoration: none;
}

#share-bar {
  display: none;
  position: absolute;
  left: 0;
  width: calc( 100% - 0px);
  box-sizing: border-box;
  padding: 10px;
  background-color: #2a2a2a;
  border-bottom: 1px solid #000000;
  border-top: 10px solid white;
  color: black;
  bottom: 44px;
}

#share-bar-info {
  display: none;
  position: absolute;
  left: 0;
  width: calc( 100% - 0px);
  box-sizing: border-box;
  padding: 10px;
  background-color: #ccffc3;
  border-bottom: 1px solid #8eb66e;
  border-top: 10px solid white;
  color: black;
  bottom: 44px;
}

@media only screen and (max-width: 600px) {

  #share-bar span {
    width: 100% !important;
    display: block !important;
    float: none !important;
    position: relative !important;
    margin-bottom: 8px;
  }

  #stopka {
    margin-top: 0vh;
  }

  .tresc-full-in {
    font-size: 1.2em;
  }

  .data-full-in {
    font-size: 0.8em;
  }

  .agi-section {
    column-width: 300px;
    column-gap: 25px;
    column-count: 1;
    max-width: 90vw;
    margin-left: auto;
    margin-right: auto;
  }


  .agi-section-2 {
    column-width: 300px;
    column-gap: 25px;
    column-count: 1;
    max-width: 90vw;
    margin-left: auto;
    margin-right: auto;
  }

  #search-box {
    top: 210px;
  }

  #pages-bar {
    max-width: 90vw;
    z-index: 255;
    display: block;
    position: relative;
    font-weight: bold;
    font-size: 0.8em;
  }

  .agi-section-b {

    max-width: 90vw;
    margin-left: auto;
    margin-right: auto;
  }

  .okruszki-right {
    font-size: 1.3em;
  }

  .agi-box-1 {
    border-left: 2px solid #dadada;
    padding-left: 5px;
    border-bottom: 2px solid #9d9d9d;
    margin-bottom: 25px;
    break-inside: avoid;
    max-width: 358px;
    background: rgb(231,231,231);
    background: linear-gradient(0deg, rgba(231,231,231,0.1) 0%, rgba(255,255,255,1) 66%, rgba(241,241,241,1) 100%);
  }

  .agi-section-b .agi-box-1b {
    border-left: none;
    border-bottom: 2px solid #9d9d9d;
    padding-left: 5px;
    margin-bottom: 25px;
    break-inside: avoid;
    max-width: 90vw;
    background: rgb(231,231,231);
    background: linear-gradient(0deg, rgba(231,231,231,0.1) 0%, rgba(255,255,255,1) 66%, rgba(241,241,241,1) 100%);
  }

  .agi-section-b h3 {
   font-size: 1.3em;
  }

  .agi-tresc {
    font-weight: bold;
    font-size: 1.0rem;
  }

  .agi-tresc-b {
    font-weight: bold;
    font-size: 1.0rem;
  }

  .agi-top {
    margin-bottom: 20px !important;
  }

  .agi-data {
    margin-left: -5px;
    width: calc(100% + 5px);

  }


  .new-info {
    margin-left: -6px;
    width: calc(100% + 6px);

  }

}

