@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&family=Dynalight&family=Italianno&family=Merriweather+Sans:wght@300&family=Montserrat:wght@300;400&family=Open+Sans:wght@300&family=Poiret+One&family=Quicksand:wght@300&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Playfair Display", serif;
}

body {
    margin: 0;
    padding: 0;
    /*background-color: #f2ede7;*/
    background-image: url("images/background3.jpg");
}

/*HEADER*/

/*INFO COVER*/
.videoHomePage {
    min-height: 100vh;
    background-image: linear-gradient(rgba(8, 2, 29, 0.5), rgba(8, 2, 29, 0.5)); 
    position: relative;
    padding: 0;
    overflow: hidden;
    margin-bottom: 100px;
}

.backgroundVideo {
    position: absolute;
    /*right: 0;
    bottom: 0;*/
    z-index: -1;
    min-width: 100%;
    min-height: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/*NAVIGACIJA*/
.navbar {
    position: fixed;
    padding: 13px 19px;
    display: inline-block;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    background-color: rgba(8, 2, 29, 0.4);
    z-index: 1;
}

.navbar a {
    color: white;
    font-size: 25px;
    font-weight: lighter;
    text-decoration: none;
}

.navbar .nav-links ul {
    display: flex;
}

.navbar .nav-links ul li{
    margin: 0px 25px;
    list-style: none;
}

.navbar .nav-links ul li.active a {
    color: #803f55;
}

.navbar .nav-links ul li:hover a {
    color: #803f55;
    transition-duration: 0.2s;
}

.dropdown{
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: 25px;    
    border: none;
    outline: none;
    color: white;
    background-color: inherit;
    
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: #803f55;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn {
    color: #803f55;
    transition-duration: 0.2s;
    cursor: pointer;
  }
  
  .dropdown-content a:hover {
    background-color: rgba(8, 2, 29, 0.4);
    color: white;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }

/*NAVIGACIJA TELEFON*/

.navbar #menu-hamburger{
    display: none;
    position: absolute;
    top: 40px;
    right: 50px;
    width: 40px;
    cursor: pointer;
}

/*NASLOVNA SLIKA*/
#coverImgSct {
    width: 100%;
    height: 700px;
}

.imgCover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*MAIN*/
h1{
    text-align: center;
    padding: 0px;
    color: #803f55;
    font-size: 40px;
}

p{
    padding:  10px 40px 10px 40px;
    font-size: 25px;
    color: #803f55;
    text-align: center;
    margin-bottom: 10px;
}

/*slider*/
.row {
    padding: 0px 20px 0px 20px;
    margin-bottom: 40px;
}

.row,
.row > .column {
    padding: 8px;
}

.column {
    float: left;
    width: 33.33%;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}
  
.content {
    padding: 10px;
    background-image: url("images/background3.jpg");
    border: 2px solid #8d4c62;
    border-radius: 20px;
    height: 85vh;
}

.content a{
    text-decoration: none;
}

.content a:hover{
    cursor: pointer;
}

.content:hover {
    transform: scale(1.1);
    transition: transform 0.2s;
}

.content h3{
    padding:  10px 40px 0px 40px;
    font-size: 25px;
    color: #803f55;
    text-align: center;
    text-decoration: underline 1px solid #803f55;
}

.content p{
    font-size: 20px;
    color: #803f55;
    text-align: justify;
}

.content .button {
    width: 200px;
    font-size: 18px;
    text-align: center;
    padding: 12px;
    border-radius: 30px;
    background-image: url("images/background3.jpg");
    border: 2px solid #803f55;
    color: #803f55;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

.content .button:hover{
    background-image: none;
    background-color: #803f55;
    color: white;
}

  
  /* Responsive layout - makes a two column-layout instead of four columns */
  @media screen and (max-width: 900px) {
    .column {
      width: 50%;
    }
  }
  
  /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 600px) {
    .column {
      width: 100%;
    }

    .content {
        height: auto;
    }

    .content p{
        text-align: center;
    }
  }

/*Uvod - O CRKVI- Section 1*/
.gridContainer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0px;
    overflow-x: hidden;
    margin: 50px 0px 50px 0px;
    
}

.gridContainer .gridContent{
    justify-content: flex-start;
    align-items:flex-start;
}

.gridContainer .gridContent h1{
    text-align: center;
    padding: 0px;
    color: #803f55;
    font-size: 30px;
}

.gridContainer .gridContent h4{
    text-align: justify;
    padding: 20px 40px 0px 40px;
    font-size: 22px;
    color: #803f55;
}

.gridContainer .gridContent p{
    padding:  10px 40px 10px 40px;
    font-size: 22px;
    color: #803f55;
    text-align: justify;
    margin-bottom: 10px;
}

