@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
	/* body { */
		/* background-attachment: initial; */
	/* } */
	
	.panel-skills-left{
		width: 30%;
	}

	.panel-skills-right{
		width: 30%;
	}
	
}

.ir-games-logo
{
	background-image: url('irgames.png');
	width: 100px;
	height: 200px;
	background-size: contain;
	margin: 0 auto;
	background-repeat: no-repeat;
}

.social-icons {
    display: flex;
    justify-content: center;   /* horizontally center the icons */
    align-items: center;       /* vertically center if needed */
    gap: 15px;                 /* spacing between icons */
    margin-top: 10px;
}

.social-icons a,
.social-icons a:visited,
.social-icons a:hover {
    color: #66c2ff; /* normal light blue */
    text-decoration: none;
    transition: color 0.2s ease;
}

.social-icons a:active {
    color: #3399ff; /* temporary color while clicking */
}

.faction-images-container
{
	display: flex;

	align-content: center;

	align-items: center;

	flex-direction: row;

	justify-content: center;
	
	flex-wrap: wrap;
}

.faction-image
{	
	flex-basis: 19%;

	min-height: 29vh;

	background-size: cover;

	background-repeat: no-repeat;

	background-position: center;

	margin: auto;

	border: 2px solid rgba(153,204,255,.2);
}

.district-image
{
	background-repeat: no-repeat;
	min-height: 30vh;
	background-size: contain;
	min-width: 60vw;
	position: relative;
	margin: 15px auto;
	background-position: center;
}
.psionic-image{
	background: url('CharCreate.jpg');
	background-repeat: no-repeat;
	width: 100%;
	float: left;
	background-position: center;
	margin-top: 20px;
	background-size: auto;
	background-position-y: top;
}

article {
	border-bottom: 1px solid rgba(9, 194, 236, 0.6);	
}

body {
	margin: 0;
	
	/* background-attachment: fixed; */
	/* background-size: cover; */
}
body:before {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	content: '';
	background: url('techatter.jpg') top right no-repeat;
	background-size: cover;
	background-repeat: no-repeat;
	background-color: #000;
	background-position: bottom right;
    z-index: -1000;
}

@font-face {
  font-family: zekton;
  src: url(./zekton_rg-webfont.woff) format('woff'),
  url(./zekton_rg-webfont.woff) format('woff');
}

@font-face {
	font-weight: bold;
	font-style: normal;
	font-family: GillSansMT;
	src: url(./gillsansmt.woff) format('woff'),
	url(./gillsansmt.woff) format('woff');
  
}

/*******Navigacio********/

nav {
    position: sticky;
    top: 0px;
    z-index: 1000;
    width: auto;
    list-style-type: none;
    margin: 0;
    font-family: 'zekton';
    font-size: 25px;
    overflow: hidden;
    background-image: linear-gradient(0deg, rgba(9, 86, 149, 0.6), rgba(5, 44, 77, 0.6));
    border-bottom: 1px solid rgba(9, 194, 236, 0.6);
}

nav .menu-icon {
    cursor: pointer;
    display: inline-block;
    float: left;
    padding: 28px 20px;
    position: relative;
    user-select: none;
}
nav .menu-icon .navicon {
    background: white;
    display: block;
    height: 2px;
    position: relative;
    transition: background .2s ease-out;
    width: 18px;
}

nav .menu-icon .navicon:before {
    top: 5px;
}
nav .menu-icon .navicon:after {
    top: -5px;
}

nav .menu-icon .navicon:before, 
nav .menu-icon .navicon:after {
    background: white;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}
nav .menu-btn {
    display: none;
}
nav .menu {
    clear: none;
    width: max-content;
    max-height: none;
}
nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
	margin-left: auto;
    margin-right: auto;
}

nav .menu-btn {
  display: none;
}

nav .menu-btn:checked ~ .menu {
  max-height: 300px;
}

nav .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

nav .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

nav .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

nav .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
nav .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}


	
ul.topnav {

}

ul.topnav li {
	float: left;
}

ul.topnav li a {
  display: block;
  color: lightblue;
  padding: 15px 20px;
  text-decoration: none;
  
}

ul.topnav li a:hover:not(.active) 
{
	background-color: rgba(20,36,51,0,6);
	background-image: linear-gradient(0deg, rgba(119, 187, 245, 0.9), rgba(41, 121, 187, 0.9));
}

ul.topnav li a.active 
{
	background-color: rgba(20,36,51,0,8);
	background-image: linear-gradient(0deg, rgba(9, 86, 149, 0.8), rgba(5, 44, 77, 0.6));
}

