    :root {
        --black100: #3d3d3d;
        --black70: #606060;
        --black40: #999999;
        --black30: #cccccc;
        --black20: #dddddd;
        --white: #fff;
        --background: #eeeeee;

        --h1-PC-Title: 4.5rem; /* 72 */
        --h1-Mobile-Title: 3rem; /* 48 */
        --h1: 2.5rem; /* 40 */
        --h2-PC: 1.5rem; /* 24 */
        --h2-Mobile: 1.25rem; /* 20 */
        --paragraph: 1rem; /* 16 */
        --paragraph14: 0.875rem; /* 14 */
    }
    ::selection {
        color: var(--white);
        background-color: var(--black100);
    }
    footer ::selection {
        color: var(--black100);
        background-color: var(--white);
    }
    html {
        scroll-behavior: smooth; /* za onClick scroll */
    }
    body {
        color: var(--black100);
        font-family: "Noto Serif", Georgia, "Times New Roman", Times, serif;
        font-size: 16px;
        background-color: var(--background);
        margin: 0;
    }
    .wrapper-35 { /* za vesti */
        width: 35%;
        margin: 0 auto;
    }
    .wrapper-50 {
        width: 50%;
        margin: 0 auto;
    }
    .wrapper-60 {
        width: 60%;
        margin: 0 auto;
    }
    .wrapper-80 {
        width: 80%;
        margin: 0 auto;
        max-width: 1180px;
    }
    .wrapper-90 {
        width: 90%;
        margin: 0 auto;
    }
    .wrapper-fit {
        width: fit-content;
        margin: 0 auto;
    }
    .max-width-1180 {
        max-width: 1180px;
    }
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: var(--black100);
        margin: 0;
        font-weight: 700;
    }
    p {
        color: var(--black100);
    }
    .color-white {
        color: white;
    }
    .black-30 {
        color: var(--black30)
    }
    .white {
        color: var(--white);
    }
    a:link, a:visited, a:hover, a:active {
        text-decoration: none;
        color: var(--white);
    }
    hr { /* vidi */
        height: 1px;
        color: var(--black100);
        background-color: var(--black100);
        font-size: 0;
        border: 0;
        margin: 5px 0;
    }
    .relative {
        position: relative;
    }
    .absolute {
        position: absolute;
    }
    .show {
        display: block !important;
    }
    .show-flex {
        display: flex !important;
    }
    .hidden {
        display: none !important;
    }
    .reduce-font {
        font-size: 3em !important;
    }
    .book-card-reduce-font { /* za JS ako je autor duzi od 16 karaktera */
        font-size: 0.8rem !important;
    }
    .book-card-reduce-font2 { /* za JS ako je autor duzi od 18 karaktera */
        font-size: 0.6rem !important;
    }
    .book-card-reduce-font3 { /* za JS ako je naslov duzi od 36 karaktera */
        font-size: 1.02rem !important;
    }
    #dimbg {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(37, 37, 37, 0.4); /* vidi */
        backdrop-filter: blur(10px);
        z-index: 1;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    #dimbg.dimbg-active {
        opacity: 1;
        pointer-events: all;
    }
    body.no-scroll {
        overflow: hidden;
        touch-action: none;
    }
    /* ///////////////// HEADER ///////////////// */

    nav {
        position: fixed; /* vidi, na Janinom telefonu je providno samo */
        top: 30px;
        z-index: 99;
        left: 50%;
        transform: translateX(-50%);
        overflow: hidden;
        user-select: none;
        white-space: nowrap;
        width: 80%;
        box-sizing: border-box;
        justify-content: space-between;
        align-items: center;
        padding: 17px 34px;
        border-radius: 50px;
        border: 2px solid rgba(255, 255, 255, 0.25);
        box-shadow: rgba(0, 0, 0, 0.06) 0px 10px 10px -10px;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        cursor: pointer;    
        transition: transform 0.3s ease, border-color 0.5s ease; 
    }
    nav:hover {
        border-color: rgba(255, 255, 255, 0.4);
    }
    nav#pc-nav:hover {
        transform: translateX(-50%) scale(1.015);
    }
    nav img {
        transition: filter 0.5s ease;
    }
    .off-white {
        backdrop-filter: blur(50px); /* vidi */
        background-color: rgba(240, 240, 240, 0.5);
    }
    .off-white a {
        color: var(--black100);
    }
    .off-white img {
        filter: brightness(0) saturate(100%) invert(17%) sepia(1%) saturate(0%) hue-rotate(10deg) brightness(100%) contrast(79%);
    }
    .off-white button#pc-nav-menu-categories {
        color: var(--black100);
    }
    .off-white ul.pc-nav-left li a:hover,
    .off-white ul.pc-nav-left li button:hover,
    .off-white ul.pc-nav-right li a:hover {
        border-radius: 20px;
    }
    .logo {
        width: 40px;
        user-select: none;
    }
    .logo img {
        display: block;
        user-select: none;
    }
    header #hamburger-menu {
        width: 45px;
        user-select: none;
    }
    header #hamburger-menu img {
        display: block;
        width: 100%;
        user-select: none
        ;
    }
    header ul {
        list-style: none;
        padding: 0;
    }
    footer {
        background-color: var(--black100);
        font-size: 0.875rem;
        padding: 60px 0;
    }
    footer ul.footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    footer ul.footer-links li:hover {
        text-decoration: underline;
    }
    footer ul.footer-contact {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin: 15px 0 30px;
    }
    footer .footer-socials {
        display: flex;
        gap: 15px;
        font-size: 1.5rem;
    }
    footer p {
        color: var(--white);
    }
    footer p.footer-declaration {
        font-size: 0.75rem;
    }
    footer > .wrapper-80 {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    footer ul {
        list-style: none;
        padding: 0;
        color: var(--white);
    }

    /* ///////////////// Bogdanovic ///////////////// */

    .bogdanovic {
        font-size: 9px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        background-color: #1b1b1b;
        height: 40px;
    }
    .bogdanovic p {
        color: #ffffff;
    }
    .bogdanovic p::selection {
        color: var(--white);
        background-color: #C9312A;
    }
    .bogdanovic .wrapper-80 { /* text i logo */
        display: flex;
        gap: 5px;
        justify-content: center;
        align-items: center;
    }
    



    /* ///////////////// Bogdanovic END ///////////////// */

    nav#pc-nav {
        font-weight: 500;
        display: none;
        gap: 40px;
    }
    nav#pc-nav ul {
        padding: 0;
        list-style: none;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    nav#pc-nav ul.pc-nav-left {
        width: 220px;
        justify-content: center;
        margin: 0;
    }
    nav#pc-nav ul.pc-nav-right {
        width: 220px;
        justify-content: center;
        margin: 0;
    }
    nav#pc-nav ul a {
        min-width: 105px;
        padding: 10px 20px; 
        border-radius: 20px; 
        transition: background-color 0.3s ease;
    }
    nav#pc-nav ul a:hover {
        background-color: rgba(153, 153, 153, 0.15);
        border-radius: 20px;
    }
    nav#pc-nav ul li:active {
        transform: scale(0.96);
    }
    nav#mobile-nav {
        display: flex;
        transition: transform 0.5s cubic-bezier(.25,1.5,.5,1);
        transform: translateX(-50%) scale(1);
        transform-origin: center;
        touch-action: manipulation;
        user-select: none;
        -webkit-user-select: none;   /* disable text/image selection */
        -webkit-touch-callout: none; /* disable long-press menu on iOS */
    }
    #mobile-nav.active {
        transform: translateX(-50%) scale(0.9);
    }
    #mobile-nav-menu {
        opacity: 0;
        pointer-events: none;
        position: fixed;
        inset: 0;
        z-index: 98;
        background-color: var(--white);
        margin: 0;
        font-weight: 700;
        overflow-y: auto;
        padding: 170px 0 0;
        transition: opacity 0.3s ease;
    }
    #mobile-nav.menu-off-white {
        box-shadow: none;
        border: 2px solid var(--black20);
        background: none;
    }
    #mobile-nav.menu-off-white img {
        filter: brightness(0) saturate(100%) invert(17%) sepia(1%) saturate(0%) hue-rotate(10deg) brightness(100%) contrast(79%);
    }
    #mobile-nav-menu.fade-in {
        opacity: 1;
        pointer-events: all;
    }
    #mobile-nav-menu a {
        font-size: 30px;
        font-weight: 600;
        display: block;
        color: var(--black100);
        padding: 0;
    }
    .book-card {
        color: var(--black100);
        border: solid 2px var(--black20);
        border-radius: 24px;
        background-color: var(--white);
        padding: 10px;
        max-width: 110px;
        height: auto;
        transition: transform 0.09s ease, box-shadow 0.5s ease;
        text-align: center;
    }
    .book-card p {
        margin: 0;
    }
    .book-card img {
        user-select: none;
        width: 100%;
        display: block;
        height: 150px;
        border-radius: 14px;
    }
    .book-card .book-card-cover {
        position: relative;
        width: 100%;
        height: auto;
    }
    .book-card-fade {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 14px;
        pointer-events: none;
        background: linear-gradient(to bottom right, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.2) 100%);
    }
    .book-card p.book-card-title {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        padding: 10px 0;
        font-weight: 700;
        height: 80px;
    }
    .book-card p.book-card-author {
        color: var(--black70);
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        display: block;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        height: 19px;
    }
    .book-card p.book-card-price {
        font-size: 0.875rem;
        color: var(--black40);
        padding: 10px 0 14px;
    }
    .book-card .book-card-hr {
        height: 1px;
        color: var(--black30);
        background-color: var(--black30);
        font-size: 0;
        border: 0;
        margin: 14px 0 7px 0;
    }
    .book-card:active {
        transform: scale(0.9);
    }
    a:has(.book-card):link {
        transition: transform 0.4s ease;
    }
    a:has(.book-card):active {
        transform: scale(0.9);
    }
    .book-grid {
        display: flex;
        justify-content: center;
        margin: 0 auto;
        gap: 10px;
        flex-wrap: wrap;
        max-width: 880px;
    }


    /* ///////////////// 01 INDEX - ADS ///////////////// */

