:root {
    --button-and-link: #e13f3d;
    --a-link-hover: #b61411;
    --btn-txt-color: #fff;
    --step-number-color: #FA292A;
    --bcg-color: #000;
    --card-bcg-color: transparent;
    --qa-bcg-color: transparent;
    --txt-color: #fff;
    --txt-color-link-hover: #afafaf;
    --invert-txt-color: #fff;
    --step-bcg: #24374D;
    --foot-button: #284B71;


    --explanations-font: 'Georgia Regular', serif;
    --explanations-font-bold: 'Georgia Bold', serif;
    --explanations-font-bold-italic: 'Georgia Bold Italic', serif;
    
    --button-font: 'Slabo 27px', serif;
    --subtitles-font: 'Slabo 27px', serif;

    --card-addons-title-font: "Archivo", sans-serif;
    --title-font: "Archivo", sans-serif;
    --price-font: "Archivo", sans-serif;
}

body {
    color: var(--txt-color);
    background-color: var(--bcg-color);
    background-image: url(https://eph-adsjutarnji.cdn.sysbee.net/dev/pretplata/bf-background-2025.svg);
    background-repeat: no-repeat;
    background-position: center -2rem;
    background-size: 110%;
    }

.t3-footer {
    background-color: transparent;
}


#ocmContainer {

    .section-white,
    .section-pretplata {
        a {
            color: var(--button-and-link);

            &:hover {
                color: var(--a-link-hover);
            }
        }
    }


    .section-pretplata { 
        padding: 12px 0;
        margin-top: 0px;
    }

    .logo { 
        width: 30%; max-width: 135px; 
    }

    .bf-title, 
    .bf-discount {
        font-family: "Archivo", sans-serif;
        font-variation-settings:"wdth" 125;
        font-weight: 900;
        font-style: italic;
        line-height: 0.9;
    }

    .bf-title {
        color: #ffffff;
        font-size: 7rem;
        margin-top: 0rem;
    }

    .bf-discount {
        color: #EB3335;
        font-size: 9.5rem;
        margin-block: 0.5rem 2.5rem;
    }


    .r1-text {
        color: var(--txt-color); 
    }

    .r1 { 
        font-family: var(--subtitles-font);
    }


    .nyt-banner {
        justify-content: center;
        margin-block: 50px;  
    }

    .nyt-banner-img {
        width: 300px;
        height: 250px;
        background-color: #121212;
        outline: 1px solid #2e2e2e;

        display: flex;
        justify-content: center;

        iframe {
            width: 100%;
            height: 100%;

            &.desk-banner {
                display: none;
            }
        }
    }

    &.poklon-pretplata_page {
        .nyt-banner-img {
            margin-block: 5rem 0;
        }
    }


    .sto-dobivas {
        p {
            color: var(--txt-color);
        }
        .nabrajanje {
            p {
                font-family: var(--explanations-font);
            }
        }
    }

    .addon.postojeci-pretplatnici {
        .nabrajanje {
            p {
                font-family: var(--explanations-font);

                &.postupak {
                    cursor: text;
                
                    &::before {
                        content: "";
                        display: block;
                        background-color: #fff;
                        width: 6px;
                        height: 6px;
                        border-radius: 50%;
                        position: absolute;
                        top: 0.9rem;
                        left: -0.2rem;
                    }
                }
                
            }
        }
    }

    span.bullet-row {
        &::before {
            background-color: var(--txt-color);
        }
    }

    h1, h2 {
        line-height: 1.2;
    }

    .naslov h1 {  
        font-family: var(--title-font);
        color: var(--txt-color);
        font-weight: 700;
        font-variation-settings: "wdth" 72;  
    } 

    .naslov-text {
        h1, h2 {
            font-family: var(--subtitles-font);
        }
        h1 { 
            font-size: 40px;   
        }  
        h2 { 
            font-size: 20px;   
        } 
    }


    .korisnicki-racun {
        h1 {
            font-family: 'Slabo 27px', serif;
            background-color: #F6F6F6;
            color: #808080;
            border-radius: 20px;
        }
        
        a {
            color: var(--txt-color);
        }
        
        a:hover h1 {
            color: var(--txt-color-link-hover);
        }
    }

    .pitanje {  
        background-color: var(--qa-bcg-color);
        } 

    .plusich {
        font-family: var(--explanations-font-bold);
        color: var(--txt-color);
        }


    .naslov-text h2 {
        padding: 0 1rem;
        }


    h2 {
        font-family: var(--title-font);
        font-variation-settings:"wdth" 62;
        color: var(--txt-color);
        }

    p, .pitanje h3 {    
        font-family: var(--title-font);
        font-variation-settings: "wdth" 75;
        font-weight: 620;
        color: var(--txt-color);
        }


    .odgovor {
        font-family: 'Georgia Regular', serif;
    }

    .sto-dobivas p {
        font-variation-settings: "wdth" 75;
        font-weight: 600;
    }


    /*   TIMER   */

    .timer { 
        font-family: "Archivo", sans-serif;
        font-variation-settings:"wdth" 62;
        margin: 28px auto 40px auto;
    }


    .time-days,
    .time-hour, 
    .time-min,
    .time-sec {
        position: relative;
        font-size: 54px;
        line-height: 1;
        font-weight: 800;
        width: 76px;
        margin: 0;
        padding: 0;

        &::before {
            position: absolute;
            top: 0;
            bottom: 0;
            content: "";
            background-color: transparent;
            left: -1px;
            right: -1px;
            border-left: 1px solid #e0e0e0;
            border-right: 1px solid #e0e0e0;
        }

    }

        
    .time.time-days:after,
    .time.time-hour:after, 
    .time.time-min:after,
    .time.time-sec:after {
    text-transform: lowercase;
    font-variation-settings:"wdth" 75;
    font-size: 16px;
    font-weight: 500;
    bottom: -28px;
    }


        
    @media (min-width: 768px) { 

        .naslov-text { 
            margin: 12px 0 136px 0;
        }
        
        .time-days,
        .time-hour, 
        .time-min,
        .time-sec {
            font-size: 70px;
            width: 110px;
        }

        &.page--daruj-pretplatu,
        &.poklon-pretplata_page {
            .red-background,
            .media--background {
                background: linear-gradient(var(--bcg-color), var(--bcg-color) 50%, #EB3335 50%, #EB3335);
                padding-block: 12rem 10rem;
                margin-bottom: 7rem;
            }
        }
    }

    @media (min-width: 992px) {

        .bf-title, 
        .bf-discount {
            line-height: 1;
        }

        .bf-discount {
            font-size: 16.5rem;
            margin-block: -2.5rem 2.5rem;
        }

        .bf-title {
            font-size: 11rem;
            margin-top: -2rem;
        }

    }


    @media (min-width: 1024px) {

        .timer { 
            margin: 28px auto 12px auto;
        }

        .section-pretplata { 
            padding: 12px 0;
            margin-top: 0px;
        }

        .naslov-text {
            h1 { 
                font-size: 60px;   
            }  
        }

        &.poklon-pretplata_page {
            .citajte-vise {
                .nyt-logo {
                    max-width: 310px;
                    transform: translateX(-6px);
                    margin-block: 3rem 8rem;

                    &::before {
                        left: -32px;
                        font-size: 35px;
                    }
                }
            }
        }

    }

        
    @media (min-width: 1280px) {

        &.page--daruj-pretplatu,
        &.poklon-pretplata_page {
            img.logo { 
                margin-block: 0 15.2rem;
            }
            .red-background,
            .media--background {
                background: linear-gradient(var(--bcg-color), var(--bcg-color) 37.5rem, #EB3335 37.5rem, #EB3335);
            }
        }

        &.poklon-pretplata_page {
            img.logo { 
                margin-block: 0 15.2rem;
            }
        }

        .nyt-banner-img {
            width: 1245px;
            height: 250px;

            iframe {
                width: 100%;
                height: 100%;

                &.mob-banner {
                    display: none;
                }
                &.desk-banner {
                    display: block;
                }
            }
        }

        &.poklon-pretplata_page {
            .nyt-banner-img {
                margin-block: 6rem 7rem;
            }
        }

        .dvg-pretplate {
            margin-block: 172px 0;
        }

    }


/* DARUJ PREMIUM FLOATER */

    .gift-floater,
    .gift-floater-mob {
        .gift-floater-circle {
            background: var(--button-and-link);
            p.floater-text {
                font-family: 'Slabo 27px', serif;
            }
        }
    }

    @media (min-width: 1680px) {

        .gift-floater {
            /* --value: min(var(--scroll), 65) * 30 / 8;
            top: calc(32rem + 1vw * var(--value));
            transition: 1s top cubic-bezier(0.11, 0.18, 0.57, 0.77); */
            top: calc(32rem + 1vw / 4 * var(--scroll));
        }
    }

    /* @media (min-width: 2200px) {
        .gift-floater {
            --value: min(var(--scroll), 65) * 39 / 14;
        }
    } */

}



/* NAVBAR FIX */

.main-nav {
    display: flex;
}

@media (min-width: 1024px) {
    .navbar-nav {
        margin: 0 auto;
    }
}

/* BACK TO TOP FIX */

.back2top-div {
    border-top: none;
    margin-bottom: 16rem;
    padding-top: 10.8rem;
    margin-top: 0;

    &::after {
        position: absolute;
        background: linear-gradient(#00000000, #000000e0 80%);
        content: "";
        bottom: -16rem;
        left: 0;
        right: 0;
        height: 14rem;
    } 
}

.arrow_to_top {
    display: none;
}

.impressum__back2top {
    position: relative;
    color: #121212;
    background-color: #F6F6F6;
    padding: 8px 0;
    width: 90%;
    transform: none;

    &::before {
        position: absolute;
        top: -28px;
        left: 50%;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
        font-family: "Font Awesome 6 Sharp";
        font-size: 36px;
        content: "\f106";
        font-weight: 400;
        color: #FA292A;
    }
}

@media (min-width: 992px) {

    body {
        background-position: center 1rem;
        background-size: unset;
    }
}


@media (min-width: 1024px) {

    .impressum__back2top {
        width: 40rem;
    }

}

@media (min-width: 1280px) {

    .impressum__back2top {
        width: 60rem;
    }

}
