#portfolio-grid{width:var(--content-width);margin:0 auto;;display:flex;flex-wrap:wrap;justify-content:center;gap:15rem;margin-bottom:2.5rem}.book{position:relative;width:auto;height:auto;overflow:hidden;box-shadow:var(--shadow-strong);transition:transform var(--transition-speed) ease-in-out}.book img{width:100%;height:100%;object-fit:cover;transition:opacity var(--transition-speed) ease-in-out;box-sizing:border-box}.book-info{position:absolute;bottom:0;left:0;width:100%;background-color:rgba(0,0,0,.7);color:var(--text-light);padding:.625rem;text-align:center;transform:translateY(100%);transition:transform var(--transition-speed) ease-in-out;font-size:var(--text-smaller);box-sizing:border-box}.book:hover .book-info{transform:translateY(0)}.book:hover img{opacity:.3}.portfolio-canva{width:100%;height:auto}.portfolio-section{font-size:clamp(1.7vw,34px,2.72vw);color:var(--text-dark);scroll-margin-top:80px;scroll-margin-top:calc(var(--header-text-size)*3)}.first-portfolio-section{scroll-margin-top:160px;scroll-margin-top:calc(var(--header-text-size)*6)}.portfolio-div{padding:5%}.first-portfolio-section .portfolio-div{padding-top:0}.portfolio-section-title{color:var(--primary-red-darker);text-align:left;margin:1em 0 0}#strona-tytulowa .portfolio-div{justify-content:space-between}.strona-tytulowa-text{display:flex;flex-direction:column;justify-content:center;align-items:start;text-align:left}.strona-tytulowa-text h1,h2{margin:0;line-height:1.0}.strona-tytulowa-text h2{font-weight:normal}.strona-tytulowa-text p{margin:12% 0 3%}#strona-tytulowa img{width:45%;height:auto}.zaufali-mi-logos{margin-top:.5em;height:4em;justify-content:space-around;align-items:center;gap:2.5%;width:100%;padding:0 3%}.zaufali-mi-logos.taller{height:4em}.zaufali-mi-logos img{height:100%;width:auto;object-fit:contain;min-width:0;aspect-ratio:2 / 1}.books{margin:1em 0 2em;display:flex;flex-direction:row;justify-content:space-around;gap:1em;width:100%;height:10em;align-items:flex-end}.portfolio-book{display:flex;flex-direction:column;height:100%;gap:.4em;align-items:start;justify-content:flex-end}.portfolio-book img{height:75%;width:auto;box-shadow:.15em .15em .2em rgba(0,0,0,.5)}.wydawnictwo,.zakres{font-size:.5em;line-height:1.2;text-align:left;margin:0;width:12em;min-height:2.4em;display:flex}.wydawnictwo{font-style:normal;align-items:flex-end}.zakres{align-items:flex-start}.special-books{margin:1em 0 2em;display:flex;flex-direction:row;justify-content:space-around;gap:1em;width:100%;height:15em}.portfolio-special-book{display:flex;flex-direction:column;height:100%;gap:.4em;align-items:start}.portfolio-special-book .zakres{text-align:center;align-self:flex-end}.portfolio-special-book img{height:75%;width:auto;filter:drop-shadow(.15em .15em .2em rgba(0,0,0,.5))}.special-books-naukowe{gap:1em;justify-content:center}.special-books-naukowe .portfolio-special-book{width:10em;gap:0}.portfolio-special-book.naukowe-left .special-book-img-wrapper{height:80%;align-self:flex-end;display:flex;align-items:flex-end}.portfolio-special-book.naukowe-left .special-book-img-wrapper img{height:80%}.portfolio-special-book.naukowe-left .zakres{align-self:flex-start}.portfolio-special-book.naukowe-right img{height:80%;align-self:flex-start}.portfolio-special-book.naukowe-right .zakres,.portfolio-special-book.naukowe-right .wydawnictwo{align-self:flex-end;text-align:right;justify-content:flex-end}#czasopisma .books{margin:.5em 0 1em;justify-content:center}#czasopisma .special-books{justify-content:center}#czasopisma .special-books .wydawnictwo{width:100%;text-align:center;align-self:flex-start}#czasopisma .portfolio-special-book .special-book-stack-container{height:75%;position:relative}#czasopisma .portfolio-special-book .zakres{align-self:flex-start}.czasopisma-stack-left .special-book-stack-img-wrapper{position:absolute;height:85%}.czasopisma-stack-left .special-book-stack-img-wrapper img{height:100%}.czasopisma-stack-left .special-book-stack-img-wrapper:nth-child(1){z-index:1}.czasopisma-stack-left .special-book-stack-img-wrapper:nth-child(2){z-index:2;transform:translateX(20%) translateY(10%)}.czasopisma-stack-left .special-book-stack-img-wrapper:nth-child(3){z-index:3;transform:translateX(40%) translateY(20%)}.czasopisma-stack-right{padding-right:18%}.czasopisma-stack-right .special-book-stack-container{width:100%}.czasopisma-stack-right .special-book-stack-img-wrapper{position:absolute;height:60%}.czasopisma-stack-right .special-book-stack-img-wrapper img{height:100%}.czasopisma-stack-right .special-book-stack-img-wrapper:nth-child(1){z-index:3;bottom:5%;left:0}.czasopisma-stack-right .special-book-stack-img-wrapper:nth-child(2){z-index:2;top:0;left:35%}.czasopisma-stack-right .special-book-stack-img-wrapper:nth-child(3){z-index:1;top:17%;left:94%}.portfolio-book .portfolio-book-placeholder{height:75%;aspect-ratio:2 / 3;box-shadow:.15em .15em .2em rgba(0,0,0,.5);background-color:#555555}#e-booki .books{margin:.5em 0}#e-booki .portfolio-div{gap:6em}#e-booki .portfolio-book img{border-radius:.5em}.scroll-wrapper{position:absolute;right:6rem;bottom:0;width:1rem;pointer-events:none}.scroll-controls{position:sticky;bottom:2rem;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;gap:1rem;padding:0 2rem;pointer-events:auto;z-index:90;height:0}.scroll-btn{width:5rem;height:5rem;background:var(--primary-red-lighter);color:white;font-size:3rem;border:none;border-radius:50%;cursor:pointer;box-shadow:var(--shadow-strong);display:flex;align-items:center;justify-content:center}