
  @font-face {
    font-family: "Seasons";
    src: url("https://www.rylko.com/static/sources/www/fonts/TheSeasons-Bd.otf") format("opentype");
  }

  @font-face {
    font-family: "SeasonsReg";
    src: url("https://www.rylko.com/static/sources/www/fonts/TheSeasons-Med.otf") format("opentype");
  }
  @font-face {
    font-family: "Akcentowy";
    src: url("https://www.rylko.com/static/sources/www/fonts/IntervogueSoft-Med.otf") format("opentype");
  }

body{
    overflow-x: hidden;
  }

  main{
    overflow-x: hidden;
  }

  .banner-top-show{
    overflow-x: hidden;
  }

  .ksiazka1{
      width: 100%;
    height: 100%;
    display: flex;
      justify-content: center;
    align-items: center;
  }
  
  .ksiazka1:hover{
      width: 100%;
    height: 100%;
    display: flex;
      justify-content: center;
    align-items: center;
  }
  
  .ksiazka1 .book {
      --book-height: 40vh;
      --book-ratio: 1.4;
    transition: 2s;
  }
  
  .ksiazka1 .book:hover {
  margin-left: 30vh;
  }
  
  .ksiazka1 .book > div {
      height: var(--book-height);
      width: calc(var(--book-height) / var(--book-ratio));
      overflow: auto;
      background-color: #fff;
      transform: scale(0.9);
      border-radius: 6px;
      transform-origin: left;
  }
  
  .ksiazka1 .book-cover {
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      position: absolute;
      z-index: 9;
      text-align: center;
      background-size: 2em 2em;
      transition: 1s;
      transition: transform 2s;
      background-image: url('https://sansstud.io/wp-content/uploads/2023/08/3-strony-katalog-jesienzima_01-1-724x1024.png');
      background-size: cover;
  
  }
  
  .hovered {
      background-image: url('https://sansstud.io/wp-content/uploads/2023/08/3-strony-katalog-jesienzima_02-1-e1691752327778-724x1024.png') !important;
  }
  
  .ksiazka1 .book-content {
      transform: scale(0.9) translateY(30px);
      background-color: white !important;
      transition: all 0.3s 1s;
          background-image: url('https://sansstud.io/wp-content/uploads/2023/08/3-strony-katalog-jesienzima_03-1-724x1024.png');
      background-size: cover;
  }
  
  .ksiazka1 .book-cover > div {
      transition: opacity 0s 0.6s;
  }
  
  .ksiazka1 .book:hover > .book-cover {
      transform: rotateY(180deg) scale(0.9);
      
  }
  
  .ksiazka1 .book:hover > .book-cover > div {
      opacity: 0;
        transform: scaleX(-1);
  }
  
  .ksiazka1 .book:hover > .book-content {
      transform: scale(0.9) translateY(0px);
  }
  
  .ksiazka2{
      width: 100%;
    height: 100%;
    display: flex;
      justify-content: center;
    align-items: center;
  }
  
  .ksiazka2:hover{
      width: 100%;
    height: 100%;
    display: flex;
      justify-content: center;
    align-items: center;
  }
  
  .book2 {
      --book2-height: 40vh;
      --book2-ratio: 1.4;
    transition: 2s;
  }
  
  .book2:hover {
  margin-left: 30vh;
  }
  
  .book2 > div {
      height: var(--book2-height);
      width: calc(var(--book2-height) / var(--book2-ratio));
      overflow: auto;
      background-color: #fff;
      transform: scale(0.9);
      border-radius: 6px;
      transform-origin: left;
  }
  
  .book-cover2 {
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      position: absolute;
      z-index: 9;
      text-align: center;
      background-size: 2em 2em;
      transition: 1s;
      transition: transform 2s;
      background-image: url('https://sansstud.io/wp-content/uploads/2023/08/3-strony-1.png');
      background-size: cover;
  
  }
  
  .hovered2 {
      background-image: url('https://sansstud.io/wp-content/uploads/2023/08/3-strony-2-e1692366446701.png') !important;
  }
  
  .book-content2 {
      transform: scale(0.9) translateY(30px);
      background-color: white !important;
      transition: all 0.3s 1s;
          background-image: url('https://sansstud.io/wp-content/uploads/2023/08/3-strony-3.png');
      background-size: cover;
  }
  
  .book-cover2 > div {
      transition: opacity 0s 0.6s;
  }
  
  .book2:hover > .book-cover2 {
      transform: rotateY(180deg) scale(0.9);
      
  }
  
  .book2:hover > .book-cover2 > div {
      opacity: 0;
        transform: scaleX(-1);
  }
  
  .book2:hover > .book-content2 {
      transform: scale(0.9) translateY(0px);
  }
  
  .img1 {background: url('https://rylko.media4u.pl/media/pub/MAINPAGE%20PL%2017052023/mainkob.jpg') no-repeat top center/cover;}
  .img2 {background: url('https://rylko.media4u.pl/media/pub/MAINPAGE%20PL%2017052023/okulary.webp') no-repeat center center/cover;}
  .img3 {background: url('https://rylko.media4u.pl/media/pub/MAINPAGE%20PL%2017052023/perfumy.JPG') no-repeat center center/cover;}
  .img4 {background: url('https://rylko.media4u.pl/media/pub/MAINPAGE%20PL%2017052023/szpilki.jpg') no-repeat center center/cover;}
  .img5 {background: url('https://rylko.media4u.pl/media/pub/MAINPAGE%20PL%2017052023/torebka.jpg') no-repeat center center/cover;}
  
  .img8 {background: url('https://rylko.media4u.pl/media/pub/MAINPAGE%20PL%2017052023/paskim.jpg') no-repeat center center/cover;}
  .img9 {background: url('https://rylko.media4u.pl/media/pub/MAINPAGE%20PL%2017052023/perfumym.jpg') no-repeat center center/cover;}
  .img10 {background: url('https://rylko.media4u.pl/media/pub/MAINPAGE%20PL%2017052023/butym.jpg') no-repeat center center/cover;}
  .img11 {background: url('https://rylko.media4u.pl/media/pub/MAINPAGE%20PL%2017052023/kolprem.jpg') no-repeat center center/cover;}
  .img12 {background: url('https://rylko.media4u.pl/media/pub/MAINPAGE%20PL%2017052023/mainmes.webp') no-repeat center center/cover; margin-right: 0px !important; margin-left: 14px !important;}
  
  .flexrko {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    overflow: hidden;
  }
  
  .kontenerrko {
    display: flex;
    justify-content: end;
    width: 50%;
    overflow: hidden;
    height: 500px;
    background: url('https://rylko.media4u.pl/media/pub/rkobaner25052023.webp') no-repeat center center/cover;
  }
  
  .kontenerrko img {
    align-self: flex-end;
    padding: 20px;
    width: 200px;
    filter: invert(1);
    transition: 0.5s;
    margin-right: 0px;
  }
  
  .kontenerrko:hover img {
    align-self: flex-end;
    padding: 20px;
    margin-right: 10px;
    width: 200px;
    filter: invert(1);
  }
  
  .slider-container4 {
    display: flex;
      align-items: center;
      width: 50%;
      overflow: hidden;
      padding-left: 40px;
  }
  
  .slider4 {
    display: flex;
  }
  
  .flexkonten {
    display: flex;
    overflow: hidden;
    gap: 14px;
  }
  
  .flex-obiekt {
    flex: 1;
    background-color: #f9f3f3;
  }
  
  .flexzalet{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .skalowanyhero {
    width: 100vw;
    width: 100svw;
    height: 100vh;
    padding: 0px;
    object-fit: cover;
    transition: all .5s;
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .slide {
    width: 100vw;
    width: 100svw;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    box-sizing: border-box;
  }
  
  .slide {
    display: none;
    opacity: 0;
  transition: opacity 1s;
  }
  
  .slide.active {
    display: block;
    opacity: 1;
  }
  
  .tresci{
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: flex-end;
    height: 80vh;
    width: 100%;
    padding: 60px;
    padding-top: 110px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    z-index: 3;
    color: white;
    transition: all .5s;
    text-shadow: 0px 0px 5px rgba(37, 37, 37, 0.882);
  }
  
  .ograniczenietresci{
    width: 40vw;
  }
  
  h2{
    font-family: Akcentowy;
    letter-spacing: 3;
    font-size: 30px;
    line-height: 0.8;
    text-transform: uppercase;
  }
  
  .slider h2{
    font-family: Akcentowy;
    letter-spacing: 0;
    font-size: 36px;
    line-height: 0.9;
    text-transform: uppercase;
    
  }
  
  p{
    font-family: Montserrat;
  }
  
  #wiekszy {  
    margin-top: calc(100vh - 231px);
    padding-bottom: 100px;
    width: 100%;
    position: relative;
    z-index: 10;
  }
  
  #buttoncontain{
    z-index: 2;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  #buttoncontain button{
    align-items: center;
    justify-content: center;
  }
  
  main{
    box-sizing: border-box;
    padding: 0px;
    margin: 0px
  }
  
  .zaletki{
    width: calc(100vw - 15px);
    background-color: #ccb299;
    opacity: 0%;
    height: 169px;
    transition: opacity 4s;
    display: flex;
    align-self: center;
  
  }
  .zalejki{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
  }
  
  .zal1{
    max-width: 15%;
    color: white;
    font-family: Montserrat;
    text-align: center;
    line-height: 1.3
  }
  
  .zal1 img{
    max-width: 30%;
    min-width: 50px;
    text-align: center;
  }
  
  .zalety{
    overflow: hidden;
    position: relative;
    width: 72vw;
    height: auto;
    padding-top: 40px;
  }
  
  .sliderzalet {
    display: flex;
    justify-content: space-evenly;
    position: relative;
    transition: left 0.5s;
  }
  
  .jednazzalet {
    width: 33.3%;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
  }
  
  .jednazzalet a{
    text-decoration: none;
    color: #000;
  }
  
  .jednazzalet a:hover{
    text-decoration: none;
    color: #6c6c6c;
  }
  
  .jednazzalet h3{
    margin-top: 7px;
    font-size: 35px;
    font-family: Seasons;
    text-transform: capitalize;
  }
  
  .kategoria{
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 20px;
    line-height: 0.93;
    font-family: montserrat;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
  }
  
  .cena{
    margin-top: -5px;
    font-family: montserrat;
    font-weight: 500;
  }
  
  .jednazzalet img {
    width: 100%;
    object-fit: cover;
    text-align: center;
    line-height: 100px;
    transform: scale(1);
    transition: all 4s;
  }
  
  .jednazzalet img:hover{
    transform: scale(1.07);
    transition: all 4s;
  }
  
  .pilnowaczhover{
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .limitstrony{
      position: relative;
      width: 70vw;
      height: auto;
      padding-top: 40px;
  }
  
  .instagrid{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 100%;
    overflow: hidden;
  }
  
  .instalimiter{
    width: 16vw;
    height: 16vw;
    box-sizing: border-box;
    overflow: hidden;
    display: flex; align-items: flex-end;
  }
  
  .instalimiter img{
    width:100%;
    object-fit: cover;
    transform: scale(1);
    transition: all 4s;
    transform-origin: bottom center;
  }
  
  .instalimiter img:hover{
    width:100%;
    object-fit: cover;
    transform: scale(1.3);
    transition: all 4s;
    transform-origin: bottom center;
  }
  
  .buttonslider{
    display: flex;
    justify-content: space-between;
    width: 70vw;
    position: relative;
    top: 43%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
  }
  
  .tytulpodkategorii{
    margin-bottom: -10px;
    padding-top: 20px;
    line-height: 1.1;
  }
  
  .typowastrzalka{
    width: 50px; 
    height: 50px; 
    border: none;
    background-color: rgba(37, 37, 37, 0.0);
  }
  
  .buttonzramka{
    margin-top: 20px !important; 
    max-width:  30% !important;
    min-width: 200px !important;
    height: 50px; 
    font-family: Montserrat;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid white;
    color: black;
    background-color: rgba(37, 37, 37, 0.0);
    transition: 1s;
  }
  
  .buttonobserwuj{
    margin-top: 20px !important; 
    max-width:  35% !important;
    min-width: 200px !important;
    min-height: 50px; 
    font-family: Montserrat, 500;
    padding: 0px 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: black;
    border: 1px solid black;
    background-color: rgba(37, 37, 37, 0.0);
    transition: 1s;
  }
  
  .buttonzramka:hover{
    margin-top: 20px !important; 
    max-width:  30% !important;
    min-width: 200px !important;
    height: 50px; 
    font-family: Montserrat;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid white;
    color: black;
    background-color: rgb(255, 255, 255);
  }
  
  .buttonobserwuj:hover{
    margin-top: 20px !important; 
    max-width:  35% !important;
    min-width: 200px !important;
    min-height: 50px; 
    font-family: Montserrat, 500;
    padding: 0px 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid black;
    color: black;
    background-color: rgb(255, 255, 255);
  }
  
  .aobs{
    text-decoration: none;
    color: black;
  }
  
  .aobs:hover{
    color: #6c6c6c;
  }
  
  #prevBtn{
    transition: filter 1s;
    outline: none;
  }
  
  #nextBtn{
    transition: filter 1s;
    outline: none;
  }

  #prev{
    outline: none;
    margin-top: 7px;
    margin-right: -50px;
    z-index: 3;
  }
  
  #next{
    outline: none;
    margin-top: 7px;
    margin-left: -50px;
    z-index: 3;
  }
  
  .flexkatalogow{
    display: flex;
    width: 100%;
    background-color: turquoise;
    height: 700px; 
    overflow: hidden;
    gap:14px;
  }
  
  .img6 .img7{
    width: 50% !important;
    height: 100%;
  }

  .ParallaxVideo{ 
    height: auto;
    padding-top: 50px; 
}
.ParallaxVideo video{ 
    width: 100%;
    top:0;
    left: 0;
    z-index: -999;
}
.ParallaxVideo h1 {
  color: #fff;
  font-size: 76px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}
  
  
  @media screen and (min-width: 1400px) {
  .zaletki{
    width: 100vw;
    width: 100svw;
    background-color: #ccb299;
    opacity: 0%;
    height: 155px;
    transition: opacity 4s;
    display: flex;
    align-self: center;
  }
  }
  
  @media screen and (max-width: 1350px) {
    .flexkonten{
    flex-direction: column;
  }

  .flex-obiekt{
    width: 100%;
  }
  }
  @media screen and (max-width: 991px) {
  #wiekszy {  
    margin-top: calc(100vh - 154px);
  }
  }

  @media screen and (max-width: 950px) {
  
  .flexkatalogow{
    flex-wrap: wrap;
  }
  
    .img6{
    min-width: 100% !important;
    height: 50%;
  }
  
  .img7{
    min-width: 100% !important;
    height: 50%;
  }
  
  
  
    .ograniczenietresci{
    width:60vw;
  }
  .instagrid{  gap: calc(calc(calc(70vw / 3) - calc(60vw / 3)) + 12px);
    row-gap: calc(calc(calc(70vw / 3) - calc(60vw / 3)) + 12px);}
  
  .instalimiter{
    width: 32.2vw;
    height: 32.2vw;
    box-sizing: border-box;
    overflow: hidden;
    display: flex; align-items: flex-end;
  }
  
  
  
  
  }
  @media screen and (max-width: 900px) {

  .flexkontenhero div{
    width: 100% !important;
    margin: 0px !important;
  } 

  .flexkontenhero div a button{
    margin-left: 0px !important;
  } 

  .flexkontenhero{
    flex-direction: column-reverse;
  }
  }
  @media screen and (max-width: 750px) {
  .limitstrony{
    width: 75vw;
  }

  .tresci{
      justify-content: center;
    }
  }
  
  @media screen and (max-width: 700px) {
  
    .kontenerrko img {
    align-self: flex-start;
    padding: 20px;
    width: 200px;
    filter: invert(1);
    transition: 0.5s;
    margin-right: 0px;
  }
  
  .kontenerrko:hover img {
    align-self: flex-start;
    padding: 20px;
    margin-right: 10px;
    width: 200px;
    filter: invert(1);
  }
    .flexrko{
      justify-content: center;
    }
  
    .kontenerrko{
      width: 100%;
      overflow: hidden;
      justify-content: center;
    }
  
    .slider-container4{
      width:80%;
      margin-top: -127px;
      z-index: 3;
      padding-left: 0px;
    }
  
    .slider-container4 img{
      filter: invert(1);
      margin-bottom: 40px;
    }
  
  
  .ograniczenietresci{
    width: 80vw;
  }
  .zaletki{
    width: 100%;
    height: auto;
    padding-bottom: 5px;
  }
  .zalejki{
    flex-wrap: wrap;
  }
  
  .zal1{
    width: 50%;
    max-width: 50%;
    padding: 0px 20px;
    padding: 15px;
    line-height: 1.3;
  }
  
  }
  
  @media screen and (max-width: 600px) {
    .limitstrony{
    width: 100%;
  }
  
  .flexrko{
    margin-top: -40px;
  }
  
  h2{
    padding: 0px 20px;
  }
  
    .instagrid{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    row-gap: 10px;
    flex-wrap: wrap;
    max-width: 100%;
    overflow: hidden;
  }
  
  .instalimiter{
    width: 45vw;
    height: 45vw;
    box-sizing: border-box;
    overflow: hidden;
    display: flex; align-items: flex-end;
  }
  }
  
  @media screen and (max-width: 450px) {
    .tresci{
      justify-content: center;
      padding: 30px;
      padding-top: 60px;
    }

    .slider-container4 img{
      margin-bottom: 70px;
      width: 60vw !important;
    }
  
    .slider-container4{
      margin-top: -170px;
    }
  
  
  .jednazzalet h3{
    font-family: Seasons;
    margin-top: 1px;
    font-size: 30px;
  }
  }
  
  .holder {
      margin-top: 40px;
    width: 100%;
    height: 600px;
    display: flex;
    margin-bottom: 60px;
    
  }
  
  .holderm {
    flex: 1;
    display: flex;
    width: 50%;
    height: 100%;
  }
  
  .holderm a {
    opacity: 0;
    color:#000000;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    background-image: linear-gradient(to top, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 100%);
    transition: 1s;
  }
  
  .holderm a:hover {
    opacity: 1;
    color:#000;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    background-image: linear-gradient(to top, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 100%);
    transition: 1s;
  }
  
  .secondhold {
      flex: 1;
      height: 100%;
      width: 50%;
      overflow: hidden;
      margin-right: 14px;
  }
  
  #secondhold2 {
      flex: 1;
      height: 100%;
      width: 50%;
      overflow: hidden;
      margin-right: 0px;
  }
  
  .full-width-img {
      flex: 1;
      width: 50%;
    height: 100%;
    margin-right: 14px;
  }
  
  .half-height-img {
      flex: 1;
      width: 100%;
      height: calc(50% - 7px);
    
    margin-bottom: 14px;
    
  }
  
  @media screen and (max-width: 1050px) {
    .img1 { margin-right: 0px !important; margin-left: 0px !important;}
    .img12 {margin-right: 0px !important; margin-left: 0px !important;}
  
  #secondhold2{margin-left: 14px;}
  
    .holder {
    margin-top: 40px;
    width: 100%;
    height: 1000px;
    display: flex;
    flex-wrap: wrap;
  
  }
  
  
  
  .holderm {
    flex: 1;
    display: flex;
   min-width: 100%;
    height: 50%;
    flex-wrap: wrap;
    margin-bottom: 14px;
  }
  .secondhold {
      flex: 1;
      height: 100%;
      width: 50%;
      overflow: hidden;
      margin-right: 0px;
  }
  }
  
  @media screen and (max-width: 560px) {
    .holder {
    margin-top: 40px;
    width: 100%;
    height: 800px;
    display: flex;
    flex-wrap: wrap;
  
  }
  
  .holderm a {
    opacity: 1;
    color:#000;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    background-image: linear-gradient(to top, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 100%);
    transition: 1s;
  }
  .holderm a:hover {
    opacity: 1;
    color:#000;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    background-image: linear-gradient(to top, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 100%);
    transition: 1s;
  }
  
  .img1 a {
    opacity: 1;
    color:#000;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-bottom;
    height: 100%;
    background-image: linear-gradient(to top, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 100%);
    transition: 1s;
  }
  
  .holderm a p{
    display: none;
  }
  
  .holderm button{
    margin-top: 3px !important;
      max-width: 30% !important;
      min-width: 160px !important;
      height: 37px;
      font-family: Montserrat;
      letter-spacing: 2px;
      text-transform: uppercase;
      border: 1px solid black;
      background-color: rgba(37, 37, 37, 0.0)
  }
  
  }