/* GENERALS */ 
@media screen and (max-width: 1200px) {
    /* hamburger button */
    .wp-block-navigation__responsive-container-open  {
      display: block !important;
    }
  
    /* full menu */
    .wp-block-navigation__responsive-container:not(.is-menu-open.has-modal-open) {
      display: none !important;
    }
}
main, 
header, 
footer {
    min-width: 300px;
}
header .wp-block-group.has-background {
    box-shadow: 0 0 10px #13D5DB;  
}
section,
section.wp-block-cover,
section.wp-block-cover-image {
    padding: 50px 0 75px 0;
}
section.clip_polygon {
    clip-path: polygon(0 0, 50% 50px, 100% 0, 100% 101%, 0 101%);
    padding-top: 100px;
    margin-top: -50px !important;
    z-index: 2;
}
section.clip_white {
    margin: 0;
}
section.clip_white::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    top: -49px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    z-index: 2;
    clip-path: polygon(0 0, 50% 100%, 100% 0, 100% 100%, 0 100%);
}
.pjs_grid_container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
}
.section_title {
    color: white;
    text-shadow: 0 0 10px #FF4DE4;
    background-color: #011439;
    border: 5px solid #FF4DE4;
    box-shadow: 0 0 10px #FF4DE4;
    padding: 10px 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    display: inline-block;
}
.txt_whiteglowing {
    color: white;
    text-shadow: 0 0 10px #13D5DB;
}
.font-s {font-size: 12px;}
.font-m {font-size: 14px;}
.font-l {font-size: 18px;}
.font-xl {font-size: 24px;}
.title_container {
    text-align: center;
}
header.wp-block-template-part {
    /*position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;*/
}
header .nav_languages p {
    margin: 0;
    padding: 0;
}
header .nav_languages select {
    background: transparent;
    color: white;
    background-color: #011439;
    border: none;
    font-family: "Lexend", serif;
    font-size: 16px;
    font-weight: bold;
}
.hidden-section {
    display: none;
}
.age-gate {
    border: 5px solid #13D5DB;
    box-shadow: 0 0 10px #13D5DB;
    border-radius: 20px;
}
.age-gate__subheadline {
    font-size: 32px;
    text-transform: uppercase;
    font-weight: bolder;
    text-shadow: 0 0 10px #13D5DB;
    margin-bottom: 0;
}
.age-gate__submit.age-gate__submit--no,
.age-gate__submit.age-gate__submit--yes {
    background: rgb(255, 224, 0);
    background: linear-gradient(180deg, rgba(255,224,0,1) 40%, rgba(234,106,0,1) 100%);
    border: solid 2px #EA6A00;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 5px 20px;
    border-radius: 15px;
}
.age-gate__submit.age-gate__submit--no:hover,
.age-gate__submit.age-gate__submit--yes:hover {
    border: solid 2px #EA6A00 !important;
}
.age-gate__error {
    color: #ffe000;
}
/* HOME */ 
.hero__content  {
    /* opacity: 0; */
}
#about-us {
    position: relative;
}

#about-us::after,
#our-team::after,
#contact-us::after,
#game-gallery::after {
    content: "";
    background-image: url('../img/dividers/divider_01.png');
    background-repeat: repeat-x;
    background-position: center center;
    width: 100%;
    height: 50px;
    position: absolute;
    bottom: -25px;
    left: 0;
    z-index: 2;
}
#about-us .pjs_grid_container {
    row-gap: 50px;
}
.about__info {
    grid-column: 1 / 13;
}
.about__trailer {
    grid-column: 1 / 13;
    grid-row: 1 / 2;
    margin-top: 0;
}

.iframe__container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; 
}
.iframe__container iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

#we-promise {}

.about__numbers,
.promise__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    column-gap: 25px;
    row-gap: 50px;
}
.about__numbers {
    column-gap: 32px;
}
.about__numbers > .wp-block-group,
.promise__list > .wp-block-group {
    display: grid;
    grid-template-rows: subgrid;
    row-gap: 0;
}
.about__numbers > .wp-block-group {
    grid-row: span 2;}
.promise__list > .wp-block-group {
    grid-row: span 3;}

