
    :root {
        /* tools */
        --border-props: 1px solid black;

        /* fonts */
        --custom-font-family: "Bangers", system-ui;
        --custom-font-family-text: "Montserrat", sans-serif;

        /* colors */
        --background-color-dark-1: rgb(68, 68, 167);

        --background-color-light-1: rgb(241, 235, 235);
        --background-color-light-2: #7986e4ae;
    
        --grey-shade-0: rgba(219, 219, 219, 0.764);
        --grey-shade-1: rgb(94, 93, 98);

       

        --background-color-pokemon-card-1: rgb(255, 255, 255);

        --font-color-light: rgb(255, 255, 255);
        --font-color-dark: black;

        --pokemon-color-yellow: #ffde00;
        --pokemon-color-blue: #3b4cca;
        --pokemon-color-red: #ff0100;

        --success-color: #63d6c9;
        --failure-color: #fb7878;

        /* gameboard colors */

        --game-board-perimeter-color: #64a0ef;;
        --game-board-grid-area-color: #AAABBE;

        /* card color */

        --custom-back-card-color:  #1e3f6bc2;
        --card-border-color: rgba(161, 161, 161, 0.75);
        --card-boder-props: 1px solid var(--card-border-color);

        /* sizes */
        --font-size-0: .8rem;
        --font-size-1: 1rem;
        --font-size-2: 1.2rem;
        --font-size-3: 1.4rem;
        --font-size-4: 1.6rem;
        --font-size-5: 1.8rem;
        --font-size-6: 2rem;
        --font-size-7: 2.2rem;
        --font-size-8: 5rem;

        --pokemon-card-width-size: 125px;
        --pokemon-card-height-size: 200px;
        --pokemon-ball-size: 20px;

        /* border radius */
        --border-radius-size: 8px;

        /* container sizes */
        
        --size-0: 5px;
        --size-1: 20px;
        --size-2: 25px;
        --size-3: 35px;
        --size-4: 40px;
        --size-5: 50px;
        --size-6: 60px;
        --size-7: 70px;
        --size-8: 100px;
        --size-9: 150px;

        /* perspective size */
        --size-10: 1000px;

        /* spacing margin/padding/layout */

        --spacing-xsmall: 2px;
        --spacing-small: 5px;
        --spacing-medium: 10px;
        --spacing-large: 20px;
        --spacing-xlarge: 40px;

        /* opacity sizes */
        --opacity-size-0: 0;
        --opacity-size-1: .2;
        --opacity-size-2: .4;
        --opacity-size-3: .6;
        --opacity-size-4: .8;
        --opacity-size-end: 1;

        /* shadows */

        --box-shadow-card-default: 0px 0px 5px 1px rgba(0, 0, 0, .4);
        --box-shadow-card-hover: 0px 0px 3px 3px rgba(149, 149, 149, 0.3);
        --box-shadow-game-board: 3px 15px 21px 3px rgba(0, 0, 0, 0.35);

        /* animations */
        --card-rotation-deg: -180deg;

        /* speed */
        --speed-0: .3s;
        --speed-1: .4s;
        --speed-2: .5s;
        --speed-3: .6s;
        --speed-4: .7s;
        --speed-5: .8s;
        --speed-6: .9s;

        /* movement type */

        --move-type-0: ease-in-out;
        --move-type-1: linear;
        --move-type-2: ease-out;


        /* transition/transform properties */

        --transform-props: transform var(--speed-0) var(--move-type-1);

        --font-size-transition-props: font-size var(--speed-2) var(--move-type-1);
        --opacity-transition-props: opacity var(--speed-2) var(--move-type-1);
        --background-color-transition-props: background-color var(--speed-2) var(--move-type-1);
        --color-transition-props: color var(--speed-2) var(--move-type-1);
        --border-color-transition-props: border-color var(--speed-2) var(--move-type-1);
        --border-width-transition-props: border-width var(--speed-2) var(--move-type-1);
        --box-shadow-transition-props: box-shadow var(--speed-2) var(--move-type-1);
        --dialog-transition-props: background 0.5s var(--move-type-1);
        /* 
            background-color var(--speed-0) ease-in-out,
                color var(--speed-0) ease-in-out,
                border-color var(--speed-0) ease-in-out,
                border-width var(--speed-0) ease-in-out;
        */

    }

    * {
        margin: 0;
        padding: 0;
    }

    body {
        margin: 0;
        padding: 0;
        background-color: var(--background-color-light-1);
    }


    h1, h2, h3, h4, h5, h6 {
        font-family: var(--custom-font-family);
    }

    /* general layout styles */

    .section-container {
        width: 100%;
        margin: 0;
        padding: 0;
        
    }

    .content-container {
        width: 80%;
    }

    button {
        font-family: var(--custom-font-family-text);
    }

    /* navigation */



    .section-navigation {
        height: var(--size-8);
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        color: var(--font-color-light);
        background-color: var(--background-color-light-2);
        position: relative;
        z-index: 5;
    }

    .content-navigation {
        /* content container */

        width: 80%;
        margin: 0 auto;
        box-sizing: border-box;

        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .content-navigation > * {
        /* content container children */
        width: 50%;
    }
    .navigation-title-container {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .navigation-title-container a {
        text-decoration: none;
    }

    .navigation-title-container span, img {
        /* title container */
        margin-left: var(--spacing-medium);
        margin-right: var(--spacing-medium);
    }

    .navigation-title-container span {
        /* pokemon memory game */
        font-family: var(--custom-font-family);
        font-size: var(--font-size-7);
        letter-spacing: 1px;
        color: var(--pokemon-color-yellow);
        /* -webkit-text-stroke: var(--pokemon-color-blue);
        -webkit-text-stroke-width: 1px; */
    }
    .content-navigation #pokemon-ball {
        /* poke ball */
        width: var(--size-2);
        height: var(--size-2);

    }

    .navigation-ul {
        /* ul */
        list-style: none;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
    }

    .navigation-ul li {
        /* li */
        margin: 0 var(--spacing-small);
    }

    .navigation-ul a {
        display: inline-block;
        margin: 0 var(--spacing-medium);
        font-family: var(--custom-font-family);
        font-size: var(--font-size-2);
        /* font-weight: 600; */
        color: var(--pokemon-color-yellow);
        letter-spacing: 2px;

        text-transform: uppercase;
        text-decoration: underline;
        text-decoration-thickness: 2px;
        /* thickness of underline */
        text-underline-offset: 2px;
        text-decoration-color: var(--pokemon-color-blue);

        opacity: var(--opacity-size-end);

        transition: var(--transform-props);
    }

    .navigation-ul a:hover {
        transform: scale(1.1);
    }
    /* ------------------------------------------------------- */

    main {
        position: relative;
    
    }


    /* section hero */

    .section-hero {
        /* section hero container */
        height: 80vh;
        margin-top: calc(var(--spacing-xlarge) * 2);

        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;

        /* text-align: center; */
        background-color:var(--background-color-light-1);
        position: relative;
    }

  

    .content-hero {
        /* hero content container */
        width: 80%;
        height: 80%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    /* clouds */

    /* .cloud-container {
 
        width: 50%;

        position: absolute;
        top: 0;
        right: 0;

        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }

    #cloud-1, #cloud-2 {

        width: var(--size-9);
        height: var(--size-9);

        opacity: var(--opacity-size-0);

        transform: scale(.25);
        transition: .8s transform ease-in .5s, var(--opacity-transition-props);
    }

    #cloud-1.active {
        transform: scale(.8);
        opacity: var(--opacity-size-4);
    }

     #cloud-2.active {
        transform: scale(1.3);
        opacity: var(--opacity-size-4);
     } */

    .content-hero .hero-left-column {

        width: 100%;
        height: 100%;
       

        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .content-hero .hero-left-column * {
        /* all div contianers */
        margin: var(--spacing-medium) 0;
    }


    .content-hero .hero-left-column h2 {
        /* margin-bottom: var(--spacing-large); */
        padding: 0;
        margin: 0;

        font-family: var(--custom-font-family-text);
        font-size: var(--font-size-3);
        font-weight: 600;
        color: var(--grey-shade-1);

        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .content-hero .hero-left-column h3 {
        margin-bottom: var(--spacing-large);
        text-transform: uppercase;
        font-size: var(--font-size-0);
        font-family: var(--custom-font-family-text);
        font-weight: 600;
        color: var(--grey-shade-1);
        
    }

    .content-hero .hero-left-column p {
        width: 90%;
        font-family: var(--custom-font-family-text);
        font-size: var(--font-size-1);
        /* margin: var(--spacing-medium); */
        line-height: 2;
    }
    
    .hero-left-column-content-header {
        /* background-color: #3b4cca; */
        width: fit-content;
        height: 50px;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .content-hero img {
        /* behind the pokeball circle */
        width: var(--size-8);
        height: var(--size-8);
        margin: 0;
        padding: 0;
    }

    .hero-button-container {
        width: fit-content;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .hero-button-container #start-game-button, #game-rules{
        margin-right: var(--spacing-medium);
    }

    #start-game-button {
        width: var(--size-9);
        height: var(--size-4);
        margin: 0;

        border: 4px solid var(--pokemon-color-blue);
        color: var(--pokemon-color-blue);

        font-size: var(--font-size-0);
        font-weight: bold;

        background-color: transparent;
        border-radius: var(--size-2);

        cursor: pointer;
        opacity: var(--opacity-size-3);
        transition: var(--transform-props), var(--font-size-transition-props), var(--opacity-transition-props);
    }


    #start-game-button:hover {
        transform: scale(1.0) translateY(-.1rem);
        font-size: var(--font-size-0);
        opacity: var(--opacity-size-end);
    }

    .game-rules-text-container {

        width: 50%;
        margin: 0 auto;
        padding: var(--spacing-medium);
        position: absolute;
        top: 0;
        right: 0;
        z-index: 10;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        background-color: whitesmoke;
        border-radius: var(--border-radius-size);
        box-shadow: 1px 1px 2px 2px rgba(138, 138, 138, 0.206);

        transform: scale(0.98);
        opacity: 0;
        visibility: hidden;
    
        transition:
            transform 0.9s ease,
            opacity 0.9s ease,
            visibility 0s linear 0.6s;
    }

   .game-rules-text-container.active {
        
        transform: scale(1);
        opacity: 1;
        visibility: visible;
        transition:
            transform 0.9s ease,
            opacity 0.9s ease,
            visibility 0s;
   }

    /* tool tip */
    #game-rules {
        width: 20px;
        height: 20px;

        margin: 0 var(--spacing-medium);

        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;

        background-color: transparent;
        border: var(--grey-shade-1) solid 2px;
        border-radius: 50%;
        color: var(--grey-shade-1);
        font-family: var(--custom-font-family-text);

        opacity: var(--opacity-size-0);
        transition: var(--transform-props), var(--font-size-transition-props), var(--opacity-transition-props);
    }

    #game-rules.active {
        opacity: var(--opacity-size-3);
    }

    h4.game-rules-heading {

        text-align: center;
        text-transform: uppercase;
        font-size: var(--font-size-0);
        font-family: var(--custom-font-family-text);
        color: var(--grey-shade-1);
    }

    #game-rules p {
        /* margin: 0 auto; */
        padding: 0;
        text-align: center;
    }

    #game-rules:hover {
        transform: scale(1.0) translateY(-.1rem);
            font-size: var(--font-size-0);
            opacity: var(--opacity-size-end);
    }

    .hero-left-column-content {
        height: fit-content;

    }

    .hero-left-column-content-body {
        width: 100%;
        position: relative;
    }

    



    /* #game-info-button {
        height: var(--size-4);
        margin: 0 var(--spacing-medium);
        padding: 0 var(--spacing-medium);

        font-size: var(--font-size-0);
        font-weight: 600;


        color: var(--pokemon-color-blue);
        text-decoration: underline;
        text-decoration-thickness: 2px;
        text-underline-offset: 2px;

        background: none;
        border: none;

        opacity: var(--opacity-size-3);
        cursor: pointer;

        transition:var(--transform-props), var(--opacity-transition-props);
    }

    #game-info-button:hover {
        opacity: var(--opacity-size-end);
        transform: scale(1.05);
    } */

    /* loader */

