:root {
    --default-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Noto Sans TC","Jost", sans-serif;
    --nav-font: "Poppins", sans-serif;
}

:root {
    --background-color: #ffffff;
    --default-color: #444444;
    --heading-color: #144a97;
    --accent-color: #519cff;
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
}

:root {
    --nav-color: #ffffff;
    --nav-hover-color: #519cff;
    --nav-mobile-background-color: #ffffff;
    --nav-dropdown-background-color: #ffffff;
    --nav-dropdown-color: #444444;
    --nav-dropdown-hover-color: #519cff;
}

.light-background {
    --background-color: #f5f6f8;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #2a2a2a;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #3269c7;
    --contrast-color: #ffffff;
}

.grey-background {
    --background-color: #cccccc;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #3269c7;
    --contrast-color: #ffffff;
}

.black-background {
    --background-color: #111111;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #000000;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    font-size: 16px;
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
    font-optical-sizing: auto;
    font-style: normal;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 0%);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

.main {
    min-height: 100vh;
}

.content {
    padding-top: 68px;
}

@media (max-width: 640px) {
    .container,
    .container-fluid,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 0;
        width: 100%;
        padding-right: calc(var(--bs-gutter-x) * 0.8);
        padding-left: calc(var(--bs-gutter-x) * 0.8);
        margin-right: auto;
        margin-left: auto;
    }
    .content {
        padding-top: 66px;
    }
}

/*--------------------------------------------------------------
# label
--------------------------------------------------------------*/

.label {
    display: inline-block;
    padding: 8px 12px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0;
}
a.label:focus,
a.label:hover {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}
.label:empty {
    display: none;
}
.btn .label {
    position: relative;
    top: -1px;
}
.label-default {
    background-color: #777;
}
.label-default[href]:focus,
.label-default[href]:hover {
    background-color: #5e5e5e;
}
.label-blue {
    background-color: #337ab7;
}
.label-blue[href]:focus,
.label-blue[href]:hover {
    background-color: #286090;
}
.label-green {
    background-color: #97b32e;
}
.label-green[href]:focus,
.label-green[href]:hover {
    background-color: #7d9524;
}
.label-tiffany {
    background-color: #59d3ca;
}
.label-tiffany[href]:focus,
.label-tiffany[href]:hover {
    background-color: #37cbc4;
}
.label-orange {
    background-color: #f0ad4e;
}
.label-orange[href]:focus,
.label-orange[href]:hover {
    background-color: #ec971f;
}
.label-red {
    background-color: #d9534f;
}
.label-red[href]:focus,
.label-red[href]:hover {
    background-color: #c9302c;
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    --background-color: #3d4d6a;
    --heading-color: #ffffff;
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 15px 0;
    transition: all 0.1s;
    z-index: 997;
}

.header .logo {
    line-height: 1;
}

.header .logo img {
    width: 111px; 
    height: 36px;
    max-height: 36px;
    margin-right: 8px;
    transition: 0.3s;
}

.header .logo h1 {
    font-size: 30px;
    margin: 0;
    font-weight: 500;
    color: var(--heading-color);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-size: 14px;
    padding: 8px 25px;
    margin: 0 0 0 30px;
    border-radius: 50px;
    transition: 0.3s;
}

.header .btn-getstarted:focus:hover,
.header .btn-getstarted:hover {
    color: var(--contrast-color);
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 640px) {
    .header .logo {
        margin-left: 10px;
    }
}

@media (max-width: 768px) {
    .header .logo {
        margin-left: 10px;
    }
}

@media (max-width: 1200px) {
    .header .logo {
        margin-left: 10px;
        order: 1;
    }

    .header .btn-getstarted {
        order: 2;
        margin: 0 15px 0 0;
        padding: 6px 15px;
    }

    .header .navmenu {
        order: 3;
    }
}

/* Index Page Header
------------------------------*/
.index-page .header {
    --background-color: rgba(20, 74, 151, 1);
    --heading-color: #ffffff;
    --nav-color: #ffffff;
}

.index-page .details {
    --background-color: rgba(20, 74, 151, 1);
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
    padding:5px 0;
    --background-color: rgba(20, 74, 151, 0.9);
    transition: 0.3s;
}

