/* ----------NAVIGACIJA---------- */
.header {
  background-color: #fff;
  box-shadow: 3px 3px 4px 0 rgba(0,0,0,.3);
  position: fixed;
  width: 100%;
  z-index: 3;
}
.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #fff;
}
.header li a {
  display: block;
  padding: 12px 20px;
  border-right: 1px solid #f4f4f4;
  text-decoration: none;
    font-size: 1.2rem;
}
.header li a:hover,
.header .menu-btn:hover {
  background-color:#f4f4f4;
  transition: .2s ease;
}
.header .logo {
  display: block;
  float: left;
  font-size: 1.5em;
  padding: 10px 20px;
  text-decoration: none;
    font-size: 1.8rem;
}
.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}
/* menu icon */
.header .menu-icon {
  cursor: pointer;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}
.header .menu-icon .nav-icon {
  background: #333;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}
.header .menu-icon .nav-icon:before,
.header .menu-icon .nav-icon:after {
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}
.header .menu-icon .nav-icon:before {
  top: 5px;
}
.header .menu-icon .nav-icon:after {
  top: -5px;
}
/* menu btn */
.header .menu-btn {
  display: none;
}
.header .menu-btn:checked ~ .telo {
	margin-top:200px;
}
.header .menu-btn:checked ~ .menu {
  max-height: 240px;
}
.header .menu-btn:checked ~ .menu-icon .nav-icon {
  background: transparent;
}
.header .menu-btn:checked ~ .menu-icon .nav-icon:before {
  transform: rotate(-45deg);
  top:0;
}
.header .menu-btn:checked ~ .menu-icon .nav-icon:after {
  transform: rotate(45deg);
  top:0;
}
.header a {
    color: #000 !important;
} /* ----------END-NAVIGACIJA---------- */

/* ---------------BASIC-STYLES--------------- */
* {
    margin 0;
    padding: 0;
    box-sizing: border-box;
}
label {
    margin-bottom: 0 !important;
}
img {
    width: 100%;
}
.broj {
    text-align: center;
    font-size: 1.5rem;
    padding-top: 10px;
}
p, ul {
    margin-bottom: 0 !important;
}
hr {
    border: 1px solid gray !important;
} /* -----END-BASIC-STYLES----- */

/* ---------------SECTION-GLAVNA--------------- */
.glavna {
    padding: 80px 50px 0px 50px;
}
.glavna article {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.glavna .desni {
    flex: 0 0 50%;
    display: flex;
}
.glavna lijevi {
    flex: 0 0 50%;
} /* -----END-SECTION-GLAVNA----- */



/* ---------------SECTION-KARTICE--------------- */
.kartice {
    display: flex;
    justify-content: space-between;
    padding: 10px 50px 20px 50px;
}
.kartice article {
    flex: 0 0 30%;
}
.text {
    padding: 10px 0;
    font-size: 1.2rem;
}
.text strong {
    font-size: 1.4rem;
    text-transform: uppercase;
}
.kartice ul {
    margin-left: 50px;
}
.kartice a {
    color: blue;
} /* -----END-SECTION-KARTICE----- */

/* ---------------SECTION-ONAMA--------------- */
.podnaslov {
    padding: 100px 0 0 0;
    text-align: center;
}
.podnaslov h2 {
    font-size: 3rem;
}
.onama article:first-child {
    display: flex;
    justify-content: center;
    padding: 20px 0 30px 0;
}
.onama article div {
    flex: 0 0 40%;
}
.onama article:last-child {
    margin-left: 160px;
    margin-right: 160px;
    font-size: 1.3rem;
}
.onama ul {
    margin-left: 50px;
    margin-top: 10px;
} /* -----END-SECTION-ONAMA----- */

/* ---------------SECTION-GALERIJA--------------- */
.galerija {
    padding: 30px 100px 0 100px;
}
.galerija .prvi, .galerija .drugi {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.galerija div {
    margin-bottom: 70px;
}
.galerija .prvi img {
    flex: 0 0 30%;
    margin-bottom: 50px;
}
.galerija .drugi img {
    flex: 0 0 30%;
    margin-bottom: 50px;
}
.galerija h2 {
    text-align: center;
} /* ---------------END-SECTION-GALERIJA--------------- */
iframe {
    width: 100%;
}
/* ---------------SECTION-KONTAKT--------------- */
.kontakt {
    padding: 110px 100px 0 100px;
}
.kontakt p {
    font-size: 1.2rem;
}

/* ---------------FOOTER--------------- */
footer {
    border-top: 2px solid grey;
    padding: 5px 0;
}
footer article {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
footer article span {
    margin: 0 5px;
} /* -----END-FOOTER----- */



/* ---------------RESPONSIVE--------------- */
@media only screen and (max-width: 564px) {
    .header .logo  {
        font-size: 1.5rem;
    }
    .glavna {
        padding: 80px 25px 0px 25px;
    }
    .glavna article {
        flex-wrap: wrap;
    }
   .glavna .desni, .glavna .lijevi {
        flex: 0 0 100%;
    }
    .glavna .lijevi {
        margin-bottom: 20px;
    }
    
    .kartice {
        flex-wrap: wrap;
        padding: 10px 25px 20px 25px;
    }
    .kartice article {
    flex: 0 0 100%;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
}
    .kartice article img {
        order: 2;
    }
    .kartice article .text {
        order: -1;
    }
    footer span {
        display: none;
    }
    .onama article:first-child {
        padding-top: 20px;
    }
    .onama article:last-child {
        margin-left: 25px;
        margin-right: 25px;
    }
    .onama article div {
        flex: 0 0 50%;
    }
    .podnaslov {
        padding-top: 90px;
    }
    .podnaslov h2 {
        font-size: 2rem;
    }
    .galerija {
        padding: 30px 25px 0 25px;
    }
    .kontakt {
        padding: 90px 25px 0 25px;
    }
    
}

@media only screen and (min-width: 565px) and (max-width: 768px) {
    .header .logo  {
        font-size: 1.5rem;
    }
    .kartice {
        flex-wrap: wrap;
    }
    .kartice article {
    flex: 0 0 100%;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
}
    .kartice article img {
        order: 2;
    }
    .kartice article .text {
        order: -1;
    }
    .onama article:last-child {
        margin-left: 70px;
        margin-right: 70px;
    }
    .galerija, .kontakt {
        padding: 30px 50px 0 50px;
    }
    .kontakt {
        padding: 90px 50px 0 50px;
    }
    
}
    
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .text {
        font-size: .8rem;
    }
    .text strong {
        font-size: 1rem;
    }
    .onama article:last-child {
        margin-left: 90px;
        margin-right: 90px;
    }
}
@media only screen and (min-width: 1025px) and (max-width: 1324px) {
    .text {
        font-size: 1rem;
    }
    .text strong {
        font-size: 1.2rem;
    }
}
@media only screen and (min-width: 915px) and (max-width: 1270px) {
    .galerija .prvi img, .galerija .drugi img {
        flex: 0 0 47%;
    }
    .galerija .drugi img:last-child {
        display: none;
    }
}
@media only screen and (max-width: 916px)  {
    .galerija .prvi img, .galerija .drugi img {
        flex: 0 0 100%;
    }
    .galerija .drugi img:last-child {
        display: ;
    }
}
@media only screen and (min-width: 1324px) {
    iframe {
        width: 60%;
    }
}


/* ---------------RESPONSIVE-NAVIGACIJA--------------- */
/* 48em = 768px @ 16pt font */
@media (min-width: 48em) {
  .header li {
    float: left;
  }
  .header li a {
    padding: 20px 30px;
  }
  .header .menu {
    clear: none;
    float: right;
    max-height: none;
  }
  .header .menu-icon {
    display: none;
  }