/* Hide the scrollbar */
html,
body {
    overflow: hidden;
    height: 100%;
}

.container {
    max-width: 1200px;
    min-height: 100vh;
    margin: 0 auto;
    color: #D9D9D9;

    position: relative;
    z-index: 1;

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

    overflow: hidden;
}

.inner-container {
    height: 95vh;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    /* border: #000000 solid 4px; */

    /* To ensure scrollbar respects border-radius */
    scrollbar-width: thin;
    /* For Firefox */
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    /* For Firefox */


    position: relative;
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    grid-auto-rows: auto;
    gap: 10px;
    /* justify-items: center; */
    align-content: start;
}

.inner-container::-webkit-scrollbar {
    width: 8px;
}

.inner-container::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.inner-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

.inner-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.6);
}


/* cards */
.card {
    height: fit-content;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 50px;
    transition: 0.5s;

    text-align: center;

    @media (max-width: 768px) {
        padding: 10px;
    }
}

.card:hover {
    background: rgba(0, 0, 0, 0.5);
    transition: 0.5s;
}

.game-cards {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    h2 {
        margin: 20px;
    }

    p {
        width: 100%;
    }

    a {
        margin-top: 10px;
        margin-bottom: 20px;
        display: inline-block;
        padding: 3px 24px;
        text-align: center;
        background-color: #ff9f29;
        color: black;
        text-decoration: none;
        border-radius: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s ease, transform 0.2s ease;
    }

    a:hover {
        background-color: #ff8c00;
        transform: translateY(-1px);
    }

    .button:active {
        transform: translateY(1px);
    }
}

.game-cards-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    img {
        border-radius: 20px;
        width: 100%;
        /* filter: grayscale(100%); */
        /*  transition: filter 0.3s ease; */

        @media (max-width: 768px) {
            border-radius: 10px;
        }
    }

    img:hover {
        transition: filter 0.3s ease;
        filter: grayscale(0%);
    }
}

.demo-btn-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px;

    @media (max-width: 640px) {
        flex-direction: column;
    }

    img:hover {
        transform: translateY(-2px);
    }
}


.gd-games-btn img,
.itch-btn img {
    width: 150px;
    height: auto;
    border-radius: 20px;
}

/* about */

.hero-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    @media (max-width: 768px) {
        justify-content: center;
    }

    .hero-text {
        padding: 10px 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        line-height: 1;

        h1 {
            z-index: 0 !important;

            @media (max-width: 640px) {
                font-size: 30px !important;
            }
        }

        #changing-word {
            z-index: 9999 !important;
        }
    }
}

.common-hero-text-oranege {
    line-height: 0.5;
    font-size: 80px;
    font-weight: bold;
    font-family: "Kaushan Script", sans-serif !important;
    color: #FF8100;

    @media (max-width: 425px) {
        font-size: 40px;
    }
}

.common-hero-text-white {
    @media (max-width: 640px) {
        font-size: 30px !important;
    }
}

.common-hero-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* changing word in about */
#changing-word {
    color: #ff8c00;
    display: inline-block;
    opacity: 1;
    transition: opacity 0.5s ease-in-out !important;

    @media (max-width: 640px) {
        font-size: 70px !important;
    }
}

/* greeting word in contact */
#greeting-text {
    font-family: 'Kaushan Script', 'Roboto', 'Noto Sans', sans-serif !important;
    color: #ff8c00;
    display: inline-block;
    opacity: 1;
    transition: opacity 0.5s ease-in-out !important;

    @media (max-width: 640px) {
        font-size: 30px !important;
    }
}

.hidden {
    opacity: 0 !important;
}

/* about images */
.about-images {
    border-radius: 20px;
    width: 50%;
    filter: grayscale(100%);
    transition: filter 0.3s ease;

    @media (max-width: 768px) {
        width: 100%;
    }
}

.about-images:hover {
    filter: grayscale(0);
    transition: filter 0.3s ease;
}

figcaption {
    text-align: center;
    font-size: 14px;
    color: #888;
    margin-top: 5px;
    font-size: x-small;
}

/* linktree */
.linktree-container {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    width: 90%;
    max-width: 400px;
}

.linktree-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    background: #444;
    padding: 12px;
    margin: 8px 0;
    border-radius: 8px;
    transition: 0.3s;
}

.linktree-btn i {
    margin-right: 10px;
    font-size: 20px;
}

.linktree-btn:hover {
    background: #666;
}

.linktree-btn {
    background: #333;
}

/* GitHub */