/* ===== GLOBAL ===== */
@font-face {
  font-family: 'Roboto';
  src: url('Roboto-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('Roboto-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
html, body {
  height: 100%;
}

body {
  margin: 0;
font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #000; /* crna pozadina za gornje dijelove */
  color: #282828;
}

a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #ff0000;
}

/* ===== LAYOUT WRAPPER ===== */
#background {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* ===== HEADER ===== */
#top-in {
  text-align: center;
  padding: 40px 20px;
}
#top-in h1 {
  font-size: 27px;
  margin: 20px auto;
  color: #fff;
  font-weight: normal;
  line-height: 1.3;
}
#top-in span {
  display: block;
  font-size: 20px;
  font-weight: bold;
  margin-top: 10px;
}
.logo {
  max-width: 170px;
  width: 100%;
  height: auto;
}

/* ===== LANGUAGE BAR ===== */
.h-ured {
  background: #202020;
  border-top: 1px solid #ff0000;
  text-align: center;
  padding: 10px;
}
.h-ured a {
  padding: 0 40px;
  display: inline-block;
  color: #ccc;
}
.h-ured a:hover {
  color: #ff0000;
}
.h-ured a.active {
  color: #ff0000;
  font-weight: bold;
}

/* ===== SITE LINK ===== */
.site-link {
  background:#111;
  margin: 0px auto;
  width:100%;
  text-align: center;
  padding: 20px 0;
    font-weight:400;
}
.site-link a {
  font-size: 18px;
  font-weight: bold;
  color: #ccc;
}
.site-link a:hover {
  color: #ff0000;
}

/* ===== CONTENT ===== */
#dole {
  background: #111;
  flex: 1;
  padding: 50px 20px;
}
#content {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== ROWS & BOXES ===== */
.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;           /* razmak između boxova u istom redu */
  margin-bottom: 30px; /* razmak između redova */
}

.box {
  background: #000;
  border-radius: 10px;
  padding: 15px;
  border: 1px solid #333;
  color: #fff;
  text-align: center;
  flex: 1 1 250px;
  max-width: 300px; /* desktop default */
}
.box p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}
.box a {
  color: #ccc;
}
.box a:hover {
  color: #ff0000;
}

/* ===== RESPONSIVE ===== */

/* Sve ispod 1200px -> 1 stupac */
@media (max-width: 1199px) {
.row {
    flex-direction: column;
    align-items: center;
    gap: 20px;           /* razmak između boxova */
    margin-bottom: 20px; /* i redovi između jednako 20 */
  }
  .row:last-child {
    margin-bottom: 0;
  }
  .box {
    flex: 0 1 auto;
    width: 90%;   /* zauzima 90% ekrana */
    max-width: 90%;
    min-width: 90%;
  }
  #top-in h1 {
    font-size: 22px;
  }
  .logo {
    max-width: 120px;
  }
  .h-ured a {
    padding: 0 20px;
  }
}