.about__numbers > .wp-block-group figure,
.promise__list > .wp-block-group figure {

}
.about__numbers > .wp-block-group figure img,
.promise__list > .wp-block-group figure img{
    max-width: 100%;
    height: auto;
}
.games__container {
    margin-top: 50px;
    margin-bottom: 100px;
}
.games__container #load-more-games {
    font-family: "Lexend", sans-serif;
    background: rgb(255,224,0);
    background: linear-gradient(180deg, rgba(255,224,0,1) 40%, rgba(234,106,0,1) 100%);
    box-shadow: 6px 6px 9px rgba(0, 0, 0, 0.2);
    border: solid 5px #EA6A00;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    width: auto;
    max-width: 100%;
    padding: 15px 35px;
    border-radius: 20px;
    outline: none;
    cursor: pointer;
    margin: 20px auto;
    display: block;
}
.games__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10px;
    row-gap: 10px;
    justify-items: center;
}
.game__item {
    position: relative;
    max-width: 350px;
}
.game__item img {
    width: 100%;
    height: auto;
}
.game__info {
    width: 100%;
    height: 100%;
    background-color: rgba(1, 20, 57, .95);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    box-sizing: border-box;
    transition: all 0.1s;
}
.game__info:hover {
    opacity: 1;
    transition: all 0.3s ease-in-out;
}
.game__info a {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    padding: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    text-decoration: none;
}
.game__info h3 {
    margin: 0;
    color: white;
    text-transform: uppercase;
    text-decoration: underline;
    text-align: center;
}
.game__button {
    font-family: "Lexend", sans-serif;
    background: rgb(255,224,0);
    background: linear-gradient(180deg, rgba(255,224,0,1) 40%, rgba(234,106,0,1) 100%);
    border: solid 3px #EA6A00;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    width: auto;
    max-width: 100%;
    padding: 5px 15px;
    margin-top: 20px;
    border-radius: 15px;
    outline: none;
    cursor: pointer;
    text-decoration: none;
}
.games__decLeft, 
.games__decRight{
    position: absolute;
    bottom: 0;

}
.games__decLeft img, 
.games__decRight img{
    max-width: none;
}
.games__decLeft {
    right: calc(50% + 250px);
}
.games__decRight {
    left: calc(50% + 250px);
}
.contact__image {
    grid-column: 1 / 13;
    grid-row: 2 / 3;
}
.contact__info {
    grid-column: 1 / 13;
}

.contact__form {
    width: 100%;
    max-width: 100% !important;
}
.contact__form .wpcf7 {
    width: 100%;
}
.contact__form form {
    position: relative;
}
.contact__form span {
    display: block;
}
.contact__form input[type="text"],
.contact__form input[type="email"],
.contact__form textarea {
    font-family: "Lexend", sans-serif;
    font-size: 20px;
    background-color: #fff;
    border-radius: 15px;
    width: 100%;
    border: none;
    padding: 15px 20px;
    box-sizing: border-box;
}
.contact__form .wpcf7-form-control-wrap {
    margin: 20px 0;
}
.contact__form input[type="text"]::placeholder,
.contact__form input[type="email"]::placeholder,
.contact__form textarea::placeholder {
    color: #909090;
}

.contact__form input[type="submit"] {
    font-family: "Lexend", sans-serif;
    background: rgb(255,224,0);
    background: linear-gradient(180deg, rgba(255,224,0,1) 40%, rgba(234,106,0,1) 100%);
    border: solid 5px #EA6A00;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    width: 320px;
    max-width: 100%;
    padding: 20px;
    border-radius: 20px;
    outline: none;
    cursor: pointer;
}
/* TEAM LIST */
.team__list {
    display: grid;
    margin: 0 auto;
    column-gap: 20px;
    row-gap: 50px;
    align-content: center;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-block-start: 50px !important;
    margin-block-end: 100px !important;
}
.team__3columns .team__list{
    max-width: 850px;
}
.team__4columns .team__list{
    max-width: 1070px;
}
.team__item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.team__photo {
    position: relative;
    text-align: center;
    display: inline-block;
    border-radius: 10px;
    overflow: hidden;
}
.team__photo .team__button {
    position: absolute;
    font-family: "Lexend", sans-serif;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    width: 100%;
    height: 100%;
    display: flex;
    text-decoration: underline;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease-in;
    z-index: 4;
}
.team__photo img {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
}
.team__photo::before {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    opacity: 0;
    transition: all 0.2s ease-in;
    background-color: rgba(1, 20, 57, .85);
}
/* .team__photo::after {
    width: 100%;
    height: 100px;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.9) 100%);
} */
.team__photo:hover::before,
.team__photo:hover .team__button {
    opacity: 1;
}
.team__data {
    text-align: center;
    font-size: 16px;
}
.team__data a {
    color: #011439;
    font-weight: bold;
    font-size: 1.2em;
    text-decoration: none;
}
.team__data a:hover {
    text-decoration: underline;
}
.team__data h4 {
    font-weight:normal;
    color: #066CA4;
    font-size: 1em;
    margin: 0;
}
/* TEAM MEMBER */
.team__cover {
    grid-column: 2 / 12;
}
.team__content {
    grid-column: 1 / 13;
}
/* NEWSLETTER */
#mc_embed_signup_scroll {
    color: white;
    text-shadow: 0 0 10px #FF4DE4;
    background-color: #011439;
    border: 5px solid #FF4DE4;
    box-shadow: 0 0 10px #FF4DE4;
    padding: 10px;
    border-radius: 20px;
    margin-bottom: 20px;
    width: 100%;
    display: grid;
    grid-template-columns: auto 50px;
    align-items: stretch;
    justify-items: stretch;
}
.mc-field-group .email {
    font-family: "Lexend", sans-serif;
    background-color: transparent;
    color: white;
    border: none;
    line-height: 40px;
    width: 90%;
}
.mc-field-group .email::placeholder {
    color: white;
}
.optionalParent .button {
    width: 40px;
    height: 40px;
    background-color: transparent;
    background-image: url('../img/icon_send_newsletter.svg');
    background-size: contain;
    background-repeat: no-repeat;
    border: none;
}