.index-page.scrolled .header .logo img {
    width: 92px; 
    height: 30px;
    max-height: 30px;
    transition: 0.3s;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
    .navmenu {
        padding: 0;
    }

    .navmenu ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }

    .navmenu li {
        padding: 0 10px;
        position: relative;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-color);
        padding: 8px 5px;
        font-size: 15px;
        font-family: var(--nav-font);
        font-weight: 400;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        transition: 0.3s;
    }

    .navmenu li:last-child a {
        padding-right: 0;
    }

    .navmenu .active,
    .navmenu .active:focus,
    .navmenu li:hover > a {
        color: var(--nav-hover-color);
    }

    .navmenu .dropdown ul {
        margin: 0;
        padding: 10px 0;
        background: var(--nav-dropdown-background-color);
        display: block;
        position: absolute;
        visibility: hidden;
        left: 14px;
        top: 130%;
        opacity: 0;
        transition: 0.3s;
        border-radius: 4px;
        z-index: 99;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    }

    .navmenu .dropdown ul li {
        min-width: 200px;
        border: none;
    }

    .navmenu .dropdown ul a {
        padding: 10px 20px;
        font-size: 15px;
        text-transform: none;
        color: var(--nav-dropdown-color);
    }

    .navmenu .dropdown ul a i {
        font-size: 12px;
    }

    .navmenu .dropdown ul .active:hover,
    .navmenu .dropdown ul a:hover,
    .navmenu .dropdown ul li:hover > a {
        color: var(--nav-dropdown-hover-color);
    }

    .navmenu .dropdown:hover > ul {
        opacity: 1;
        top: 100%;
        visibility: visible;
    }

    .navmenu .dropdown .dropdown ul {
        top: 0;
        left: -90%;
        visibility: hidden;
    }

    .navmenu .dropdown .dropdown:hover > ul {
        opacity: 1;
        top: 0;
        left: -100%;
        visibility: visible;
    }

    .navmenu .megamenu {
        position: static;
    }

    .navmenu .megamenu ul {
        margin: 0;
        padding: 10px;
        background: var(--nav-dropdown-background-color);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        position: absolute;
        top: 130%;
        left: 0;
        right: 0;
        visibility: hidden;
        opacity: 0;
        display: flex;
        transition: 0.3s;
        border-radius: 4px;
        z-index: 99;
    }

    .navmenu .megamenu ul li {
        flex: 1;
    }

    .navmenu .megamenu ul li a,
    .navmenu .megamenu ul li:hover > a
    {
        padding: 10px 20px;
        font-size: 15px;
        color: var(--nav-dropdown-color);
    }

    .navmenu .megamenu ul li .active,
    .navmenu .megamenu ul li .active:hover,
    .navmenu .megamenu ul li a:hover {
        color: var(--nav-dropdown-hover-color);
    }

    .navmenu .megamenu:hover > ul {
        opacity: 1;
        top: 100%;
        visibility: visible;
    }

    .navmenu ul .language-select {
        color: var(--contrast-color);
    }

    .navmenu ul .language-select a {
        display: inline;
    }

    .navmenu ul .language-select a:hover {
        color: var(--nav-dropdown-hover-color);
    }

    .navmenu ul .language-select a:nth-child(2) {
        margin: 0 4px 0 4px;
    }

    .navmenu .dd-box-shadow {
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

    .navmenu ul {
        display: none;
        list-style: none;
        position: absolute;
        inset: 60px 20px 20px 20px;
        padding: 10px 0;
        margin: 0;
        border-radius: 6px;
        background-color: var(--nav-mobile-background-color);
        overflow-y: auto;
        transition: 0.3s;
        z-index: 9998;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-dropdown-color);
        padding: 10px 20px;
        font-family: var(--nav-font);
        font-size: 17px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

    .navmenu ul .language-select i {
        margin-left:20px;
    }

    .navmenu ul .language-select a {
        padding: 10px 10px;
        display: inline;
    }
    
    .navmenu ul .language-select a:nth-child(2) {
        margin: 0 ;
    }    

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: 0.3s;
        background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    }

    .navmenu a i:hover,
    .navmenu a:focus i:hover {
        background-color: var(--accent-color);
        color: var(--contrast-color);
    }

    .navmenu .active,
    .navmenu .active:focus,
    .navmenu a:hover {
        color: var(--nav-dropdown-hover-color);
    }

    .navmenu .active i,
    .navmenu .active:focus i {
        background-color: var(--accent-color);
        color: var(--contrast-color);
        transform: rotate(180deg);
    }

    .navmenu .dropdown ul {
        position: static;
        display: none;
        z-index: 99;
        padding: 10px 0;
        margin: 10px 20px;
        background-color: var(--nav-dropdown-background-color);
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
        box-shadow: none;
        transition: all 0.5s ease-in-out;
    }

    .navmenu .dropdown ul ul {
        background-color: rgba(33, 37, 41, 0.1);
    }

    .navmenu .dropdown > .dropdown-active {
        display: block;
        background-color: rgba(33, 37, 41, 0.03);
    }

    .mobile-nav-active {
        overflow: hidden;
    }

    .mobile-nav-active .mobile-nav-toggle {
        color: #fff;
        position: absolute;
        font-size: 32px;
        top: 15px;
        right: 15px;
        margin-right: 0;
        z-index: 9999;
    }

    .mobile-nav-active .navmenu {
        position: fixed;
        overflow: hidden;
        inset: 0;
        background: rgba(33, 37, 41, 0.8);
        transition: 0.3s;
    }

    .mobile-nav-active .navmenu > ul {
        display: block;
    }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow: hidden;
    background-color: var(--background-color);
    transition: all 0.6s ease-out;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid var(--accent-color);
    border-top-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
}

