/*
all variables
https://github.com/squidfunk/mkdocs-material/blob/master/src/templates/assets/stylesheets/main/_colors.scss
*/

/* Load Jersey 10 font*/
@import url('https://fonts.googleapis.com/css2?family=Jersey+10&display=swap');

:root {
    --md-primary-fg-color: #4b9cd6;
    --md-primary-bg-color: #FFF;
    --md-primary-fg-color--light: #4b9cd6;
    --md-primary-fg-color--dark: #4b9cd6;
    --md-primary-text-color--light: #000000;
    --md-primary-text-color--dark: #FFF;
}

[data-md-color-accent=indigo] {
    --md-accent-fg-color: #4b9cd6;
    --md-accent-fg-color--transparent: #4b9cd61A;
    --md-typeset-a-color: #4b9cd6;
}

[data-md-color-scheme=slate] {
    --md-default-bg-color: hsla(var(--md-hue), 7%, 18%, 1);
    --md-footer-bg-color--dark: #0D1118;
    --md-typeset-a-color: #4b9cd6;
    --md-code-bg-color: #0D1118;
}

.user-link::before {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.user-list-center {
    justify-content: space-evenly;
    display: flex;
    flex-wrap: wrap;
}

.user {
    flex: 1 0 20%;
    margin: 1em;
    min-width: 7em;
}

.user .avatar-wrapper {
    width: 80px;
    height: 80px;
    margin: 10px auto;
    overflow: hidden;
    border-radius: 50%;
    position: relative;
}

.user .avatar-wrapper img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.user .title {
    text-align: center;
}

.user .count {
    font-size: 80%;
    text-align: center;
}

a.external-link {
    /* For right to left languages */
    direction: ltr;
    display: inline-block;
}

a.external-link::after {
    /* \00A0 is a non-breaking space
            to make the mark be on the same line as the link
        */
    content: "\00A0[↪]";
}

a.internal-link::after {
    /* \00A0 is a non-breaking space
            to make the mark be on the same line as the link
        */
    content: "\00A0↪";
}

.md-header, .md-tabs {
    background-color: #000;
}
[data-md-color-scheme=slate] .md-header, [data-md-color-scheme=slate] .md-tabs {
    background-color: #0D1118;
}

.md-typeset h1 {
    font-size: 2rem;
    line-height: 1;
    color: var(--md-primary-text-color--light);
    margin: 0 0 0.25em;
    font-family: 'Jersey 10', sans-serif;
    font-weight: 400;
    text-transform: none;
}
[data-md-color-scheme=slate] .md-typeset h1 {
    color: var(--md-primary-text-color--dark);
}

.md-typeset h2,
.md-typeset h3,
.md-typeset h4,
.md-typeset h5,
.md-typeset h6 {
    font-family: "JetBrains Mono", monospace;
}


.md-typeset h2 {
    margin: 2em 0 0.2em 0;
    font-weight: 600;
    font-size: 1.2rem;
}

.md-typeset h3 {
    margin: 2em 0 0.3em 0;
    font-weight: 400;
    font-size: .9rem;
}

.md-typeset h2+h3 {
    margin-top: .6em;
}

.md-typeset h4 {
    margin: 2em 0 0.3em 0;
    font-weight: 600;
    font-size: .8rem;
}

.md-typeset h5 {
    margin: 2em 0 0.3em 0;
    font-weight: 400;
    font-size: .7rem;
    color: var(--md-primary-text-color--light);
    text-transform: none;
}

p {
    margin-block-start: 0.3em;
    margin-block-end: 0.8em;
    line-height: 1.6;
}

.md-banner__inner strong.primary-text {
    color: var(--md-primary-fg-color);
}

.doc-object-name,
.doc-label,
code.doc-symbol-class::after,
code.doc-symbol-attribute::after,
code.doc-symbol-method::after,
code.doc-symbol-function::after{
    text-transform: none !important;
    font-family: "Inter", sans-serif !important;
}

body.reference-page .doc-object-name {
    font-family: monospace;
    font-size: 1.25rem;
    margin: 0 0.25rem;
    display: inline-block;
}

/* Home page hero section starts */
.homepage-hero-section {
    background-image: url('/assets/img/homepage-hero-background.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 100%;
    height: auto;
    aspect-ratio: 3.078;
    margin-bottom: 1rem;
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    max-width: 1200px;
    width: 100%;
    height: 100%;
}

.hero-logo-section {
    flex: 0 0 auto;
}

.hero-logo {
    width: 200px;
    height: auto;
}

.hero-text-section {
    flex: 1;
}

.md-typeset h2.hero-title {
    font-size: 1rem;
    line-height: 1.5rem;
    margin: 1rem 0;
    color: #000000de;
    text-transform: inherit;
}

.md-typeset h2.hero-subtitle {
    line-height: 1.75rem;
    color: #3E4342;
    margin: 0;
}

p.hero-subtitle {
    margin: 0 0 1.25em;
    color: #000000de;
}

.md-typeset a.hero-btn {
    display: inline-block;
    position: relative;
    overflow: hidden;
    background-color: rgb(0, 0, 0);
    color: #fff;
    padding: 7px 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    line-height: 100%;
    box-sizing: border-box;
    border: 2px solid rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.16) 4px 4px 0px 0px;
    --font-family-headings-custom: "Jersey 10" !important;
    font-family: var(
        --font-family-headings-custom,
        var(--font-inter, sans-serif)
);
    transition: 200ms all ease;
}

.hero-btn::before{
    content: '';
    position: absolute;
    top: 0;
    left: -67px;
    width: 100%;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.15);
    transform: rotate(125deg);
    transform-origin: 50% 50%;
    transition: left 0.5s ease-in-out;
}

