/* What is this file?

This JS file is included in the `home.html` and can be used to add custom CSS to be used on any pages extending `home.html`
This is primarily for the index.

Add your custom CSS here */

.md-banner--warning {
    display: none;
}

.md-header {
    position: initial
}

.md-main__inner {
    margin: 0
}

.md-content {
    display: none
}

@media screen and (min-width:60em) {
    .md-sidebar--secondary {
        display: none
    }
}

@media screen and (min-width:76.25em) {
    .md-sidebar--primary {
        display: none
    }
}

[data-md-color-primary=black] .md-header {
    background-color: rgba(0, 0, 0, 0);
}

[data-md-color-primary=black] .md-tabs {
    background-color: rgba(0, 0, 0, 0);
}

.md-header {
    background-color: rgba(0, 0, 0, 0);
}

.md-tabs {
    background-color: rgba(0, 0, 0, 0);
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17.5em, 1fr));
    gap: 2em;
    justify-content: center;
    max-width: 75%;
    width: 100%;
}

.product-card {
    background: #1d1f24;
    border-radius: 0.75em;
    overflow: hidden;
    box-shadow: 0 0.625em 1.25em rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-style: solid;
    border-width: 0.1em;
    border-color: #0dbd8b;
    width: 100%;
}

.product-card:hover {
    transform: translateY(-0.3em);
    box-shadow: 0 1em 2em rgba(13, 189, 139, 0.15);
    border-style: solid;
    border-width: 0.2em;
    border-color: #0dbd8b;
}

.product-label {
    position: absolute;
    top: 0.65em;
    right: 0.65em;
    background-color: #0dbd8b;
    color: #101317;
    padding: 0.25em 0.65em;
    border-radius: 65em;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    font-family: Extratype Eina04, sans-serif;
    z-index: 2;
    transition: all 0.3s ease;
    pointer-events: none;
}

.product-card:hover .product-label {
    transform: scale(1.1);
    transform-origin: top right;
}

.product-image {
    position: relative;
    width: 100%;
    padding-bottom: 66.67%;
    border-radius: 0.75em 0.75em 0 0;
    background: rgba(0, 0, 0, 0);
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-content {
    padding: 2.25em;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card:hover .product-content {
    padding: 2.15em;
}

.product-title {
    font-size: 1rem;
    color: #ebeef2;
    margin-bottom: 0.625em;
    text-align: center;
}

.product-description {
    color: #7f8c8d;
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 1.25em;
    flex-grow: 1;
    text-align: center;
}

.view-docs {
    display: inline-block;
    font-size: 0.6rem;
    padding: 0.625em 1.25em;
    background: white;
    color: black;
    text-decoration: none;
    border-radius: 6.25em;
    align-self: flex-start;
    transition: background 0.3s ease;
    width: -webkit-fill-available;
    width: -moz-available;
    text-align: center;
    margin-top: auto;
}

.view-docs:hover {
    background: #0ca67a;
    color: white;
}

a.description-link:link,
a.description-link:visited {
    color: #0dbd8b;
}

a.description-link:hover,
a.description-link:active {
    color: #0ca67a;
}

html {
    overflow-y: auto;
    position: relative;
    box-sizing: border-box;
}

body {
    position: relative;
    margin: 0;
    /* We apply the blur here rather than in the SVG as Firefox has horrible performance when rendering blurs in SVGs */
    backdrop-filter: blur(6.25em);
    background: url('../bg.svg');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top center;
    background-color: #101317;
}

section.mdx-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.md-main {
    flex-grow: 0;
    display: none;
}

label.md-header__button.md-icon {
    display: none !important;
}

.md-header--shadow {
    box-shadow: unset;
    transition: unset;
}

.md-header__topic {
    display: none;
}

h1 {
    color: #ebeef2;
    font-size: 2.5rem;
    margin-bottom: unset;
    margin-top: 0em;
    font-family: Extratype eina02, sans-serif;
    font-weight: 400;
    letter-spacing: -0.025em;
    text-align: center;
}

.md-footer {
    background-color: rgba(0, 0, 0, 0) !important;
}

.md-footer-meta {
    background-color: rgba(0, 0, 0, 0) !important;
}
