html, body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&display=swap');

* {
    font-family: 'kinggames-title', sans-serif;
}

p {
    font-family: 'Open Sans', sans-serif;
}

.nav__placeholder {
    width: 100%;
    padding: 30px 0;
    background: #fff;
}

.nav {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    background: #222;
}

.nav .nav__wrapper {
    width: 100%;
    margin: auto auto;
    padding: 25px 15px;
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
}

.nav .logo {
    display: block;
}

.nav .logo img {
    width: 230px;
}

.nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav ul li {
    padding: 0;
    margin: 0 15px;
    display: inline-block;
}

.nav ul li a {
    display: block;
    margin: 0;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    padding: 10px 0;
    transition: 0.1s all;
}

.nav ul li a:hover {
    color: #e6e71f;
}

.hamburger {
    position: absolute;
    top: 20px;
    right: 20px;
    height: 30px;
    width: 50px;
    display: none;
    border: none;
    background: linear-gradient(to bottom, #fff, #fff) no-repeat center;
    background-size: 100% 20%;
    transition: background-size 0.3s ease-in-out;
    cursor: pointer;
    outline: none;
}

.hamburger::before,
.hamburger::after {
  display: block;
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 20%;
  background-color: #fff;
  transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

.hamburger::before {
    top: 0;
}

.hamburger::after {
    bottom: 0;
}

.hamburger.active {
    background-size: 0 0;
}

.hamburger.active:before {
    -webkit-transform: translateY(200%) rotate(45deg);
    transform: translateY(200%) rotate(45deg);
}

.hamburger.active:after {
    -webkit-transform: translateY(-200%) rotate(-45deg);
    transform: translateY(-200%) rotate(-45deg);
}

section {
    width: 100%;
    padding: 85px 0;
}

section .section__wrapper {
    width: 100%;
    position: relative;
}

section .section__header {
    position: relative;
    padding-top: 10px;
}

section .section__header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

section .section__header h2::after {
    content: "";
    position: absolute;
    top: 38%;
    right: -110px;
    height: 3px;
    width: 80px;
    background-color: #002AF9;
}

section .section__body {
    position: relative;
    z-index: 10;
}

section .section__body h1 {
    margin: 0 0 10px 0;
    font-size: 42px;
    line-height: 1;
}

#games {
    background: #fff;
}

#games .section__header h2 {
    color: #333;
    font-weight: 500;
}

#games .section__header h2::after {
    background: #333;
}

#games .section__body {
    color: #fff;
}

#games .section__body h1 {
    /* text-transform: uppercase; */
    font-size: 42px;
    color: #333;
}

#games .section__body p {
    font-weight: 300;
    max-width: 700px;
    color: #000;
}

.gamecard {
    width: 100%;
    padding: 10px 0px;
    position: relative;
    margin: 15px 0;
    height: 100%;
}

.gamecard .gamecard__thumb {
    width: 100%;
    margin: auto;
}

.gamecard .gamecard__thumb img {
    width: 100%;
    display: block;
    margin: auto;
}

.gamecard .gamecard__body {
    color: #2E2E2E;
    background: #fff;
    text-align: center;
    position: relative;
    height: 100%;
}

.gamecard .gamecard__body .gamecard__body-main {
    position: relative;
    z-index: 5;
    padding: 20px 20px 15px 20px;
    background: #CCD5FF;
    height: 100%;
}

.gamecard .gamecard__body .gamecard__body-main h3 {
    margin: 15px 0;
}

.gamecard .gamecard__body .gamecard__body-main .gamelink {
    text-decoration: none;
}

.gamecard .gamecard__body .gamecard__body-main .gamelink img {
    width: 30px;
    margin: 5px 5px 5px 5px;
}

.gamecard .gamecard__shadow {
    width: 100%;
    height: 100%;
    background: #EDF0FF;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 4;
}

#games .section__sideimg {
    width: 380px;
    position: absolute;
    bottom: -90px;
    left: -105px;
    transform: rotate(40deg);
}

#aboutus {
    background: #FFE3E3;

}

#aboutus .section__header h2 {
    color: #333;
    font-weight: 500;
}

#aboutus .section__header h2::after {
    background: #333;
}

#aboutus .section__body h1 {
    color: #333;
    font-weight: 600;
    line-height: 1;
}

#aboutus .section__body p {
    max-width: 700px;
    font-weight: 300;
    line-height: 2;
    margin: 20px 0;
}

#aboutus .section__sideimg {
    width: 180px;
    position: absolute;
    bottom: -120px;
    right: 0;
    transform: rotate(40deg);
}

#career {
    background: #fff;
}

#career .section__title-custom {
    margin: 0 0 15px 0;
    color: #fff;
    font-size: 48px;
    font-weight: 600;
    text-align: right;
    position: relative;
    line-height: 1.2;
}