.hero-btn::after{
    content: '';
    position: absolute;
    top: 0;
    left: -34px;
    width: 100%;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.15);
    transform: rotate(125deg);
    transform-origin: 50% 50%;
    transition: left 0.5s ease-out;
}

.hero-btn:hover::before,
.hero-btn:hover::after {
    left: 100%;
}

.hero-btn:hover {
    box-shadow: rgba(0, 0, 0, 0.16) 3px 3px 0px 0px;
}

@media screen and (max-width: 540px) {
    .homepage-hero-section {
        background-image: url('/assets/img/homepage-hero-background-large.png');
        aspect-ratio: 1.43;
    }
    .hero-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        text-align: center;
        padding: 8px;
    }
    .hero-subtitle{
        margin-bottom: 0;
    }

    .hero-logo {
        width: 80px;
        margin: 0;
    }
    .hero-text-section{
        flex: 0 0 auto;
    }

    .hero-title {
        display: none;
    }
    .hero-btn {
        font-size: 1rem;
        padding: 5px 8px;
        margin-top: 4px;
    }
}

/* Home page hero section ends */
/* Home page key features section starts */

@media (min-width: 640px) {
    .md-typeset .key-features {
        display: grid;
        grid-template-rows: repeat(3, minmax(0, 1fr));
    }
}

.md-typeset .key-features .card .key-feature > b {
    font-size: 1em;
    line-height: 1.2
}