/* BLOG */
.blog__container {
    align-items: start;
}
.blog__content {
    grid-column: 1 / 13;
}
.blog__sidebar {
    grid-column: 1 / 13;
}
/* GAME SINGLE */
#game-trailer {
    padding-bottom: 100px;
}
#game-trailer .wp-element-button {
    white-space: nowrap;
}
.bg_trailer__container {
    position: relative;
    max-width: 800px;
    height: 600px;
    max-height: 80vh;
    border-radius: 20px;
}
#game-info .pjs_grid_container  {
    row-gap: 50px;
    align-items: start;
}
.btn_new_window {
    position: absolute;
    top: 0;
    right: 0;
}
.game__description {
    grid-column: 1 / 13;
}
.game__logo {
    margin-bottom: 50px;
}
.game__logo img {
    max-height: 150px;
    width: auto;
}
.game__table {
    margin-block-start: 0;
    grid-column: 1 / 13;
}
.game__table .wp-block-group.is-layout-grid p {
    position: relative;
}
.game__table .wp-block-group.is-layout-grid p::after {
    content: "";
    width: 100%;
    height: 2px;
    background-color: rgba(19, 213, 213, .3);
    position: absolute;
    bottom: -10px;
    left: 0;
}
.game__table .wp-block-group.is-layout-grid p:nth-child(odd)::after {
    width: calc(100% + 20px);   
}
.game__table .wp-block-group.is-layout-grid p:nth-last-child(1)::after,
.game__table .wp-block-group.is-layout-grid p:nth-last-child(2)::after {
    display: none;
}
#game-gallery .section_title {
    margin-bottom: 50px;
}
#game-gallery .gallery__list {
    display: grid;
    max-width: 850px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 32px;
}
#game-gallery .gallery__list .wp-block-image {
    margin-block-start: 0;
    margin-block-end: 0;
}
#game-gallery .gallery__list img {
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, .7);
}
#game-gallery .gallery__container img {
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, .7);
}

/* ================================================
=== JP's CODE TO MAKE DEMOS AVAILABLE FOR EVENT ===
==================================================*/
/* SIZE AND RESPONSIVE */
.demo-container {
    position: relative;
    width: 720px;
    height: 430px;
    margin: 0 auto;
}
.game-demo {
    display: none;
    max-width: 740px;
    height: 0;
    padding-bottom: 58.33%;
}
.game-demo iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 740px;
    height: 100%;
    max-height: auto;
}
@media (max-width: 768px) {
    .demo-container, .demo-bg, .game-demo {
        width: 100%;
        height: auto;
    }
}
.demo-bg {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 720px;
    max-height: 430px;
    border: 2px solid #ffffff;
}
/* DEMO ELEMENTS */
.play-demo-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    padding: 10px 10px;
}
.pop-out-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    width: 45px;
    height: 45px;
    cursor: pointer;
}
.phone-pop-out {
    position: absolute;
    top: 10px;
    right: 50px;
    z-index: 10;
    width: 45px;
    height: 45px;
    cursor: pointer;
}
/* MP GAMES RESPONSIVE */
.mp-demo-container {
    position: relative;
    width: 650px;
    height: 430px;
}
.mp-demo {
    display: none;
    max-width: 650px;
    height: 0;
    padding-bottom: 59.72%;
}
.mp-demo iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 650px;
    height: 100%;
    max-height: auto;
}
@media (max-width: 768px) {
    .mp-demo-container, .mp-demo-bg, .mp-demo {
        width: 100%;
        height: auto;
    }
}
.mp-demo-bg {
    position: relative;
    width: 100%;
    max-width: 650px;
    height: auto;
    max-height: 430px;
    border: 2px solid #ffffff;
}

