@import 'https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;700&family=Share+Tech+Mono&display=swap';

html {
    height: 100%;
}

body {
    background: #13151b;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

main {
    flex: 1;
}


h1, h2, h3, h4, p, a, span, b {
    font-family: inter, sans-serif!important;
}

.current_page {
    color: grey;
}

.post, .publicity {
    margin-bottom: 50px;
    color: #f8f8f2;
}

h2 {
    font-size: 20px;
    margin: 0;
}

.post, .publicity, .post_details {
    font-size: 18px;
}

#footer {
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: #4d4d4d;
    font-size: .8rem;
    font-weight: 300;
}

#header {
    color: #f8f8f2;
}

i.black.icon.icon.icon.icon.icon {
    color: rgb(255 255 255 / 90%);
}

#header {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.icon_link {
    text-align-last: right;
}

.sub.header {
    font-size: 1rem!important;
    color: rgba(255,255,255,.8);
    line-height: 18px;
}

.text_center {
    text-align: center;
}

.flex_centered {
    display: flex;
    justify-content: center;
}

.row {
    place-items: center!important;
}

.error_title {
    padding-bottom: 4rem;
}

.last_news_text {
    padding-bottom: 2rem;
}

.last_news_div {
    margin-bottom: 0.5rem;
}

.last_news_columns {
    margin-bottom: 50px;
}

.all_news_link {
    padding-bottom: 2rem;
}

.source_tooltip {
    display: inline-block;
}

.text_justify {
    text-align: justify;
}

.publicity_title {
    margin-top: 5rem;
}

.publicity_text {
    font-size: 12px;
}

.date.label {
    vertical-align: text-bottom;
}

.summary_text {
    display: inline;
}

.inverted.popup {
    box-shadow: 0 0 0 1px inset rgba(255,255,255,0.3)!important;
}

.inverted.popup.bottom::before {
    border-top: 1px inset rgba(255,255,255,0.3);
    border-left: 1px inset rgba(255,255,255,0.3);
}

.inverted.popup.top::before {
    border-bottom: 1px inset rgba(255,255,255,0.3);
    border-right: 1px inset rgba(255,255,255,0.3);
}

.inverted.popup.right.center::before {
    border-bottom: 1px inset rgba(255,255,255,0.3);
    border-left: 1px inset rgba(255,255,255,0.3);
}

.inverted.popup.left.center::before {
    border-top: 1px inset rgba(255,255,255,0.3);
    border-right: 1px inset rgba(255,255,255,0.3);
}

.summary.column {
    box-shadow: none !important;
}

.pages_div {
    margin-bottom: 55px;
    font-size: 18px;
}

@media only screen and (min-width: 768px){
    img.logo {
        margin-right: auto;
    }

    .computer.details.column {
        -webkit-box-shadow: -1px 0 0 0 rgba(255,255,255,.1);
        box-shadow: -1px 0 0 0 rgba(255,255,255,.1);
    }
}

@media only screen and (max-width: 767px){
    .latest_cves_mobile.list {
        display: flex;
        flex-wrap: wrap;
    }
    .latest_cves_mobile.list > .item {
        flex: 40%;
        padding-top: .5em!important;
        padding-bottom: .5em!important;
    }
    #posts-container {
        flex-direction: column;
    }
    .details.mobile.column {
        padding: 0 0 .7em !important;
    }

    .chartjs.mobile.column {
        padding-bottom: 0!important;
        padding-right: 0!important;
        padding-left: 0!important;
    }

    .divider-col {
        padding: .25em 0 !important;
    }
}

.cursor-pointer {
    cursor: pointer;
}

@media only screen and (max-width: 380px){
    .cve-tooltip[data-uid^="menu-"], .cvss {
        font-size: 12px;
    }
}

.display-inline {
    display: inline;
}

.color-white {
    color: white;
}

/* static/css/footer.css */

.site-footer {
    background-color: #0F1115;
    border-top: 1px solid #21262d;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.87rem 3rem;
    max-width: 1017px;
    margin: 0 auto;
}

.footer-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.footer-announce:hover {
    opacity: 0.8;
}

.footer-announce {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-announce-text, .footer-announce-link {
    color: #878EA2;
    font-size: 0.875rem;
    margin: 0;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-announce-link:hover {
    text-decoration: underline;
    color: #fff;
}


.megaphone-icon {
    width: 20px;
    height: 20px;
    color: #7d8590;
}

.footer-text {
    color: #7d8590;
    font-size: 0.875rem;
    margin: 0;
    font-weight: 400;
}

.footer-center {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

.skull-logo {
    width: 43px;
    height: 37px;
    display: block;
}

.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    padding-right: 25px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    color: #7d8590;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #c9d1d9;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-email a {
    color: #393F50;
    font-size: 0.875rem;
}


@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }
    
    .footer-left {
        justify-content: center;
    }
    
    .footer-right {
        align-items: center;
        padding-left: 0;
    }
}


.margin-bottom-sm { margin-bottom: 1em !important; }
.margin-bottom-md { margin-bottom: 2em !important; }
.margin-bottom-lg { margin-bottom: 4em !important; }