.md-typeset .key-features .card .key-feature {
    display:flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.md-typeset .key-features .card .key-feature-text {
    display: block;
}

.md-typeset .key-features.grid>.card {
    border: none;
}

.key-features .card {
    padding: 0.5rem;
    box-shadow: none;
    border: none;
    background: transparent;
    /* text-align: center; */
    cursor: default;
}
.key-features .card .px-6.py-5 {
    padding: 0;
    /* text-align: center; */
}

.key-features .card .key-feature img {
    width:112px;
    height:112px;
    margin:0 auto 0.2em;
}

.key-features .card p {
    margin: 0;
    line-height: 1.1;
    font-size: 1em;
}

.key-features .card p:last-child {
    margin-top: 0.2em;
    line-height: 1.2;
    font-size: 0.85em;
}

.key-features .card p b {
    font-size: 0.75em;
}

  /* Home page key features section ends */

/* Home page popular resources section starts */
@media (min-width: 640px) {
	.md-typeset .popular-resources {
        display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-gap: .4rem;
        display: grid;
        margin: 1em 0;
	}
}

.md-typeset .popular-resources .card {
	padding: 0;
	box-shadow: none;
	border: none;
	background: transparent;
}

.popular-resources .card .px-6.py-5 {
	padding: 0;
	text-align: center;
}

.popular-resources .youtube-video a {
	display: block;
	color: var(--md-typeset-color);
	--font-family-headings-custom: "Jersey 10";
	font-family: var(--font-family-headings-custom,
			var(--font-inter, sans-serif));
	text-align: left;
	margin-top: -6px;
}

.popular-resources .youtube-video iframe {
	border: 2px #000 solid;
	border-radius: 0;
	padding: 0;
	width: 100%;
	aspect-ratio: 16 / 9;
}

.popular-resources .youtube-video a:hover {
	text-decoration: underline;
}

/* Home page popular resources section ends */

/* Home page explore content section starts */

.md-typeset .explore-content .explore-content-grid-container {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-gap: .4rem;
    margin: 1em 0;
}
.md-typeset .explore-content .explore-content-grid-container .card {
	/* border: 2px #000 solid; */

    border: .05rem solid var(--md-default-fg-color--lightest);
    border-radius: .1rem;
    display: block;
    margin: 0;
    padding: .8rem;
    transition: border .25s, box-shadow .25s;
    color: var(--md-typeset-color);
    font-size: .65rem;
    line-height: 1.25rem;
    padding-right: 1.5rem;
}

.md-typeset .explore-content .explore-content-grid-container>.card:hover {
	color: var(--md-typeset-color);
}

.explore-content h2 {
	font-size: 0.85rem;
	margin-top: 0;
}

.explore-content .font-normal {
	font-size: 0.65rem;
	line-height: 1.25rem;
	padding-right: 1rem;
}

/* Home page explore content section ends */


/* Examples page Gallery section starts */
.examples-gallery-container h5{
    font-weight: bold;
}
.examples-gallery-container .gallery-cards {
    display: grid;
    column-gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.examples-gallery-container .card {
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    display: flex;
}

.examples-gallery-container p{
    font-size: 0.6rem;
    margin-top: 0.25rem;
    line-height: 1.5;
    text-align: left;
}

.examples-gallery-container .card {
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    margin: 10px 0px;
}
.examples-gallery-container .card-container {
    padding: 1rem;
    flex:1;
    text-align: center;
}

.examples-gallery-container .card-image {
    height: 150px;
    width: fit-content;
    margin: auto;
}

.examples-gallery-container .card-description {
    color: #727272;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.examples-gallery-container .card:hover {
    box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16),
                0 3px 6px 0 rgba(0, 0, 0, 0.12),
                0 5px 12px 4px rgba(0, 0, 0, 0.09);
}

.examples-gallery-container .card-title {
    margin: 12px 0;
    display: -webkit-box;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.7rem;
    font-weight: bold;
}

.examples-gallery-container .card .px-6.py-5 {
    padding: 0;
    height: 100%;
}

.examples-gallery-container .card .px-6.py-5 > div,
.examples-gallery-container .card .px-6.py-5 > div > div,
.examples-gallery-container .card .px-6.py-5 > div > div > div.card-container
{
    height: 100%;
}

.examples-gallery-container .tags-container {
    text-align: left;
}

.examples-gallery-container .tag {
    display: inline-block;
    background: #f5f5f5;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    color: #666;
    cursor: pointer;
    transition: background-color 0.2s;
    margin: 0.35rem 0.1rem 0 0;
    font-size: 0.55rem;
}

.examples-gallery-container .badges{
    display: inline-block;
    text-align: left;
}

.examples-gallery-container .badges a{
    display: inline-block;
}
.examples-gallery-container .badges p.hidden {
    display: none;
}
.examples-gallery-container .tag:hover {
    background-color: #e0e0e0;
}

.examples-gallery-container .chosen-container-multi .chosen-choices {
    margin-left: 0;
}

.examples-gallery-container .chosen-container-multi .chosen-choices li.search-field {
    padding: 0px !important;
    margin: 0px !important;
}

.examples-gallery-container .chosen-container-multi .chosen-choices li.search-field::before,
.examples-gallery-container .chosen-container-multi .chosen-drop .chosen-results .active-result::before,
.examples-gallery-container .chosen-container-multi .chosen-drop .chosen-results .result-selected::before,
.examples-gallery-container .chosen-container-multi .chosen-choices li.search-choice::before {
    display: none;
}

.examples-gallery-container .chosen-container-multi .chosen-choices li.search-choice,
.examples-gallery-container .chosen-container-multi .chosen-drop .chosen-results .active-result,
.examples-gallery-container .chosen-container-multi .chosen-drop .chosen-results .result-selected {
    padding-left: 5px !important;
    margin-left: 0px;
}

.examples-gallery-container .search-choice-close {
    border-bottom: none;
}

/* Examples page Gallery section ends */

/* Blog page section starts */
.blog-authors {
    margin: 1rem 0 1rem 0;
}
.blog-authors .px-6.py-5{
    padding:0.35rem 0;
}

.blog-authors .card-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.blog-authors .card {
    display: flex;
    padding: 0;
    margin: 0 0.2rem 0.2rem 0;
    justify-content: flex-start;
    background: none;
    border: none;
}
.blog-authors .card img {
    max-width: 60px;
    height: auto;
    border-radius: 50%;
}
.blog-authors p {
    font-weight: 300;
    margin: 0;
}
.blog-authors p.name, .blog-authors p.authors {
    font-weight: 700;
}
.blog-authors p.authors {
    margin: 0.5rem 0;
}
.blog-authors .img-placeholder {
    margin-right: 1rem;
}
  /* Blog page section ends */

.hide-edit-link {
    display: none;
}

.md-footer {
    margin-top: 3rem;
}

/* User Story Page Starts */
.user-story-youtube-container {
position: relative;
width: 100%;
padding-bottom: 56.25%; /* 16:9 aspect ratio */
height: 0;
overflow: hidden;
border-radius: 8px; /* optional rounded corners */
margin: 0.75rem 0;
}

.user-story-youtube-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}
/* User Story Page Ends */
