﻿.abstract {
    background-image: url(../images/bgwhite.png);
    width: 100vw;
    height: 80vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
}

.dark-mode .abstract {
    background-image: url(../images/bgblack.png);
}

.textabstract {
    padding: 120px 0px 100px 50px;
}

.icon {
    width : 270px;
    height : 270px;
}

.abstract h1,h2 {
    font-family: 'TextBoldPS';
    line-height: 0.8;
}

.abstract h3 {
    font-family: 'TextBoldItalicPS';
    font-size: 20px;
    color: rgba(1, 1, 1, 0.5)
}

.dark-mode .abstract h3 {
    color: rgba(255, 255, 255, 0.5)
}

.row1 {
    font-size:8.52vw;

}
.row2 {
    font-size: 5.08vw;

}
.row3 {
    font-size: 5.35vw;
}
.row4 {
    font-size: 3.72vw;
    padding-bottom: 15px;
    border-bottom: 10px solid black;
}

.dark-mode .row4 {
    border-bottom: 10px solid white;
}

/*PRVA SEKCIJA*/

.sectionfirst {
    padding: 100px 0 20px 0;
    text-align: center;
}

    .sectionfirst h1 {
        text-align:start;
        font-family: 'TextBoldItalicPS';
        font-size: 30px;
        border-bottom: 2px red solid;
        width:50vw
    }

        .sectionfirst h1 strong {
            color: #be1d2c;
            font-size: 35px;
        }

    .sectionfirst h2 {
        text-align: start;
        font-family: 'NormalPS';
        font-size: 22px;
        line-height:1.5;
    }

    .sectionfirst h3 {
        padding-top:40px;
        padding-bottom:10px;
        font-family: 'BoldPS';
        font-size: 20px;
        text-align:center;
    }

    /* Onemogući interakciju sa object elementom */
    .sectionfirst object {
        pointer-events: none;

    }

    .sectionfirst button {
        background-color:transparent;
        border:none;
        display: inline-block; /* Pobrinite se da a tag bude blok-level za primenu transformacije */
        transition: transform 0.5s ease-in-out; 
    }
        .sectionfirst button:hover {
            transform: scale(1.15);
            cursor: pointer;
        }

.dark-mode .sectionfirst button object {
    filter: invert(0) !important;
}

.sectionfirst button object {
    filter: invert(1) !important;
    transition: filter 0.3s ease;
}


.sectionsecond {
    background-color: #be1d2c;
    margin: 50px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: rgba(133, 0, 12, 0.4) 5px 5px, rgba(133, 0, 12, 0.3) 10px 10px, rgba(133, 0, 12, 0.2) 15px 15px, rgba(133, 0, 12, 0.1) 20px 20px, rgba(133, 0, 12, 0.05) 25px 25px;
}
    .sectionsecond h1 {
        text-align: center;
        font-family: 'TextBoldItalicPS';
        font-size: 35px;
        color: white;
    }

    .sectionsecond h1 strong{
        font-size: 50px;
        color: white;
        text-shadow: 5px 4px 1px black;
    }


    .sectionsecond h2 {
        text-align: start;
        font-family: 'NormalPS';
        color: white;
        font-size: 22px;
        padding: 20px 30px 0 30px;
        line-height:1.2;
    }

.sectionsecond object {
    pointer-events: none;

}
    .sectionsecond button {
        text-align:end;
        background-color: transparent;
        border: none;
        display: inline-block; /* Pobrinite se da a tag bude blok-level za primenu transformacije */
        transition: filter 0.5s ease-in-out;
    }

        .sectionsecond button:hover {
            cursor: pointer;
            filter: invert(1);
        }

    .sectionsecond p {
        text-align: start;
        font-family: 'NormalPS';
        color: white;
        font-size: 17px;
    }

    .sectionsecond .panketa {
        text-align: start;
        font-family: 'BoldPS';
        color: white;
        font-size: 15px;
    }

        .sectionsecond .panketa strong {
            color: black;
            font-size: 17px;
        }

    .sectionsecond .row {
    padding: 20px 20px;
    }

    .sectionsecond .row p{
        text-align: justify !important;
        padding: 0 0 10px 40px
    }


    .sectionsecond img {
    width:220px;
    }

    .sectionsecond ul {
        padding-left: 60px;
        font-size: 22px;
        font-family:'TextBoldPS';
        border-right: 2px solid white;
        list-style:none; 
    }

    .sectionsecond .ligreen {
        color:lawngreen;
    }

    .sectionsecond .liyellow {
        color: yellow;
    }


    .sectionsecond .liorange {
        color: orange;
    }

    .sectionsecond .liredorange {
        color: orangered;
    }

    .sectionsecond hr {
    color:white;
    margin-bottom:20px;
    }


.sectionthird {
margin:200px 0 -100px 0;

}