ul.topnav li.right 
{
	float: right;
}



.full-height {
    min-height: 100vh;
	margin-top: -60px;
}

.full-heighttobbi {
	min-height: 25vh;
}

/********HATTERVIDEO*********/
#myVideo {
	position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
	top: 0;
	border-bottom: 1px solid rgba(9, 194, 236, 0.6);
}
/********FOSZOVEGEK*********/
h1 {
  text-align: center;
  color: white;
  font-family: 'GillSansMT';
  text-shadow: 0 4px 8px rgba(0,0,0,.8), 0 16px 32px rgba(0,0,0,.6);
  max-width: 80%;
  margin: 0 auto;
  margin-bottom: 1.5vh;
  padding-top: 102px;
  font-size: calc(34px + (46 - 34) * ((100vw - 300px) / (1600 - 300)));
}
h3 {
  text-align: center;
  color: #99ebff;
  font-family: 'GillSansMT';
  text-shadow: 0 4px 8px rgba(0,0,0,.8), 0 16px 32px rgba(0,0,0,.6);
  max-width: 80%;
  margin: 0 auto;
  margin-bottom: 2.5vh;
  margin-top: 2.5vh;
  font-size: calc(24px + (36 - 24) * ((100vw - 300px) / (1600 - 300)));
  
  }
  
p {
	text-shadow: 0 4px 8px rgba(0,0,0,.8), 0 16px 32px rgba(0,0,0,.6);
	max-width: 846px;
	margin: 0 auto;
	text-align: center;
	font-family: 'GillSansMT';
	color: #a3b8cc;
}
  
foszovegadobozba {
	position: relative;
    margin-top: 0;
    margin-bottom: 1.16961rem;
    line-height: 1.16;
    color: #fff!important;
    padding: 0 2.18877rem;
    font-weight: 700;
    letter-spacing: .1em;
}

szovegadobozba {
	color: #a3b8cc;
	text-shadow: 0 2px 4px rgba(0,0,0,.8), 0 8px 16px rgba(0,0,0,.6);
}
  
  /**********SIMA ALAP SZOVEG MASOLT**********/
h2 {
    text-shadow: 0 4px 8px rgba(0,0,0,.8), 0 16px 32px rgba(0,0,0,.6);
    max-width: 846px;
    margin: 0 auto;
    text-align: center;
	font-family: 'GillSansMT';
	font-size: 1.36798em;
	color: white;
	line-height: 2
 }
  
h4 {
	text-shadow: 0 4px 8px rgba(0,0,0,.8), 0 16px 32px rgba(0,0,0,.6);
    max-width: 846px;
    margin: 0 auto;
    text-align: center;
	font-family: 'GillSansMT';
	font-size: 1.16961em;
	color: #a3b8cc;
    
}

img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(9px 9px 9px rgba(0,0,0,0.3));
    max-height: 50vh;
	padding-top: 8vh;
}

/***********GOMBOK************/

.container {
    position: relative;
    display: flex;
	justify-content: center;
	margin: 20px
}

.container .img {
  width: 80%;
  height: auto;
  
}

