
:root {
    --blog-background: #333;
    --blog-secondary: #a9ecb7;
    --blog-text: #fff;
}

* {
    padding: 0;
    margin: 0;
}

body, html {
    font-family: sans-serif;
    
}

a {
    all: unset;
}

.main {

}

.blog-holder, #accounts-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 1em;

    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}


.blog-preview {
	background-color: var(--blog-background);
    color: var(--blog-text);
    /*! margin: 1rem; */
    height: 95%;
    width: 85%;
    min-height: 4rem;
    min-width: 333px;
	margin: 25px auto 0;
    cursor: pointer;
    border: 3px solid #000000;
    box-shadow: 12px 12px 0 #000000;
    transition: all 0.3s ease;
}

.blog-preview:hover {
    transform: translateY(-6px);
}

.is-not-archived {
    opacity: 0.5;
    filter: grayscale(1);
}

.is-not-archived:hover {
    cursor: default;
    transform: none;
}

a:has(.is-not-archived) {
    pointer-events: none;
}

.blog-header {

    height: 220px;
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    img {
        height: 100%;
        object-fit: cover;
        flex: 1;
    }

}

.info {
	position: relative;
	height: fit-content;
	text-align: center;
	display: flex;
	flex-direction: column;
	/*! justify-items: center; */
	align-items: center;
    
    h1 {
        margin-top: 42px;
        font-family: serif;
        font-size: 2em;
    }
    
    h2 {
        font-weight: bold;
        font-family: sans-serif;
        font-size: 1em;
        padding: 10px 0;
        color: var(--blog-secondary);
    }
    
    p {
        font-size: 1em;
        line-height: 1.5em;
        white-space: preserve-breaks;
    }
}

.pfp {
    position: absolute;
    border-radius: 100px;
    overflow: hidden;
    max-width: 70px;
    aspect-ratio: 1;
    display: flex;
    top: -45px;
    background-color: var(--blog-background);
    border: 4px solid var(--blog-background);
    
    justify-content: center;
    /*! align-content: center; */
    /*! align-items: center; */
    /*! padding: 10px; */
    img {
        object-fit: fill;
        object-position: center center;
        flex: 1;
    }

}

.buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: .5em;
    width: 100%;
    margin: 10px 0;

    div {
        background-color: var(--blog-secondary);
        color: var(--blog-background);
        border-radius: 100px;
        padding: 5px;
        width: fit-content;
        padding: 10px 15px;
        font-weight: bold;
        white-space: nowrap;
    }
    
    div:last-child {
        background-color: transparent;
        border: 2px solid grey;
        color: white;
        aspect-ratio: 1;
        padding: 10px;
    }
}

svg {
    fill: var(--blog-text);
    height: fit-content;
}

.timeline-banner {
    background-color: #0947ff;
    color: #ffffff;
    padding: 10px 24px;
    border-bottom: 1px solid #dddfe2;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    font-weight: bold;
    text-align: center;
    font-size: .8em;
    margin: -10px -3px 0;
    border: 3px solid #000000;
    box-shadow: 12px 12px 0 #000000;
    border-bottom: none;
}