.verticaltext {
    writing-mode: vertical-rl;
    text-orientation: upright;
    text-align: start;
    font-size: 70px;
    font-family: 'TextBoldPS';
    letter-spacing: -5px;
    margin: 0;
    text-shadow:rgba(133, 0, 12, 0.4) -5px 5px, rgba(133, 0, 12, 0.3) -10px 10px, rgba(133, 0, 12, 0.2) -15px 15px, rgba(133, 0, 12, 0.1) -20px 20px, rgba(133, 0, 12, 0.05) -25px 25px;
}

.cardservice {
    background-color: #be1d2c;
    width: 20vw !important;
    border-radius: 15px;
    padding: 30px;
    color: white;
    text-align: center;
    transition: transform 0.5s ease, box-shadow 1s ease-in-out;
}

    /* Sjene za različite kartice */
    .cardservice:nth-child(1) {
        box-shadow: rgba(133, 0, 12, 0.4) -5px 5px, rgba(133, 0, 12, 0.3) -10px 10px, rgba(133, 0, 12, 0.2) -15px 15px;
    }

    .cardservice:nth-child(2) {
        box-shadow: rgba(133, 0, 12, 0.4) -5px 5px, rgba(133, 0, 12, 0.3) -10px 10px, rgba(133, 0, 12, 0.2) -15px 15px;
    }

    .cardservice:nth-child(3) {
        box-shadow: rgba(133, 0, 12, 0.4) 5px 5px, rgba(133, 0, 12, 0.3) 10px 10px, rgba(133, 0, 12, 0.2) 15px 15px;
    }

    .cardservice:nth-child(4) {
        box-shadow: rgba(133, 0, 12, 0.4) 5px 5px, rgba(133, 0, 12, 0.3) 10px 10px, rgba(133, 0, 12, 0.2) 15px 15px;
    }

    .cardservice:hover {
        transform: translateY(-5px);
        box-shadow: rgba(133, 0, 12, 0.4) 0px 5px, rgba(133, 0, 12, 0.3) 0px 10px, rgba(133, 0, 12, 0.2) 0px 15px, rgba(133, 0, 12, 0.1) 0px 20px, rgba(133, 0, 12, 0.05) 0px 25px;
    }

    .cardservice object {
    padding-bottom:30px;
    background-image: url('file:///C:\Users\PC\Desktop\logooptimizacijaoglasavanje.svg');
    }

    .cardservice p {
        font-family: 'BoldPS';
        opacity: 0.9;
        font-size: 14px;
        text-align:center;
    }

.abstractcard {
    text-align: start !important;
    border-top: 2px white solid;
    border-bottom: 2px white solid;
    padding: 20px 0 20px 0;
}

.card-inner {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.cardservice.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: white;
    text-align: center;
}

.card-front {
    background-color: #be1d2c;
}

.card-back {
    background-color: #8c1a1f;
    transform: rotateY(180deg);
}

.flip-btn {
    background-color: white;
    color: #be1d2c;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.backbtn {
    background-color: transparent;
    border: none;
    color: white;
    position: absolute;
    bottom: 1%;
    left: 2%;
    transition: all ease 0.5s;
    font-size: 30px;
}

    .backbtn:hover {
        transform:scale(1.2);
    }

.frontbtn {
    opacity:0.4;
    transition:all ease-in-out 0.5s;
}

.frontbtn:hover {
    background-color: white;
    opacity:0.8;
}

.detailsbtn {
    background-color: transparent;
    border: none;
    color: white;
    position: absolute;
    bottom: 2%;
    right: 6%;
    transition: all ease 0.5s;
    font-size: 25px;
    text-decoration: underline;
    font-family: 'TextBoldItalicPS';
}
    .detailsbtn:hover {
        transform: scale(1.1);
        color: white;
        cursor:pointer;
    }


.afterabstract {
text-align:end;
margin-top: 30px;
font-family:'TextBoldItalicPS';
font-size:25px;
}


