@font-face {
    font-family: "Hack";
    src: url("../resource/Hack-Regular.otf");
}

@font-face {
    font-family: "Noto Sans";
    src: url("../resource/NotoSans-Regular.ttf");
}

body {
    background-color: #110E0E;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    width: 100%;
    font-family: "Noto Sans";
}

header {
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title {
    display: block;
    margin: 2rem 2rem 0 2rem;
}

.titleText {
    font-family: "Hack";
    font-size: 2rem;
    color: #d9d9d9;
    text-align: center;
    margin-bottom: 0.2rem;
}

.titleSubtext {
    font-family: "Hack";
    font-size: 1rem;
    color: #d9d9d9;
    text-align: center;
    margin: 0;
}

.profileLinks {
    display: block;
    text-align: center;
    padding: 0.5rem;
}

.linkiconImage {
    color: #d9d9d9;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    transition: ease-in 0.2s;
    width: 1rem;
}

.linkiconImage:hover,
.linkicon:hover .linkiconImage {
    color: #973f35;
}

.articlesContainer {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    vertical-align: top;
}

.articleColumn {
    display: inline-block;
    max-width: 90%;
}

#rightColumn {
    margin-top: 8.5rem;
}

.articleFlex {
    display: grid;
    grid-template-columns: minmax(400px, 1fr) minmax(400px, 1fr);
    column-gap: 5%;
    flex-wrap: wrap;
    flex-flow: column;
    justify-content: center;
    max-width: 100%;
    padding: 0 5% 0 5%;
    vertical-align: top;
    grid-column-start: -1;
}

.articleTitleAndViews {
    width: 100%;
    height: auto;
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
}

.articleA {
    cursor: default;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.articleADummy {
    height: 10rem;
    width: 100%;
}

.articleALeft {
    justify-content: right;
}

.articleARight {
    justify-content: left;
    transform: translateY(50%);
}

@media screen and (max-width: 26rem) {
    .articleFlex {
        grid-template-columns: 1fr;
    }

    .articleARight {
        transform: none;
    }
}

.articleContainer {
    max-width: 75%;
    max-height: 10rem;
    width: 75%;
    height: 10rem;
    overflow: hidden;

    margin: 3rem 1rem;

    background-color: #1b1818;

    transition: ease-in 0.35s;

    padding: 1rem;
    cursor: default;

    box-shadow: 0 0 1rem #110d0d;
}

.articleContainerRight {
    border-left: #5e2721 2px solid;
}

.articleContainerLeft {
    border-right: #5e2721 2px solid;
}

@media (max-width: 1000px) {
    .articleColumn {
        width: 100%;
    }

    .articleALeft {
        justify-content: center;
    }

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

@media (max-width: 780px) {
    .articleFlex {
        grid-template-columns: 1fr;
    }

    .articleARight {
        transform: translateY(0%);
        display: flex;
        justify-content: center;
    }

    .articleContainer {
        margin: 1.5rem 1rem;
    }
}

.articleContainer:hover {
    background-color: #292424;
    cursor: pointer;
    transition: ease-in 0.15s;
}

.articleHr {
    max-width: 15rem;
    text-align: left;
    margin-left: 0;
    color: #5e2721;
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #5e2721;
    padding: 0;
}

.articleTitle {
    color: #d9d9d9;
    font-size: 1.2rem;
    text-decoration: none;
    display: inline-block;
    max-width: 90%;
    padding: 0;
    margin: 0;
}

.articleViews {
    display: inline-flex;
    width: max-content;
    height: auto;
    flex-direction: column;
    align-items: center;
    transform: translateY(15%);
    position: absolute;
    right: 0;
}

.articleIcon {
    padding: 0;
    margin: 0;
    font-size: 0.7rem;
    color: #d9d9d9;
}

.articleViewsText {
    color: #d9d9d9;
    padding: 0;
    margin: 0;
    font-size: 0.7rem;
}

.articleText {
    color: #d9d9d9;
    font-size: 0.8rem;
    display: inline;
    padding-bottom: 0;
    margin-bottom: 0;
}

.articleDate {
    color: #d9d9d9;
    font-size: 0.6rem;
    margin-left: 0.25rem;
    display: inline;
}

footer {
    display: block;
    text-align: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.footerHr {
    max-width: 20%;
    text-align: left;
    color: #5e2721;
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #5e2721;
    padding: 0;
    margin: 2rem 0 2rem 40%;
}

.footerText {
    color: #d9d9d9;
    font-size: 0.7rem;
}

.footerIconContainer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footerIcon {
    color: #d9d9d9;
    transition: ease-in 0.2s;
}

.footerIcon:hover {
    color: #973f35;
    transform: translateY(15%);
}

.footerIconImage {
    color: #d9d9d9;
    transition: ease-in 0.2s;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.footerIconImage:hover,
.footerIcon:hover .footerIconImage {
    color: #973f35;
}

.footerIcon::after {
    position: absolute;
    content: attr(hint);
    color: #973f35;
    opacity: 0;
    transition: ease-in 0.2s;
    left: 50%;
    top: 0%;
    transform: translate(-50%, -50%);
    font-size: 0.7rem;
}

.footerIcon:hover::after {
    opacity: 1;
}