/* ///////////////// Izaberi pricu ///////////////// */

    .ad-wrapper-80 {
        width: 360px;
        margin: 0 auto;
        position: relative;
    }
    #index img {
        user-select: none;
    }
    #index h1,
    #index h2,
    #index h3,
    #index h4,
    #index h5,
    #index h6,
    #index p {
        margin: 0;
    }
    #index .izaberi-pricu {
        position: relative;
        height: 720px;
        top: 10px;
        overflow: hidden; 
    }
    #index .izaberi-pricu img {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 147px;
        display: block;
        width: 240px;
    }
    #index .izaberi-pricu-p1 {
        font-size: 50px;
        top: 345px;
        left: 19%;
        font-stretch: 100%;
        font-weight: 400;
    }
    #index .izaberi-pricu-p2 {
        font-size: 50px;
        top: 390px;
        left: 23%;
        font-stretch: 100%;
        font-weight: 400;
    }
    #index .izaberi-pricu-p3 {
        font-size: 50px;
        top: 436px;
        left: 31%;
        font-stretch: 100%;
        font-weight: 400;
    }
    #index .izaberi-pricu-p4 {
        font-weight: 400;
        text-align: center;
        font-size: 1rem;
        position: absolute;
        top: 515px;
        left: 50%;
        transform: translateX(-50%);
    }
    #index .izaberi-pricu button {
        position: absolute;
        display: block;
        top: 600px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        border: none;
        border-radius: 30px;
        font-size: 1rem;
        color: var(--white);
        font-weight: 400;
        padding: 15px 20px;
        background-color: #933E41;
        cursor: pointer;
        font-family: inherit;
        transition: transform 0.2s ease;
    }
    #index section button:hover {
        transform: translateX(-50%) scale(1.04);
    }
    #index section button:active {
        transform: translateX(-50%) scale(0.95);
    }

