@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');

*, *::before, *::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: "Roboto", sans-serif;
}

header {
    height: 60vh;
    position: relative;
}

header .header-bg-o-nama{
    width: 100%;
    height: 100%;
    background-image: url(img/o-nama\ \(4\).jpg);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    filter: brightness(40%);
    z-index: -1;
}

/*header*/ #nav-logo{
    position: fixed;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    z-index: 100;
    height: 10rem;
    /*border-bottom: 1px solid white;*/
    width: 100%;
    padding: 0 1rem;
    transition: background-color 100ms ease;
}



/*header*/ #nav-logo .logo{
    display: flex;
    align-items: center;
    color: white;
}

header #nav-logo .logo img{
    width: 10rem;
    margin-right: .7rem;
}

/*header*/ #nav-logo nav ul{
    list-style: none;
    display: flex;
    align-items: center;
}

.youtube-btn a{
    color: red;
}

/*header*/ #nav-logo nav a{
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    font-size: 1.5rem;
    margin: .7rem;
    padding-bottom: .4rem;
}

#nav-logo nav a:hover{
    border-bottom: 1px solid white;
}

#nav-logo nav i{
    margin-right: .5rem;
    color: #1a2930;
}

.youtube-btn{
    height: 2.5rem;
    background-color:  white;
    display: flex;
    align-items: center;
    border-radius: 4px;
    margin-left: .35rem;
}

#nav-logo nav .youtube-btn li a{
    color: #1a2930;
    text-transform: none;
}

#nav-logo nav .youtube-btn li a:hover{
    border: none;
}

header h2{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-transform: uppercase;
    font-size: 3.5rem;
}

.hamburger{
    display: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: 200ms ease;
}

.hamburger:hover{
    color: rgb(223, 223, 223);
}

#menu{
    
    position: fixed;
    height: 100vh;
    width: 50%;
    top: 0;
    right: 0;
    background-color: #1a5d74;
    /*display: none;*/
    z-index: 102;
    border-left: 1px solid white;
    transform: translateX(100%);
    transition: transform 200ms ease;
    
}





#menu ul{
    list-style: none;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: space-around;
    align-items: center;
}

#menu a{
    color: white;
    font-size: 2rem;
    text-decoration: none;
    text-transform: uppercase;
}

#menu nav ul li i{
    margin-right: .5rem;
}

.close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}
  
.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

.ko-su-cp{
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 2rem;
}

.ko-su-cp h2{
    text-transform: uppercase;
    margin-bottom: 1.6rem;
    font-size: 2.5rem;
    position: relative;
}

/*.ko-su-cp h2::after{
    content: "";
    height: 5px;
    width: 100%;
    background-color:  #1a5d74;
    position: absolute;
    bottom: -12%;
    left: 0;
    border-radius: 5px;
}*/

.ko-su-cp p{
    font-size: 1.6rem;
    width: 60%;
}