.linkPar{
    text-decoration: none;
    color: #803f55;
}

.linkPar:hover{
    color: #ff4281;
}

.gridContainer img{
    width: 95%;
    height: 100%;
    display: grid;
}

.gridContainer2{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0px;
    overflow-x: hidden;
    margin: 10px 0px 10px 0px;
    background-color: #8d4c62;
}

.gridContent2{
    margin: 10px 0px 0px 0px;
    padding: 10px 20px 10px 20px;
    background-color: #8d4c62;
}

.gridContent2 h1{
    text-align: left;
    padding: 20px;
    color: #f2ede7;
    font-size: 25px;
    margin: 0;
}

.gridContent2 h4{
    text-align: left;
    padding: 0px 40px 0px 10px;
    font-size: 20px;
    color: #f2ede7;
}

.gridContent2 p{
    padding:  0px 10px 10px 10px;
    font-size: 20px;
    color: #f2ede7;
    text-align: justify;
    margin-bottom: 10px;
}

.gridContainer2 img{
    width: 800px;
    height: 100%;
    display: grid;
}

.gridContent2Img::after{
    display: table;
    content: "";
    clear: both;
}

.imgPosition{
    float: left;
    width: 50%;
    height: 50%;
    padding: 4px;
}

.gridContent2Img img{
    width: 100%;
    background-image: url("images/background3.jpg");
    padding: 10px;
}

/*BOGOSLUZENJA - Section 2*/
h2{
    text-align: center;
    color: #803f55;
    font-size: 30px;
    margin-bottom: 10px;
}

#bogosluzenjaSct h4{
    text-align: center;
    padding: 20px 40px 0px 40px;
    font-size: 22px;
    color: #803f55;
}

#bogosluzenjaSct ul{
    margin: 5px 0px 10px 0px;
}

#bogosluzenjaSct ul li{
    font-size: 22px;
    text-align: center;
    color: #803f55;
}

/*KONTAKT*/

.kontaktUl{
    font-size: 22px;
    color: #803f55;
    text-align: center;
    margin: 10px;
}

.kontaktUl h3{
    text-align: center;
    color: #803f55;
}

.kontaktUl li{
    padding-top: 5px;
}

.gridContainer iframe{
    width: 100%;
    height: 300px;
    align-items: center;
}

.h1Video {
    text-align: center;
}

div.frame {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    
}

#frameVideo p{
    display: none;
}

iframe {
    width: 50%;
    height: 50vh;
    background-image: url("images/background3.jpg");
    padding: 15px;
}

/*FOOTER*/
footer{
    margin: 40px 0px 0px 0px;
    background-color: white;
}

footer p{
    padding: 20px 0px 20px 0px;
    color: #8d4c62;
    text-align: center;
    font-size: 14px;
}

/*ZIVOT CRKVE*/
.podnaslovZivotCrkve{
    margin-top: 25px;
}

.img-gallery {
    width: 80%;
    margin: 30px auto 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
}

.img-gallery img {
    width: 100%;
    cursor: pointer;
}

.img-gallery img:hover{
    transform: scale(1.1);
    transition: transform 0.2s;
}

