@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css");

body, html {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

main { flex: 1; }

footer { margin-top: auto; }

footer a {
    transition: color 0.3 ease, text-shadow 0.3s ease;
}

footer a:hover {
    color: #0d6efd !important;
    text-shadow: 0 0 10px rgba(13, 110, 253, 0.5);
}

.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.has-background-pattern {
    width: 100vw;
    min-height: 60vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/assets/images/background-pattern.webp");
    background-repeat: repeat;
    background-size: 280px;
    margin: 0;
    padding: 0;
    animation: scrollPattern 5s linear infinite;
    will-change: background-position;
    transform: translateZ(0);
}

@keyframes scrollPattern {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 280px 280px;
    }
}

@media (max-width: 768px) {
    #post-body {
        text-align: left !important;
    }
}