@import url("./animations.css");

:root {
    --primary: #800020;
    --secondary: #ffd700;
    --grey: #eeeeee;
    --white: #ffffff;
    --dark: #181818;
    --default-spacing: 0.925rem;
}

* {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    transition: 250ms;
    scroll-behavior: smooth;
}

body {
    position: relative;
    overflow-x: hidden;
    color: var(--primary);
}

.container {
    max-width: 900px;
    width: 90vw;
    margin: 0 auto;
}

img {
    width: 100%;
}

.mt-norm {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.blog__header {
    border-bottom: 1px solid var(--primary);
    padding: 1rem 0;
    margin-bottom: 3rem;
}

.blog__header b {
    font-weight: 500;
    margin: 1rem 0;
}

.blog__banner{
    display: flex;
    flex-direction: column;
}

.blog__banner img{
    max-height: 40vmin;
    object-fit: cover;
}

.back-top-button {
    padding: .75rem 1.75rem;
    background-color: var(--primary);
    text-decoration: none;
    color: var(--white);
    border-radius: .25rem;
    float: right;
    margin: 1rem 0;
}

.other-posts{
    border-top: 1px solid var(--primary);
}

.post-card a{
    color: var(--primary) !important;
    font-weight: 600;
}

.post-card a:hover{
    color: var(--dark) !important;
    cursor: pointer;
}

.logo {
    width: 8rem;
    object-fit: cover;
}

/* BLOG */
.blog-content a {
    color: white;
}

.blog-content a:hover {
    text-decoration: underline;
}

.blog-content h1 {
    margin-top: 2rem;
    font-style: bold;
}

.blog-content h2 {
    margin-top: 1rem
}

.blog-content p {
    margin: 1rem 0;
    font-size: .95rem;
}

.blog-content p>code {
    padding: 0.15rem 0.4rem;
    font-family: "Courier New", Courier, monospace;
    font-weight: 500;
    border: 1px solid var(--secondary);
}

.blog-content pre {
    background-color: var(--secondary-dark) !important;
    padding: 1.25rem;
    font-size: 0.85rem;
    font-family: "Courier New", Courier, monospace;
    overflow-x: auto;
}

.blog-content blockquote {
    background: var(--primary);
    border-left: 1px solid var(--primary);
    padding: .75rem 1.25rem;
}

.blog-content blockquote p {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
    font-size: 0.88rem;
    line-height: 1.9;
    margin: 0;
}

li,
img {
    margin: .5rem 0;
}