/* ///////////////// Tamna je noc ///////////////// */
    .tamna-je-noc-ad-bg {
        background-color: #c81c20;
    }
    .tamna-je-noc-ad {
        position: relative;
        height: 520px;
        top: 20px;
        overflow: hidden;
    }
    .tamna-je-noc-ad img {
        position: absolute;
        width: 200px;
        top: 160px;
        left: 9%;
    }
    .tamna-je-noc-ad p {
        color: white;
    }
    .tamna-je-noc-p1 {
        font-size: 24px;
        left: 50%;
        top: 50px;
        font-weight: 350;
        transform: translateX(-50%);
        color: var(--white);
    }
    .tamna-je-noc-p2 {
        font-size: 100px;
        font-weight: 700;
        font-stretch: 63%;
        top: 50px;
        left: 50%;
        transform: translateX(-50%);
    }
    .tamna-je-noc-p3 {
        font-size: 50px;
        font-weight: 460;
        font-stretch: 63%;
        left: 20%;
        top: 150px;
    }
    .tamna-je-noc-p4 {
        font-size: 75px;
        font-weight: 460;
        font-stretch: 63%;
        left: 60%;
        top: 140px;
    }
    .tamna-je-noc-p5 {
        font-size: 0.875rem;
        width: 80%;
        text-align: center;
        top: 320px;
        left: 50%;
        transform: translateX(-50%);
    }
    #index .tamna-je-noc-ad button {
        position: absolute;
        display: block;
        top: 380px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        border: none;
        border-radius: 30px;
        font-size: 1rem;
        color: #c81c20;
        font-weight: 600;
        font-family: inherit;
        padding: 15px 20px;
        background-color: var(--white);
        cursor: pointer;
        transition: transform 0.2s ease;
    }

/* ///////////////// Cisti ponedeljak ///////////////// */

    .ponedeljak-ad {
        position: relative;
        height: 510px;
        top: 20px;
        overflow: hidden;
    }
    .ponedeljak-ad img {
        width: 290px;
        top: 150px;
        left: 9%;
    }
    .ponedeljak-p1 {
        font-size: 13px;
        font-weight: 350;
        top: 52px;
        color: #222222;
        left: 53%;
        transform: translateX(-50%);
    }
    .ponedeljak-p2 {
        font-size: 80px;
        color: #222222;
        left: 25%;
        top: 33px;
        font-weight: 500;
        font-stretch: 69%;
    }
    .ponedeljak-p3 {
        top: 95px;
        color: #222222;
        left: 9%;
        font-size: 50px;
        font-weight: 500;
        font-stretch: 69%;
    }
    .ponedeljak-p4 {
        font-size: 0.875rem;
        width: 80%;
        text-align: center;
        top: 315px;
        left: 50%;
        transform: translateX(-50%);
    }
    #index .ponedeljak-ad button {
        position: absolute;
        display: block;
        top: 375px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        border: none;
        border-radius: 30px;
        font-size: 1rem;
        color: var(--white);
        font-weight: 400;
        font-family: inherit;
        padding: 15px 20px;
        background-color: #4B90CB;
        cursor: pointer;
        transition: transform 0.2s ease;
    }





