:root {
    --background-color: #fcfcfc;
    --text-color: #2a2a2a;
    --accent: #1f8855; /* 26a266 */
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-color-hover: rgba(0, 0, 0, 0.15);
}

html, body {
    margin: 0 auto;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: "Libre Franklin", sans-serif;
    font-weight: 400;
    font-size: 13pt;
    line-height: 1.5;
}


a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


.container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.container div {
    max-width: 800px;
    width: 90%;
}


div.animate, footer {
    -moz-animation-delay: 0.3s;
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
    -moz-animation-duration: 1.2s;
    -webkit-animation-duration: 1.2s;
    animation-duration: 1.2s;
    -moz-animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fade;
    animation-name: fade;
}

@-webkit-keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
 
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 800px)
  and (-webkit-min-device-pixel-ratio: 2) {

    html {
        font-size: 24pt;
    }
}

@media screen 
    and (min-device-height: 1100px) {

    html, body, .container, footer {
        height: 100%;
        width: 100%;
    }
}


/* POST CONTAINERS */

.post {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 5px 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px var(--shadow-color);
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s ease;
}

.post:hover {
    box-shadow: 0 6px 12px var(--shadow-color-hover);
}

/* .post h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 5px;
    text-transform: capitalize;
}

.post p, li {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.post p a {
    color: var(--accent);
    text-decoration: none;
}

.post p a:hover {
    text-decoration: underline;
} */


.post-date {
    font-size: 9pt;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 10px;
}


footer {
    font-size: 11pt;
    text-align: center;
    padding: 20px;
}


/* ARTICLE PREVIEW */

.post-link {
    text-decoration: none;
    color: inherit;
}

.post-link:hover {
    text-decoration: none;
}