:root {
	--background: #e7dfd4;
    --font-marquee: #ece9e2;
	--color: #304654;
}


body {
	background-color: var(--background);
	background-image: url('../../images/tresk_pattern.svg'); 
	z-index: -100;
}


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

.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-tresk17-content img {
  max-width: 100%;
  height: auto;
}

/* meni */
#block-tresk17-menitresk17 {
  font-family: Anton;
}
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-tresk17-page-title {
  font-family: Anton;
}

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

.node-645 #block-tresk17-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);
#}
#
#.node-658 {
#  --barva-ozadja: var(--roza);
#}
*/

.layout-container {
}

.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;
}

.rs-logo {
	position: absolute;
	bottom: 4rem;
	left: 20%;
	background-image: url("../../images/tresk_rs_logo.svg");
	width: 10rem;
	height: 10rem;
	z-index: 100;
  background-repeat: no-repeat;
  background-position: top center;
    background-size: cover;
	animation: vrtimo 1s infinite;
}
.tresk-datum {
	position: absolute;
	bottom: 3rem;
	right: 20%;
	background-image: url("../../images/tresk_datum.png");
	width: 14rem;
	height: 14rem;
	z-index: 100;
  background-repeat: no-repeat;
  background-position: top center;
    background-size: cover;
}	
.logo-main > * {
  width: 100%;
  max-height: 80vh;
  background-repeat: no-repeat;
  background-position: top center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -10;
  padding-bottom: 100%;
}

.logo-main .ozadje {
  background-image: url("../../images/tresk_main.gif");
  background-size: 100%;
}


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(--color);
  font-family: Anton;
  text-transform: uppercase;
  background-color: var(--font-marquee);
}

a {

}

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

main {
  padding: 2rem 1rem;
}

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

@keyframes vrtimo
{  
0%   {transform: rotateX(0deg); transform-origin: 0% 50% 0;}  
100% {transform: rotateX(360deg); transform-origin: 0% 50% 0;}  
}

@media screen and (max-width: 850px) {
  header {
    z-index: 10;
  }
  #block-tresk17-menitresk17 {
    width: 4.4rem;
    padding-top: .2rem;
    position: relative;
  }
  #block-tresk17-menitresk17::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-tresk17-menitresk17 ul {
    display: none;
  }
  #block-tresk17-menitresk17:hover ul {
    display: flex;
    position: absolute;
    right: 4.4rem;
    top: 0;
    flex-direction: column;
    background: var(--font-marquee);
  }
  .tresk-datum {
	right: 10%;

	}
	.rs-logo {
	left: 10%;

}
}

@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-size: cover;
    padding-bottom: 193%;
  }

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

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

