/* reset5 2011 opensource.736cs.com MIT */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,audio,canvas,details,figcaption,figure,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,summary,time,video{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;}body{line-height:1;}article,aside,dialog,figure,footer,header,hgroup,nav,section,blockquote{display:block;}nav ul{list-style:none;}ol{list-style:decimal;}ul{list-style:disc;}ul ul{list-style:circle;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:none;}ins{text-decoration:underline;}del{text-decoration:line-through;}mark{background:none;}abbr[title],dfn[title]{border-bottom:1px dotted #000;cursor:help;}table{border-collapse:collapse;border-spacing:0;}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0;}input[type=submit],input[type=button],button{margin:0;padding:0;}input,select,a img{vertical-align:middle;}

:root{
  --text-black:#000;
  --h2:3em;
  --h3:2.5em;
  --h4:2em;
  --p:1.8em;
  --a:1.7em;
}
body{
  font-size: 62.5%;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Tahoma, sans-serif;
  font-family: 'Nunito';
  font-family: 'Kavivanar', cursive;
  font-weight: 300;
  line-height: 1;
}
body > div {
  background: #f4f4f4;
  padding: 40px 0 50px;
}

h2{
  font-size: var(--h2);
  margin: 50px 0;
  font-family: 'Sofadi One', cursive;
}
h3{
  font-size: var(--h3);
  text-align: center;
  font-family: 'Sofadi One', cursive;
}
p{
  font-size: var(--p);
  line-height: 160%;
}
.glavni {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.glavni p + p{
  margin-top: 30px;
}
.glavni ul{
  margin-top: 30px;
}
.glavni h3{
  margin-top: 20px;
}
.glavni ul p{
  margin-top: 5px;
}
.glavni .logo {
  width: 150px;
  margin: 0 auto;
}
.glavni ul li {
  list-style-type: none;
}
.glavni ul li a{
  font-size: var(--p);
  color: #de2f1c;
}
.glavni ul li span {
  display: block;
  margin-top: 15px;
  font-size: var(--p);
}
.glavni img {
  width: 100%;
  height: auto;
}
section{
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
}

section h3 {
  padding: 50px;
  text-transform: uppercase;
}

.ponudaKategorije span {
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(100% - 10px);
  font-size: var(--h4);
  color: white;
  padding: 10px 5px;
  text-align: center;
  text-shadow: 1px 1px #000;
  font-weight: 600;
  font-family: 'Sofadi One', cursive;
}
.white-bg {
  background: #fff;
  border: none;
}
.white-bg img {
  border: none;
}
 .flex > div{
  flex: 30%;
}
.flex > div+div {
  margin-left: 1%;
}

 .flex > div:nth-child(4){
  margin-left: 0!important;
}
 .flex > div:nth-last-child(-n+3){
  margin-top: 1%;
  margin-left: 1;
}
.flex{
  display: flex;
  flex-wrap: wrap;
}


.flex > div a {
  display: block;
  position: relative;
  padding-top: 56.25%;
}
.flex > div a img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.pregled .flex > div {
  position: relative;
}
.pregled .flex > div span{
  position: absolute;
  bottom: 0;
  left: 0;
  color: #fff;
  padding: 10px 5px;
  width: calc(100% - 10px);
  font-size: var(--h4);
  text-align: center;
  text-shadow: 1px 1px #000;
  font-weight: 600;
  font-family: 'Sofadi One', cursive;
}
.pregled img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
#torteikolaci p{
  text-align: center;
}
#preuzimanje {
  padding: 50px 0;
}
#preuzimanje a {
border-radius: 5px;
display: inline-block;
align-items: center;
text-align: center;
background-color: #e33a23;
color: #fff;
transition: 200ms all ease;
text-decoration: none;
font-size: var(--p);
padding: 10px 20px;
cursor: pointer;
}
#preuzimanje a:hover{
  background-color: #b0752dd6;
}
#preuzimanje{
text-align: center;
}
footer{
  background: #f4f4f4;
  text-align: center;
  padding: 30px;
}
footer p{
  font-size: calc(var(--p)*0.8);
}
footer h2 {
  margin: 0;
  padding: 30px;
}
footer a {
  color:#e33a23;
}




@media screen and (max-width:700px){
   .flex > div{
    flex: 49%;
  }
   .flex > div:nth-child(2),
   .flex > div:nth-child(4){
    margin-left: 1%!important;
  }
   .flex > div:nth-child(5),
   .flex > div:nth-child(3){
    margin-top: 15px;
    margin-left: 0!important;
  }

  .flex > div{
    flex: 49%;
  }


}

@media screen and (max-width:400px){
  :root{
    --text-black:#000;
    --h2:2.8em;
    --h3:2.2em;
    --p:1.6em;
    --a:1.7em;
}
   .flex > div{
    flex: 99%;
  }
   .flex > div+div{
    margin-top: 2%!important;
  }
   .flex > div:nth-child(2),
   .flex > div:nth-child(4){
    margin-left: 0%!important;
  }
   .flex > div:nth-child(3){
    margin-top: 2%!important;
    margin-left: 0!important;
  }
  .flex > div{
    flex: 99%;
    min-height: 100px;
  }
   .flex > div:last-child{
     margin-left: 0;
   }
   .white-bg{
     display: none;
   }
}