.scroll-top i {
    font-size: 24px;
    color: var(--contrast-color);
    line-height: 0;
}

.scroll-top:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: var(--contrast-color);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
    bottom: 15px;
}

@media screen and (max-width: 640px) {
    .scroll-top.active {
        visibility: hidden;
    }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
    --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
    color: var(--contrast-color);
    background-color: var(--background-color);
    padding: 20px 0;
    position: relative;
    background-image: url("../img/bg/3D_icons.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100% 46%;
}

.page-title h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: var(--contrast-color);
}

.page-title .breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0 0 10px;
    margin: 0;
    font-size: 14px;
}

.page-title .breadcrumbs ol li+li {
    padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
    content: "/";
    display: inline-block;
    padding-right: 10px;
    color: color-mix(in srgb, var(--contrast-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
.section,
section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 10px 0 0;
    scroll-margin-top: 88px;
    overflow: clip;
}

.content .section {
    padding: 60px 0;
}

@media screen and (max-width: 640px) {
    .section,
    section {
        padding: 8px 0;
    }
}

@media screen and (max-width: 768px) {
    .section,
    section {
        padding: 10px 0;
    }
}

@media (max-width: 1199px) {

    .section,
    section {
        scroll-margin-top: 66px;
    }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    text-align: left;
    padding-bottom: 10px;
    position: relative;
}

.section-title h1 {
    font-weight: 700;
    margin-bottom: 1.8rem;
    padding-bottom: 6px;
    border-bottom: 1px #ddd solid;
}

.section-title h1 span {
    border-bottom: 3px #519cff solid;
}

.section-title h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 0;
    padding: 10px 0;
    color: #212529;
    text-transform: uppercase;
    position: relative;
}

.section-title h2:before {
    content: "";
    position: absolute;
    display: block;
    width: 0;
    height: 1px;
    background: color-mix(in srgb, var(--default-color), transparent 60%);
    left: 0;
    right: 0;
    bottom: 1px;
    margin: auto;
}

.section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.section-title h2 .pull-right {
    font-size: 21px;
    font-weight: 500;
    display: inline;
    position: absolute;
    top: 20px;
    right: 0;
}

.section-title p {
    margin-bottom: 0;
}

.section-title .mobile-br {
  display: none;
}

@media (max-width: 640px) {
    .section-title {
        text-align: center;
    }

    .section-title h1 {
        font-size: 2.2rem;
        width: auto;
        margin: 0 auto 2rem;
        padding-bottom: .4rem;
        border-bottom: 0px #519cff solid;

    }
    
    .section-title h1 span {
     display: inline-block;
     text-align: center;
    }

    .section-title .mobile-br {
     display: block;
    }
}

/*--------------------------------------------------------------
# Carousel Section
--------------------------------------------------------------*/

#carouselCaptions,
.carousel-inner,
.carousel-item,
.carousel-item.active {
    height: 85vh;
    background: var(--default-color);
}

.carousel-item:nth-child(1) {
    background-image: url("../img/slick/slideshow1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.carousel-item:nth-child(2) {
    background-image: url("../img/slick/slideshow2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.carousel-item:nth-child(3) {
    background-image: url("../img/slick/slideshow3.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}


#carouselCaptions .carousel-item a {
    width: 100%;
    height: 100%;
    display: block;
}

#carouselCaptions .carousel-control-next,
#carouselCaptions .carousel-control-prev {
    width: 10%;
}

#carouselCaptions .carousel-control-next-icon,
#carouselCaptions .carousel-control-prev-icon {
    width: 4vw;
    height: 4vw;
}
.carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 1rem;
    margin-left: 15%;
}
.carousel-indicators [data-mdb-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 30px;
    height: 3px;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff;
    background-clip: padding-box;
    border: 0;
    border-top: 10px solid rgba(0, 0, 0, 0);
    border-bottom: 10px solid rgba(0, 0, 0, 0);
    opacity: 0.5;
    transition: opacity 0.6s ease;
}
@media(prefers-reduced-motion: reduce) {
    .carousel-indicators [data-mdb-target] {
        transition: none;
    }
}
.carousel-indicators .active {
    opacity: 1;
}

@media (max-width: 640px) {
   
    #carouselCaptions,
    .carousel-inner,
    .carousel-item,
    .carousel-item.active {
    height: 40rem;
    background: var(--default-color);
}

    #carouselCaptions .carousel-control-next-icon,
    #carouselCaptions .carousel-control-prev-icon {
        width: 10vw;
        height: 10vw;
    }
    
    #carouselCaptions .carousel-inner > .carousel-item {
        -webkit-transition: 0.3s;
        -moz-transition: 0.3s;
        -o-transition: 0.3s;
        transition: 0.3s;
    }
    
    .carousel-item:nth-child(1) {
        background-image: url("../img/slick/slideshow1m.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
    }

    .carousel-item:nth-child(2) {
        background-image: url("../img/slick/slideshow2m.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
    }

    .carousel-item:nth-child(3) {
        background-image: url("../img/slick/slideshow3m.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
    }
}

/*--------------------------------------------------------------
# Games Section
--------------------------------------------------------------*/

.games .games-item {
    height: 100%;
    transition: all 0.3s ease-in-out;
    background:#f1f2f6;
}

.games .games-item .games-image {
    position: relative;
    overflow: hidden;
}

.games .games-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px color-mix(in srgb, var(--accent-color), transparent 100%);
}

.games .games-item:hover .games-number {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.games .games-item:hover .games-image img {
    transform: scale(1.1);
}

.games .games-image {
    position: relative;
    height: 280px;
}

.games .games-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.games .games-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.games .games-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px 10px 20px;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}

.games .games-filters li:hover,
.games .games-filters li.filter-active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.games .games-filters li:first-child {
  margin-left: 0;
}

.games .games-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
   
  .games .games-filters {
    margin: 0;
    padding: 0;
  } 
    
  .games .games-filters li {
    font-size: 14px;
    margin: 0 0 10px 0;
  }
}

