/* 
---------------------------------------------
font & reset css
--------------------------------------------- 
*/
@font-face {
  font-family: "Pirata One";
  src: url('../webfonts/PirataOne-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Sansation";
  src: url('../webfonts/Sansation-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Sansation";
  src: url('../webfonts/Sansation-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* 
---------------------------------------------
reset
--------------------------------------------- 
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
div pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
figure,
header,
nav,
section,
article,
aside,
footer,
figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}


.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

ul,
li {
  padding: 0;
  margin: 0;
  list-style: none;
}

header,
nav,
section,
article,
aside,
footer,
hgroup {
  display: block;
}

* {
  box-sizing: border-box;
}

html,
body {
  font-family: "Pirata One", system-ui;
  font-weight: 400;
  font-style: normal;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: url('../images/background.png');
  background-repeat: repeat;
  background-size: cover;
  background-position: center center;
  background-color: transparent;
}

.container {
  min-height: 100vh;
}

a {
  color: #CCC;
  text-decoration: none !important;
}

a:hover {
  color: #F99;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0px;
  margin-bottom: 0px;
  color: #644A07;
  font-weight: 700;
}

ul {
  margin-bottom: 0px;
}

p {
  font-size: 15px;
  line-height: 30px;
  color: #fff;
}

img {
  width: 100%;
  overflow: hidden;
}


#back-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  /* Árnyék, lekerekítés, stb. opcionális */
}

#back-button button {
  padding: 14px 24px;
  font-size: 1.1em;
  border-radius: 8px;
  background: #fff;
  color: #000;
  border: 3px solid #af1212;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.2s;
}

#back-button button:hover {
  background: #5F8B4C;
  color: #fff;
}

/* 
---------------------------------------------
Global Styles
--------------------------------------------- 
*/

body .page-content {
  margin-top: 110px;
  padding: 0px;
  border-radius: 23px;
  width: 100%;
}

p {
  font-size: 15px;
  color: #fff;
  line-height: 30px;
  margin-bottom: 0px;
}

.border-no-active a {
  border-color: #666;
  color: #666;
}

.border-no-active a:hover {
  border-color: #666;
  color: #666;
  background-color: transparent;
}

section {
  margin-top: 120px;
}

.heading-section h4 {
  color: #fff;
  font-size: 34px;
  text-decoration: none;
  margin-bottom: 30px;
}

.heading-section h4 em {
  color: #fff;
  font-style: normal;
  text-decoration: underline;
}

/* 
---------------------------------------------
Pre-loader Style
--------------------------------------------- 
*/

.js-preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.99);
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  z-index: 9999;
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

.js-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@-webkit-keyframes dot {
  50% {
    -webkit-transform: translateX(96px);
    transform: translateX(96px);
  }
}

@keyframes dot {
  50% {
    -webkit-transform: translateX(96px);
    transform: translateX(96px);
  }
}

@-webkit-keyframes dots {
  50% {
    -webkit-transform: translateX(-31px);
    transform: translateX(-31px);
  }
}

@keyframes dots {
  50% {
    -webkit-transform: translateX(-31px);
    transform: translateX(-31px);
  }
}

.preloader-inner {
  position: relative;
  width: 142px;
  height: 40px;
  background: transparent;
}

.preloader-inner .dot {
  position: absolute;
  width: 16px;
  height: 16px;
  top: 12px;
  left: 15px;
  background: #e75e8d;
  border-radius: 50%;
  -webkit-transform: translateX(0);
  transform: translateX(0);
  -webkit-animation: dot 2.8s infinite;
  animation: dot 2.8s infinite;
}

.preloader-inner .dots {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  margin-top: 12px;
  margin-left: 31px;
  -webkit-animation: dots 2.8s infinite;
  animation: dots 2.8s infinite;
}

.preloader-inner .dots span {
  display: block;
  float: left;
  width: 16px;
  height: 16px;
  margin-left: 16px;
  background: #e75e8d;
  border-radius: 50%;
}

/* 
---------------------------------------------
Main Page Style
--------------------------------------------- 
*/

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 60px;
  margin-bottom: 90px;
}

