/*
  Theme Name:   HTML5blank Child
  Theme URI:    n/a
  Description:  HTML5blank Child Theme
  Author:       AsianBGE
  Author URI:   n/a
  Template:     html5blank
  Version:      1.0.0
  Tags:         n/a
  Text Domain:  html5blank-child
*/

@font-face {
  font-family: 'Myriad Pro';
  src: url('fonts/myriad-pro/MyriadPro-Regular.eot?') format('eot'),
       url('fonts/myriad-pro/MyriadPro-Regular.otf') format('opentype'),
       url('fonts/myriad-pro/MyriadPro-Regular.woff') format('woff'),
       url('fonts/myriad-pro/MyriadPro-Regular.ttf') format('truetype'),
       url('fonts/myriad-pro/MyriadPro-Regular.svg#MyriadPro-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
}

span.author,
span.date {
  display: none !important;
}

.post-meta,
.entry-footer,
.author-name,
.cat-links,
.comments-link {
  display: none !important;
}

*,
*:after,
*:before {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.clearfix:before,
.clearfix:after {
  content: ' ';
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

img {
  max-width: 100%;
  vertical-align: bottom;
  outline: 0;
  height: auto;
}

a {
  color: #1fa0ae;
  text-decoration: none;
  outline: 0 !important;
}

a:hover {
  color: #333333;
  outline: 0;
}

a:focus {
  outline: 0;
}

a:visited {
  color: #1fa0ae;
  outline: 0;
}

a:hover,
a:active {
  outline: 0;
}

input:focus {
  outline: 0;
}

p {
  margin: 0 0 10px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Oswald, Arial, Helvetica, sans-serif;
}

body {
  font-family: 'Myriad Pro', Georgia, "Times New Roman", serif;
  font-size: 12px;
}

/*------------------------------------*\
    HEADER
\*------------------------------------*/
.header {
  max-width: 1080px;
  margin: 0 auto;
}

.preheader {
  background-color: #af0000;
  padding: 5px 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #fff;
}

.preheader .btn {
  background-color: #ffcd00;
  color: #000;
  padding: 3px 22px;
  border: 0;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}

.preheader a.btn:hover {
  background-color: #e6b800;
}

.language-dropdown {
  position: relative;
  width: 45px;
  cursor: pointer;
  user-select: none;
}

.selected-language {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 4px;
}

.selected-language img {
  width: 35px;
  height: 20px;
  border-radius: 2px;
}

.selected-language .arrow {
  font-size: 15px;
}

.language-list {
  position: absolute;
  top: 110%;
  left: 0;
  background: #fff;
  border: 1px solid #c9d3af;
  border-radius: 4px;
  display: none;
  z-index: 1000;
  padding: 4px 0;
}

.language-list li {
  padding: 3px 6px;
  transition: background 0.2s;
}

.language-list li:hover {
  background: #f0f0f0;
}

.language-list img {
  width: 30px;
  height: 20px;
  border-radius: 2px;
}

.language-list.show {
  display: block;
  list-style: none;
}

.logo-banner-container {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  gap: 30px;
  background: #af0000;
}

.logo-banner-container .site-logo img {
  max-width: 70%;
  height: auto;
  vertical-align: bottom;
}

.logo-banner-container .header-banner {
  max-width: 100%;
  height: auto;
  float: right;
}

.header-social-icons {
  display: flex;
  gap: 10px;
  padding: 10px;
  width: max-content;
}

.header-social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  color: white;
  font-size: 20px;
  text-decoration: none;
  border-radius: 0;
  transition: background-color 0.3s ease-in;
}

.header-social-icons a:hover {
  background-color: #2a2a2a;
  color: #fff;
}

.post-header {
  background-color: #2a2a2a;
  padding: 0;
}

nav.primary-menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.primary-menu li {
  margin: 0;
}

nav.primary-menu li a {
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 10px 20px;
  display: block;
  transition: background-color 0.3s ease;
}

nav.primary-menu li a:hover {
  background-color: #af0000;
}

.news-ticker-wrapper {
  display: flex;
  align-items: center;
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: black;
  padding: 0;
  height: 30px;
  overflow: hidden;
  user-select: none;
}

.news-label {
  flex-shrink: 0;
  white-space: nowrap;
  background-color: #af0000;
  color: white;
  font-weight: 700;
  padding: 0 15px;
  height: 30px;
  display: flex;
  align-items: center;
}

.news-ticker {
  overflow: hidden;
  white-space: nowrap;
  flex-grow: 1;
  position: relative;
  height: 30px;
  background-color: #f5f5f5;
  padding-left: 15px;
}

.ticker-list {
  list-style: none !important;
  margin: 0;
  padding: 0;
  position: relative;
  height: 30px;
}

.ticker-date {
  color: #2a2a2a;
  font-size: 11px;
  margin-right: 6px;
}

.ticker-title {
  color: #2a2a2a;
  margin-right: 6px;
}

.ticker-arrow {
  color: #2a2a2a;
  font-size: 10px;
}

.ticker-list li {
  position: absolute;
  width: 100%;
  top: 100%;
  left: 0;
  opacity: 0;
  transition: top 0.5s ease, opacity 0.5s ease;
  white-space: nowrap;
  line-height: 30px;
}

.ticker-list li.active {
  top: 0;
  opacity: 1;
}

.news-ticker a {
  color: black;
  text-decoration: none;
}

.news-ticker a:hover {
  text-decoration: underline;
}


/*------------------------------------*\
    MAIN
\*------------------------------------*/
.site-wrapper {
  max-width: 1080px;
  margin: 30px auto;
  background: #fcfcfc;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  border-radius: 1px;
  min-height: 100vh;
  flex-direction: column;
}

.games-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.game-image {
  flex: 0 1 calc(50% - 20px);
  box-sizing: border-box;
}

.game-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}


/*------------------------------------*\
    SIDEBAR
\*------------------------------------*/


/*------------------------------------*\
    FOOTER
\*------------------------------------*/
.footer {
  background-color: #2a2a2a;
  color: #fff;
  font-family: Arial, sans-serif;
  max-width: 1080px;
}

.footer-widgets {
  display: flex;
  max-width: 1200px;
  margin: 0 auto 30px;
  flex-wrap: wrap;
  gap: 50px;
  padding: 10px;
}

.footer-about,
.footer-games,
.footer-stay-connected {
  flex: 0 0 280px;
  min-width: 280px;
  box-sizing: border-box;
}

.footer-about h3,
.footer-games h3,
.footer-stay-connected h3 {
  position: relative;
  color: #fff;
  font-weight: bold;
  padding-bottom: 10px;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-size: 14px;
  padding-left: 10px;
}

.footer-games h3,
.footer-stay-connected h3 {
  margin-left: -10px;
}

.footer-about h3::after,
.footer-games h3::after,
.footer-stay-connected h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10px;
  width: 220px;
  height: 3px;
  background-color: #af0000;
}