.games .games-content {
    position: relative;
    padding: 40px 30px 30px;
}

.games .games-content .games-number {
    position: absolute;
    left: 30px;
    top: -30px;
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: var(--contrast-color);
    border-radius: 0;
    font-family: var(--heading-font);
    font-size: 21px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}

.games .games-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #212529;
}

.games .games-content .label {
    vertical-align: text-bottom;
    margin-right: 10px;
}

.games .games-content p {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin-bottom: 10px;
    line-height: 160%;
}

.games .games-content .social {
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
  min-height: 50px;
}

@media (max-width: 468px) {
  .games .games-content .social {
    justify-content: center;
  }
}

.games .games-content .social a {
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 36px;
  height: 36px;
}

.games .games-content .social a i {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 21px;
  margin: 0 2px;
}

.games .games-content .social a:hover {
  background: var(--accent-color);
}

.games .games-content .social a:hover i {
  color: var(--contrast-color);
}

.games .games-content .social a+a {
  margin-left: 8px;
}

@media (max-width: 1199px) {
    .games.games-image {
        height: 240px;
    }

    .games .games-content {
        padding: 35px 25px 25px;
    }

    .games .games-content h3 {
        font-size: 24px;
    }
}

@media (max-width: 991px) {
    .games .games-item {
        margin-bottom: 0;
    }

    .games .games-image {
        height: auto;
    }

    .games .games-content {
        padding: 30px 20px 20px;
    }

    .games .games-content .games-number {
        width: 50px;
        height: 50px;
        font-size: 21px;
        left: 25px;
        top: -25px;
    }

    .games .games-content h3 {
        font-size: 21px;
        margin-bottom: 12px;
    }

    .games .games-content p {
        font-size: 18px;
        margin-bottom: 20px;
    }
}

