@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root {
  --animate-duration: 0.5s;
}

body {
    font-family: 'Figtree', sans-serif;
    color: #333;
}

#site-name {
    font-family: 'Pacifico', cursive;
    font-size: 1.5rem;
}

.card-title {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
}

.card img {
    height: 200px;
    object-fit: cover;
}

.navbar-brand img {
    border-radius: 50%;
}

.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
    font-family: 'Lato', sans-serif;
}

pre {
    background: #f4f4f4;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

table th, table td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    vertical-align: top;
}

table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
}

#main-footer {
    background-color: #fff;
    /*box-shadow: 0 -4px 3px rgba(0,0,0,0.1);*/
    margin-top: 6rem;
}

.list-group-item.blog-list-item {
    border: none; /* Rimuovi i bordi */
    border-radius: 0.5rem; /* Aggiungi un po' di bordo arrotondato */
    margin-bottom: 1.5rem; /* Aumenta lo spazio tra gli elementi */
    transition: all 0.3s ease-in-out;
    background-color: #ffffff; /* Sfondo bianco per un look più pulito */
    padding: 2rem; /* Aumenta il padding */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Aggiungi un'ombra delicata */
}
.list-group-item.blog-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15); /* Ombra più pronunciata al passaggio del mouse */
    background-color: #fff;
}
.blog-list-item h5 {
    color: #333; /* Rendi il titolo più scuro per una migliore leggibilità */
    font-weight: 700;
    font-size: 1.5rem;
}
.blog-list-item p {
    color: #666; /* Rendi il testo più scuro */
    font-size: 1rem;
    line-height: 1.5;
}
.blog-list-item small {
    display: block;
    margin-top: 0.5rem;
    color: #999;
}
.blog-list-item .badge {
    font-size: 0.9em;
    padding: 0.5em 0.8em;
}

.post-header-image {
    max-width: 95%;
    width: 95%;
    height: auto;
    border-radius: 0;
    box-shadow: none !important;
}

/* Stili per la modalità grid */
.grid-post-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
}

.grid-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
}

.post-meta .badge {
    font-size: 0.9em;
    padding: 0.5em 0.8em;
}

.list-group-item .badge {
    font-size: 0.8em;
    padding: 0.4em 0.6em;
}