.card-item {
  flex: 0 1 calc(20% - 20px);
  /* 5 elem/sor */
  min-width: 200px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card-item:hover {
  transform: scale(1.05);
}

.main-page {
  margin-top: 60px;
  padding: 0px;
}

.page-content {
  min-height: 100vh;
}

.page-content .heading-section h4 {
  font-size: 92px;
  text-align: center;
  color: #fff;
  letter-spacing: 8px !important;
}

.page-content .heading-section p {
  font-size: 42px;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.main-page .item {
  padding: 30px 15px;
  margin-bottom: 30px;
  text-align: center;
  max-width: 350px;
}

.main-page .item .item {
  padding: 0px;
  border-radius: 0px;
  background-color: transparent;
  margin-bottom: 0px;
}

.main-page .item h4 {
  font-size: 15px;
  margin-top: 20px;
  margin-bottom: 0px;
  display: inline-block;
}

.card-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.main-page .item span {
  color: #666;
  display: block;
  margin-top: 7px;
  font-weight: 400;
}

.card-link-parent {
  position: relative;
}

.card-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

@media (max-width: 1200px) {
  .card-item {
    flex-basis: calc(25% - 20px);
    /* 4 elem/sor */
  }
}

@media (max-width: 992px) {
  .card-item {
    flex-basis: calc(33.333% - 20px);
    /* 3 elem/sor */
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .card-item {
    flex-basis: calc(50% - 20px);
    /* 2 elem/sor */
    padding: 35px;
  }

  .page-content .heading-section p {
    line-height: 55px;
  }
}

@media (max-width: 615px) {
  .card-item {
    flex-basis: calc(50% - 20px);
    /* 2 elem/sor */
    padding: 15px;
  }

  .page-content .heading-section p {
    line-height: 55px;
  }
}

@media (max-width: 480px) {
  .card-item {
    flex-basis: 100%;
    /* 1 elem/sor */
    margin: 0px;
    max-width: 300px;
  }

  .page-content .heading-section p {
    line-height: 55px;
  }
}


/* GALÉRIA */

.gallery-section {
  width: 80%;
}

.gallery-header {
  margin-top: 30px;
  margin-bottom: 80px;
  text-align: center;
}

.gallery-header h2 {
  font-weight: 100;
  color: #fff;
  font-size: 54px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
  -moz-animation-delay: 0.5s;
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
}

.gallery-header p {
  font-size: 17px;
  line-height: 1.75em;
  -moz-animation-delay: 1s;
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}

.gallery-holder {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-item {
  margin: 20px;
  width: calc(33.33% - 40px);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease-in-out;
  box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgb(170, 2, 34);
  background: linear-gradient(0deg, rgba(170, 2, 34, 1) 2%, rgba(50, 53, 58, 1) 80%);
  text-align: center;
  opacity: 0;
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -ms-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.overlay h4 {
  font-size: 18px;
}

.overlay h4 a {
  color: #fff;
}

.gallery-item:hover .overlay {
  opacity: 1;
  -moz-transform: rotate(0);
  -ms-transform: rotate(0);
  -o-transform: rotate(0);
  -webkit-transform: rotate(0);
  transform: rotate(0);
}

.vbox-close {
  font-size: 38px;
  color: #fff;
  background-color: rgba(187, 11, 11, 0.9);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 40px;
  right: 60px;
  font-weight: 700 !important;
}

.vbox-title {
  color: #fff !important;
  text-align: center;
  font-size: 44px;
  font-family: "Sansation", sans-serif;
  font-weight: 700;
  margin-top: 45px;
  max-width: 100%;
  box-sizing: border-box;
  padding-left: 16px;
  padding-right: 16px;
  overflow-wrap: break-word;
  background: none;
  border-radius: 10px;
  display: inline-block;
}

button {
  color: #090909;
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 0.7em 1.7em;
  font-size: 18px;
  font-family: "Sansation", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 0.5em;
  background: #e8e8e8;
  cursor: pointer;
  border: 1px solid #851d1d;
  transition: all 0.3s;
  box-shadow: rgba(255,255,255,0.4) 0px 14px 28px, rgba(255,255,255,0.25) 0px 10px 10px;
}


button:active {
  color: #666;
  box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
}


@media screen and (max-width: 1200px) {
  .gallery-item {
    width: calc(50% - 40px);
  }
}

@media screen and (max-width: 768px) {
  .gallery-item {
    width: 100%;
  }

  .gallery-header h2 {
    font-size: 32px;
    font-weight: 500;
  }

  .vbox-close {
    top: 10px;
    right: 10px;
  }

  .vbox-prev {
    left: 15px
  }

  .vbox-next {
    right: 15px
  }
}

/* 
---------------------------------------------
Responsive Style
--------------------------------------------- 
*/

body {
  overflow-x: hidden;
}

@media (max-width: 767px) {
  body .page-content {
    padding: 0px 30px;
  }

  .main-banner {
    text-align: center;
  }

  .main-banner h4 {
    font-size: 35px;
  }

  .gaming-library .item ul li,
  .gaming-library .item ul li:first-child,
  .gaming-library .item ul li:last-child {
    width: 100% !important;
    text-align: center !important;
  }

  .gaming-library .item ul li {
    margin-top: 30px;
  }

  .top-downloaded ul li .download i {
    top: 20px;
    width: 30px;
    height: 30px;
    line-height: 30px;
  }

  .top-downloaded ul li img {
    margin-right: 10px;
  }

  .top-downloaded ul li span {
    font-size: 14px;
  }

  .top-streamers ul li .main-button {
    float: none;
    margin-top: 10px;
  }

  .top-streamers ul li .main-button a {
    width: 100%;
    text-align: center;
  }

  .top-streamers,
  .top-downloaded {
    max-height: 100%;
    min-height: 100%;
  }

  .main-page .item .inner-item {
    margin-bottom: 20px;
  }
}

@media (max-width: 992px) {
  .background-header {
    display: inline-block;
  }

  .header-area .main-nav #search {
    display: none;
  }

  .heading-section h4 {
    font-size: 20px;
  }

  .gaming-library .item ul li {
    width: 48% !important;
  }

  .gaming-library .item ul li:last-child {
    text-align: left;
  }

  .featured-games {
    margin-bottom: 60px;
  }

  .start-stream .item {
    margin: 15px 0px;
  }

  .feature-banner .thumb {
    margin-top: 30px;
  }

  .main-profile .main-info {
    margin: 45px 0px;
  }
}

@media (max-width: 1200px) {
  .header-area .main-nav .nav li {
    padding-right: 5px;
    padding-left: 5px;
  }

  .header-area .main-nav .logo {
    margin-right: 30px;
    border-right: none;
  }

  .gaming-library .item ul li {
    width: 16%;
  }
}