/* ===================================================================================

* Theme Name: Nerko Child
* Theme URI: https://www.themegenix.net/wp/nerko/
* Author: ThemeGenix
* Author URI: https://themeforest.net/user/themegenix/
* Description: Nerko - NFT Portfolio WordPress Theme
* Version: 1.1
* Template: nerko
* License: GNU General Public License version 3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Tags: one-column, right-sidebar, left-sidebar, custom-menu, featured-images, post-formats, sticky-post, translation-ready

* We encourage you to create Child theme for any modifications you will want to do.

* Why use Child theme?

* Because of future updates we may provide for this theme that will overwrite your
* modifications and all your custom work.

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
* http://wp.tutsplus.com/tutorials/theme-development/child-themes-basics-and-creating-child-themes-in-wordpress/

====================================================================================== */

/* CARD DISPLAY */

#pokemonList {
    grid-template-columns: repeat(4, 1fr);
    padding: 0;
    margin: 0;
    position: relative;
    display: grid;
    grid-gap: 30px;
    grid-auto-rows: minmax(150px, auto);
	margin-top: 60px;
	margin-bottom: 120px;
}

@media only screen and (max-width: 992px) {
#pokemonList {
    grid-template-columns: repeat(3, 1fr);
}
}

@media only screen and (max-width: 768px) {
#pokemonList {
    grid-template-columns: repeat(2, 1fr);
}
}

@media only screen and (max-width: 576px) {
#pokemonList {
    grid-template-columns: repeat(1, 1fr);
}
}

.card {
    aspect-ratio: 1 / 1.4;
    perspective: 1000px;
    background-color: #FFF;
    padding: 15px;
    border-radius: 12px;
    -webkit-box-shadow: 0 3px 8px -1px rgba(0, 0, 0, 0.08);
    -moz-box-shadow: 0 3px 8px -1px rgba(0, 0, 0, 0.08);
    -ms-box-shadow: 0 3px 8px -1px rgba(0, 0, 0, 0.08);
    -o-box-shadow: 0 3px 8px -1px rgba(0, 0, 0, 0.08);
    box-shadow: 0 3px 8px -1px rgba(0, 0, 0, 0.08);
}

[tg-theme=dark] .card {
    background-color: var(--tg-rgba-1);
}

.card__inner {
    width: 100%;
    height: 100%;
    transition: transform 1s;
    transform-style: preserve-3d;
    cursor: pointer;
    position: relative;
}

.card__inner.is-flipped {
    transform: rotateY(180deg);
}

.card__face {
    position: absolute;
    width: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
    border-radius: 12px;
}

.front {
    width: 100%;
}

.card__face--front {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card__face--back {
    transform: rotateY(180deg);
	display: flex;
    align-items: center;
    justify-content: center;
}

.card__content {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.card__name {
    color: #000;
    text-align: center;
    margin-top: 0.3em;
    margin-bottom: 0.3em;
}

[tg-theme=dark] .card__name {
    color: #FFF;
}

.card_overlay {
    position: absolute;
    bottom: 15%;
    right: -12%;
    max-width: 40%;
    rotate: 270deg;
}

/* INSTAGRAM DISPLAY */

#title-insta > div > section > div > div.justify-content-center > div > div.faq__wrapper{
    display : none;
}

.eapps-instagram-feed-posts-item-image-wrapper {
	border-radius: 8px;
}

#eapps-instagram-feed-1 .eapps-instagram-feed-posts-item-overlay {
    border-radius: 8px;
}