#career .section__title-custom::after {
    content: "";
    position: absolute;
    left: 30%;
    bottom: 15%;
    height: 3px;
    width: 130px;
    background-color: #fff;
}

#career .section__header h2 {
    color: #333;
    font-weight: 500;
}

#career .section__header h2::after {
    background: #333;
}

#career .section__body h1 {
    /* font-size: 48px; */
    color: #333;
}

#career .jobcard {
    margin: 10px 0 10px 0;
    position: relative;
}

#career .jobcard .jobcard__body h3 {
    color: #333;
    margin: 20px 0;
    font-size: 32px;
}

#career .jobcard .jobcard__body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#career .jobcard .jobcard__body ul li {
    color: #333;
    line-height: 1.3;
    padding: 8px 0;
    font-size: 15px;
}

#career .jobcard .jobcard__body {
    background: #CCD5FF;
    padding: 25px 25px;
    position: relative;
    position: relative;
    z-index: 5;
}

#career .jobcard .jobcard__shadow {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 10px;
    left: 10px;
    background: #EDF0FF;
    z-index: 2;
}

#career .section__sideimg {
    width: 230px;
    position: absolute;
    bottom: -50px;
    left: -100px;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

#contact {
    background: #222;
    color: #fff;
}

#contact h1 {
    color: #fff;
    text-align: center;
    font-size: 48px;
    font-weight: 600;
    margin: 0 0 45px 0;
}

#contact #map {
    background: #3a3a3a;
    height: 310px;
    width: 100%;
    overflow: hidden;
}

#mapid { height: 180px; }

#contact #map iframe {
    width: 100%;
    height: 100%;
}

#contact .contact__infoblock h3 {
    font-size: 38px;
    font-weight: 600;
    margin: 30px 0 5px 0;
}

#contact .contact__infoblock h3:first-child {
    margin: 10px 0 5px 0;
}

#contact .contact__infoblock p {
    margin: 0;
    font-size: 15px;
}

#contact .contact__infoblock a {
    color: #fff;
    font-size: 15px;
    text-decoration: none;
}

#contact .contact__infoblock a:hover {
    color: #FF4141;
}

.footer {
    padding: 25px 0;
    background: #101010;
    color: #fff;
}

.footer img {
    width: 230px;
}

.footer p {
    margin: 0;
    font-size: 12px;
    text-align: right;
}

.footer .footer-menu {
    text-align: right;
    margin: 5px 0 20px 0;
}

.footer .footer-menu ul {
    padding: 0;
    list-style: none;
}

.footer .footer-menu ul li {
    padding: 7px 0;
}

.footer .footer-menu a {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
}

.footer .footer-menu a:hover {
    color: #FF4141;
}

@media (max-width: 768px) and (min-width: 767px) {
    .gamecard .gamecard__body .gamecard__body-main {
        padding: 130px 10px 15px 10px;
    }
}

@media (max-width: 767px) {

    .nav .nav__wrapper {
        display: block;
    }

    .nav .navlist {
        display: none;
    }

    .nav .navlist.animate__fadeIn {
        display: block;
        -webkit-animation: fadeIn;
        animation: fadeIn;
        -webkit-animation-duration: 1s;
        animation-duration: 1s;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
    }
    
    .nav .navlist.animate__fadeOut {
        -webkit-animation: fadeOut;
        animation: fadeOut;
        -webkit-animation-duration: 1s;
        animation-duration: 1s;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
    }

    .hamburger {
        display: block;
    }

    .nav ul {
        margin: 20px 0 0 0;
        text-align: center;
    }

    .nav ul li {
        display: block;
    }
}

@media (max-width: 768px) {
  
    section .section__body h1 {
        margin: 30px 0;
    }

    .section__body h1, .section__title-custom, #contact h1 {
        font-size: 36px !important;
    }

    #career .section__title-custom::after {
        left: 20%;
    }

    section {
        padding: 40px 0;
    }

    .section__sideimg {
        display: none;
    }

    #career .jobcard {
        margin: 20px 0 15px 0;
    }

    .gamecard .gamecard__thumb img {
        width: 100%;
    }

    #contact .contact__infoblock h3,
    #contact .contact__infoblock h3:first-child {
        margin: 20px 0 0px 0;
    }
}

@-webkit-keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@-webkit-keyframes fadeOut {
    from {opacity: 1;}
    to {opacity: 0;}
}
@keyframes fadeOut {
    from {opacity: 1;}
    to {opacity: 0;}
}

/* docs : privacy, tos */

#doc {
    padding: 40px 0 !important;
    line-height: 1.5;
}

#doc h1 {
    font-size: 32px;
    margin: 4px 0;
}

#doc ul {
    padding: 0 15px;
}

#doc a {
    color: #000;
}

#doc a:hover {
    color: #FF4141;
}

.sub_text {
    margin: 20px 0px 0px 0px;
    /* text-align: left; */
}