@import url('https://fonts.googleapis.com/css2?family=Anton&family=Fjalla+One&family=Hind+Siliguri&family=Merriweather+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
    margin: 0;
    padding: 0;
}

#index {
    background-image: url(slike/IpozadinaPNG.PNG);
    background-size: 217.6278563656148vh 87.05114254624591vh;
    background-repeat: no-repeat;
    height: 81.61044613710555vh;
}

nav {
    position: fixed;
    z-index: 2;
    width: 100%;
    height: 4.688em;
    display: flex;
    font-family: "Fjalla One", sans-serif; /* na google font nije bilo fonta Franklin Gothic Demi Cond*/
    font-weight: 450;
    font-style: normal;
    font-size: 25px;
    margin-top: 25px;
    z-index: 2;
}

nav a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    transition: color 0.3s text-decoration 0.3s;
}

nav a:hover {
    color: #414042;
    text-decoration: underline;
}

ul {
    list-style-type: none;
    margin: 0;
    padding-left: 53.75em;
    color: rgb(255, 255, 255);
}

nav li {
    display: inline;
    padding-left: 25px;
}

p {
    font-family: "Fjalla One", sans-serif;
    font-weight: 550;
    font-style: normal;
    color: white;
    font-size: 20px;
}


.pocetna {
    padding-top: 50px;
    width: 18.75em;
    display: block;
    margin: 0 auto;
}

.prvi {
    text-align: center;
}

.link {
    text-align: center;
    color: black;
    font-size: 20px;
    text-decoration: none;
    margin-top: 20px;
    
}
.link a {
    font-family: "Merriweather Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 20px;
    background-color: #EDC5DD;
    padding: 10px 20px 10px 20px;
    color:#fff;
    width:9em;
    text-decoration: none;
    transition: text-decoration 0.3s padding 0.3s ;
}

.link a:hover {
    text-decoration: underline;
    padding: 15px 25px 15px 25px;
}


.index2 {
    display: flex;
    align-items: center;
}

.zvono {
    width: 200px;
    transition: width 0.7s ;
}

.zvono:hover {
    width: 210px;
}

h1 {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
    display: block;
    margin: 0 auto;
    padding-right: 190px;
    font-size: 60px;
    color: #414042;
}
/* recenzije */

#recenzije {
    height: 300px;
}

.logo {
    width: 200px;
    transition: width 0.7s;
}

h2 {
    display: block;
    margin: 0 auto;
    text-align: center;
    color: #414042;
    font-size: 70px;
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
}

main {
    display: flex;
    justify-content: center; /* ili center, depending on your layout */
    gap: 3em;
    margin-top: 40px;
}


main article {
    width: 25%; /* ili bilo koja vrednost koja ti odgovara */
    height: 250px;
    padding: 1px;
    border: 1px solid #000; /* opcionalno, za vizuelizaciju */
    transition: width 0.7s ;
}

main article:hover {
    width: 27%;
    
}

h3 {
    font-size: 35px;
    padding: 10px 0px 0px 5px;
    color: #414042;
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.users {
    display: flex; /* koristi flexbox za horizontalno raspoređivanje */
    align-items: center;
}

.zvjezdice {
    padding: 5px 0px 0px 20px;
}

article p {
    color: #414042;
    font-family: "Hind Siliguri", sans-serif;
    font-weight: 400;
    font-style: normal;
    padding-left: 15px;
    font-size: 17px;
}

.nav2 {
    color: #414042;
}


.nav2 a {
    color: #414042;
}

#toggle {
    display: none;
}

.menu-btn {
    display: none;
}

.menu-btn2 {
    display: none;
}

main {
    display: flex;
}

@media (max-width: 1500px) {

    .navbar {
        display: none;
        text-align: center;
        background-color: #ffffff6b;
        height: 210px;
    }

    #toggle:checked+label+.navbar {
        display: block;
        cursor: pointer;
    }

    .menu-btn {
        padding: 5px;
        border-radius: 20px;
        display: block;
        font-size: 2.875em;
        text-align: left;
        position: fixed;
        z-index: 1;
        color: #ffffff;
        position: absolute; 
        top: 10px;
        right: 10px; 
        
    }


    .kontejner nav {
        height: 220px;
    }

    li {
        border-top: #EDC5DD 2px solid;
        padding-top: 5px;
        border-width: 100%;
    }

    .navbar ul {
        list-style-type: none;
        padding: 0;
    } 

    .navbar ul li {
        display: block;
        font-size: 25px;
    }

    .navbar ul li a {
        transition: text-decoration 0.3s;
    }

    .navbar ul li a:hover {
        text-decoration: underline;
    }

    ul {
        color: #414042;
    }

    ul a {
        color: #414042;
    }

    ul, ul a {
        height: 100px;
    }
    /* recenzije */ 

    .menu-btn2 {
        padding: 5px;
        border-radius: 20px;
        display: block;
        font-size: 2.875em;
        text-align: left;
        position: fixed;
        z-index: 1;
        color: #414042;
        position: absolute; 
        top: 10px;
        right: 10px; 
        
    }
    .navbar2 {
        display: none;
        text-align: center;
        background-color: #ffffff6b;
        height: 210px;
    }

    #toggle:checked+label+.navbar2 {
        display: block;
        cursor: pointer;
    }

    

    .navbar2 ul {
        list-style-type: none;
        padding: 0;
    } 

    .navbar2 ul li {
        display: block;
        font-size: 25px;
    }

    .navbar2 ul li a {
        text-decoration: none;
        transition: text-decoration 0.3s;
    }

    .navbar2 ul li a:hover {
        text-decoration: underline;
    }

    li {
        border-top: #EDC5DD 2px solid;
        padding-top: 5px;
        border-width: 100%;
        font-size: 1.213em;
    }

    main {
        display: flex;
        justify-content: center; /* ili center, depending on your layout */
        gap: 3em;
        margin-top: 40px;
    }
    
    
    main article {
        width: 30%; /* ili bilo koja vrednost koja ti odgovara */
        height: 450px;
        padding: 1px;
        border: 1px solid #000; /* opcionalno, za vizuelizaciju */
        transition: width 0.7s ;
    }
    
    main article:hover {
        width: 27%;
        
    }

}