.content-hero .hero-right-column {

    width: 100%;
    height: 100%;
    position: relative;
    /* margin: var(--spacing-xsmall); */

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    cursor: pointer;
}

/* after rendering imgs from reveal pokemon api */


/* pokemon in active state */
.hero-pokemon-img.active {
    opacity: 1;
    transform: translateY(10px) scale(1.05);
    
    /* transition: var(--transform-props); */

}

/* when hovered it shifts 10px up , in synchrony with card*/

.hero-pokemon-img:hover {
    transform: translateY(-2.5px);

}

/* when pokeball clicked pokmeon image moves from below to 'active' state */
.hero-pokemon-img {
    opacity: 1;
    padding: 0;
    margin: 0;
    transform: translateY(0px) scale(1);
    transition: opacity 0.5s ease,
        transform 0.5s ease;
}

.hero-pokemon-img.inactive {
    opacity: 0;
    transform: translateY(10px) scale(.25);
    transition: opacity 0.5s ease,
        transform 0.5s ease;
}

/* image container */
.hero-pokemon-image-container {

    /* pokemon container hero section */
    width: 75%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    /* justify-content: flex-start; */
    align-items: center;
}

.hero-pokemon-image-container div {
    /* divs are created in js */
    width: 33%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-pokemon-card-container {
    /* card container */
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-pokemon-card {

    width: var(--size-9);
    padding: var(--spacing-medium) ;
    position: absolute;
    top: 0;
    z-index: 5;

    background-color: var(--grey-shade-0);
    border-radius: var(--border-radius-size);
    border: 4px solid var(--background-color-light-2);
    
    color: var(--grey-shade-1);

    pointer-events: none;
    opacity: 0;
    transform: translateY(10px) scale(.9);
    transition: opacity 0.4s ease, transform 0.6s ease;
}

.hero-pokemon-card.active {
    width: 75%;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.hero-pokemon-card h4, .size, .stat-max {
    /* all headings and more in hero-card */
    letter-spacing: .5px;
    color: --grey-shade-1;
}

.hero-pokemon-card-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

}

.hero-pokemon-card .hero-header-col {
    /* header columns */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.hero-pokemon-card .hero-header-col * {
    margin: 0 var(--spacing-xsmall);
}

.hero-pokemon-card-header .pokemon-size {
    margin: var(--spacing-xsmall);

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    font-size: var(--font-size-0);
    font-weight: 600;


}

.pokemon-size-height, .pokemon-size-weight {
    width: fit-content;
    margin: 0 var(--spacing-xsmall);
    padding: var(--spacing-small);

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    background-color: rgba(255, 255, 255, 0.571);
    border-radius: 20px;
}

.pokemon-size-height p,
.pokemon-size-weight p {
    margin: 0 var(--spacing-xsmall);
    color: --grey-shade-1;
}


.hero-pokemon-card-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}


.hero-pokemon-card-body .progress-container {

    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.progress-container-headings {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.progress-container-headings .stat-max {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    font-size: var(--font-size-0);
}

.progress-container-headings h4 {
    margin: var(--spacing-xsmall) 0;
}


.hero-pokemon-card-body hr {

    width: 80%;
    height: 3px;
    margin: var(--spacing-small) 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-color: var(--background-color-light-2);
    border-radius: var(--border-radius-size);
    border: none;
}
/* TYPE and abilities  */
.hero-body-col {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.hero-body-col .subtitle {
    /* headings ability ans type */
    margin-right: var(--spacing-xsmall);
    font-weight: 600;
    font-size: var(--font-size-0);
}


.hero-pokemon-card .type {

    width: max-content;
    margin-top: var(--spacing-xsmall);

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    font-family: var(--custom-font-family-text);
    font-size: var(--font-size-0);
}
.hero-pokemon-card .type p {
    /* type */
    padding: var(--spacing-xsmall) var(--spacing-small);
    margin: 0 var(--spacing-small);

    border-radius: 15px;
    color: var(--font-color-dark);
    background-color: var(--background-color-light-2);

}


.hero-pokemon-card h3 {
    /* pokemon name */
    width: 100%;
    margin-top: var(--spacing-small);
    font-size: var(--font-size-5);
    text-align: center;
    letter-spacing: 2px;
}




.hero-pokemon-card .abilities {
    width: 100%;
    margin-top: var(--spacing-xsmall);
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;

    
}

.abilities ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.abilities ul li{

    list-style: none;

    width: max-content;
    padding: var(--spacing-xsmall) var(--spacing-small);
    margin: 0 var(--spacing-small);
    font-family: var(--custom-font-family-text);
    font-size: var(--font-size-0);

    border-radius: 10px;

    color: var(--font-color-dark);
    background-color: var(--background-color-light-2);
}


/* progress stats */

.progress-stats-container {
    /* background-color: blue; */
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:stretch;
}

.progress-stat {
    /* container of name and progress */
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
/* 
    background-color: pink; */
}

.progress-stat span {
    width: 40%;
    font-size: var(--font-size-0);
    text-transform: uppercase;
    /* background-color: white; */
   
}
.progress-stat progress {
    /* name of progress bar */
    width: 50%;
    height: var(--size-1);

    align-self: flex-start;
    accent-color: var(--pokemon-color-blue);
    overflow: hidden;
   
}

.progress-stat p {
    font-size: var(--font-size-0);
}

/* pokeball container */
.loader-pokeball {
    width: 50%;
    height: var(--size-5);
    /* padding: 0 var(--spacing-medium) ; */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

/* pokeball starting state */
img.loading-ball {
    width: var(--size-3);
    height: var(--size-3);
    margin: 0;
    /* padding affects yellow glow */
    /* padding: var(--spacing-xsmall); */
    border-radius: 50%;
    opacity: var(--opacity-size-end);
    visibility: visible;
    will-change: transform;
    transform: scale(1);
    transition: .2s transform ease-in, .2s opacity linear, .3s visibility ease-in;
    cursor: pointer;
}

    /* pokeball hover */
img.loading-ball:hover {
    /* transform: scale(1.5); */
    /* smooth grow + lift */
    animation: wiggle var(--speed-0) linear infinite;
    box-shadow: 0px 0px 20px 3px var(--pokemon-color-yellow);
    cursor: pointer;
}
/* pokeball fades */
img.loading-ball.inactive {
    opacity: var(--opacity-size-0);
    visibility: hidden;
    pointer-events: none;
    transform: scale(.20);
}


.loading-pokemon {
    width: var(--size-8);
    height: var(--size-8);

}

.loader-pokeball span:nth-child(1){
    animation: var(--speed-0) bounce linear .8s 1;
}

.loader-pokeball span:nth-child(2) {
    animation: var(--speed-0) bounce linear .85s 2;
}

.loader-pokeball span:nth-child(3) {
    animation: var(--speed-0) bounce linear .95s 3;
}

        /* loading data */

    #loader-dots {
        position: fixed;
        /* sit on top of everything */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        /* center dots */
        justify-content: center;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.5);
        /* dim the page */
        z-index: 30;
        /* make sure it's above */
        opacity: var(--opacity-size-0);
        /* hidden by default */
        pointer-events: none;
        /* don't block clicks when hidden */
        transition: var(--opacity-transition-props);
    }

    /* when loading */
    #loader-dots.active {
        opacity: var(--opacity-size-end);
        pointer-events: auto;
        /* block clicks when active */
    }

    /* individual dots */
    #loader-dots .dot {
        width: var(--size-2);
        height: var(--size-2);
        margin: var(--spacing-medium);
        border-radius: 50%;
        border: 4px solid rgba(243, 243, 243, 0.82);
        /* focus color */
        transition: bounce 1.2s infinite ease-in-out;
    }


    .dot:nth-child(1) {
        animation: .9s bounce linear infinite 0s;
    }

    .dot:nth-child(2) {
        animation: .9s bounce linear infinite .3s;
    }

    .dot:nth-child(3) {
        animation:  .9s bounce linear infinite .6s;
    
    }

/* GO! */
.load-done-container {
    position: fixed;
    /* sit on top of everything */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    /* center dots */
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    /* dim the page */
    font-family: var(--custom-font-family);
    font-size: var(--font-size-0);
    color: rgba(243, 243, 243, 0.82);
    z-index: 30;
    /* make sure it's above */
    opacity: var(--opacity-size-0);
    /* hidden by default */
    visibility: hidden;
    pointer-events: none;
    /* don't block clicks when hidden */
    transition: .3s opacity ease-in-out, visibility .3s ease-in-out, .3s font-size ease-in-out;
}

.load-done-container.active {
    opacity: var(--opacity-size-end);
    visibility: visible;
    font-size: var(--font-size-8);
    pointer-events: auto;
}

    @keyframes bounce {

        0% {

            transform: translateY(0px);
        }

        50% {
            transform:  translateY(-20px);
        }

        100% {
            transform: translateY(0px);
        }

    }


    @keyframes wiggle {

        0% {

            transform: rotateZ(0deg);
        }

        25% {

            transform: rotateZ(5deg);
        }

        50% {
            transform: rotateZ(0deg);
        }

        75% {
            transform: rotateZ(-5deg);
        }

        100% {
            transform: rotateZ(0deg);
        }

    }



    

    /* -------------------------------------------------------------------- */

    /* general info */

    .section-general-info {
        display: flex;
        justify-content: center;

        position: absolute;
        top: 0;
        left: 0;
        z-index: 10;
        pointer-events: none;
        opacity: var(--opacity-size-0);
        transition: var(--opacity-transition-props);
    
    }

    .section-general-info.active {
        opacity: 1;
        pointer-events: auto;
        /* transition: var(--opacity-transition-prop); */
    }

    .content-general-info {
        width: 90%;
        min-height: 70vh;
        box-sizing: border-box;
        position: relative;

        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;

        background-color: whitesmoke;
        border-radius: var(--border-radius-size);

        box-shadow: 1px 1px 2px 2px rgba(138, 138, 138, 0.206);

        

    }

    .general-info-heading {
        /* heading top of container */
        margin-top: var(--spacing-medium);
        padding: var(--spacing-xsmall);
        
        position: absolute;
        top: 0;
        left: var(--spacing-medium);
    
     
        color: var(--background-color-light-2);
        text-decoration: underline;
        text-decoration-color: var(--background-color-light-2);

        font-family: var(--custom-font-family-text);
        font-weight: 600;
        font-size: var(--font-size-1);
    }

    .general-info-left-col, .general-info-right-col {
       
        width: 45%;
        height: 100%;
        padding: var(--spacing-large);
        box-sizing: border-box;

        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
    
    }

    .general-info-sub-heading {

        margin: var(--spacing-large) 0;
        align-self: flex-start;

        text-transform: uppercase;
        font-size: var(--font-size-0);
        font-family: var(--custom-font-family-text);
        font-weight: 500;
        color: var(--grey-shade-1);
    }

    .general-info-left-col p, .general-info-right-col p {
        /* all ps */
        margin: var(--spacing-small);
        font-family: var(--custom-font-family-text);
        line-height: 1.6;

    }

    .general-info-col-container {
    

        width: 100%;
        height: 45%;

        margin-top: var(--spacing-medium);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .general-info-col-container h3 {
        color: var(--grey-shade-1);
    }

    #close-button {
        width: var(--size-2);
        height: var(--size-2);

        margin-top: var(--spacing-small);
        margin-left: var(--spacing-small);


        top: 0;
        left: 0;
        position: absolute;

        color: var(--pokemon-color-red);
        opacity: var(--opacity-size-3);
        font-size: var(--font-size-0);
        background-color: transparent;

        border-radius: 50%;
        border: 2px solid var(--pokemon-color-red);

        cursor: pointer;

        transition: var(--opacity-transition-props), var(--transform-props);
    }

    #close-button:hover {
        opacity: var(--opacity-size-end);
        transform: translateY(-.1rem);
    }




/* tabs-info */


.section-tabs-info {

    display: flex;
    justify-content: center;

    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;

    pointer-events: none;
    opacity: var(--opacity-size-0);

    transition: var(--opacity-transition-props);
}

.section-tabs-info.active {
    opacity: 1;
    pointer-events: auto;
}

.content-tabs-info {
    min-height: 70vh;
    background-color: whitesmoke;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;

    box-sizing: border-box;
    border-radius: var(--border-radius-size);

    font-family: var(--custom-font-family-text);
    box-shadow: 1px 1px 2px 2px rgba(138, 138, 138, 0.206);
}

.tabs-info-heading {
    margin: var(--spacing-medium) 0;
    padding: var(--spacing-xsmall);

    position: absolute;
    top: 0;
    left: var(--spacing-medium);

    color: var(--background-color-light-2);
    text-decoration: underline;
    text-decoration-color: var(--background-color-light-2);

    font-family: var(--custom-font-family-text);
    font-weight: 600;
    font-size: var(--font-size-1);
}

.tabs-info-two-columns {
    width: 90%;
    box-sizing: border-box;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;

}

.tabs-info-left-col, .tabs-info-right-col {
    width: 50%;
    padding: 0 var(--spacing-large);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.tabs-info-title {
    margin: var(--spacing-small) auto;
    color: var(--grey-shade-1);
}


.tabs-info-text {
    margin: var(--spacing-medium) 0;
    line-height: 1.8;
}


    /* --------------------------------------------------------------------- */
    /* gameboard styles */
    /* full-screen overlay for blackout */
    .section-game-board {
        position: fixed;
        /* cover entire viewport */
        inset: 0;
        z-index: 10;
        /* scroll bx */
        overflow-y: auto;
    

        display: flex;
        flex-direction: column;
        /* justify-content: center; */
        justify-content: flex-start;
        align-items: center;


        background: var(--background-color-light-1);
        /* background-color: #b8c0fe; */

        pointer-events: none;
        opacity: var(--opacity-size-0);
        transition: var(--opacity-transition-props);
        /* 👈 smooth fade */
   

    }

    .section-game-board.active {
        opacity: var(--opacity-size-end);
        pointer-events: auto;
    }

    .game-board {
        /* game-board div with stats div */

        width: 100%;
        padding-bottom: var(--size-6);
        margin: 0 auto;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        border-radius: var(--border-radius-size);
        position: relative;

        background-color: var(--grey-shade-0);
       
    }

    .game-board-button-container {
        position: relative;
        bottom: 0;
    }
    /* 
            --size-0: 5px;
            --size-1: 20px;
            --size-2: 25px;
            --size-3: 35px;
            --size-4: 40px;
            --size-5: 50px;
            --size-6: 60px;
            --size-7: 70px;
            --size-8: 100px;
            --size-9: 150px;
    */

    #end-game-button {

        width: var(--size-9);
        height: var(--size-4);
        margin-top: var(--spacing-medium);

        border: 4px solid #fb7878;
        color: #fb7878;
        font-size: var(--font-size-0);
        font-weight: bold;
        border-radius: var(--size-2);
        cursor: pointer;
        transition: var(--transform-props), var(--font-size-transition-props);

    }

    #end-game-button:hover {
        transform: scale(1.0) translateY(-.1rem);
        font-size: var(--font-size-0);
    }

    dialog {
        max-width: calc(var(--size-8) * 4);
        width: 90%;
        padding: var(--spacing-large);

        /* Center it */
        position: fixed;
        /* remove default positioning */
        top: 50%;
        left: 50%;

        border: none;
        border-radius: var(--border-radius-size);
        
        font-family: var(--custom-font-family-text);
        line-height: 1.6;

        box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.3);
        opacity: var(--opacity-size-0);
        transform: translate(-50%, -40%);
        /* start slightly higher */
        transition: var(--opacity-transition-props), var(--transform-props);
    }

    dialog.open {
        opacity: var(--opacity-size-end);
        pointer-events: auto;
        transform: translate(-50%, -50%);
        /* settle into true center */
    }

    dialog::backdrop {
        background: rgba(0, 0, 0, 0.6);
        /* dim background */
        transition: var(--dialog-transition-props);
    }

    dialog form {
        margin: 0;
        padding: 0;
    }


    #dialog-button-container {
        margin-top: var(--spacing-medium);
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-end;

    }

    #cancel-end-game-button, #confirm-end-game-button {
        width: var(--size-8);
        height: var(--size-4);
        margin: var(--spacing-small);

        font-size: var(--font-size-0);
        font-weight: bold;
        background-color: transparent;
        border: 2px solid transparent;
        /* baseline border */
        border-radius: var(--size-2);

        cursor: pointer;
        transition: var(--transform-props),
            var(--font-size-transition-props),
            var(--background-color-transition-props),
            var(--color-transition-props),
            var(--border-color-transition-props),
            var(--border-width-transition-props);

    }

    #cancel-end-game-button {
        color: #3b4ccae7;
    }

    #cancel-end-game-button:hover {
        border-color: #3b4ccad5;
    }

    #confirm-end-game-button {
        color: #fb7878bc;
    }

    #confirm-end-game-button:hover {
        color: var(--failure-color);
        border-color: var(--failure-color);
    
    }



    #cancel-end-game-button:hover,
    #confirm-end-game-button:hover {

        transform: scale(1.0) translateY(-.1rem);
        font-size: var(--font-size-0);
        background-color: rgb(244, 241, 241);
        border-width: 2px;
        background-color: transparent;
    }

    #retry-game-button {
        width: var(--size-9);
        height: var(--size-4);
        border: 4px solid #fb7878;
        color: #fb7878;
        background-color: transparent;
        font-size: var(--font-size-0);
        font-weight: bold;
        border-radius: 25px;
        cursor: pointer;
        transition: var(--transform-props), var(--font-size-transition-props);
    }

    #retry-game-button:hover {
        opacity: var(--opacity-size-end);
        transform: scale(1.0) translateY(-.1rem);
        font-size: var(--font-size-0);
    }


    #game-stats {
        /* game stats container */
        /* border: var(--border-props); */
        
        width: 100%;
        height: var(--size-7);
        box-sizing: border-box;

        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;    

    }

    .stats-label {
        color: var(--custom-back-card-color);
        font-family: var(--custom-font-family);
    }

    #game-stats * {
        /* game stats elements: level, timer, attemps */
        /* border: var(--border-props); */
        width: fit-content;
        margin: var(--spacing-medium);
        box-sizing: border-box;

        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;

    
        border-radius: var(--border-radius-size);
    
    }

    #game-level, #game-timer, #game-attempts {
        /* border: 1px solid black; */
    }


    #insert-attempt, #insert-time-remaining, #insert-level {
        width: var(--size-5);
        padding: var(--spacing-);
        border-radius: var(--border-radius-size);
        background-color: white;
        /* color: var(--pokemon-color-yellow); */
        font-weight: 900;
    }


    #pokemon-grid {
        
        width: 90%;
        padding: var(--spacing-large) 0;
        box-sizing: border-box;

        display: grid;
        justify-content: center;

        /* columns grow to fit cards */
        grid-template-columns: repeat(auto-fill, minmax(100px, var(--pokemon-card-width-size)));

        /* start with 3 rows fixed height */
        grid-template-rows: repeat(2, var(--pokemon-card-height-size));

        /* extra rows beyond those grow automatically */
        grid-auto-rows: var(--pokemon-card-height-size);

        grid-gap: var(--spacing-medium);

        border-radius: var(--border-radius-size);
        border: 4px solid #7986e4ae;

        background-color: transparent;

    }

    

    #game-matches {
        border: var(--border-props);
        
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        box-sizing: border-box;
    }


    .pokemon-card-match {
        width: var(--size-5);
        height: var(--size-7);
        font-size: var(--font-size-0);

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

    }

    .pokemon-card-match .pokemon-properties-card-match {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .pokemon-card-match .image-container-card-match {
        background-color: rgba(128, 128, 128, 0.514);
        width: 80%;
        margin: 0 auto;
        border: 3px solid rgba(255, 255, 255, 0.532);
        box-shadow: 1px 1px 1px gray;
    }


    .pokemon-card-match .image-container-card-match img {
        width: var(--size-1);
        height: var(--size-1);
    }


    /* card styles */


    .pokemon-card {
        width: var(--pokemon-card-width-size);
        height: var(--pokemon-card-height-size);
        perspective: var(--size-10);
        border-radius: var(--border-radius-size);
        transition: var(--color-transition-props);
    }



    .card-inner {
        width: 100%;
        height: 100%;
        position: relative;
        background-color: var(--background-color-pokemon-card-1);
        transform-style: preserve-3d;
        /* card speed */
        transition: .35s transform ease-in-out;
        border-radius: var(--border-radius-size);
    }

    /* both sides stacked */
    .card-front,
    .card-back {
        position: absolute;
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
        object-fit: cover;
        border-radius: var(--border-radius-size);
        

    }

    /* front is hidden by default */
    .card-front {
        border: 1px solid rgba(161, 161, 161, 0.75);
        transform: rotateY(var(--card-rotation-deg));
    }



    /* back is visible by default */
    #custom-back-card {

        width: var(--pokemon-card-width-size);
        height: var(--pokemon-card-height-size);
        box-sizing: border-box;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        position: absolute;
        top: 0;
        right: 0;

        text-align: center;
        border: 1px solid rgba(161, 161, 161, 0.75);
        border-radius: var(--border-radius-size);

        background-color: var(--custom-back-card-color);
        opacity: var(--opacity-size-4);
        overflow: hidden;

    }

    #custom-back-card * {
        /* spacing of pokball, pokemon text */
        margin: var(--spacing-medium) 0;
    }

    #custom-back-card p {
        width: 100%;
        font-family: var(--custom-font-family);
        font-size: var(--font-size-4);
        color: var(--pokemon-color-yellow);
        -webkit-text-stroke: .5px rgba(0, 0, 0, 0.455);

    }


    #custom-back-card p#bottom {
        /* rotate bottom text */
        transform: rotate(180deg);
    }

    #custom-back-card img {
        width: var(--size-5);
        height: var(--size-5);
        border-radius: 50%;
        /* box-shadow: 1px 1px 8px 6px rgba(138, 138, 138, 0.33); */
        transform: rotate(10deg);
    }


    .card-back {
        /* transition: transform .6s ease; */
        transform: rotateY(0deg);
        will-change: transform, box-shadow;
        transition: .3s transform ease-in-out, .3s box-shadow ease-in-out;

        
    }

    .card-back:hover {
    box-shadow: var(--box-shadow-card-hover);
    transform: scale(1.01);
    cursor: pointer;
    
    }

    .card-back img {
        width: var(--pokemon-card-width-size);
        height: var(--pokemon-card-height-size);
        margin: 0;
        padding: 0;
        border-radius: var(--border-radius-size);
    }

    /* when flipped, rotate inner to show front */
    .pokemon-card.flipped .card-inner {
        transform: rotateY(var(--card-rotation-deg));
    }

    /* part of card front */

    .image-container {
        /* pokemon image container */

        /* background-color: rgba(128, 128, 128, 0.514); */
        width: 80%;
        min-height: var(--size-5);
        margin: 0 auto;
        border: 3px solid rgb(161, 161, 161);
        border-radius: var(--border-radius-size);
    
    }

    .card-front .image-container img {
        width: 80%;
        min-height: var(--size-5);
    }

    .pokemon-properties {
        /* pokemon details */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: calc(var(--font-size-0) - .2 );
    }

    .pokemon-properties .prop-container {
        width: 70%;

        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;

        font-size: var(--font-size-0);
        font-family: var(--custom-font-family-text);
    }

    .prop-heading {

        font-weight: 700;
    }

    .pokemon-card .card-front h3 {
        /* pokemon name */
        width: 100%;
        margin: var(--spacing-small) 0;
        text-align: center;
        text-transform: capitalize;
        font-size: var(--font-size-1);
    
    }

    /* custom back card */

    /* attribution */
    .section-attribution {
        display: flex;
        flex-direction: row;
        justify-content: center;

     
        background-color: var(--background-color-light-1);
    }

    .content-attribution {
        width: 80%;
    }
    
    .content-attribution * {
        font-family: var(--custom-font-family-text);
        margin: var(--spacing-medium) 0;
    }

    div:has(> .attribution-hr) {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .attribution-hr {
       
        width: 90%;
        border: 2px solid var(--background-color-light-2);
        border-radius: var(--border-radius-size);
        text-align: center;
    }

    .attribution-message {

        font-family: var(--custom-font-family-text);
        font-size: var(--font-size-1);

        color: var(--grey-shade-1);
        
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .attribution-message p {
        width: 80%;
        line-height: 1.8;
        color: var(--grey-shade-1);
        /* font-weight: 500; */
    }

    .attribution-two-column {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .attribution-left-col, .attribution-right-col {
        width: 50%;
        
    }

    .attribution-container {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }


    .attribution-img {
        width: var(--size-8);
        height: 50px;
        margin: var(--spacing-medium);

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        border: 3px solid var(--grey-shade-0);
        border-radius: 25px;
        background-color: var(--grey-shade-1);
        opacity: var(--opacity-size-4);
    }

    .proper-attribution-anchor {
        width: fit-content;
        margin-right: var(--spacing-medium);

        font-size: var(--font-size-0);
        font-weight: 500;
        color: var(--grey-shade-1);

        background: none;
        border: none;
        
        text-decoration: none;

    }

    .attribution-logos img {
        width: var(--size-7);
        
    }

    #pokeball-attribution {
        width: 20px;
        height: 20px;
    }



    /* game result styles */

    .section-game-result {
        width: 100%;
        position: fixed;
        top: 0;
        z-index: 10;
    
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        pointer-events: none;
        transform: translateY(-100%);
        /* start completely off-screen at the top */
        transition: .6s opacity ease, .6s transform ease;
        
    }

    .section-game-result.active {
        pointer-events: auto;
        transform: translateY(0);
        /* slide into place */
    }



    .game-result-container {
        width: 100%;
    
    }


    .game-result-message-content  {
        width: 100%;
        height: var(--size-8);
        box-sizing: border-box;
        color: var(--custom-back-card-color);
        background-color: rgb(255, 255, 255);
        /* background-color: #f1ebeb; */
    }

    #success-message .two-columns {
        /* container */
            padding-top: var(--spacing-large);
    }

    div.game-stat-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    div.game-stat-container h5 {
        margin-bottom: var(--spacing-small);
        font-family: sans-serif;
        font-size: var(--font-size-0);
        color: var(--custom-back-card-color);
        font-weight: 600;
    }

    div.game-stat-container p, #advance-message {
        width: fit-content;
        border-radius: var(--border-radius-size);
        text-align: center;
        background-color: rgba(255, 255, 255, 0.896);
        color: rgba(0, 0, 0, 0.729);
        /* font-weight: 600; */
    }

    #advance-message {
        
        font-size: var(--font-size-2);
        padding: 0 var(--spacing-medium);
        color: var(--grey-shade-1);
        
    }

    .game-result-message-content #success-message h4 {
        margin-right: var(--spacing-small);
        color: var(--custom-back-card-color);
        font-size: var(--font-size-6);
        letter-spacing: 2px;
        text-decoration: underline;
        text-decoration-color: var(--pokemon-color-red);
    }


    .game-result-message-content p {
        /* margin-top: var(--spacing-small); */
        margin: 0 var(--spacing-xsmall);
        font-size: var(--font-size-1);

    }

    .game-result-message-content #success-message {
        display: none;
        
    }

    .game-result-message-content #success-message.active {
    
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        box-sizing: border-box;
    }

    .game-result-message-content #success-message .two-columns{
        width: 100%;
        margin: var(--spacing-medium) 0;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .game-result-message-content #success-message .left-column {
        width: 30%;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }

    .game-result-message-content #success-message .right-column {
        width: 50%;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }

    .game-result-message-content #failure-message {
        display: none;
    }

    .game-result-message-content #failure-message.active {
        padding: var(--spacing-large);
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        box-sizing: border-box;
    }

    #failure-reason {
        font-size: var(--font-size-2);
    }

    .game-result-message-content #failure-message h4 {
        font-size: var(--font-size-6);
        text-decoration: underline;
        text-decoration-color: var(--pokemon-color-red);

    }


    #next-level-button {
        width: var(--size-9);
        height: var(--size-4);
        margin: var(--spacing-small);

        border: 4px solid var(--custom-back-card-color);
        color: var(--custom-back-card-color);
        background-color: transparent;

        font-size: var(--font-size-0);
        font-weight: bold;

        border-radius: 25px;

        cursor: pointer;
        transition: var(--transform-props), var(--font-size-transition-props);
        visibility: hidden;
    }

    #next-level-button.active {
        visibility: visible;

    }

    #next-level-button:hover {
        opacity: var(--opacity-size-end);
        transform: scale(1.0) translateY(-.1rem);
        font-size: var(--font-size-0);
    }

    footer {
        width: 100%;
        height: 50px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;

        background-color: var(--grey-shade-1);

        font-size: var(--font-size-0);
        font-family: var(--custom-font-family-text);
        font-weight: 600;
        color: whitesmoke;
        letter-spacing: 1px;
        opacity: var(--opacity-size-4);
        z-index: 5;
    }