.btn:hover{
  color: #D2EAFF;
  text-shadow: 0px 0px 20px #009CFF, 0px 0px 25px #009CFF, 0px 0px 50px #009CFF, 30px 30px 100px #009CFF;
  -webkit-filter: drop-shadow(0 0 1rem #D2EAFF);
    filter: drop-shadow(0 0 1rem #D2EAFF);
  }
.gombkep:hover{
  -webkit-filter: drop-shadow(0 0 1rem #D2EAFF);
    filter: drop-shadow(0 0 1rem #D2EAFF);
}


.buttons{
    position: relative;
    background-color: transparent;
    background-position: center;
    background-size: contain;
    font-size: 4vw;
    font-family: 'GillSansMT';
    border: none;
    cursor: pointer;
    text-align: center;
    padding-inline-start: 11px;
    padding-inline-end: 11px;
    background-repeat: no-repeat;
    width: 40%;
    height: 13vw;
}

.btn1 {
    background-image: url(kekgomb.svg);
    color: #009CFF;
	transition: 0.3s;
}
.btn2 {
    background-image: url(zoldgomb.svg);
    color: #00C2D9;
	transition: 0.3s;
}

.btn1:hover{
  color: #D2EAFF;
  text-shadow: 0px 0px 20px #009CFF, 0px 0px 25px #009CFF, 0px 0px 50px #009CFF, 30px 30px 100px #009CFF;
  -webkit-filter: drop-shadow(0 0 1rem #009CFF);
    filter: drop-shadow(0 0 1rem #009CFF);
	transition: 0.3s;
  }
.btn2:hover{
  color: #D2EAFF;
  text-shadow: 0px 0px 20px #00C2D9, 0px 0px 25px #00C2D9, 0px 0px 50px #00C2D9, 30px 30px 100px #00C2D9;
  -webkit-filter: drop-shadow(0 0 1rem #00C2D9);
    filter: drop-shadow(0 0 1rem #00C2D9);
	transition: 0.3s;
  }  
  
.gombkep:hover{
  -webkit-filter: drop-shadow(0 0 1rem #D2EAFF);
    filter: drop-shadow(0 0 1rem #D2EAFF);
}

/*********Video dobozok 3-as************/

.videodobozcsoport{
  max-width: 1230px;
  margin-left: auto;
  margin-right: auto;
  }
  
.panelcsoport{
   display: flex;
   flex-direction: column;
   margin: 0 auto;
   margin-bottom: 2.99419rem;
   margin-top: 2.99419rem;
   align-content: center;
   justify-content: center;
}

  
.videodoboz{
  position: relative;
  background: transparent;
  border-radius: 2px;
  display: inline-block;
  margin: 1rem;
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  background-size: cover;
}

.videodoboz:hover {
  box-shadow: 0px 0px 12px 12px rgba(135,204,255,1), inset 0 0 0 2px rgba(0,204,255,.2), inset 0 0 40px rgba(0,102,204,.6), inset 0 0 160px rgba(0,102,204,.4);
  
}

.videodobozkepkinezet{
  background-size: cover;
  background-position: center;
  overflow: hidden;
  height: 45vw;
  width: auto;
  box-shadow: 0px 0px 10px 2px rgba(0,204,255,1), inset 0 0 0 2px rgba(153,204,255,.2), inset 0 0 40px rgba(0,102,204,.6), inset 0 0 160px rgba(0,102,204,.4);
  }

.videodobozteteje {
	height: 29vw;
}

.btn-video {
	background: url(play.svg);
	background-size: contain;
	background-repeat: no-repeat;
	border: 0;
    height: 5.50203rem;
    width: 5.50203rem;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    cursor: pointer;
}	

.btn-video:hover {
  -webkit-filter: drop-shadow(0 0 1rem #D2EAFF);
    filter: drop-shadow(0 0 1rem #D2EAFF);
}

.header {
    background-color: white;
    box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
    position: relative;
    margin: 0 auto;
    z-index: 3;
}

/*************HÍRDOBOZ CUCCAI******************/

.hirdoboz{
  position: relative;
  background: transparent;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  background-size: cover;
  margin-left: 1rem;
  margin-right: 1rem;
}


.hirdobozkepkinezet{
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(153,204,255,.2), inset 0 0 40px rgba(0,102,204,.6), inset 0 0 160px rgba(0,102,204,.4);
  min-height: 25vh;
  min-width: 70vw;
  }

.hirdobozcsoport{
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  }
  
.hirdoboztartalom{
	margin: 0 auto;
	margin-top: 1.5vh;
	flex-basis: 100%;
}
  
.hirdobozszoveg{
	padding: 1.16961rem;
    border-left: 2px solid rgba(153,204,255,.2);
    border-right: 2px solid rgba(153,204,255,.2);
    border-bottom: 2px solid rgba(153,204,255,.2);
    position: relative;
    background-color: #000d1a;
    background-image: linear-gradient(180deg,rgba(0,51,102,0) 50%,rgba(0,51,102,.2));
	min-height: 20vh;
}

.hirdobozszoveg h2,
.hirdobozszoveg h4 {
	text-align: left; 
	
}



.panel-standard{
  background-color: #000d1a;
  background-image: linear-gradient(180deg,rgba(0,51,102,0) 50%,rgba(0,51,102,.2));
  box-shadow: inset 0 0 0 2px rgba(153,204,255,.2), inset 0 0 40px rgba(0,102,204,.6), inset 0 0 160px rgba(1, 22, 43, .4);
  border-radius:3px;
  overflow:hidden;
  padding:20px;   
}

.panel-skills-left{
	width: 30%;
	float: left;	
}

.panel-skills-right{
	width: 30%;
	float: right;	
}

.panel-skill{
  background-color: #000d1a;
  background-image: linear-gradient(180deg,rgba(0,51,102,0) 50%,rgba(0,51,102,.2));
  box-shadow: inset 0 0 0 2px rgba(153,204,255,.2), inset 0 0 40px rgba(0,102,204,.6), inset 0 0 160px rgba(1, 22, 43, .4);
  border-radius:3px;
  overflow:hidden;
  padding:20px;   
}

.skill-icon{
	height: 40px;
	width: 40px;
	background-color: transparent;
	color: transparent;
	background-repeat: no-repeat;
	background-image: url('skills/spell_background.png');
	float: left;
	padding: 5px;
	background-size: cover;
}

/***************TAB******************/

.warpper{
  display:flex;
  flex-direction: column;
  align-items: center;
}


.tabs{
	display: inline-flex;
	flex-direction: row;
	width: calc(72vw + 40px);
	align-content: center;
	justify-content: center;
}
.tab{
  background-color: #000d1a;
  background-image: linear-gradient(180deg,rgba(0,51,102,0) 50%,rgba(0,51,102,.2));
  box-shadow: inset 0 0 0 2px rgba(153,204,255,.2), inset 0 0 40px rgba(0,102,204,.6), inset 0 0 160px rgba(1, 22, 43, .4) ;
  cursor: pointer;
  /* padding:10px 8vw; */
  /* margin:-2px 0.80vw; */
  display:inline-block;
  color:#fff;
  border-radius:3px 3px 0px 0px;
  font-size: 16px;  
  padding: 1vh 10vw;
  }
  
.centered{
	margin: 0 auto;
	max-width: 80%;
}
.panels{
  background-color: #000d1a;
  background-image: linear-gradient(180deg,rgba(0,51,102,0) 50%,rgba(0,51,102,.2));
  box-shadow: inset 0 0 0 2px rgba(153,204,255,.2), inset 0 0 40px rgba(0,102,204,.6), inset 0 0 160px rgba(1, 22, 43, .4);
  min-height:200px;
  width:100%;
  max-width: 72vw;
  border-radius:3px;
  overflow:hidden;
  padding:20px;   
}

.panels::-webkit-scrollbar {
    display: none;
}

.panel{
  display:none;
  animation: fadein .8s;
}
@keyframes fadein {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
.panel-title{
  font-size:1.5em;
  font-weight:bold
}
.radio{
  display:none;
}
#one:checked ~ .panels #one-panel,
#two:checked ~ .panels #two-panel,
#three:checked ~ .panels #three-panel{
  display:block
}
#one:checked ~ .tabs #one-tab,
#two:checked ~ .tabs #two-tab,
#three:checked ~ .tabs #three-tab{
  background-color: #000d1a;
  background-image: linear-gradient(180deg,rgba(0,51,102,0) 50%,rgba(0,51,102,.2));
  box-shadow: inset 0 0 0 2px rgba(182, 232, 255, 0.53), inset 0 0 160px rgba(0, 173, 255, 0.79);
  color:#000;
}

@media screen and (max-width: 960px) 
{
	img {
		max-height: 30vh;
	}
	
	ul.topnav li.right, 
	ul.topnav li {
		float: none;
	}
	nav .menu {
		clear: both;
		max-height: 0;
		transition: max-height .2s ease-out;
	}
	
	.faction-image
	{	
		flex-basis: 60%;
		min-height: 29vh;
	}
	.panels{
	  overflow:scroll;
	}
	
	.panel-skills-left{
		width: 100%;
		float: none;
		position: relative;
		top: 100vh;
	}

	.panel-skills-right{
		width: 100%;
		float: none;
		position: relative;
		top: 100vh;
	}
	
	.tab{
	  background-color: #000d1a;
	  background-image: linear-gradient(180deg,rgba(0,51,102,0) 50%,rgba(0,51,102,.2));
	  box-shadow: inset 0 0 0 2px rgba(153,204,255,.2), inset 0 0 40px rgba(0,102,204,.6), inset 0 0 160px rgba(1, 22, 43, .4) ;
	  cursor: pointer;
	  padding:unset;
	  margin:unset;
	  display:inline-block;
	  color:#fff;
	  border-radius:3px 3px 0px 0px;
	  font-size: 16px;  
	  width: inherit;
	  padding: 2vw 1vh;
	  }
}

@media (min-width: 960px)
{
	h2 {
			text-shadow: 0 4px 8px rgba(0,0,0,.8), 0 16px 32px rgba(0,0,0,.6);
			max-width: 846px;
			margin: 0 auto;
			text-align: center;
			font-family: 'GillSansMT';
			color: white;
			line-height: 2
	 }
	 
	 h4 {
			text-shadow: 0 4px 8px rgba(0,0,0,.8), 0 16px 32px rgba(0,0,0,.6);
			max-width: 846px;
			margin: 0 auto;
			text-align: center;
			font-family: 'GillSansMT';
			color: #a3b8cc;
	 }
	 
	.videodobozkepkinezet {
			width: 30vw;
			overflow: hidden;
			background-repeat: no-repeat;
			height: 65vh;
			background-position-x: 50%;
	 }
	.panelcsoport {
			display: flex;
		    margin-bottom: 2.99419rem;
		    margin-top: 2.99419rem;
			flex-direction: row;
	 }
	nav .menu-icon {
		display: none;
	 }
	.hirdobozkepkinezet {
			background-size: cover;
			background-position: center;
			overflow: hidden; 
			padding: 1.16961rem;
			min-width: auto;
	 }
	 
	 .buttons {
			position: relative;
			background-color: transparent;
			background-position: center;
			background-size: contain;
			font-size: 1.4vw;
			font-family: 'GillSansMT';
			border: none;
			cursor: pointer;
			text-align: center;
			padding-inline-start: 25px;
			padding-inline-end: 25px;
			background-repeat: no-repeat;
			width: 20%;
			height: 5vw;
	 }
	 
	 .faction-image
	{	
		flex-basis: 19%;
		min-height: 29vh;
	}
	
	.tabs{

	}
	.tab{		
		
	}
}
}

[data-tooltip] {
  cursor: pointer;
  display: inline-block;
  line-height: 1;
  position: relative;
}
[data-tooltip]::after {
  background-color: rgba(51, 51, 51, 0.9);
  border-radius: 0.3rem;
  color: #fff;
  content: attr(data-tooltip);
  font-size: 1rem;
  font-size: 85%;
  font-weight: normal;
  line-height: 1.15rem;
  opacity: 0;
  padding: 0.25rem 0.5rem;
  position: absolute;
  text-align: center;
  text-transform: none;
  transition: opacity 0.2s;
  visibility: hidden;
  white-space: nowrap;
  z-index: 1;
}
[data-tooltip].tooltip-top::before {
  border-style: solid;
  border-width: 0.3rem;
  content: "";
  opacity: 0;
  position: absolute;
  transition: opacity 0.2s;
  visibility: hidden;
  border-color: rgba(51, 51, 51, 0.9) transparent transparent transparent;
  top: 0;
  left: 50%;
  margin-left: -0.3rem;
}
[data-tooltip].tooltip-top::after {
  bottom: 100%;
  left: 50%;
  transform: translate(-50%);
}
[data-tooltip].tooltip-bottom::before {
  border-style: solid;
  border-width: 0.3rem;
  content: "";
  opacity: 0;
  position: absolute;
  transition: opacity 0.2s;
  visibility: hidden;
  border-color: transparent transparent rgba(51, 51, 51, 0.9) transparent;
  bottom: 0;
  left: 50%;
  margin-left: -0.3rem;
}
[data-tooltip].tooltip-bottom::after {
  top: 100%;
  left: 50%;
  transform: translate(-50%);
}
[data-tooltip].tooltip-left::before {
  border-style: solid;
  border-width: 0.3rem;
  content: "";
  opacity: 0;
  position: absolute;
  transition: opacity 0.2s;
  visibility: hidden;
  border-color: transparent transparent transparent rgba(51, 51, 51, 0.9);
  top: 0.3rem;
  right: calc(110% - 0.3rem);
  margin-top: -0.3rem;
}
[data-tooltip].tooltip-left::after {
  top: -0.3rem;
  right: calc(110% + 0.3rem);
}
[data-tooltip].tooltip-right::before {
  border-style: solid;
  border-width: 0.3rem;
  content: "";
  opacity: 0;
  position: absolute;
  transition: opacity 0.2s;
  visibility: hidden;
  border-color: transparent rgba(51, 51, 51, 0.9) transparent transparent;
  top: 50%;
  top: 0.3rem;
  left: calc(110% - 0.3rem);
  margin-top: -0.3rem;
}
[data-tooltip].tooltip-right::after {
  top: -0.3rem;
  left: calc(110% + 0.3rem);
}
@media (max-width: 767px) {
  [data-tooltip].tooltip-mobile::before {
    display: none;
  }
  [data-tooltip].tooltip-mobile:after {
    font-size: 1rem;
    max-width: 20rem;
    position: fixed;
    bottom: auto;
    top: 50%;
    left: 50%;
    text-align: left;
    transform: translate(-50%);
    white-space: normal;
  }
}
[data-tooltip]:hover::after, [data-tooltip][class*=tooltip-]:hover::before {
  visibility: visible;
  opacity: 1;
}