@import url('https://fonts.googleapis.com/css2?family=Gabarito:wght@400..900&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&family=Red+Hat+Mono:ital,wght@0,300..700;1,300..700&display=swap');
@font-face {
  font-family: 'Silka';
  src: url('/fonts/silka/silka-regular-webfont.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Silka';
  src: url('/fonts/silka/silka-regularitalic-webfont.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
}
html {
  font-size: 10px;
}

body {
  margin: 0;
  padding: 2rem;
  font-family: sans-serif;
  background-color: #fafafa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1 {
  font-family: "Gabarito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  color: #222;
  text-align: left;
  font-size: 3rem;
  margin-bottom: 2rem;
}
h1 a {
  border-bottom: none !important;
  background-color: #fafafa !important;
}

/* header start*/
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
}

.header-link {
  font-family: "Silka", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  color: #222;
  font-size: 1.6rem;
  text-decoration: none;
  border-bottom: none;
  /* color: #0077b6; */
  /* letter-spacing: 0.05em; */
  /* padding: 0.2em 0.8em; */
  /* border-radius: 0.3em; */
  /* transition: background 0.2s; */
}
.header-link:hover {
  border-bottom: none;
  font-weight: 600;
}
.header-link:active {
   background-color: #fafafa;
 }
/* header end*/

/* p {
  font-family: "Red Hat Display", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
    color: #222;
    font-size: 1.8rem;
    line-height: 1.2;
} */

p {
  font-family: "Silka", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
    color: #222;
    font-size: 1.6rem;
    line-height: 1.2;
}

.fus-nota {
  font-family: "Silka", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: italic;
  color: #555;
  font-size: 1.4rem;
}

.wrapper {
  max-width: 120rem;
  margin: 0 auto;
}

p.header {
  font-family: "Red Hat Display", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #222;
  text-align: left;
  font-size: 1.8rem;
  margin-bottom: 3rem;
}

p.article-nastavak {
  margin-top: 0;
}

.container {
  max-width: 120rem;
  margin: 1rem auto;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

article {
  flex: 1 1 30%;
  padding: 1rem;
  background-color: #f0f0f0;
  /* background: linear-gradient(100deg, #f8f6f0 60%, #f2ede6 100%); */
  /* background: linear-gradient(100deg, #f2ede6 80%, #fcfbf9 100%); */
  border-radius: 0.5rem;
  box-sizing: border-box;
}

article.narrow {
  width: 100%;
  max-width: 394px;
  /* margin: 0 auto; */
}

article.wide {
  flex: 1.5 1 45%;
}

article h2 {
  margin-top: 0;
  margin-bottom: 1.6rem;
  font-family: "Red Hat Mono", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: bold;
  color: #222;
  font-size: 2rem;
  line-height: 1.2;
}

/* Popravljena višestupcana klasa */
.two-columns {
  column-count: 2;
  column-gap: 2rem;
}

.two-columns p {
  margin-top: 0;
  text-indent: 0;
  break-inside: avoid;
}
a {
  text-decoration: none;
  color: #222;
  border-bottom: 0.5px dashed #222;
}
a:hover {
  border-bottom: 1px dashed orange;
 }
a:active {
   background-color: orange;
 }
.article-footer {
  display: block;
  width: 100%;
  font-size: 1.1em;
  color: #222;
  padding: 0.6em 1em 0.6em 1em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  background-color: #ebebeb; /* nijansu tamnije od #f0f0f0 */
  border-radius: 0.5em;
  font-weight: 500;
  box-sizing: border-box;
  text-align: center;
}
/* Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  article {
    width: 100%;
  }

  .two-columns {
    column-count: 1;
  }
}

@media (min-width: 769px) and (max-width: 852px) {
  .container {
    flex-wrap: wrap;
  }

  article {
    flex: 1 1 48%;
  }
}

.iframe-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 1rem 0;
  display: block;
  position: relative;
}

.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

/* .red-hat-mono-<uniquifier> {
  font-family: "Red Hat Mono", monospace;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} */
 
/* .red-hat-display-<uniquifier> {
  font-family: "Red Hat Display", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} */
 
/* .gabarito-<uniquifier> {
  font-family: "Gabarito", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} */