.footer-about p {
  line-height: 1.6;
  font-size: 13px;
  color: #fff;
  margin-bottom: 15px;
  padding-left: 10px;
}

.footer-games ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.footer-games ul li {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: none;
}

.footer-games ul li::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 220px;
  border-bottom: 1px dotted #555;
}

.footer-games ul li a {
  color: #f7f7f7;
  text-decoration: none;
  font-size: 13px;
}

.footer-stay-connected .social-icons {
  background-color: #404040;
  padding: 10px;
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  width: max-content;
}

.footer-stay-connected .social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background-color: #af0000;
  color: white;
  text-align: center;
  line-height: 40px;
  font-size: 20px;
  text-decoration: none;
  border-radius: 0;
}

.footer-stay-connected .social-icons a:hover {
  background-color: #fff;
  color: #2a2a2a;
  transition: 0.3s ease-in;
}

.footer-stay-connected select {
  background-color: #af0000;
  border: none;
  padding: 8px 12px;
  color: white;
  font-size: 13px;
  cursor: pointer;
  width: 150px;
}

.footer-bottom {
  margin: 0 auto;
  background-color: #af0000;
  border-bottom: 3px solid #6a6a6a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 10px;
  margin-bottom: 5px;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-menu {
  text-align: center;
  margin-left: auto;
}

.footer-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  padding: 11px;
}

.footer-menu ul a:hover {
  background-color: #2a2a2a;
  transition: 0.3s ease-in;
}

.copyright {
  color: #999;
  font-size: 12px;
  padding: 10px;
  margin-left: 10px;
}