.o-nama-kuvar{
    display: flex;
    justify-content: space-around;
    align-items: center;
    /*height: 50vh;*/  /*ovde*/
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.o-nama-kuvar ul{
    list-style: none;
    display: flex;
    justify-content: space-around;
}

.o-nama-kuvar ul a{
    text-decoration: none;
    display: flex;
    align-items: center;
}

.o-nama-kuvar ul a .username{
    margin-left: .5rem;
    font-size: 1.4rem;
}

.o-nama-kuvar:nth-child(odd){
    background-color: #1a5d74;
    color: white;
}

.o-nama-kuvar:nth-child(even){
    flex-flow: row-reverse;
}

.o-nama-kuvar:nth-child(odd) a{
    color: white;
    font-size: 2rem;
}

.o-nama-kuvar:nth-child(even) a{
    color: black;
    font-size: 2rem;
}

.o-nama-kuvar .o-nama-kuvar-text{
    width: 30%;
    text-align: center;
}

.o-nama-kuvar-text h3{
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.o-nama-kuvar-text .datum{
    font-size: 1.2rem;
}

.o-nama-kuvar-text p{
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid black;
    padding: 1rem;
}

.o-nama-kuvar:nth-child(odd) p{
    border-bottom: 1px solid white;
}

.o-nama-kuvar img{
    width: 30%;
    height: 80%;
}

footer{
    background-color: #1a2930;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 150px;
    color: white;
    padding: 1rem;
}

footer ul{
    list-style: none;
}

footer a{
    color: white;
    text-decoration: none;
    font-weight: normal;
}

footer i{
    margin-right: 5px;
}

/*recepti*/

header .header-bg-recepti{
    width: 100%;
    height: 100%;
    background-image: url(img/recepti-bg-jedan.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    filter: brightness(40%);
    z-index: -1;
}

.legenda ul{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    list-style: none;
    padding: 2rem;
    color: rgb(148, 147, 147);
    font-style: italic;
    margin-bottom: 3rem;
}

.recept{
    /*height: 50vh;*/
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 10vh;
}

.recept img{
    width: 30%;
    height: 80%;
}




.recept ul{
    list-style: none;
    display: flex;
    justify-content: space-around;
}

.recept li{
    font-size: 1.5rem;
}

.recept .recept-text{
    width: 30%;
    text-align: center;
}

.recept-text h3{
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.recept .cta {
    /*width: 14rem;
    height: 4rem;*/
    padding: 1rem;
    width: fit-content;
    border: 3px solid #1a5d74;
    transition: 200ms ease;
    cursor: pointer;
    
    margin: 2rem auto;
}

.recept .cta a{
    text-decoration: none;
    color: #1a5d74;
    position: relative;
    top: 30%;
    font-size: 1.2rem;
    transition: 200ms ease;
    font-weight: bold;
    text-transform: uppercase;
}

.recept .cta:hover{
    background-color: #1a5d74;
}

.recept .cta:hover a{
    color: white;
}

.recept-text p{
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid black;
    padding: 1rem;
}

/*pojedinacni recepti*/

header .header-bg-recepti-recept{
    width: 100%;
    height: 100%;
    background-image: url(img/recepti-bg-jedan.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    filter: brightness(40%);
    z-index: -1;
}

header .recept-title{
    font-size: 3rem;
}

.slika-recept{
    text-align: center;
    margin: 5rem;
}

.slika-recept img, .slika-recept video{
    width: 45%;
    margin-bottom: 1rem;
}

/*.slika-recept p{
    color: -
}*/


.omotac {
    display: flex;
    justify-content: space-around;
    margin: 2rem;
    position: relative;
}

.omotac p, li{
    font-size: 1.2rem;
}

.omotac .namirnice ul{
    /*position: relative;
    left: 15%;*/
    padding-left: 1.5rem;
}

.omotac .priprema{
    width: 40%;
}


.omotac .naslov{
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 1rem;
}

.omotac .podnaslov{
    font-size: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.omotac a{
    color: black;
}

.objasnjenje{
    width: 25%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.pop-click{
    cursor: pointer;
    font-weight: 600;
}

.objasnjenje .objasnjenje-naslov{
    display: flex; 
    justify-content: space-between;
    align-items: center;
    background-color: #1a5d74;
    color: white;
    height: 3rem;
    padding: 0rem 1rem;
}

.objasnjenje .objasnjenje-naslov h3{
    display: flex;
    align-items: center;
}

.upitnik{
    width: 1.5rem;
    height: 1.5rem;
    background-color:white;
    margin-right: .4rem;
    border-radius: 50%;
    text-align: center;
}

.objasnjenje .objasnjenje-naslov h3 i{
    color: #1a5d74;
    font-size: 1rem;
}

.objasnjenje .close-pop {
    font-size: 1.5rem;
    cursor: pointer;
}

.legenda-recept{
    color: rgb(148, 147, 147);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.objasnjenje  p{
    border: 1px solid black;
    border-top: none;
    padding: 1rem;
    background-color: white;
}

/*kontakt*/
.contact header{
    height: 10rem;
}

.contact-header{
    background-color: #1a2930;
    position: unset;
}

.kontaktirajte-nas{
    height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 2rem;
}

.kontaktirajte-nas h2{
    text-transform: uppercase;
    margin-bottom: 1.6rem;
    font-size: 2.5rem;
    position: relative;
}

.kontaktirajte-nas p{
    font-size: 1.6rem;
    width: 60%;
}

main{
    display: flex;
    justify-content: space-around;
    /*align-items: center;*/
    margin-bottom: 3rem;
}

.drustvene-mreze-kontakt{
    padding: 1.5rem;
    
}


main ul{
    list-style: none;
    padding-left: 5rem;
}

main ul li{
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.forma{
    width: 35%;
    padding: 1.5rem;
    background-color: #f4f7f8;
}

main h3{
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    font-size: 1.7rem;
}

main i{
    font-size: 1.3rem;
}



main ul a{
    color: black;
    text-decoration: none;
}

main ul a i{
    font-size: 1.9rem;
    margin-right: .8rem;
    color: #1a5d74  ;
}

.mail {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #1a5d74;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: .8rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}





input::placeholder{
    font-family: "Roboto", sans-serif;
}

.forma input{
    width: 100%;
    height: 3rem;
    margin-bottom: 3rem;
    padding: 1rem;
    font-size: 1.1rem;
}



.forma textarea{
    width: 100%;
    margin-bottom: 3rem;
    width: 100%;
    margin-bottom: 3rem;
    padding: 1rem;
    font-size: 1.4rem;
}

input:focus, textarea:focus{
    background-color: whitesmoke;
    outline: 1px solid #1a5d74;
    border: none;
}

.forma button{
    
    color: #1a5d74;
    background-color: white;
    border: 3px solid #1a5d74;
    padding: 1rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: 200ms ease;
    font-weight: bold;
}

.forma button:hover{
    background-color: #1a5d74;
    color: white;
}

.forma p{
    margin-top: 1rem;
    color: #1a5d74;
}




@media only screen and (max-width: 1200px){
    /*
    header {
        height: 10vh;
    }*/

    #nav-logo nav, .logo h1{
        display: none;
    }

    .hamburger{
        display: block;
    }

    

    .ko-su-cp h2{
        font-size: 2rem;
    }

    .ko-su-cp p{
        font-size: 1.4rem;
        margin-top: 1rem;
    }

    .o-nama-kuvar img{
        width: 50%;
        height: 50%;
    }

    .recept img{
        width: 50%;
        height: 50%;
    }

    .recept li{
        font-size: 1.2rem;
    }

    .kontaktirajte-nas h2{
        font-size: 2rem;
    }

    .kontaktirajte-nas p{
        font-size: 1.4rem;
    
        width: 80%;
    }

   .forma{
       width: 50%;
   }
    
}

@media only screen and (max-width: 1000px){
    header .header-bg-o-nama {
        background-size: contain;
        background-image: url(img/o-nama-bg.jpg);
    }

    header .header-bg-recepti{
        background-size: contain;
        background-image: url(img/recepti-bg.jpg);
    }

    header .header-bg-recepti-recept{
        background-size: contain;
        background-image: url(img/recepti-bg.jpg);
    }
}

@media only screen and (max-width: 840px){
    

    header{
        height: 35vh;
    }

    .contact header{
        height: 15vh;
    }

    header h2{
        font-size: 3rem;
    }

    

    header #nav-logo {
        height: 15%;
    }
    
    .ko-su-cp p{
        width: 90%;
        font-size: 1.5rem;
    }

    .ko-su-cp h2{
        margin-bottom: 1.5rem;
        font-size: 2.5rem;
    }

    .o-nama-kuvar{
        flex-direction: column;
        /*height: 100vh;*/  /*ovde*/
        justify-content: center;
    }

    .o-nama-kuvar:nth-child(even){
        flex-direction: column;
    }

    .o-nama-kuvar img{
        width: 90%;
        height: 33%;
        margin-bottom: 2rem;
    }

    .o-nama-kuvar .o-nama-kuvar-text{
        width: 90%;
        /*height: 100vh;*/
        justify-content: center;
    }

    .recept .recept-text{
        width: 90%;
        /*height: 100vh;*/
        justify-content: center;
    }

    .recepti img{
        width: 70%;
        height: 40%;
        margin-bottom: 2rem;
    }

    .recept{
        flex-direction: column;
        /*height: 80vh;*/
        justify-content: center;
    }

    /*.recept .cta{
        display: none;
    }*/

    header .recept-title{
        font-size: 1.6rem;
    }

    /*.video  {
        
        position: relative;
        overflow: hidden;
        width: 100%;
        padding-top: 56.25%;
    } 
    
    .video iframe {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        margin: 0;
    }*/

    
    .slika-recept img, .slika-recept video{
        width: 100%;
    }

    .slika-recept{
        text-align: center;
        margin: 2rem;
    }

    .omotac{
        flex-direction: column;
        justify-content: center;
        
    }

    .omotac p{
        font-size: 1.1rem;
    }

    /*.omotac .namirnice li{
        
        margin-left: 7%;
    }*/

    .omotac .priprema{
        width: 85%;
        margin-top: 3rem;
    }

    .objasnjenje{
        width: 80%;
        top: 65%;
    }

    main{
        flex-direction: column;
        align-items: center;
    }

    .forma{
        width: 80%;
        margin-bottom: 3rem;
    }

    main ul{
        padding-left: 1.5rem;
    }

    footer nav, footer p{
        display: none;
    }

    .drustvene-mreze{
        width: 100%;
    }

    footer .drustvene-mreze ul{
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }

    footer a{
        font-size: 3rem;
    }

    footer .dm {
        display: none;
    }

    
}

@media only screen and (max-width: 550px){
    .ko-su-cp p{
        font-size: 1.3rem;
    }

    .ko-su-cp h2{
        font-size: 1.8rem;
    }

    .legenda-recept{
        font-size: 1rem;
    }
    
}


@media only screen and (max-width: 450px){
    header h2{
        top: 50%;
    }

    header #nav-logo .logo img{
        width: 6rem;
        
    }
    
    .mail{
        width: 2.5rem;
        height: 2.5rem;
    }

    .drustvene-mreze-kontakt h3{
        font-size: 1.3rem;
    }

    
}
 
@media only screen and (max-width: 420px){
    .recept img{
        width: 300px;
        height: 200px;
    } 

    /*iframe {
        zoom: 0.65;
        -moz-transform: scale(0.75);
        -moz-transform-origin: 0 0;
        -o-transform: scale(0.75);
        -o-transform-origin: 0 0;
        -webkit-transform: scale(0.75);
        -webkit-transform-origin: 0 0;
    }*/

    .mail {
        width: 2.5rem;
        height: 2.5rem;
    }

    .forma h3{
        font-size: 1.1rem;
    }

    

} 

@media only screen and (max-width: 400px){
   
    

    header h2{
        font-size: 2.5rem;
        top: 50%;
    }

    header #nav-logo {
        height: 15%;
    }

    
    
        
    

    .hamburger{
        font-size: 2rem;
    }

    /*.ko-su-cp {
        height: 40vh;
    }*/

    .ko-su-cp p{
        font-size: 1rem;
    }

    .ko-su-cp h2{
        font-size: 1.5rem;
    }

    .o-nama-kuvar img{
        width: 90%;
        

        
        margin-bottom: 2rem;
    }

    .legenda ul li{
        
        margin-bottom: .6rem;
    }

    /*.recept{
        height: 120vh;
    }*/

    .recept li{
        font-size: 1.1rem;
    }

    .recept img{
        width: 90%;
        /*height: 27%;*/

        width: 300px;
        height: 200px;
        margin-bottom: 2rem;
    }

    

    .kontaktirajte-nas p{
        font-size: 1rem;
    }

    .kontaktirajte-nas h2{
        font-size: 1.5rem;
    }
}

/*@media only screen and (max-width: 376px){.recept{height: 80vh;}}*/
@media only screen and (max-width: 380px){#menu a{font-size: 1.4rem;}}

@media only screen and (max-width: 330px){
    
    /*.o-nama-kuvar{
        height: 120vh;  
    }*/ /*ovde*/
    /*.recept{
       /* height: 120vh;
    }*/

    .o-nama-kuvar-text p, .recept-text p{
        font-size: .9rem;
    }

    .o-nama-kuvar img, .recept img{
       width: 90%;
        
        margin-bottom: 2rem;
    }

    #menu a{
        font-size: 1.2rem;
    }

    
}