/*///////////////////////////////////////////////////////////*/



    /* ///////////////// 02 BOOK ///////////////// */
    #book main {
        padding-top: 160px;
    }
    #book main hr {
        height: 1px;
        color: var(--black40);
        background-color: var(--black40);
        font-size: 0;
        border: 0;
        margin: 14px 0 7px 0;
    }
    #book main .book-info-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    #book .book { /* background korice i img */
        background-color: #99503B;
        padding: 32px 28px;
        border-radius: 22px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #book .book img {
        user-select: none;
        display: block;
        width: 160px;
        height: auto;
        border-radius: 16px;
        -webkit-box-shadow: 8px 15px 20px -12px rgba(0,0,0,0.59);
        box-shadow: 8px 15px 20px -12px rgba(0,0,0,0.59);
    
    }
    #book .book-info {
        flex: 3;
        text-align: center; /* mobile */
    }
    #book .book-info h1 {   
        font-size: 2rem;
        line-height: 1.25;
    }
    #book .book-info h2 {
        font-size: 1.4rem;
        margin: 5px 0 20px;
        font-weight: 400;
    }
    #book .book-description {
        position: relative;
    }
    #book .book-description > #book-description-fade {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 90%, var(--background) 100%);
    }
    #book .book-info p#book-description-text {
        text-align: justify;
        margin: 15px 0;
        max-height: 100px;
        overflow: hidden;
        transition: max-height 0.8s 0.1s ease-in-out;
    }
    #book .book-info p#book-description-text.p-show-more {
        max-height: 1500px;
    }
    #book .book-info p#book-price {
        font-size: 1.25rem;
        margin: 40px 0;
    }
    #book .book-info button#show-more {
        border: none;
        font-family: inherit;
        font-size: 0.75rem;
        color: var(--black100);
        background-color: var(--black20);
        padding: 6px 8px;
        border-radius: 6px;
        margin-bottom: 15px;
        cursor: pointer;
    }
    #book .book-info button#show-more:active {
        background-color: var(--black30);
    }
    #book .book-info button#action-button {
        border: none;
        font-family: inherit;
        font-size: 1rem;
        color: var(--white);
        padding: 18px 34px;
        border-radius: 12px;
        cursor: pointer;
        background-color: var(--black30);
        margin-bottom: 40px;
    }
    #book section.declaration {
        margin: 0 0 120px 0;
    }
    #book .declaration-wrapper {
        display: flex;
        gap: 50px;
        justify-content: center;
    }
    #book .declaration-wrapper h2 {
        position: relative;
        margin-top: 100px;
        font-size: 1.5rem;
        font-weight: 400;
    }
    #book section.declaration table#book-declaration {
        display: table;
        margin: 50px auto;
        width: 100%;
        border-collapse: collapse;
    }
    #book section.declaration table#book-declaration tr td {
        border-bottom: 1px solid var(--black40);
        padding: 10px 0;
    }
    #book section.declaration table#book-declaration tr:last-child td {
        border-bottom: none;
    }
    #book section.declaration table#book-declaration tr td:nth-child(2) { /* svaki drugi u svakom tr */
        text-align: right;
    }
    #book section.declaration table#book-declaration tr td:nth-child(1) {
        font-weight: 700;
    }

    /* ///////////////// 03 NOVOSTI ///////////////// */

    #novosti main {
        padding: 145px 0 80px;
    }
    #novosti h2 {
        font-size: 1.5rem;
    }
    #novosti .news-wrapper {
        display: flex;
        flex-direction: column;
        margin-top: 20px;
        gap: 15px;
    }
    #novosti .news-wrapper h2 {
        font-weight: 400;
        color: var(--white);
    }
    #novosti .news-wrapper p {
        font-size: 0.875rem;
        padding-left: 2px;
        color: var(--background);
    }
    #novosti .news-title p {
        margin: 0;
    }
    #novosti article {
        position: relative;
        width: 100%;
        transition: transform 0.2s ease;
    }
    #novosti .hero-article .news-title, 
    #novosti .news-article .news-title {
        position: absolute;
        color: var(--white);
        padding: 8px 10px;
        width: auto;
        bottom: 13px;
        left: 13px;
    }
    .novo {
        background-color: #f84a3db2;
        padding: 4px 8px;
        border-radius: 8px;
        font-size: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 14px;
        right: 14px;
    }
    .news-fade {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 20px;
        pointer-events: none;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, 0.8) 100%);

    }
    .hero-article {
        height: 400px;
    }
    .hero-article img, .news-article img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
    }
    .news-article {
        height: 240px;
    }