@media (max-width: 640px) {
    .games .games-item {
        margin: 0;
    }

    .games .games-content h3 {
        font-size: 24px;
    }

}

/*--------------------------------------------------------------
# AboutUs Section
--------------------------------------------------------------*/
.aboutus .aboutus-list {
    background-color: var(--surface-color);
    padding: 10px 30px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    margin-bottom: 20px;
}

.aboutus .aboutus-list a {
    display: block;
    line-height: 1;
    padding: 8px 0 8px 15px;
    border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
    margin: 20px 0;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    transition: 0.3s;
}

.aboutus .aboutus-list a.active {
    color: var(--heading-color);
    font-weight: 700;
    border-color: var(--accent-color);
}

.aboutus .aboutus-list a:hover {
    border-color: var(--accent-color);
}

.aboutus h3 {
    font-size: 40px;
    font-weight: 700;
    padding-bottom: 40px;
    border-bottom: 1px solid;
}

.aboutus h4 {
    font-size: 1.3rem;
    font-weight: 700;
}

.aboutus p {
    font-size: 18px;
    line-height: 200%;
}

.aboutus img,
.aboutus p img {
    width: 100%;
    padding: 10px 0;
}

.aboutus p.publish_date {
    color: #aaa;
    margin-top: 30px;
}

.aboutus ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

.aboutus ul li {
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.aboutus ul i {
    font-size: 20px;
    margin-right: 8px;
    color: var(--accent-color);
}

@media (max-width: 640px) {

    .aboutus .aboutus-list a {
        font-size: 21px;
    }

}

/*--------------------------------------------------------------
# News Section
--------------------------------------------------------------*/

.News .col-lg-10 {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.News h1, .News h2, .News h3, .News h4 {
    color: var(--default-color);
}

.News h3 {
    font-size: 3rem;
    font-weight: 700;
    padding-bottom: 40px;
    border-bottom: 1px solid;  
}

.News h4 {
    font-size: 20px;
    font-weight: 700;
}

.News p {
    font-size: 1.2rem;
    line-height: 200%;
}

.News img,
.News p img {
    width: 100%;
    padding: 10px 0;
}

.News p.publish_date {
    color: #aaa;
    margin-top: 30px;
}

.News .backTolist {
    color: #fff;
    padding:10px 30px;
    background: var(--accent-color);
}

.News ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

.News ul li {
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.News ul i {
    font-size: 20px;
    margin-right: 8px;
    color: var(--accent-color);
}

.News .text-center {
    margin-top: 50px;
}


@media (max-width: 640px) {

    .News h3 {
        font-size: 2.5rem;
        line-height: 130%;
    }

}

/*--------------------------------------------------------------
# News List Section
--------------------------------------------------------------*/

#Newlist .nav {
    border-bottom: 1px solid var(--heading-color);
}

#Newlist .nav li {
    width: 20%;
    text-align: center;
}

#Newlist .nav li a {
    width: 100%;
    font-size: 21px;
    font-weight: 600;
    color: var(--heading-color);
    background-color: #dbe5f1;
    border-radius: 5px 5px 0 0;
    margin-right: 1px;
}

#Newlist .nav li:last-child a {
    margin-right: 0;
}

#Newlist .nav .active {
    color: var(--contrast-color);
    background-color: var(--heading-color);
}

