.md-header__button.md-logo {
    margin: 0;
    padding: 0;
}

.md-header__button.md-logo img,
.md-header__button.md-logo svg {
    height: 2.4rem;
}

.md-header {
    padding-top: 0.75rem;

}


.md-header__topic {
    /* for hiding site name in header */
    display: none;
}

.md-header__inner {
    display: flex;
    align-items: center;
    padding-bottom: .6rem;
}


.md-typeset a {
    font-weight: 500;
}


.md-typeset h1 {
    font-weight: 500;
    color: var(--md-default-fg-color);
}

.md-typeset h2 {
    font-weight: 400;
}

.card_description {
    font-weight: 350;
    color: var(--md-default-fg-color-light);
}

.second_grid {
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)) !important;
    padding-top: 4rem;
}

.grid_title {
    padding-bottom: 2rem;
    grid-column: 1 / -1;
}

.md-grid {
    max-width: initial;
}





/* custom color theme */
[data-md-color-scheme="papayalife"] {
    --md-primary-fg-color: #25374D;
    --md-primary-fg-color--light: #ECB7B7;
    --md-primary-fg-color--dark: #90030C;
    --md-default-fg-color: #363636;
    --md-default-fg-color-light: #515151;
}

[data-md-color-accent=papayalife] {
    --md-accent-fg-color: #4891EA;
    --md-accent-fg-color--transparent: #526cfe1a;
    --md-accent-bg-color: #fff;
    --md-accent-bg-color--light: #ffffffb3;
}

:root {
    --md-typeset-a-color: #1659AA;
}

@media screen and (min-width:1200px) {
    .md-sidebar--primary {
        /* margin-left: 8rem; */
    }

    .md-main__inner {
        padding-left: 8rem;
        padding-right: 8rem;
    }

    .md-header {
        padding-left: 8rem;
        padding-right: 8rem;
    }

    .md-sidebar {
        width: auto;
    }
}

@media screen and (min-width:1584px) {
    .md-sidebar {
        min-width: 261px;
    }
}


.shadow {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.zoom {
    transition: transform ease-in-out 0.5s;
    cursor: zoom-in;
}

.image-zoom-large {
    transform: translate(-50%, -50%) scale(0.8);

    cursor: zoom-out;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    z-index: 100;
    position: fixed;
    top: 50%;
    left: 50%;
    max-width: 80vw;
    max-height: 80vh;
    transition: transform 0.3s ease-in-out;

    transition-property: transform;

    transition-timing-function: ease;

    transition-duration: 0.3s;
}

.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    visibility: hidden;
}

.overlay.active {
    visibility: visible;
    opacity: 1;
}

.display {
    display: block;
}