@charset "utf-8";
:root {
	--black: rgba(32, 29, 30, 1);
	--red: rgba(228, 25, 28, 1);
	--gray: rgba(136, 134, 135, 1);
}	



body,html {
	margin:0;
	padding:0;
	background-color:#FFFFFF;
	color: var(--black); 
	font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 1.1em;
}

h1 {
	font-size: 4.5em;
    font-weight: 900;
    font-family: 'Positive', sans-serif;
    margin: 2.5em 0 .5em;
}

h1:before {
    background-color: var(--red);
    -webkit-mask-size: cover;
    mask-size: cover;
    width: 3.18em;
    margin: -2.2em 1em 0 0em;
    height: 4.8em;
    float: right;
    display: inline-block;
    content: '';
    -webkit-mask-image: url(../images/dmag-kozosseg_logo.svg);
    mask-image: url(../images/dmag-kozosseg_logo.svg);
}

h2 {
	
	font-weight: 300;
    font-size: 1em;
    margin: 0 0 3.5em;

}

.font_fpos {
font-family: 'Positive', sans-serif;
}

.footer .font_fpos {
font-size:1.25em;
margin:0;
}

.footer {
	border-top: 1px solid #bcbabb;
    padding: 2em 0;
}

.footer .bla_cont {
	display: inline-block;
    position: relative;
    width: calc(100% - 5em);
} 

.footer .bla_logo_cont {
	position:relative;
	display:block;
} 

.footer .bla_logo_cont:before {
    background-color: var(--red);
    -webkit-mask-size: cover;
    mask-size: cover;
    width: 2em;
    margin: -.7em .25em 0 1em;
    height: 3em;
    position: relative;
    vertical-align: top;
    display: inline-block;
    content: '';
    -webkit-mask-image: url(../images/dmag-kozosseg_logo.svg);
    mask-image: url(../images/dmag-kozosseg_logo.svg);
}


a {
color: var(--red); 
text-decoration:none;
}

a:hover,
a:focus,
a:active {
color: var(--gray); 
text-decoration:none;
}

.wrapper {
	margin:0 auto;
	width:80%;
	}


.tema-cont	{
    position: relative;
    width: 100%;
    margin: .4em;
    display: inline-block;
    overflow: hidden;
    padding: 0;
	border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
}


.tema-cont	a {
	color: #FFF;
}


.tema-cim-cont {
	position: relative;
    z-index: 3;
    display: block;
}	

.tema-cim-cov {
	position: relative;
    overflow: hidden;
	display: inline-block;
    width: 4.5em;
    height: 4.5em;
    margin: 1.25em 0 0 1.25em;
    border-radius: 50%;
	vertical-align: top;
}

.tema-cim-bla-cont {
	display:inline-block;
	width:calc(100% - 8em);
	margin: 3em 0 6em;
}

.tema-cim-bla-cont p {
	color: #FFF;
    font-weight: 200;
}	

.tema-cim-bla-cont p a {
	background: var(--red);
    border-radius: 20px;
    border-bottom-left-radius: 0;
    padding: .5em 1.25em;
	color:#FFF;
	display: inline-block;
	font-weight: 700;
	position:relative;
}

.tema-cim-bla-cont p a:after {
	border-left: 0px solid transparent;
    border-right: 9px solid transparent;
    border-top: 9px solid var(--red);
    display: inline-block;
    position: absolute;
    bottom: -9px;
    left: 0;
    content: '';
}

.tema-cim-bla-cont p a:hover:after,
.tema-cim-bla-cont p a:focus:after,
.tema-cim-bla-cont p a:active:after {
	border-top: 9px solid #FFF;
}


.tema-cim-bla-cont p a:hover,
.tema-cim-bla-cont p a:focus,
.tema-cim-bla-cont p a:active {
	background: #FFF;
	color:var(--red);
}	

.tema-cim-bla-cont h3 {
	font-weight: 100;
	font-family: 'Positive', sans-serif;
	font-size: 2em;
}

.tema-cim-cov img {
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
}

.tema-bg {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: absolute;
	z-index:1;
    top: 0;
    transform: scale(1.2);
	transition:all .5s ease;
}	


.tema-bg:after {
	width: 100%;
    height: 100%;
	background-color:var(--black);
	position:absolute;
	z-index:2;
	top:0;
	left:0;
	opacity:0;
	content:'';
	display:block;
	transition:all .5s ease;
}


.grid-item.elloptak{
cursor:pointer;
}

.elloptak .tema-cim-cont {
position:absolute;
top:1.25em;
left:1.25em;
}

.elloptak .tema-cim-bla-cont h3{
margin:0;
}

.elloptak .tema-cim-bla-cont {
margin:0;
}

.elloptak .tema-bg {
	width: 100%;
	height: auto;
    aspect-ratio: 486/275;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
    z-index: 1;
    top: 0;
	transform: scale(1);
    transition: all .5s ease;
}	

.elloptak .tema-cim-bla-cont {
    margin: 0;
    display: block;
    width: 100%;
}

p.hastag {
	margin: 2em 0;
    color: var(--gray);
}



@media screen and (max-width: 87.875em) {

h1 {
 font-size: 4em
}

}

@media screen and (max-width: 58.5em) {

h1 {
 font-size: 3.5em
}

}

@media screen and (max-width: 42.5em) {

h1 {
 font-size: 2.5em
}

}

@media screen and (max-width: 32.5em) {

h1 {
 font-size: 2em;
 padding: 0 .65em;
}

h2 {
	margin: 0 1.3em 2em;
}

.wrapper {
    margin: 0 auto;
    width: 90%;
}

}

@media screen and (max-width: 28.5em) {

.tema-cim-cov {
display:block;
margin: 1em 1em 1em auto;
}

.tema-cim-bla-cont {
    display: block;
    width: 90%;
    margin: 3em auto 6em;
}

}


.inh {
color: inherit !important;
}


.grid-item:hover .tema-bg:after {
	opacity:.9;
	transition:all .2s ease;
}

.grid-item:hover .tema-bg,
.grid-item:focus .tema-bg,
.grid-item:active .tema-bg {
	transform: scale(1.1);
	transition:all .2s ease;
}

.grid-item.elloptak:hover .tema-bg:after {
	opacity:0;
	transition:all .2s ease;
}

.grid-item.elloptak:hover .tema-bg,
.grid-item.elloptak:focus .tema-bg,
.grid-item.elloptak:active .tema-bg {
	transform: scale(1);
	transition:all .2s ease;
}

.grid {
  columns: 4 400px;
  column-gap: 1rem;
}
  div.grid-item {
    color: white;
    margin: 0 1rem 1rem 0;
    display: inline-block;
    width: 100%;
    font-family: system-ui;
    font-weight: 900;
  } 
  @for $i from 1 through 36 { 
    grid-item:nth-child(#{$i}) {
      $h: (random(400) + 100) + px;
      height: $h;
      line-height: $h;
    }
  }
