/* Shared visual foundations for all pages. */
:root {
  --opening-quote: "“";
  --font-body: 'Palatino Linotype', Palatino, Georgia, serif;
  --font-heading: 'Terminal Dosis Light', sans-serif;
  --color-text: #111;
  --color-text-muted: #555;
  --color-accent: #c40f17;
  --color-accent-hover: #a70d14;
  --color-focus: #00419b;
  --color-surface: #fff;
  --color-surface-subtle: #f5f5f5;
  --color-surface-muted: #eee;
  --color-control: #e6e6e6;
  --color-control-hover: #d7d7d7;
  --color-border: #ccc;
  --color-border-subtle: #ddd;
  --color-divider: #777;
}

/* Boilerplate 'resets' */
::-moz-selection { background: #fe57a1; color: var(--color-surface); text-shadow: none; }
::selection { background: #fe57a1; color: var(--color-surface); text-shadow: none; }

a { color: #00e; }
a:hover { color: #06e; text-decoration: none; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 0; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid var(--color-border); margin: 1em 0; padding: 0; }
ins { text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
small { font-size: 85%; }

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

svg:not(:root) { overflow: hidden; }

figure { margin: 0; }

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

/* =============================================================================
   Print Styles
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}

/* ------------------------------------------------------------------------------ */

/* article specific - background img */
.post {
  background-repeat: no-repeat; background-position: top right;
  -webkit-background-size: 40%;
     -moz-background-size: 40%;
      -ms-background-size: 40%;
       -o-background-size: 40%;
          background-size: 40%;
}

#where-does-our-love-for-ai-end { background-image: url("../images/blog/2026/where-does-our-love-for-ai-end-monkey-triptych.png"); background-position: center right; }
#is-coding-like-making-music { background-image: url("../images/blog/2026/code-music-drummer-from-above.webp"); background-position: center right; }
#death-to-files-and-folders { background-image: url("../images/blog/2026/semantic-search-tractors.png"); background-position: center right; }
#what-ai-developers-could-learn-from-ernest-hemingway { background-image: url("../images/blog/2026/ai-developers-hemingway-social.webp"); background-position: center right; }
#what-ai-developers-could-learn-from-charles-bukowski { background-image: url("../images/blog/2026/ai-developers-bukowski-social.jpg"); background-position: center right; }
#visual-similarity-search { background-image: url("../images/blog/2025/visual-similarity-search.jpg"); background-position: center right; }
#ode-to-camera { background-image: url("../images/blog/2025/ode-to-camera.jpg"); background-position: center right; }
#on-hard-work-and-creativity { background-image: url("../images/blog/2025/on-hard-work-and-creativity-01.jpg"); background-position: center right; }
#rideshots-launch-krvavec { background-image: url("../images/blog/2025/rideshots-krvavec-social.jpg"); background-position: center right; }
#building-rideshots { background-image: url("../images/blog/2025/rideshots.png"); background-position: center right; }
#srug-talk { background-image: url("../images/blog/2016/ruby-talk.jpeg"); }
#slo-css-group-announcement { background-image: url("../images/blog/2015/marin-mester-SloCSS.jpg"); background-position: center right; }
#frontend-webcamp-zagreb-2014 { background-image: url("../images/blog/2014/sedovsek-WebCampZg-vol1.jpg"); }
#formatting-css { background-image: url("../images/blog/2014/formatting-css.png"); }
#css-background-image-reflection { background-image: url("../images/blog/2013/css-background-image-reflection.jpg"); }
#the-path-you-choose { background-image: url("../images/blog/2013/the-path-you-choose.jpg"); }
#a_modern_webmaker { background-image: url("../images/blog/2013/ntf-ot-engineers.jpg"); }
#css_flexbox { background-image: url("../images/blog/2012/css-flexbox.jpg"); }
#rwd_slovenia { background-image: url("../images/blog/2012/rwd-slovenia2.jpg"); background-position: center right; }
#css_exclusions { background-image: url("../images/blog/2012/css3-exclusions.jpg"); }
#css_regions { background-image: url("../images/blog/2012/css-regions.jpg"); }
#css_multiple_columns { background-image: url("../images/blog/2012/css3-multiple-columns.jpg"); }
#kiberpipa_future_layouts { background-image: url("../images/blog/2012/css3_exclusions.jpg"); }
#az_css3_font_face { background-image: url("../images/blog/2012/css3-in-your-fon-face.jpg"); }
#exponentiation_complexity { background-image: url("../images/blog/2011/exponentiation_complexity.png"); }
#ljubljana_krk { background-image: url("../images/blog/2011/map_ljubljana-krk.jpg"); }

@font-face {
  font-family: 'Terminal Dosis Light';
  font-style: normal;
  font-weight: normal;
  src: url('https://themes.googleusercontent.com/static/fonts/terminaldosislight/v3/UyNOlq8pwXsdXFw6uDx3EqR2OsBnpNWUFn5GqnWNUG4.eot');
  src: local('Terminal Dosis Light'), local('TerminalDosis-Light'), url('https://themes.googleusercontent.com/static/fonts/terminaldosislight/v3/UyNOlq8pwXsdXFw6uDx3EqR2OsBnpNWUFn5GqnWNUG4.eot') format('embedded-opentype'), url('https://themes.googleusercontent.com/static/fonts/terminaldosislight/v3/UyNOlq8pwXsdXFw6uDx3EvE6Kx76Zt1qXITZE9-oKFQ.woff') format('woff');
}

* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
      -ms-box-sizing: border-box;
       -o-box-sizing: border-box;
          box-sizing: border-box;
}

html, body { margin: 0; padding: 0; }
html { font-size: 1.1rem; background-color: var(--color-surface); -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { font: 100%/1.5 var(--font-body); color: var(--color-text); line-height: 1.5; }

::-moz-selection { background: var(--color-accent); color: var(--color-surface); text-shadow: none; }
::selection { background: var(--color-accent); color: var(--color-surface); text-shadow: none; }

a:hover {
  -webkit-transition: all .12s ease-in-out;
     -moz-transition: all .12s ease-in-out;
      -ms-transition: all .12s ease-in-out;
       -o-transition: all .12s ease-in-out;
          transition: all .12s ease-in-out;
}

/* colors
  @red    = #d62923;
  @orange = #ff9f00;
  @grey   = #3e3e3e;
*/
h1, h2, h3, caption { font-family: var(--font-heading); font-weight: 400; font-style: normal; }

.more a { font-size: 1.2em; position: relative; display: inline-block; padding: .15em 1.3em 0.3em 1.3em; text-decoration: none; text-transform: lowercase; font-variant: small-caps;
  -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
      -ms-border-radius: 5px;
       -o-border-radius: 5px;
          border-radius: 5px;
}
.more a:after { padding-left: 0.2em; content: "»"; }

/* wrapper */
.wrapper { position: relative; max-width: 1040px; min-width: 300px; padding: 0 2em; margin: 0 auto; }

a[href^="https://twitter.com"]:before,
a[href^="https://lanyrd.com"]:before,
a[href^="https://flickr.com"]:before,
a[href^="https://linkedin.com"]:before,
a[href^="https://last.fm"]:before,
a[href^="https://github.com"]:before,
a[href^="https://instagram.com"]:before,
a[href^="https://meetup.com"]:before,
a[href^="https://foursquare.com"]:before {
    content           : "";
    display           : inline-block;
    width             : 16px;
    height            : 16px;
    margin-right      : 5px;
    vertical-align    : -2px;
    background-image  : url(https://galjot.si/2012/img/icons/png-sprites.png);
    background-repeat : no-repeat;
    white-space       : nowrap;
}

a[href^="https://twitter.com"]:before    { background-position: 0 -80px; }
a[href^="https://lanyrd.com"]:before     { background-position: 0 -32px; }
a[href^="https://flickr.com"]:before     { background-position: 0 0; }
a[href^="https://linkedin.com"]:before   { background-position: 0 -64px; }
a[href^="https://last.fm"]:before        { background-position: 0 -48px; }
a[href^="https://foursquare.com"]:before { background-position: 0 -16px; }
a[href^="https://github.com"]:before     { background-position: 0 -128px; }
a[href^="https://instagram.com"]:before  { background-position: 0 -112px; }
a[href^="https://meetup.com"]:before     { background-position: 0 -96px; }

/* header */
#header h1 { margin: .5em 0 .1em 0; font-size: min(3.3em, 15vw); line-height: 1.2em; }
.no_bg_image header h1 { width: 100%; }
#header h1 a, #header h1 a:link, #header h1 a:visited { color: var(--color-accent); text-decoration: none; }
#header h1 a:hover { text-decoration: underline; }

/* nav */
#nav { margin: 0; white-space: nowrap; }
#nav a { color: var(--color-text); font-size: .76em; padding: 0 .6em 0 0; text-transform: uppercase; text-decoration: none; }
#nav a:hover { color: var(--color-focus); }
#nav a:after { padding-left: .6em; content: "•"; }
#nav a:last-child:after { padding: 0; content: ""; }
#nav .rss-link { padding-right: 0; }
#nav .rss-link .icon { position: relative; vertical-align: text-bottom; bottom: 2px; }

/* main */
#main { display: block; width: 100%; height: 100%; margin: 2.8em 0 2em 0; border-top: 1px solid #222; }
#main h1 { font-size: 1.6em; margin: 0 0 .3em 0; text-transform: uppercase; }
.published { font-size: 0.8em; }
.summary { display: block; padding: 1.2em 0; padding-left: 70px; }

/* list of articles */
.post h1, .post .summary { width: 55%; display: inline-block; } /* images on the right */
.post.no_bg_image .summary { width: 100%; /* no images */ }

.post { position: relative; padding-bottom: 0.6em; border-bottom: 1px dashed #222; }
.post h1 { padding: 0.82em 0 0 0; line-height: 1.3; }
.post h1 a { color: #525252; display: block; margin-left: 70px; text-decoration: none; }
.post h1 a:hover { color: var(--color-focus); text-decoration: none; }
/* Shared SVG chevron for post links and book accordion toggles. */
.circle-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--arrow-size, 1.6em);
  height: var(--arrow-size, 1.6em);
  flex-shrink: 0;
  padding: 0;
  line-height: 1;
  vertical-align: middle;
  background-color: #e1e1e1;
  border-radius: 50%;
}
.circle-arrow svg {
  width: 45%;
  height: 45%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.post h1 a .circle-arrow { position: absolute; font-size: 0.8em; margin: 0.1em 0 0 0.4em; }
.post h1 a:hover .circle-arrow, button:hover .circle-arrow { color: var(--color-surface); background-color: var(--color-accent); }

.post time { position: absolute; top: 1.9em; display: block; font-size: 0.8em; text-align: center; }
.post time sup:after { clear: right; }
.post time span { display: block; }

.summary a, .summary a:visited, .summary a:link, button.read-on { color: #2d5b86; }
.summary a:hover, button.read-on:hover { text-decoration: none; color: var(--color-focus); }

.translations {
  font-style: italic;
  color: #999;
  font-size: 0.9em;
  vertical-align: bottom;
  padding-top: 1em;
}

.translations.overview {
  padding: .5em 1em;
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
  margin-bottom: 1em;
}

/*********/
/* about */
/*********/
#profile { display: block; float: left; position: relative; margin: 3em 3em 1.5em 3em;
  text-align: center; font-size: 0.75em;
  -webkit-perspective: 560px;
       -moz-perspective: 560px;
        -ms-perspective: 560px;
         -o-perspective: 560px;
            perspective: 560px;
}

#profile img { display: block; border: 8px solid #ebebeb; margin-bottom: 0.6em;
  -webkit-transform: rotateY(20deg);
       -moz-transform: rotateY(20deg);
        -ms-transform: rotateY(20deg);
         -o-transform: rotateY(20deg);
            transform: rotateY(20deg);

  -webkit-transition: -webkit-transform 0.75s;
       -moz-transition: -moz-transform 0.75s;
        -ms-transition: -ms-transform 0.75s;
         -o-transition: -o-transform 0.75s;
            transition: all 0.75s;
}

#profile img:hover {
    -webkit-transform: rotate(0deg);
       -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
         -o-transform: rotate(0deg);
            transform: rotate(0deg);
}​

.img-phd {
    -webkit-transform: rotate(-3deg);
       -moz-transform: rotate(-3deg);
        -ms-transform: rotate(-3deg);
         -o-transform: rotate(-3deg);
            transform: rotate(-3deg);

    display: block;
    max-width: 65%;
    margin: 2em auto;
}

#profile figcaption { width: 160px; }

/************/
/* About me */
/************/
.content {
  margin: 0 0 0 240px;
  padding: 0.4em 0 0 0;
}

.content h2 { margin: 1.4em 0 0.8em 0; }

p.introduction { display: block; padding: 1em 0; border-bottom: 1px solid #3e3e3e; }
p.leading:first-letter { float: left; width: 0.98em; text-align: center; font-size: 4.85em; line-height: 0.85em; font-weight: 400; }
p.leading:first-line { font-weight: bold; }
p.leading a, p.leading a:hover { font-weight: bold; }

/* clients */
ul.clients {
  list-style: none;
  padding: 1em 0 0 1.3em;
  -webkit-column-count: 4;
     -moz-column-count: 4;
      -ms-column-count: 4;
       -o-column-count: 4;
          column-count: 4;

    -webkit-column-gap: 1.5em;
       -moz-column-gap: 1.5em;
        -ms-column-gap: 1.5em;
         -o-column-gap: 1.5em;
            column-gap: 1.5em;
}
ul.clients li { line-height: 1.6em; }

/* awkward margin and padding adjustments due to multi column layout */
.content p { margin: 0; line-height: 1.4em; }
.content ul { margin: 0 0 0 -15px; }

/* more articles 'button' */
.archives { text-align: right; }
.archives a { margin: 2em 0; background-color: #e1e1e1; color: #222; }
.archives a:hover { background-color: #d62923; color: var(--color-surface);}

/* **** */
/* gsco */
/* **** */
.content.gsoc p { margin-bottom: 0.5em; }
.content.gsoc ul { margin-bottom: 1.5em; }
.content.gsoc ul.nested { margin-bottom: .3em; }

/* **************************************** */
/* that media queries thing from the future */
/* **************************************** */
/* smaller screens */
@media screen and (max-device-width: 1024px) and (orientation: portrait),
     only screen and (max-device-width: 480px) and (orientation: landscape),
     screen and (max-width: 768px) {
  /* main */
  #main h1 { font-size: 1.4em; }

  /* list of articles */
  .post { background-image: none !important; }
  .post h1 a { margin-left: 0; }

  .post time { position: relative; margin: -1em 0 1em 0; display: block; font-size: 0.8em; text-align: left; }
  .post time:before { content: "Published: "; }
  .post time sup:after { clear: none; }
  .post time span { display: inline; }

  .post h1, .post .summary { width: 100%; padding-left: 0; }

  /************/
  /* About me */
  /************/
  .content { margin: 0; }
  p.introduction { border-bottom: 0; padding: 1em 0 0 0; }
  p.leading:first-letter { font-size: 3.15em; }


  ul.clients {
    padding: 1em 0 0 1em;
    -webkit-column-count: 3;
       -moz-column-count: 3;
      -ms-column-count: 3;
       -o-column-count: 3;
        column-count: 3;
  }


}

@media screen and (max-device-width: 1024px) and (orientation: landscape),
     only screen and (max-device-width: 480px) and (orientation: portrait) {
  /* Landscape iPad and portrait iPhone */
  html { font-size: 95%; }
}

@media only screen and (max-device-width: 480px) and (orientation: landscape) {
  /* Landscape iPhone */
  html { font-size: 85%; }
}

@media screen and (max-width: 480px) {
  html { -webkit-text-size-adjust: none; -moz-text-size-adjust: none; -ms-text-size-adjust: none; -o-text-size-adjust: none; text-size-adjust: none; }
  .wrapper { padding: 0 .8em; }

  #header { margin: 0 auto; text-align: center; }
  #nav { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 0.5rem; margin-left: 0; }

  #profile { margin: 2em auto; float: none; max-width: 160px; }

  .translations.overview { padding: 0.8em 0; }

  /************/
  /* About me */
  /************/
  ul.clients {
    -webkit-column-count: 2;
       -moz-column-count: 2;
      -ms-column-count: 2;
       -o-column-count: 2;
        column-count: 2;
  }



}

/* Keep keyboard navigation visible across every page. */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 4px;
}

/* Only opted-in content gets a quote; article summaries opt in through blog.css. */
.quote-mark::before { content: var(--opening-quote); }
.summary::before, .quote-mark::before {
  font-family: var(--font-body);
  font-weight: bold;
}
