/*--------------------------------------------------------------
# Main style
--------------------------------------------------------------*/
 html, body {
   height: 100%;
 }

body {
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -webkit-overflow-scrolling: touch;
    -webkit-font-smoothing: antialiased;
}

a { color: #525252; text-decoration: none; }
a:hover { color: #878787; }

section {
    padding-top: 80px;
    padding-bottom: 80px;
}

textarea {
    width: 100%;
    min-height: 150px;
}

main {
    padding-bottom: 66px;
}

.hidden {
    display: none;
}

.title {
    width: 100%;
    text-align: center;
}

.ic-flag {
    height: 16px;
}

.ic-menu {
    width: 35px;
    height: 25px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    display: inline-block;
    cursor: pointer;
}

.ic-menu span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #525252;
    border-radius: 5px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.ic-menu span:nth-child(1) {
    top: 0;
}

.ic-menu span:nth-child(2),.ic-menu span:nth-child(3) {
    top: calc(50% - 3px);
}

.ic-menu span:nth-child(4) {
    bottom: 0;
}

.ic-menu.open span:nth-child(1) {
    top: calc(50% - 3px);
    width: 0;
    left: 50%;
}

.ic-menu.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.ic-menu.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.ic-menu.open span:nth-child(4) {
    top: calc(50% - 3px);
    width: 0;
    left: 50%;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, .075);
}

/*--------------------------------------------------------------
# Navigation bar
--------------------------------------------------------------*/
.navbar {
    padding-left: 0;
    padding-right: 0;
    justify-content: space-between;
}

.navbar-collapse {
    flex-grow: 0;
}

.navbar-toggler {
    padding: 0;
}

.navbar-brand {
    margin: 0;
}

.navbar-brand img {
    width: 120px;
    max-width: 100%;
    max-height: 100%;
    transition: all 0.3s ease-in-out;
}

.large .navbar-brand img {
    width: 220px;
}

.nav-item {
    padding: 0 8px;
}

.nav-item.active, .dropdown-item.active {
    background: #d06e76;
}

.nav-item a, .dropdown-item a {
    color: #525252;
    font-weight: bold;
}

.nav-item a:hover, .dropdown-item a:hover {
    color: #d06e76;
}

.nav-item.active a, dropdown-item.active a {
    color: #fff;
}

.dropdown-menu {
    border-radius: 0;
    padding: 0;
    min-width: 1rem;
}


/*--------------------------------------------------------------
# Games
--------------------------------------------------------------*/
.games-section {
    min-height: 100vh;
    padding-top: 60px;
}

/*--------------------------------------------------------------
# Carousel
--------------------------------------------------------------*/
.carousel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.carousel-container {
    position: relative;
    height: 100%;
    padding-bottom: 66px;
}

.carousel-indicators {
    bottom: 66px;
}

.carousel-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-logo img {
    max-width: 100%;
    height: auto;
}

.carousel-buttons {
    width: 100%;
    margin: 1rem 0 5rem 0;
}

.carousel-buttons a, .carousel-buttons img {
    width: 100%;
    height: auto;
    display: inline-block;
}

.carousel-background {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about-section {
    padding-top: 80px;
}

/*--------------------------------------------------------------
# Documents
--------------------------------------------------------------*/
.doc-section {
    padding: 80px 0;
}

/*--------------------------------------------------------------
# Careers
--------------------------------------------------------------*/
.careers-section {
    color: #fff;
    background: #d06e76;
    padding-bottom: 0;
}

.careers-section .container {
    padding-bottom: 80px;
}

.careers-container {
    background: #f3e9e9;
    display: flex;
    color: #3d3d3d;
    padding-top: 40px;
    padding-bottom: 40px;
}

.careers-card-grid {
    display: grid;
    grid-gap: 32px;
    grid-template-columns: repeat(1, 1fr);
}

.careers-card {
    width: 80%;
    padding-top: 80%;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease-in-out;
    margin: auto;
}

.careers-card-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.careers-card-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.careers-card-image {
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.careers-card-image img {
    width: 180px;
}

.careers-card:hover {
    transform: scale(1.2);
    transition: all 0.3s ease-in-out;
    z-index: 100;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, .2);
}

.careers-card-title {
    font-weight: bold;
    text-align: center;
    padding: 8px 0;
}

.careers-card-description {
    display: none;
    opacity: 0;
    font-size: 11px;
    text-align: justify;
    text-justify: inter-word;
}

.careers-card-description ul {
    padding-inline-start: 30px;
    padding-inline-end: 20px;
    margin: 0;
}

.careers-card:hover .careers-card-content {
    display: block;
}

.careers-card:hover .careers-card-image {
    margin-top: -40px;
}

.careers-card:hover .careers-card-image img {
    width: 80px;
}

.careers-card:hover .careers-card-info {
    height: 250px;
}

.careers-card:hover .careers-card-description {
    opacity: 1;
    display: block;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact-section {
    min-height: calc(100vh);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/*--------------------------------------------------------------
# FB notice
--------------------------------------------------------------*/
.fb-notice-section li {
    padding-bottom: 12px;
}

.fb-notice-section {
    padding-top: 80px;
}

.fb-notice-section-2 {
    padding-top: 0;
}

.fb-notice .fb-notice-img {
    padding: 0.5rem;
}

.fb-notice .fb-notice-img img {
    width: 100%;
    border-radius: 0.4rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, .2);
}

/*--------------------------------------------------------------
# Games
--------------------------------------------------------------*/

.games .banner {
    padding: 0.5rem;
}

.games .banner img {
    width: 100%;
    opacity: 0.5;
    border-radius: 0.4rem;
    transition: all 0.2s ease-in;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, .2);
}

.games .banner .active {
    cursor: default;
}

.games .banner img {
    opacity: 1.0;
}

.games .banner img:hover {
    z-index: 100;
    opacity: 1.0;
    transform: scale(1.2);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, .2);
}

.games .banner .active img:hover {
    z-index: 100;
    transform: scale(1);
}

/*--------------------------------------------------------------
# FAQ
--------------------------------------------------------------*/
.faq-section {
    display: none;
    transition: 0.2s ease-in;
}

.faq-section .accordion a {
    color: #525252;
    text-decoration: none;
}

.faq-section .accordion .card-header {
    border-bottom: 0;
}

/*--------------------------------------------------------------
# Support
--------------------------------------------------------------*/
.support-section {
    display: none;
    padding-bottom: 120px;
    transition: 0.2s ease-in;
}
.support form {
    width: 100%;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    width: 100%;
    height: 66px;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1030;
    position: fixed;
    color: #939393;
    background-color: #343a40;
    font-size: 0.7rem;
    text-align: center;
}

.footer .container {
    height: 100%;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    color: #ccc;
    text-decoration: none;
}

/*--------------------------------------------------------------
# Responsive Container
--------------------------------------------------------------*/

@media screen and (min-width: 768px) {
    .nav-item.active {
        background: none;
    }

    .nav-item.active a {
        color: #d06e76;
    }

    .careers-card-grid {
        display: grid;
        grid-gap: 2px;
        grid-template-columns: repeat(2, 1fr);
    }

    .careers-card {
        width: 100%;
        padding-top: 100%;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .title {
        text-align: left;
    }

    .careers-card-grid {
        display: grid;
        grid-gap: 2px;
        grid-template-columns: repeat(3, 1fr);
    }

    .careers-card-description {
        display: none;
        opacity: 0;
        font-size: 11px;
    }
}
