* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Open Sans", serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
    font-variation-settings:
    "wdth" 100;
    background-color: #1c1c1c;
    background-image: url(background.png);
    background-repeat: repeat-y;
}

body.home {
    height: 100%;
    overflow: hidden;
    background-color: #1c1c1c;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.home-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

img {
    max-width: 100%;
    height: auto;
}

.home-logo img {
    max-width: 200px;
    height: auto;
    opacity: 50%;
}

body.home .home-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    padding: 0 1rem;
}

body.page-template-page-blog .blog-feed {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 1rem;
}

body.page-template-page-blog .blog-post {
    border-bottom: 1px solid #ddd;
    padding-bottom: 2rem;
}

body.page-template-page-blog .blog-post .post-image img {
    width: 100%;
}

body.page-template-page-blog .blog-post .post-content {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

body.page-template-page-blog .blog-post .post-date {
    font-size: 0.8rem;
    color: #888;
    margin-top: 1rem;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px;
    margin: 2rem auto;
    padding: 1rem;
    background: linear-gradient(to right, #1f1f1f 50%, #2c2c2c);
}

main article {
    background-color: #000;
    color: #fff;
    border-bottom: 3px solid #1f1f1f;
}

main .pagination {
    text-align: center;
}

main .pagination a, main .pagination a:hover, main .pagination a:visited {
    color: #fff;
}

main article .date {
    display: inline-block;
    padding: .3rem;
    background-color: #1f1f1f;
}

main article .post {
    padding: 1rem;
}

main article .post-thumbnail > img {
    width: 100%;
}

/* CSS ANIMATIONS */

@keyframes vibrate {
    0% {
        transform: translate(0px, 0px);
    }
    25% {
        transform: translate(var(--x1), var(--y1));
    }
    50% {
        transform: translate(var(--x2), var(--y2));
    }
    75% {
        transform: translate(var(--x3), var(--y3));
    }
    100% {
        transform: translate(0px, 0px);
    }
}

/* END OF ANIMATIONS */

@media (max-width: 768px) {
    
    body.page-template-page-blog .blog-feed {
        gap: 1.5rem;
    }
    
    body.page-template-page-blog .blog-post .post-content {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    body.page-template-page-blog .blog-feed {
        gap: 1rem;
    }
}