/* FOOTER */ 
footer.wp-block-template-part {
    margin-block-start: 0px;
}

/* RESPONSIVE */
@media only screen and (min-width: 560px) { 
    .font-s {font-size: 14px;}
    .font-m {font-size: 16px;}
    .font-l {font-size: 24px;}
    .font-xl {font-size: 32px;} 
    .game__table .wp-block-group .wp-block-group-is-layout-grid {
        grid-template-columns: 130px auto;
    }
}
@media only screen and (min-width: 601px) {  
    .wp-container-core-post-template-is-layout-1 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media only screen and (min-width: 768px) {  
    .pjs_grid_container {
        column-gap: 32px;
    }
    .section_title {
        padding: 10px 100px;
    }
    .about__info {
        grid-column: 2 / 12;
    }
    .about__trailer {
        grid-column: 2 / 12; 
    } 
    .partners__list {
        flex-wrap:nowrap;
    }
    .contact__image {
        grid-column: 2 / 12;
        grid-row: 3 / 3;
    }
    .contact__info {
        grid-column: 2 / 12; 
    }
    .team__cover {
        grid-column: 1 / 4;
    }
}

@media only screen and (min-width: 992px) {
    section,
    section.wp-block-cover,
    section.wp-block-cover-image {
        padding: 100px 0 200px 0;
    }
    section#our-team {
        padding-bottom: 50px;
    }
    section.clip_polygon {
        clip-path: polygon(0 0, 50% 100px, 100% 0, 100% 101%, 0 101%);
        padding-top: 200px;
        margin-top: -100px !important;
    }
    section.clip_white::before {
        height: 100px;
        top: -99px;
    }
    .wp-block-navigation__container.wp-block-navigation {
        justify-content: space-around;
    }
    .hero.wp-block-cover {
        min-height: calc(100vh - 100px);
    }
    .games__container {
        margin-bottom: 200px;
    }
    .contact__image {
        grid-row: auto;
        grid-column: 1 / 7;
    }
    .contact__info {
        grid-column: 7 / 13;
    }
    .wp-container-core-post-template-is-layout-1 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    aside .wp-container-core-post-template-is-layout-1 {
        grid-template-columns: 1fr;
    }
    .blog__content {
        grid-column: 5 / 13;
    }
    .blog__sidebar {
        grid-column: 1 / 5;
        grid-row: 1;
    }
}

@media only screen and (min-width: 1200px) {
    .about__info {
        grid-column: 1 / 6;
    }
    .about__trailer {
        grid-column: 7 / 13;
    }
    .team__cover {
        grid-column: 2 / 6;
    }
    .team__content {
        grid-column: 6 / 13;
    }
    .games__list {
        grid-template-columns: repeat(4, 1fr);
    }
    .game__description {
        grid-column: 1 / 7;
    }
    .game__table {
        grid-column: 7 / 13;
    }
    .blog__content {
        grid-column: 4 / 13;
    }
    .blog__sidebar {
        grid-column: 1 / 4;
    }
}

@media only screen and (min-width: 1600px) {
    .font-s {font-size: 16px;}
	.font-m {font-size: 24px;}
    .font-l {font-size: 32px;}
    .font-xl {font-size: 40px;}
    .games__decLeft {right: calc(50% + 350px);}
    .games__decRight {left: calc(50% + 350px);}
}

@media only screen and (min-width: 1920px) {
    .game__description {grid-column: 1 / 7;}
    .game__table {grid-column: 8 / 13;}
    .games__decLeft {right: calc(50% + 450px);}
    .games__decRight {left: calc(50% + 450px);}
}
@media only screen and (max-width: 1199px) {

}
@media only screen and (max-width: 991px) {
    .games__decLeft, 
    .games__decRight {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .partners__list img {
        max-height: 50px;
        width: auto;
    }
    .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
        max-width: 83.3vw;
    }
}

@media only screen and (max-width: 559px) {
    .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
        max-width: 90%;
    }
    .custom-logo-link {
        width: 150px;
    }
    .section_title {
       font-size: 24px;
    }
    #mc_embed_signup_scroll {
        width: auto;
    }
}