/* Styles for blog-like features - author avatar & name, posting date, min to read, etc. */
.md-typeset .mdx-author img {
    border-radius: 100%;
    height: 2rem;
}
    
.md-typeset .mdx-author {
    display: flex;
    font-size: .68rem;
}

.md-typeset .mdx-author p>span {
    display: block;
}

p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.md-typeset .mdx-author p:first-child {
    flex-shrink: 0;
    margin-right: .8rem;
}

/* main */

h1.main {
    font-size: 2em;
    font-weight: bold;
}

#main-page-cover {
    width: 5%;
    height: auto;
}

.main-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200, 1fr));
    row-gap: 20px;
    column-gap: 20px;
    margin: 20px;
    z-index: 1;
}

.mian-grid-item {
    background-color: #fe0;
    padding: 20px;
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.main-post-title {
    font-size: 20px;
    margin: 0 0 20px;
}

.main-post-cover {
    width: 50%;
    height: auto;
    /* pointer-events: none; */
}

.main-post-image {
    width: 100%;
    height: auto;
    transition: transform 0.5s;
}

.main-post-cover:hover img {
    transform: scale(1.1);
}

.main-post-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.main-post-info p {
    margin: 0;
}

.load-more-button-container {
    position: relative;
    z-index: 10;
    text-align: center;
}

.load-more-button {
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #4CAF50;
    color: white;
    box-shadow: 0 4px #999;
    border-radius: 5px;
    cursor: pointer;
}

.load-more-button:hover {
    background-color: #3e8e41;
    box-shadow: 0 2px #666;
    transform: translateY(2px);
}

.load-more-button:active {
  background-color: #3e8e41;
  box-shadow: 0 1px #666;
  transform: translateY(3px);
}