#Newlist .tab-content p {
    font-size: 21px;
    margin: 0;
    border-bottom: 1px dotted #aaa;
}

#Newlist .tab-content p:last-child {
    border-bottom: 0;
}

#Newlist .tab-content p .label {
    margin-right: 12px;
}

#Newlist .tab-content p a {
    color: var(--default-color);
    display: block;
    padding: 18px;
}

#Newlist .tab-content p a:hover {
    background-color: #f5f6f8;
}

#Newlist .tab-content p a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 0%);
}

#Newlist .tab-content p .publish_date {
    display: inline-block;
    float: right;
}

@media (max-width: 640px) {

    #Newlist .nav li a {
        font-size: 16px;
    }

    #Newlist .tab-content p a {
        font-size: 18px;
        padding: 10px 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #Newlist .tab-content p .label {
        display: none;
    }

    #Newlist .tab-content p .publish_date {
        display: none;
    }

}

/*--------------------------------------------------------------
# Pagination 2 Section
--------------------------------------------------------------*/
  .pagination-2 li a.active a,
  .pagination-2 li a:hover a,
  .pagination-2 li a:hover i {
    color: var(--contrast-color);
  }

/*--------------------------------------------------------------
# history Section
--------------------------------------------------------------*/
.history .history-wrapper .history-block {
    margin-top: 1rem!important;
    margin-bottom: 3rem!important;
}

.history .history-wrapper .history-block:last-child {
    margin-bottom: 0;
}

.history .history-wrapper .history-block h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.history .history-wrapper .history-block .year h3 {
    font-size: 1.7rem;
    font-family: var(--default-font);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 1px solid;
}

.history .history-wrapper .history-block .year:first-child h3 {
    margin-top: 0rem;
}

.history .history-wrapper .history-block h2 span {
    color: var(--accent-color);
}

.history .history-wrapper .history-block .lead {
    color: color-mix(in srgb, var(--default-color), transparent 25%);
    margin-bottom: 3rem;
}

.history .history-wrapper .timeline {
    position: relative;
}

.history .history-wrapper .timeline::before {
    content: "";
    position: absolute;
    left: 20%;
    top: -2px;
    height: 100%;
    width: 2px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
}

.history .history-wrapper .timeline .timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    position: relative;
}

.history .history-wrapper .timeline .timeline-item:last-child {
    margin-bottom: 0;
}

.history .history-wrapper .timeline .timeline-item .timeline-left {
    width: 20%;
    padding-right: 3rem;
    margin-top: -5px;
}

.history .history-wrapper .timeline .timeline-item .timeline-left .period {
    color: var(--accent-color);
    font-size: 1rem;
    display: none;
}

.history .history-wrapper .timeline .timeline-item .timeline-dot {
    position: absolute;
    left: calc(20% + 1px);
    transform: translateX(-50%);
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--accent-color);
    border-radius: 50%;
    top:3px;
}

.history .history-wrapper .timeline .timeline-item .timeline-right {
    width: 70%;
    padding-left: 3rem;
    margin-top: -4px;
}

.history .history-wrapper .timeline .timeline-item .timeline-right h3 {
    font-weight: 700;
    padding-bottom: 0;
    border-bottom: 0 solid;
}

.history .history-wrapper .timeline .timeline-item .timeline-right .position {
    color: var(--heading-color);
    font-size: 1rem;
    margin-bottom: 0;
    font-weight:500;
}

