:root {
    --accent-color: #720546;
}
@font-face {
      font-family: 'ClashDisplay';
      src: url('./font/ClashDisplay-Semibold.eot');
      src: url('./font/ClashDisplay-Semibold.eot') format('embedded-opentype'),
           url('./font/ClashDisplay-Semibold.woff') format('woff'),
           url('./font/ClashDisplay-Semibold.ttf') format('truetype'),
           url('./font/ClashDisplay-Semibold.svg') format('svg');
      font-weight: normal;
      font-style: normal;
      font-display: swap;
}

body {
    font-family: "Lato";
}

.sticky-top {
    z-index: 1;
}

h1, h2, h3, h4, h5, .navbar-brand, .blockquote {
    font-family: "ClashDisplay", sans-serif;
    color: var(--accent-color);
}

a, a:hover {
   color: var(--accent-color) !important;
   font-weight: 600;
   font-d
}

small.tags a {
    font-weight: 400;
}

/*SINGLE*/
.fab{
    position: fixed;
    width: 55px;
    height: 55px;
    right: max(50vw - 650px, 20px);
    bottom: 20px;
    border-radius: 55px;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.fab-btn {
    color: #fff;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/*LIST*/
.fab i {
    margin: 0
}

.lista{
     display: grid;
     grid-gap: 1rem;
     grid-template-columns: repeat(auto-fit, minmax(min(25rem, 100%), 1fr));
}

.figure {
    display: table;margin-right:
    auto;margin-left: auto;
}

/*PAGNATION*/
#pagination_select {
    max-width: 70px;
}

.pagination {
    margin: 0;
}

.pagination select {
    height: calc(1.5em + 1.5rem + 2px);
}

/*AUTHOR*/
.author * {
    margin: 0;
}

.author .col-10 {
    display: grid;
    align-items: center;
}

.author .container-fluid, .author .col-2 {
    padding: 0;
}

.author .social-links, .author h4, .author img {
    margin: 1rem 0;
}

.icon svg {
    filter: invert(15%) sepia(80%) saturate(3156%) hue-rotate(307deg) brightness(76%) contrast(100%);
}

.author .icon {
    padding: 0 5px;
    vertical-align: bottom;
}

.next-prev .page-item {
    width: 50%;
    text-align: center;
}

/*SHARE MODAL*/
.pop-up {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 3erm;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0,0,0,0.4);
}

.pop-up .content {
    position: absolute;
    background-color: #fefefe;
    margin: auto;
    padding: 2rem;
    border: 1px solid #888;
    width: 80%;
    max-width: 870px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pop-up .icon svg {
    filter: invert(100%) sepia(4%) saturate(16%) hue-rotate(108deg) brightness(106%) contrast(103%);
}

.pop-up svg {
    vertical-align: sub;
}

.close {
    cursor: pointer;
}

#shareModal button, #copy-alert {
    width: 100%;
}

.modal-body {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(160px, 1fr));
    grid-gap: 0.3em;
}

#copy-alert {
    display: grid;
    place-items: center;
}
.navbar a, .navbar a h1  {
    display: inline-block;
    padding-top: .3125rem;
    padding-bottom: .3125rem;
    margin-right: 1rem;
    font-size: min(3.5vw, 1.5rem) !important;
    line-height: inherit;
    white-space: nowrap;
    font-weight: 400;
    margin: 0;
    padding: 0;
}
.mermaid svg {
    display: block;
    margin: auto;
}

/*.navbar-brand {
    font-size: min(3.5vw, 3rem);
}*/

.blockquote {
    border-bottom: 1px solid;
    border-top: 1px solid;
    border-color: var(--accent-color) !important;
}

.shadow {
    box-shadow: 0 .5rem 1rem rgba(114, 5, 70,.3) !important;
}

.author .description {
    margin: auto;
}

.figure {
    padding: 0 7rem;
}
@media only screen and (max-width: 768px) {
    .figure {
        padding: 0;
    }
}

/*TABLES*/
.article-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.5rem 0;
    table-layout: fixed;
}

.article-content table th,
.article-content table td {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--accent-color);
    vertical-align: middle;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.article-content table thead th {
    background-color: var(--accent-color);
    color: #fff;
    font-family: "ClashDisplay", sans-serif;
}

.article-content table tbody tr:nth-child(even) {
    background-color: #f5f5f5;
}

.article-content table tbody tr:hover {
    background-color: rgba(114, 5, 70, 0.07);
}

@media (max-width: 576px) {
    .article-content table {
        font-size: 0.82rem;
    }
    .article-content table th,
    .article-content table td {
        padding: 0.3rem 0.5rem;
    }
}