/* ///////////////// 04 Novost Template ///////////////// */

    body.novost .news-hero {
        height: 70vh;
        position: relative;
    }
    body.novost .news-fade {
        border-radius: 0px;
    }
    body.novost .news-hero img {
        display: block;
        height: 70vh;
        object-fit: cover;
        width: 100%;
    }
    body.novost .news-hero h1 {
        font-size: 3rem;
        color: var(--white);
        position: absolute;
        line-height: 1;
        bottom: 10%;
    }
    body.novost .news-hero p {
        font-size: 1rem;
        color: var(--white);
        position: absolute;
        bottom: 3%;
    }
    body.novost .news-list {
        background-color: #ffffff;
        padding: 60px 0;
    }
    body.novost .wrapper-35 {
        width: 75%;
    }
    
    /* ///////////////// 05 Katalog ///////////////// */
    #katalog .wrapper-90 {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    #katalog .b-color-1 {
        background-color: #4B90CB;
    }
    #katalog .b-color-2 {
        background-color: #CD231B;
    }
    #katalog .b-color-3 {
        background-color: #457263;
    }
    #katalog .b-color-4 {
        background-color: #213e63;
    }
    #katalog .b-color-5 {
        background-color: #C90000;
    }
    #katalog .b-color-6 {
        background-color: #8C0000;
    }
    #katalog .b-color-7 {
        background-color: #669cbd;
    }
    #katalog .b-color-8 {
        background-color: #A7354D;
    }
    #katalog .b-color-9 {
        background-color: #182D4E;
    }
    #katalog .b-color-10 {
        background-color: #DF383B;
    }
    #katalog .b-color-11 {
        background-color: #7d996f;
    }
    #katalog .b-color-12 {
        background-color: #B70002;
    }
    #katalog .b-color-13 {
        background-color: #8C8E93;
    }
    #katalog .b-color-14 {
        background-color: #597260;
    }
    #katalog .b-color-15 {
        background-color: #EF6B68;
    }
    #katalog .b-color-16 {
        background-color: #292528;
    }


    #katalog main {
        padding: 150px 0;
    }
    .page-intro-p {
        display: flex;
        justify-content: center;
        text-align: center;
    }
    .page-intro-p p {
        
        display: inline-block;
        font-size: 14px;
        background-color: #e4e4e4;
        color: var(--black70);
        padding: 3px 9px;
        border-radius: 12px;
        user-select: none;
        margin: 0;
    }
    #katalog a.sva-izdanja-link {
        display: block;
        padding: 20px 0;
        width: fit-content;
        margin: 0 auto;
        color: var(--black100);
        text-decoration: underline;
        font-weight: 600;
        transition: transform 0.1s ease;
    }
    #katalog a[href="sva-izdanja.html"]:hover {
        transform: scale(1.05);
    }
    #katalog .biblioteka-img {
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }
    #katalog .biblioteka img {
        display: block;
        width: 230px;
    }
    #katalog .biblioteka {
        max-width: 340px;
        background-color: var(--white);
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 45px 0 20px;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    #katalog .biblioteka:hover {
        transform: scale(1.01);
        box-shadow: 8px 10px 20px -12px rgba(88, 88, 88, 0.3);
    }
    #katalog .biblioteka:active {
        transform: scale(0.99);
    }
    #katalog .biblioteka-p1 {
        font-size: 13px;
        line-height: 1;
        color: var(--black40);
        margin: 0;
    }
    #katalog .biblioteka-title {
        font-weight: 450;
        line-height: 0.85;
        font-size: 33px;
        font-stretch: 75%;
    }
    #katalog .biblioteka-desc {
        text-align: center;
        width: 80%;
        margin: 0 auto;
    }
    #katalog .biblioteka-desc p {
        color: var(--black40);
        margin: 6px 0;
        width: 100%;
        font-stretch: 95%;
    }
    #katalog .biblioteka button {
        max-width: 200px;
        margin: 0 auto;
        border: none;
        padding: 8px 20px;
        font-family: inherit;
        margin-top: 8px;
        border-radius: 20px;
        cursor: pointer;
        color: var(--white);
        transition: transform 0.3s 0.01s ease;
    }
    #katalog .biblioteka button:hover {
        transform: scale(1.02);
    }
    

    /* ///////////////// 06 Biblioteka Page ///////////////// */

    body.biblioteka-page main {
        padding: 150px 0 30px; 
    }
    body.biblioteka-page main .wrapper-80 {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
    }
    body.biblioteka-page #biblioteka-intro {
        display: flex;
        align-items: center;
        border-radius: 50px;
        cursor: pointer;
        transition: transform 0.2s ease, border-radius 0.3s ease, padding;
        touch-action: manipulation;
        user-select: none;
    }
    body.biblioteka-page #biblioteka-intro.white {
        border: 2px solid rgba(255, 255, 255, 0.25);
        box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 20px -10px;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        background-color: rgba(240, 240, 240, 0.5);
    }
    body.biblioteka-page #biblioteka-intro:hover {
        transform: scale(1.02);
    }
    body.biblioteka-page #biblioteka-intro:active {
        transform: scale(0.98);
    }
    body.biblioteka-page #biblioteka-intro-header {
        display: flex;
        padding: 4px 10px;
        align-items: center;
        justify-content: center;
        gap: 12px;
        transition: transform 0.3s ease;
    }
    body.biblioteka-page #biblioteka-intro hr {
        display: none;
        height: 1px;
        background-color: var(--black30);
        font-size: 0;
        border: 0;
        margin: 0px 0 14px 0;
    }
    body.biblioteka-page #biblioteka-intro-desc {
        display: none;
    }
    body.biblioteka-page #biblioteka-intro-desc p {
        margin: 0;
        text-align: left;
    }
    #biblioteka-intro.expanded {
        display: block !important;
        padding: 30px 40px 30px;
        box-sizing: border-box;
        width: 100%;
        height: auto;
        border-radius: 24px !important;
    }
    .expanded-padding {
        padding: 0 !important;
    }
    .expanded-translate {
        justify-content: space-between !important;
    }
    body.biblioteka-page .biblioteka-intro-title p {
        margin: 0;
        font-stretch: 85%;
        color: var(--black40);
        line-height: 0.8;
        font-size: 0.75rem;
        user-select: none;
    }
    body.biblioteka-page .biblioteka-intro-title h1 {
        font-weight: 400;
        font-stretch: 85%;
        line-height: 1.2;
        font-size: 1.2rem;
        user-select: none;
        white-space: nowrap;
    }
    body.biblioteka-page #biblioteka-intro-img {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50px;
        height: 50px;
    }
    body.biblioteka-page #biblioteka-intro-img img {
        max-height: 50px;
    }
    body.biblioteka-page #biblioteka-intro-info-button {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 60px;
        width: auto;
    }
    body.biblioteka-page #biblioteka-intro-info-button img {
        opacity: 60%;
        display: block;
        max-width: 100%;
        height: auto;
        user-select: none;
    }

    /* ///////////////// PADDING ZA BIBLIOTEKE ///////////////// */

    .domacin-padding {
        padding: 0 0 5px 6px;
    }
    .cisti-ponedeljak-padding {
        padding: 8px 0 8px 10px;
    }
    .tihi-glas-padding {
        padding-top: 2px;
    }
    .tamna-je-noc-padding {
        padding: 1px 0;
    }
    .laki-dah-padding {
        padding: 6px 0 6px 10px;
    }
    .tulipani-padding {
        padding: 5px 0 5px 0px;
    }
    .visnjik-padding {
        padding-left: 5px;
    }

    /* ///////////////// 07 Poruci Page ///////////////// */

    #poruci main {
        padding: 150px 0;
    }
    #poruci .poruci-info-box {
        background-color: var(--white);
        border-radius: 20px;
        text-align: center;
        padding: 20px;
        margin: 10px 0;
        font-size: 17px;
        max-width: 770px;
        box-sizing: border-box;
        margin: 20px auto -10px;
    }
    #poruci main > .iframe-wrapper-90 {
        width: 90%;
        margin: 0 auto;
        padding: 25px 0;
        display: flex;
    }
    #poruci main iframe {
        width: 750px;
        height: 1700px;
        background-color: #ffffff;
        box-shadow: 8px 10px 20px -12px rgba(88, 88, 88, 0.3);
        border-radius: 30px;
        padding: 40px 10px; 
        margin: 0 auto;
        font-family: inherit;
    }

    /* ///////////////// 08 Sva izdanja Page ///////////////// */

    .search-grow {
    animation: growBounce 0.8s ease-out;
    }
    .biblioteka-page main .wrapper-60 {
        display: flex;
        justify-content: center;
        padding: 20px 0 30px;
    }
    #sva-izdanja main .wrapper-60 {
        padding: 30px 0;
    }
    .biblioteka-page .wrapper-60 .search-div {
        position: relative;
        transition: transform 0.35s 0.05s ease;
    }
    .biblioteka-page .wrapper-60 > .search-div:hover {
        transform: scale(1.06);
    }
    .biblioteka-page .wrapper-60 > .search-div:active {
        transform: scale(0.97);
    }
    .biblioteka-page .wrapper-60 img[src="svgs/lupa.svg"] {
        position: absolute;
        left: 20px;
        top: 16px;
    }
    .biblioteka-page input[type="search"] {
        cursor: pointer;
        color: #949494;
        width: 170px;
        padding: 14px 10px 14px 48px;
        font-family: inherit;
        font-size: 19px;
        border-radius: 30px;
        border: 2px solid rgba(255, 255, 255, 0.25);
        box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 20px -10px;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        background-color: rgba(240, 240, 240, 0.5);
    }
    input[type="search"]::-webkit-search-decoration,
    input[type="search"]::-webkit-search-cancel-button,
    input[type="search"]::-webkit-search-results-button,
    input[type="search"]::-webkit-search-results-decoration {
        -webkit-appearance: none;
    }
    input[type="search"]:focus {
        outline: none;
    }
    .biblioteka-page input[type="search"]::placeholder {
        padding: 0;
        font-family: inherit;
    }

    /* ///////////////// 09 O-Bernaru ///////////////// */
    #obernaru main {
        padding: 150px 0;
        height: 1200px;
    }
    #obernaru .obernaru-quote {
        position: relative;
        height: 50px;
        width: 320px;
        margin: 0 auto;
    }
    .obernaru-p1 {
        font-stretch: 75%;
        font-weight: 400;
        font-size: 32px;
        left: 7%;
    }
    .obernaru-p2 {
        font-stretch: 75%;
        font-weight: 400;
        font-size: 32px;
        top: 30px;
        left: 10%;
    }
    .obernaru-p3 {
        font-size: 13px;
        color: var(--black70);
        left: 13%;
        top: 120px;
    }
    .obernaru-p4 {
        top: 150px;
        margin: 0 auto;
        width: 90%;
        max-width: 440px;
        text-align: justify;
    }
    .obernaru-logo .obernaru-p5 {
        font-size: 14px;
    }
    .obernaru-logo .obernaru-p6 {
        margin: 0;
        font-size: 10px;
        width: 60%;
    }
    .obernaru-logo {
        text-align: center;
        top: 240px;
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    .obernaru-logo img {
        height: 40px;
    }
    #obernaru img[src="svgs/quotes.svg"] {
        height: 20px;
    }
    #obernaru .quote1 {
        top: 125%;
        left: -1%;
    }
    #obernaru .quote2 {
        top: 125%;
        left: 95%;
    }
    #obernaru hr {
        height: 1px;
        width: 80%;
        color: var(--black30);
        background-color: var(--black30);
        font-size: 0;
        border: 0;
        margin: 30px auto;
        left: 50%;
        transform: translateX(-50%);
        top: 140px;
    }
    /* ///////////////// MEDIA ///////////////// */

    @media (min-width: 373px) {  /* veci telefoni */

        header #hamburger-menu {
            width: 50px;
        }
        .logo {
            width: 45px;
        }
        #book .book { /* background korice i img */
            background-color: var(--black30);
            padding: 38px 32px;
            border-radius: 22px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        #book .book img {
            width: 190px;
        }

        /* ///////////////// MOB MENU ///////////////// */

        #mobile-nav-menu {
            padding: 190px 0 0;
        }
        #mobile-nav-menu a {
            font-size: 33px;
        }
        #mobile-nav-menu #mobile-nav-menu-categories button {
            font-size: 28px;
        }
        #mobile-nav-menu #mobile-nav-menu-categories-list a {
            font-size: 18px;
        }
        #mobile-nav-menu #mobile-nav-menu-categories-list.category-show {
            padding: 14px 0;
        }


        /* ///////////////// BOOK CARD ///////////////// */

        .book-card {
            color: var(--black100);
            border: solid 2px var(--black20);
            border-radius: 24px;
            background-color: var(--white);
            padding: 10px;
            max-width: 120px;
            height: auto;
            transition: transform 0.4s ease, box-shadow 0.5s ease;
        }
        .book-card img {
            height: 170px;
        }



        /* ///////////////// Biblioteka ///////////////// */

    }
    @media (min-width: 395px) {

    }
    @media (min-width: 565px) {

        .wrapper-80:has(.book-grid) {
            width: 60%;
        }
    }
    @media (min-width: 650px) { /* TABLETI */
        
        #novosti .hero-article .news-title, 
        #novosti .news-article .news-title {
        position: absolute;
        border-radius: 10px;
        width: auto;
        bottom: 20px;
        left: 20px;
        transform: none;
    }
        #novosti .news-wrapper h2 {
        font-size: 2rem;
    }
        #novosti .news-wrapper p {
        font-size: 1rem;
    }
    
    /* ///////////////// KATALOG ///////////////// */


    }
    @media (min-width: 707px) {
        .wrapper-80:has(.book-grid) {
            width: 100%;
        }
        #katalog .wrapper-90 {
            width: 90%;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: center;
        }
    }
    @media (min-width: 1024px) { /* PC SMALL */

        nav {
            width: fit-content;
        }
        nav#mobile-nav {
            display: none;
        }
        nav#pc-nav {
            display: flex;
        }
        #pc-nav-menu {
            display: block;
        }

        .bogdanovic {
            font-size: 12px;
        }
        /* ///////////////// INDEX - ADS ///////////////// */

        #index .izaberi-pricu {
            position: relative;
            height: 880px;
            top: -20px;
            overflow: hidden; 
        }
        #index .ad-wrapper-80 {
            height: 100%;
            width: 1024px;
            margin: 0 auto;
        }
        #index .izaberi-pricu img {
            position: absolute;
            left: 60%;
            top: 250px;
            display: block;
            width: 270px;
            transform: none;
            transition: transform 0.5s ease;
        }
        #index .izaberi-pricu-p1 {
            font-size: 120px;
            top: 220px;
            left: 13%;
            font-stretch: 75%;
            font-weight: 468;
            transition: left 1s ease;
        }
        #index .izaberi-pricu-p2 {
            font-size: 120px;
            top: 328px;
            left: 33%;
            font-stretch: 75%;
            font-weight: 468;
            transition: left 1s ease;
        }
        #index .izaberi-pricu-p3 {
            font-size: 120px;
            top: 440px;
            left: 50%;
            font-stretch: 75%;
            font-weight: 468;
            transition: left 1s ease;
        }
        #index .izaberi-pricu:hover .izaberi-pricu-p1 {
            left: 14%;
        }
        #index .izaberi-pricu:hover .izaberi-pricu-p2 {
            left: 32%;
        }
        #index .izaberi-pricu:hover .izaberi-pricu-p3 {
            left: 51%;
        }
        #index .izaberi-pricu:hover > img {
            transform: scale(1.015);
        }
        #index .izaberi-pricu-p4 {
            text-align: center;
            font-size: 1.25rem;
            position: absolute;
            width: 350px;
            top: 630px;
            left: 50%;
            transform: translateX(-50%);
        }
        #index .izaberi-pricu button {
            position: absolute;
            display: block;
            top: 720px;
            left: 50%;
            transform: translateX(-50%);
            width: 200px;
            border: none;
            border-radius: 30px;
            font-size: 1rem;
            color: var(--white);
            font-weight: 400;
            padding: 15px 20px;
            background-color: #933E41;
            cursor: pointer;
            transition: transform 0.2s ease;
        }

