:root {
  --oranzna: #F8885C;
  --modra: #2F5EB4;
  --zelena: #C4FC0A;
  --roza: #E3A3FC;
  --viola: #BF3DFB;
  --barva-ozadja: var(--oranzna);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--modra);
  background-color: var(--barva-ozadja);
}

.gin--vertical-toolbar {
  height: calc(100vh - var(--drupal-displace-offset-top));
}

header,
footer {
  display: flex;
  position: fixed;
  width: 100%;
}
.gin--vertical-toolbar header {
  width: calc(100% - var(--gin-toolbar-x-offset));
}
header {
  top: 0;
  left: 0;
  position: sticky;
}

#block-tresk16-content img {
  max-width: 100%;
  height: auto;
}

/* meni */
#block-tresk16-menitresk16 {
  font-family: LinealVF;
}
header ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: row;
  margin: .5rem 0;
}
header a {
  padding: .5rem 1rem .5rem;
  text-transform: uppercase;
  font-size: 1.5rem;
}
header > :first-child {
  width: 100%;
  flex-grow: 1;
}
header a {
  text-decoration: none;
  display: block;
}
header .link-web,
header .link-home {
  display: flex;
}
header .link-home {
  margin-right: 1rem;
}
header .link-web a,
header .link-home a {
  padding: 0;
}

#block-tresk16-page-title {
  font-family: LinealVF;
}

footer {
  bottom: 0;
}
footer .link-mobile {
  width: 100%;
  display: none;
  justify-content: space-between;
}

.node-645 #block-tresk16-page-title {
  display: none;
}
main.node-645 {
  padding: 0;
}

.node-656 {
  background: var(--roza);
}

/* glasbeni program */
.node-660 {
  --barva-ozadja: var(--modra);
  color: var(--zelena);
}
.node-660 a,
.node-660 a:hover {
  color: var(--zelena);
}

/* sejmisce */
.node-658 {
  --barva-ozadja: var(--roza);
}

.layout-container {
  background: var(--barva-ozadja);
}

.logo-main {
  position: relative;
  margin: 0;
  line-height: 0;
  color: transparent;

  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  z-index: 5;
}

.logo-main > * {
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -10;
  padding-bottom: 100%;
}

.logo-main .ozadje {
  background-image: url(../../images/bg-web.svg);
  background-size: 100%;
}
.logo-main .macka {
  background-image: url(../../images/BLUECAT-anim.svg);
  /*
  animation: ozadje .6s linear infinite;
  transition: background-image;
*/
  background-position: 45% 40%;
  background-size: 40%;
}

@keyframes ozadje {
  0% {
    background-image: url(../../images/BLUECAT-01.svg);
  }
  16.67% {
    background-image: url(../../images/BLUECAT-02.svg);
  }
  33.3% {
    background-image: url(../../images/BLUECAT-03.svg);
  }
  50% {
    background-image: url(../../images/BLUECAT-04.svg);
  }
  66.67% {
    background-image: url(../../images/BLUECAT-03.svg);
  }
  83.3% {
    background-image: url(../../images/BLUECAT-02.svg);
  }
  100% {
    background-image: url(../../images/BLUECAT-01.svg);
  }
}

header img,
footer img {
  width: 3rem;
}

article {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

a, a:hover {
  color: var(--modra);
}

h1, h1, h2, h3, h4, h5, h6 {
  color: var(--zelena);
  font-family: LinealVF;
  text-transform: uppercase;
}

.layout-container {
  font-family: Roboto;
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
}

main {
  padding: 2rem 1rem;
}

@media screen and (min-width: 800px) {
  #block-tresk16-views-block-ziranti-15-block-2 .views-row {
    display: flex;
  }
  #block-tresk16-views-block-ziranti-15-block-2 .views-field-body {
    display: flex;
    align-items: center;
  }
}

@media screen and (max-width: 850px) {
  header {
    z-index: 10;
  }
  #block-tresk16-menitresk16 {
    width: 4.4rem;
    padding-top: .2rem;
    position: relative;
  }
  #block-tresk16-menitresk16::before {
    position: relative;
    display: block;
    content: " ";
    height: 3rem;
    width: 3rem;
    background-image: url("../../images/menu.svg");
    background-repeat: no-repeat;
    margin-left: 10px;
    background-size: contain;
    cursor: pointer;
  }
  #block-tresk16-menitresk16 ul {
    display: none;
  }
  #block-tresk16-menitresk16:hover ul {
    display: flex;
    position: absolute;
    left: 4.4rem;
    top: 0;
    flex-direction: column;
    background: var(--barva-ozadja);
  }
}

@media screen and (max-width: 470px) {
  footer .link-mobile {
    display: flex;
  }
  header .link-web {
    display: none;
  }
  .logo-main {
    padding-bottom: 193%;
  }
  .logo-main .ozadje {
    background-image: url(../../images/bg-mobile.svg);
    background-size: cover;
    padding-bottom: 193%;
  }

  .logo-main .macka {
    top: 15%;
    background-size: 75%;
    background-position: 53% 48%;
  }
}

@media screen and (min-width: 768px) {
  .logo-main > * {
    background-position: top center;
  }
}