/*TELEFON*/
@media (max-width: 750px) {

    .abstract {
        width: 100vw;
        height: 570px;
    }
    .textabstract {
        padding: 50px 10px 0 10px;
        text-align:center;
    }

    .icon {
        width: 50vw;
        height: 50vw;
    }

    .row1 {
        font-size: 12vw;
    }

    .row2 {
        font-size: 7.1vw;
    }

    .row3 {
        font-size: 7.46vw;
    }

    .row4 {
        font-size: 5.2vw;
        padding-bottom: 15px;
        border-bottom: 3px solid black;
    }

    .dark-mode .row4 {
        border-bottom: 3px solid white;
    }

    .abstract h3 {
        padding: 0 15px 15vw 15px;
        font-size: 3.7vw;
        text-align:end;
    }



    .sectionfirst {
        margin: 0 5px !important;
        padding: 50px 10px 40px 10px !important;
    }

        .sectionfirst h1 {
            font-size: 22px;
            width: 100% !important
        }

            .sectionfirst h1 strong {
                font-size: 27px;
            }

        .sectionfirst h2 {
            font-size: 16px;
        }

        .sectionfirst h3 {
            padding-top: 40px;
            padding-bottom: 10px;
            font-size: 12px;
        }


    .sectionsecond {
        margin: 20px;
        padding: 20px 10px;
    }

        .sectionsecond h1 {
            font-size: 20px;
        }

            .sectionsecond h1 strong {
                font-size: 25px;
                text-shadow: 2px 2px 1px black;
            }


        .sectionsecond h2 {
            font-size: 16px;
            padding: 20px 10px 0 10px;
        }

        .sectionsecond button {
            padding: 20px 10px 20px 0;
        }

        .sectionsecond p {
            text-align: start;
            font-size: 14px;
        }

        .sectionsecond .panketa {
            text-align: start;
            font-size: 14px;
        }

            .sectionsecond .panketa strong {
                font-size: 15px;
            }

        .sectionsecond .row {
            padding: 20px 0px;
        }

            .sectionsecond .row p {
                text-align: start !important;
                padding: 20px 0 20px 0
            }


        .sectionsecond img {
            width: 100%;
        }

        .sectionsecond ul {
            padding-left: 10px;
            font-size: 14px;
            border-right: none;
            padding-bottom:20px;
            border-bottom: 2px solid white;
            list-style: none;
        }

        .sectionsecond hr {
            color: white;
            margin-bottom: 20px;
        }


    .sectionthird {
        margin: 70px 0 -120px 0 !important;
    }

    .sectionthird .row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; 
        justify-content: center !important; 
        text-align: center !important; 
    }

    .verticaltext {
        writing-mode: horizontal-tb;
        font-size: 60px;
        letter-spacing: 15px;
        margin:30px 0px 40px 10px;
        text-align:center;

    }

    .cardservice {
        height: 440px;
        width: 80vw !important;
        padding: 30px;
        margin-bottom: 30px;
    }

        .cardservice object {
            padding-bottom: 20px;

        }

        .cardservice p {
            font-size: 13px;
        }

    .afterabstract {
        margin-top: 10px;
        font-size:16px;
    }
}


/*TABLET*/
@media (min-width: 750px) and (max-width: 1000px) {

    .abstract {
        width:100%;
        height: 80vh;
        text-align:center;
    }

        .abstract .col-md-8, .abstract .col-md-4 {
        width: 100vw !important;
        }

    .textabstract {
        padding: 70px 60px 0px 60px;
    }

    .icon {
        width: 270px;
        height: 270px;
    }

    .row1 {
        font-size: 11vw;
    }

    .row2 {
        font-size: 6.6vw;
    }

    .row3 {
        font-size: 6.9vw;
    }

    .row4 {
        font-size: 4.8vw;
        padding-bottom: 10px;
        border-bottom: 6px solid black;
    }

    .dark-mode .row4 {
        border-bottom: 6px solid white;
    }

    .abstract h3 {
        padding: 0 0px 10vh 0px;
        font-size: 3vw;
        text-align: end;
    }

    .icon {
        width: 30vw;
        height: 30vw;
    }


    .sectionfirst {
        margin: 0 20px !important;
        padding: 70px 30px 40px 30px !important;
    }

        .sectionfirst h1 {
            font-size: 28px;
            width: 100% !important
        }

            .sectionfirst h1 strong {
                font-size: 33px;
            }

        .sectionfirst h2 {
            font-size: 19px;
        }

        .sectionfirst h3 {
            padding-top: 50px;
            padding-bottom: 10px;
            font-size: 18px;
        }


    .sectionsecond {
        margin: 30px;
        padding: 20px 20px;
    }

        .sectionsecond h1 {
            font-size: 30px;
        }

            .sectionsecond h1 strong {
                font-size: 35px;
            }


        .sectionsecond h2 {
            font-size: 20px;
            padding: 20px 10px 0 10px;
        }

        .sectionsecond button {
            padding: 20px 10px 20px 0;
        }

        .sectionsecond p {
            text-align: justify;
            font-size: 20px;
        }

        .sectionsecond .panketa {
            text-align: center;
            font-size: 20px;
        }

            .sectionsecond .panketa strong {
                font-size: 20px;
            }

        .sectionsecond .row {
            padding: 20px 0px;
        }

            .sectionsecond .row p {
                text-align: justify !important;
                padding: 0px 0 20px 0
            }


        .sectionsecond img {
            width: 100%;
        }

        .sectionsecond ul {
            font-size: 20px;
        }




    .sectionthird {
        margin: 70px 0 -120px 0 !important;
    }

        .sectionthird .row {
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            justify-content: center !important;
            text-align: center !important;
        }

    .verticaltext {
        writing-mode: horizontal-tb;
        font-size: 90px;
        letter-spacing: 25px;
        margin: 30px 0px 40px 0px;
        text-align: center;
        width: 100%;
    }

    .cardservice {
        height: 440px;
        width: 90vw !important;
        padding: 50px;
        margin-bottom: 30px;
    }

        .cardservice object {
            padding-bottom: 40px;
            background-image: url('file:///C:\Users\PC\Desktop\logooptimizacijaoglasavanje.svg');
            width: 33vw;
        }

        .cardservice p {
            font-size: 18px;
        }

    .afterabstract {
        margin-top: 10px;
        font-size: 22px;
    }
}