/* ///////////////// Tamna je noc ///////////////// */

        .tamna-je-noc-ad {
            position: relative;
            height: 830px;
            top: 100px;
            overflow: hidden;
        }
        .tamna-je-noc-ad img {
            width: 420px;
            top: 290px;
            left: 19%;
            transition: transform 0.5s ease;
        }
        .tamna-je-noc-ad:hover img {
            transform: scale(1.05);
        }
        .tamna-je-noc-p1 {
            font-size: 30px;
        }
        .tamna-je-noc-p2 { /* tamna */
            left: 50%;
            font-size: 324px;
            top: -50px;
            transition: left 0.9s ease;
        }
        .tamna-je-noc-ad:hover .tamna-je-noc-p2 {
            left: 48%;
        }
        .tamna-je-noc-p3 { /* je */
            font-size: 160px;
            top: 230px;
            left: 20%;
            transition: left 0.9s ease;
        }
        .tamna-je-noc-ad:hover .tamna-je-noc-p3 {
            left: 22%;
        }
        .tamna-je-noc-p4 { /* noc */
            font-size: 230px;
            top: 235px;
            left: 58%;
            transition: left 0.9s ease;
        }
        .tamna-je-noc-p5 {
            font-size: 1rem;
            width: 70%;
            text-align: center;
            top: 620px;
            left: 50%;
            transform: translateX(-50%);
        }
        .tamna-je-noc-ad:hover .tamna-je-noc-p4 {
            left: 60%;
        }
        #index .tamna-je-noc-ad button {
            top: 520px;
            left: 74%;
        }

