@font-face {
    font-family: "chomsky";
    src: url("Chomsky.otf");
}

body {    
    font-family: serif;
    background-image: url(img/background.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-cont {
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.header .header-title {
    font-family: "chomsky";
    font-size: 7rem;
}

.header .header-date {
    align-content: center;
    display: flex;
    font-size: 1.2rem;
    font-weight: bold;
    padding-left: 3rem;
    text-align: end;
    flex-wrap: wrap;
}

.horizontal-line {
    border-bottom: 2px solid black;
    width: 100%;
}

.contents-list {
    list-style-type: none;
    margin-block: 0.5rem;
    padding-inline: 0.5rem;
}

.contents-list > li {
    display: inline-block;
    font-weight: bold;
    margin-right: 1rem;
}

.articles-cont {
    width: fit-content;
}

.article {
    width: fit-content;
    max-width: 60rem;
}

.article p {
    font-size: 1.2rem;
    text-align: justify;
}

.article img {
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    height: auto;
    filter: grayscale(100%);
}

.article .article-title {
    font-size: 2rem;
    font-weight: 900;
    margin-top: 1rem;
}

.article .article-title.hot {
    font-size: 3rem;
}

.back-to-home {
    position: fixed;
    top: 8px;
    left: 8px;    
}

.back-to-home a {
    font-family: monospace;
    color: black;
    text-decoration: none;
}

.back-to-home a:hover .back-to-home-text {
    text-decoration: underline;
}