.full-img{
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.full-img img{
    max-width: 700px;
    height: auto;
}

.full-img span{
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.full-img .slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    cursor: pointer;
    color: #fff;
}

.full-img .slide.prev {
    left: 15%;
}

.full-img .slide.next {
    right: 15%;
}

.podnaslovZivotCrkve h2{
    margin-left: 100px;
    margin-right: 100px;
}

.podnaslovZivotCrkve a{
    text-decoration: underline 2px solid #803f55;
    color: #803f55;
}



/*RESPONSIVE*/
@media only screen and (max-width: 1150px) {
    h1{
        padding: 0px;
        font-size: 35px;
    }

    .gridContainer {
        display: grid;
        grid-template-columns: none;
        grid-gap: 30px;
        overflow-x: hidden;
        margin: 20px 30px 30px 30px;
    }

    .gridContainer img{
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 70%;
    }

    .gridContainer .gridContent h4{
        font-size: 20px;
        text-align: justify;
        padding: 20px 20px 0px 20px;
        color: #803f55;
    }
    
    .gridContainer .gridContent p{
        padding:  20px 0px 0px 20px;
        font-size: 20px;
        color: #803f55;
        text-align: justify;
        margin-bottom: 10px;
    }

    h2{
        font-size: 25px;
        margin-bottom: 20px;
    }

    .imgPosition{
        float: inherit;
        width: 100%;
        height: 50%;
        padding: 1px;
    }

    .gridContent2Img img{
        width: 100%;
        padding: 10px;
    }

    iframe{
        width: 50%;
        height: 50vh;
        padding: 10px;
    }

    .navbar a {
        color: white;
        font-size: 18px;
        font-weight: lighter;
        text-decoration: none;
    }

    /*NAVIGACIJA MOBILNI*/
    .navbar {
        background-color: unset;
    }

    .divHamburger{
        display: block;
    }

    .navbar #menu-hamburger{
        display: block;
        position: absolute;
        cursor: pointer;
        color: #632d3f;
        z-index: 2;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .nav-links{
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        background-color: rgba(44, 34, 78, 0.5);
        backdrop-filter: blur(7px);
        width: 100%;
        height: 100vh;
        margin-left: -100%;
        transition: all 0.4s ease;
    }

    .nav-links.mobile-menu {
        margin-left: 0;
    }

    .nav-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .navbar .nav-links ul li {
        margin: 25px 0px;
        list-style: none;
        font-size: 2em;
    }

    .dropdown .dropbtn {
        font-size: 17px;    
    }

    .podnaslovZivotCrkve h2{
        margin-left: 80px;
        margin-right: 80px;
    }

    .img-gallery img:hover{
        transform: none;
    }

    .full-img .slide.prev {
        left: 5%;
    }
    
    .full-img .slide.next {
        right: 5%;
    }
} 

@media only screen and (max-width: 600px) {
    h1{
        text-align: center;
        padding: 0px 10px 0px 10px;
        margin-bottom: 10px;
        font-size: 35px;
    }

    .gridContainer {
        margin: 20px 10px 30px 10px;
    }

    .gridContainer img{
        width: 100%;
    }

    .gridContainer .gridContent h4{
        text-align: center;
        padding: 0px 10px 0px 10px;
        font-size: 20px;
    }
    
    .gridContainer .gridContent p{
        padding:  15px;
        font-size: 20px;
        text-align: justify;
    }

    h2{
        font-size: 22px;
    }

    .gridContent2Img img{
        width: 100%;
        padding: 10px;
    }
    
    .gridContent2 h4{
        text-align: left;
        padding: 0px 40px 0px 10px;
        font-size: 20px;
        color: #f2ede7;
    }

    .gridContent2 h1{
        text-align: center;
    }
    
    iframe {
        width: 100%;
        height: 50vh;
        padding: 10px;
    }
    
    #bogosluzenjaSct ul{
        margin: 5px 0px 10px 0px;
    }
    
    #bogosluzenjaSct ul li{
        font-size: 20px;
        text-align: center;
    }

    h4{
        font-size: 16px;
    }

    .kontaktUl{
        font-size: 20px;
        text-align: center;
        margin: 10px;
    }
    
    .kontaktUl li{
        padding-top: 5px;
    }

    h3{
        font-size: 22;
    }
    
    /*FOOTER*/
    footer p{
        padding: 10px 0px 10px 0px;
        font-size: 10px;
    }

    .podnaslovZivotCrkve h2{
        margin-left: 40px;
        margin-right: 40px;
    }

    .full-img img{
        max-width: 400px;
        height: auto;
    }

    /*OBAVESTENJE*/
    #obavestenjeUplata h4{
    text-align: center;
    font-size: 23px;
    padding-top: 20px;
    padding-bottom: 10px;
}

#obavestenjeUplata p{
    color: black;
    text-align: center;
    font-size: 15px;
}

#obavestenjeUplata ul{
    font-size: 15px;
    padding-left: 60px;
}

#obavestenjeUplata li{
    font-size: 15px;
}
    
} 

@media screen and (max-width: 380px){

    .full-img img{
        max-width: 250px;
        height: auto;
    }

    .full-img .slide {
        font-size: 30px;
    }
}


.navbar .menu-hamburger {
    display: none;
    position: absolute;
    top: 40px;
    right: 50px;
    width: 40px;
    cursor: pointer;
}

/*OBAVESTENJE UPLATA*/
#obavestenjeUplata {
    background-color: white;
    padding-bottom: 20px;
    border: 20px solid #8d4c62;
}

#obavestenjeUplata h4{
    text-align: center;
    font-size: 27px;
    padding-top: 20px;
    padding-bottom: 10px;
}

#obavestenjeUplata p{
    color: black;
    text-align: justify;
}

#obavestenjeUplata ul{
    font-size: 25px;
    padding-left: 60px;
}

#obavestenjeUplata .button {
    width: 200px;
    font-size: 18px;
    text-align: center;
    padding: 12px;
    border-radius: 30px;
    background-color: white;
    border: 2px solid #803f55;
    color: #803f55;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    text-decoration: none;
}

#obavestenjeUplata .button:hover{
    background-image: none;
    background-color: #803f55;
    color: white;
}