@media (max-width: 950px) {
    main {
        display: flex;
        justify-content: center; /* ili center, depending on your layout */
        gap: 3em;
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        justify-items: center;
        margin-left: 20px;
        margin-top: 30px;
    }
    
    
    main article {
        width: 95%; /* ili bilo koja vrednost koja ti odgovara */
        height: 300px;
        padding: 1px;
        border: 1px solid #000; /* opcionalno, za vizuelizaciju */
        transition: height 0.3s width 0.3s ease;
    }

    main article:hover {
        height: 310px;
        width: 96%;
    }
}

@media (max-width: 560px) {

    .navbar {
        display: none;
        text-align: center;
        background-color: #ffffff6b;
        height: 210px;
    }

    #toggle:checked+label+.navbar {
        display: block;
        cursor: pointer;
    }

    .menu-btn {
        padding: 5px;
        border-radius: 20px;
        display: block;
        font-size: 2.875em;
        text-align: left;
        position: fixed;
        z-index: 1;
        color: #ffffff;
        position: absolute; 
        top: 10px;
        right: 10px; 
        
    }


    .kontejner nav {
        height: 190px;
    }

    li {
        border-top: #EDC5DD 2px solid;
        padding-top: 5px;
        border-width: 100%;
    }

    .navbar ul {
        list-style-type: none;
        padding: 0;
    } 

    .navbar ul li {
        display: block;
        font-size: 25px;
    }

    .navbar ul li a {
        transition: text-decoration 0.3s;
        font-size: 25px;
    }

    .navbar ul li a:hover {
        text-decoration: underline;
    }

    ul {
        color: #414042;
    }

    ul a {
        color: #414042;
    }

    ul, ul a {
        height: 100px;
    }

    #index {
        background-image: url(slike/pocetnamob.PNG);
        background-size: 56.4069640914037vh 84.16974972796518vh;
        background-repeat: no-repeat;
        display: flex;
        background-position: center;
        
    }


    * {
        margin: 0;
        padding: 0;
    }

    .pocetna {
        display: none;
    }

    .index3 {
        padding-top: 300px;
    }

    .index2 {
        height: 70px;
        display: flex;
        flex-direction: column;
    }

    .prvi {
        padding: 10px;
        font-size: 1.688em;
        text-align: center;
    }

    .link {
        font-size: 1.25em;
        margin-top: 2.125em;
        
    }
    .link a {
        font-size: 1.213em;
        padding: 0.625em 2.5em 0.625em 2.5em;
        width:9em;
        transition: padding 0.3s ;
    }

    .link a:hover {
        padding: 0.725em 2.7em 0.725em 2.7em;
    }

    h1 {
        font-size: 35px;
        padding: 0;
        margin: 0;
    }

    header {
        height: 500px;
    }

    .zvono {
        width: 150px;
        text-align: center;
        display: inline;
        margin-bottom: 20px;
    }
    
    /* recenzije */

    .menu-btn2 {
        padding: 5px;
        border-radius: 20px;
        display: block;
        font-size: 2.875em;
        text-align: left;
        position: fixed;
        z-index: 1;
        color: #414042;
        position: absolute; 
        top: 10px;
        right: 10px; 
        
    }
    .navbar2 {
        display: none;
        text-align: center;
        background-color: #ffffff6b;
        height: 210px;
    }

    #toggle:checked+label+.navbar2 {
        display: block;
        cursor: pointer;
    }

    

    .navbar2 ul {
        list-style-type: none;
        padding: 0;
    } 

    .navbar2 ul li {
        display: block;
        font-size: 25px;
    }

    .navbar2 ul li a {
        text-decoration: none;
        transition: text-decoration 0.3s;
    }

    .navbar2 ul li a:hover {
        text-decoration: underline;
    }

    li {
        border-top: #EDC5DD 2px solid;
        padding-top: 5px;
        border-width: 100%;
        font-size: 1.213em;
    }

    main {
        display: flex;
        justify-content: center; /* ili center, depending on your layout */
        gap: 3em;
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        justify-items: center;
        margin-left: 20px;
        margin-top: 30px;
    }
    
    
    main article {
        width: 95%; /* ili bilo koja vrednost koja ti odgovara */
        height: 300px;
        padding: 1px;
        border: 1px solid #000; /* opcionalno, za vizuelizaciju */
        transition: height 0.3s width 0.3s ease;
    }

    main article:hover {
        height: 310px;
        width: 96%;
    }

    header {
        height: 400px;
    }

}