.history .history-wrapper .timeline .timeline-item .timeline-right .description {
    font-size: 1rem;
    color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.history .history-wrapper .timeline .timeline-item .timeline-right ul {
    padding-left: 15px;
}

.history .history-wrapper .timeline .timeline-item .timeline-right ul li {
    padding-bottom: 12px;
}

@media (max-width: 992px) {
    .history .history-wrapper .resume-block h2 {
        font-size: 2rem;
    }

    .history .history-wrapper .timeline::before {
        left: 1rem;
        top: 0;
    }

    .history .history-wrapper .timeline .timeline-item {
        flex-direction: column;
        margin-bottom: 20px;
    }

    .history .history-wrapper .timeline .timeline-item .timeline-left {
        width: 100%;
        text-align: left;
        padding-right: 0;
        padding-left: 2.5rem;
        margin-bottom: 1.6rem;
        margin-top: -4px;
    }

    .history .history-wrapper .timeline .timeline-item .timeline-dot {
        left: calc(1rem + 1px);
        top:4px;
    }

    .history .history-wrapper .timeline .timeline-item .timeline-right {
        width: 100%;
        padding-left: 2.5rem;
    }
}

@media (max-width: 640px) {
    .history .history-wrapper .timeline::before {
        top: 4px;
    }
    .history .history-wrapper .timeline .timeline-item .timeline-dot {
        top:4px;
    }
    .history .history-wrapper .timeline .timeline-item .timeline-right .position {
        font-size: 1rem;
    }
}

/*--------------------------------------------------------------
# Organization Chart Section
--------------------------------------------------------------*/

.organization-chart-wrapper {
    width: 100%;
    background-image: url("../img/orc/OrganizationChart.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: block;
	aspect-ratio: 2.2826 / 1;
}

.organization-chart-wrapper.en {
    background-image: url("../../EN/assets/img/orc/OrganizationChart.png");
}

.organization-chart-wrapper.kr {
    background-image: url("../../KR/assets/img/orc/OrganizationChart.png");
}



@media (max-width: 640px) {

    .organization-chart-wrapper {
        width: 100%;
        background-image: url("../img/orc/OrganizationChart_1280.png");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        display: block;
        aspect-ratio: 1 / 1.082;
    }

    .organization-chart-wrapper.en {
        background-image: url("../../EN/assets/img/orc/OrganizationChart_1280.png");
    }

    .organization-chart-wrapper.kr {
        background-image: url("../../KR/assets/img/orc/OrganizationChart_1280.png");
    }    

}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/

.contact {
    min-height: 550px;
}

.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1);
  border-top: 0px solid var(--accent-color);
  border-bottom: 0px solid var(--accent-color);
  padding: 0px;
  height: 100%;
}

.contact ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

.contact ul li {
    padding: 5px 0;
    display: flex;
    align-items: top;
}

.contact ul i {
    font-size: 20px;
    margin-right: 8px;
    color: var(--accent-color);
}

/*--------------------------------------------------------------
# Privacy Section
--------------------------------------------------------------*/

.privacy .col-lg-10 {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.privacy h3 {
    font-size: 3rem;
    font-weight: 700;
    padding-bottom: 40px;
    border-bottom: 1px solid;
    color: var(--default-color);
}

.privacy h4 {
    color: var(--default-color);
}

.privacy p {
    font-size: 1.2rem;
    line-height: 200%;
}

.privacy ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

.privacy ul li {
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.privacy ul i {
    font-size: 20px;
    margin-right: 8px;
    color: var(--accent-color);
}

@media (max-width: 640px) {

    .privacy h3 {
        font-size: 2.5rem;
    }

}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    padding-bottom: 0;
    position: relative;
}

.footer .footer-top {
    padding-top: 50px;
}

.footer .footer-bottom {
    padding-bottom: 50px;
}


.footer a {
    font-size: 16px;
    text-transform: none;
    position: relative;
}

.footer .copyright {
    padding-top: 25px;
    padding-bottom: 25px;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 100%);
    background-color: #1c1c1c;
}

.footer .copyright .social-links {
    margin-left: 10px;
    position: relative;
    top: 4px;
}

.footer .copyright .social-links a {
    color: var(--contrast-color);
    display: inline;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: none;
    padding: 0 3px;
    font-size: 1.2rem;
    margin: 0 auto;
}

.footer .copyright .social-links a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.footer .copyright p {
    margin-bottom: 0;
}

.footer .copyright-info {
    padding-top: 6px;
    text-align: right;
}

@media (max-width: 640px) {

.footer .copyright .social-links {
    top: 6px;
}

.footer .copyright .social-links a {
    font-size: 1.5rem;
}

}

@media (max-width: 640px) {

    #footer h4 {
        font-size: 21px;
    }

    #footer .footer-links {
        margin: 10px 0;
    }

    .copyright .logo-footer {
        margin: 0 auto;
    }

    .copyright .copyright-info {
        text-align: center;
    }

}