/* ///////////////// Cisti ponedeljak ///////////////// */
        
        .ponedeljak-ad {
            position: relative;
            height: 800px;
            top: 60px;
            overflow: hidden;
        }
        .ponedeljak-ad img {
            width: 500px;
            top: 330px;
            left: 9%;
            transition: transform 0.5s ease;
        }
        .ponedeljak-ad:hover img {
            transform: scale(1.02);
        }
        .ponedeljak-p1 {
            font-size: 26px;
            left: 50%;
        }
        .ponedeljak-p2 { /* cisti */
            font-size: 250px;
            left: 24%;
            top: -30px;
            transition: left 0.9s ease;
        }
        .ponedeljak-ad:hover .ponedeljak-p2 {
            left: 22%;
        }
        .ponedeljak-p3 { /* ponedeljak */
            font-size: 165px;
            top: 160px;
            left: 7%;
            transition: left 0.9s ease;
        }
        .ponedeljak-p4 {
            font-size: 1rem;
            width: 70%;
            text-align: center;
            top: 600px;
            left: 50%;
            transform: translateX(-50%);
        }
        .ponedeljak-ad:hover .ponedeljak-p3 {
            left: 10%;
        }
        #index .ponedeljak-ad button {
            top: 440px;
            left: 73%;
        }


        /* ///////////////// BOOK - CARD ///////////////// */

        .book-card:hover {
            transform: scale(1.02);
            box-shadow: rgba(0, 0, 0, 0.1) -4px 9px 25px -6px;
        }
        .book-card {
            max-width: 140px;
            height: auto;
            padding: 12px;
            border-radius: 26px;
        }
        .book-card img {
            height: 200px;
        }
        .book-card p.book-card-title {
            font-size: 18px;
            padding: 6px 0;
            height: 100px;
        }
        .book-card p.book-card-author {
            font-size: 15px;
            width: 140px;
            height: 20px;
        }
        .book-card p.book-card-price {
            font-size: 16px;
        }

        /* ///////////////// BOOK ///////////////// */

        #book main {
            padding-top: 250px;
        }
        #book main .book-info-wrapper {
            gap: 60px;
        }
        #book .book { /* background korice i img */
            flex: 1;
            background-color: var(--black30);
            padding: 52px 32px;
            max-height: 445px;
            box-sizing: border-box;
            border-radius: 20px;
            display: flex;
            justify-content: center;
        }
        #book .book img {
            display: block;
            width: 240px;
            height: auto;
            border-radius: 16px;
            box-shadow: ""; /* vidi */
        }
        #book .book-info p#book-description-text {
            min-height: 99px;
        }
        #book section.declaration table#book-declaration {
            width: 70%;
        }
        #book section.declaration #about-author {
            width: 70%;
        }
        #book main .book-info-wrapper {
            flex-direction: row;
        }
        #book main .book-info-wrapper {
            align-items: center; /* vidi, mozda i flex-start */
        }
        #book .book-info h1, #book .book-info h2 {
            text-align: left;
        }
        #book .book-info h1 {
            font-size: var(--h1-PC-Title);
        }
        #book .book-info h2 {
            font-size: 1.5rem;
            margin: 0;
            margin: 10px 0 20px;
        }
        #book .book-info {
            text-align: left;
        }
        #book .book-info p#book-price {
            margin: 20px 0;
        }
        #book .book-info button#action-button {
            margin: 0;
        }
        #book .book-info button#show-more:hover {
            background-color: var(--black30);
        }
        #book section.declaration {
            margin: 140px 0;
        }


        /* ///////////////// NOVOSTI ///////////////// */


        #novosti main {
            padding: 150px 0 100px;
        }
        #novosti main h1 {
            font-size: var(--h1-PC-Title);
        }
        #novosti .news-wrapper h2 {
        font-size: 2.25rem;
        }
        #novosti .news-wrapper p {
        font-size: 1rem;
        }
        #novosti main .wrapper-80 {
            width: 80%;
        }
        #novosti main .wrapper-90 {
            width: 80%;
        }
        #novosti article:hover {
            transform: scale(1.02);
        }
        #novosti article:active {
            transform: scale(0.98);
        }

        /* ///////////////// NOVOST TEMPLATE ///////////////// */

        body.novost .news-hero {
            height: 85vh;
        }
        body.novost .news-hero img {
            height: 85vh;
        }
        body.novost .news-hero h1 {
            font-size: 5rem;
            bottom: 20%;
        }
        body.novost .news-hero p {
            bottom: 15%;
        }
        body.novost .wrapper-35 {
            width: 35%;
        }

        /* ///////////////// KATALOG ///////////////// */
        
        #katalog .wrapper-90 {
            width: 90%;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: center;
        }

        /* ///////////////// BIBLIOTEKA ///////////////// */

        body.biblioteka-page #biblioteka-intro-header {
            padding: 10px 16px;
            gap: 18px;
        }
        body.biblioteka-page #biblioteka-intro {
            margin-bottom: 20px;
        }
        body.biblioteka-page #biblioteka-intro-img {
            width: 60px;
            height: 60px;
        }
        body.biblioteka-page #biblioteka-intro-img img {
            max-height: 60px;
        }
        body.biblioteka-page .biblioteka-intro-title h1 {
            line-height: 1.2;
            font-size: 1.75rem;
        }
        body.biblioteka-page .biblioteka-intro-title p {
            line-height: 0.5;
            font-size: 1rem;
        }
        #biblioteka-intro.expanded {
            width: 702px;
        }
        .biblioteka-page main .wrapper-60 {
            display: flex;
            justify-content: center;
            padding: 8px 0 35px;
        }

        /* ///////////////// PORUCIVANJE ///////////////// */

        #poruci .form-title h1 {
            font-size: 2.5rem;
        }
        #poruci label {
            font-size: 1.125rem;
            padding: 20px 0 8px 0;
        }
        #poruci input, textarea {
            padding: 12px;
        }
        #poruci .form-column {
            flex-direction: row;
            gap: 20px;
            justify-content: space-between;
        }
        #poruci .form-row {
            gap: 20px;
        }
        #poruci button[type="submit"] {
            width: 60%;
            font-size: 1.4rem;
        }
        /* ///////////////// O BERNARU ///////////////// */

        #obernaru .obernaru-quote {
            height: 200px;
            width: 1024px;
        }
        .obernaru-p1 {
            font-size: 95px;
            top: -30%;
            left: 9%;
        }
        .obernaru-p2 {
            font-size: 95px;
            top: 10%;
            left: 12%;
        }
        .obernaru-p3 {
            font-size: 20px;
            top: 130%;
            left: 50%;
            transform: translate(-50%);
        }
        #obernaru hr {
            top: 155%;
        }
        .obernaru-p4 {
            top: 170px;
            width: 50%;
            max-width: none;
        }
        #obernaru img[src="svgs/quotes.svg"] {
            height: 50px;
        }
        #obernaru .quote1 {
            top: 64%;
            left: 3%;
        }
        #obernaru .quote2    {
            top: 55%;
            left: 90%;
        }


        
    @media (min-width: 1156px) {
        #katalog .wrapper-90 {
            width: 1040px;
        }
    }
    @media (min-width: 1500px) {

        #katalog .wrapper-90 {
            width: 1500px;
        }
        #katalog .biblioteka-title {
            font-size: 38px;
        }
        #katalog .biblioteka {
            max-width: none;
            width: 400px;
            padding: 55px 0 30px;
        }
        #katalog .biblioteka-p1 {
            font-size: 15px;
        }
        #katalog .biblioteka img {
            width: 280px;
        }
    }
}

@keyframes growBounce {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.13);
  }
  60% {
    transform: scale(0.96);
  }
  80% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}