:root {
    text-size-adjust: none;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
}
body {
    position: relative;
    font-family: Sans-Serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #fff;
    background-color: #222;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 4 4'%3E%3Cpath fill='%23111' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
    background-attachment: scroll;
}
header {
    box-sizing: border-box;
    background-color: RGBA(50,50,50,0.75);
    text-align: center;
    height: 60px;
    padding: 7px;
    margin-bottom: 10px;
}
header h1 {
    font-size: 2rem;
}
a {
    color: #fff;
    text-decoration: none;
}
header img {
    height: 40px;
    margin: 0 15px;
}
header img:hover {
    transform: scale(1.1);
}
nav {
    height: 20px;
}
nav ul {
    display: flex;  
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
nav ul li {  
    display: inline-block;
    padding: 15px;
}
nav ul li a {
    text-decoration: none;
    color: #fff;
}
nav ul li a:hover {
    text-decoration: underline;
}
#maincontent {
    min-height: calc(100vh - 100px);
}
.contentsection {
    margin: auto;
    width: 80%;
    max-width: 1200px;
    margin-top: 15px;
    margin-bottom: 15px;
}
.contentsection h2 {
    margin-top: 25px;
    margin-bottom: 5px;
}
.contentsection h2:first-child {
    margin-top: 1vw;
}
#hero p {
    font-size: 1.2rem;
}
footer {
    height: 70px;
    box-sizing: border-box;
    margin-top: 30px;
    padding: 10px;
    background-color: #111;
    color: #fff;
    text-align: center;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
footer p {
    flex: 1;
    display: inline-block;
}
footer a {
    color: #fff;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}
footer img {
    height: 30px;
    box-sizing: border-box;
    border: solid 1px #555;
    border-radius: 7px;
}
footer select {
    padding: 0;
    margin: 0;
    font-size: 1rem;
    background: none;
    border: none;
    color: #fff;
}
footer option {
    background-color: #000;
    color: #fff;
}
.article {
    position: relative;
    color: #fff;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7), -1px -1px 2px rgba(0, 0, 0, 0.7);
    background: linear-gradient(130deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 40%, rgba(171,171,171,0.5) 60%, rgba(0,0,0,0) 80%, rgba(0,0,0,0) 100%);
    background-position: 0 0;
    background-size: 250% 250%;
    margin-bottom: 15px;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 10px;
    backdrop-filter: blur(1px);
    box-shadow: 0.5vmin 0.5vmin 1.5vmin rgba(0, 0, 0, 0.25);
    transition: background-position 1s ease;
}
@media screen and (max-width: 600px) {
    .contentsection {
        width: 90%;
    }
    .article {
        padding: 20px;
    }
    header img {
        margin: 0 2vw;
    }
    nav ul li {
        padding: 15px 3vw;
    }
    footer p {
        flex: auto;
        padding: 10px;
    }
}
.article:hover {
    background-position: 100% 100%;
}
.article p {
    margin: 0;
}
.article h3 {
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 15px;
}
.article-image {
    z-index: -1;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    border-radius: 0 9px 9px 0;
    mask-image: linear-gradient(to left, rgba(0,0,0,1), rgba(0,0,0,0));
}
.articlelink {
    color: #222;
    text-decoration: none;
}
.more_div {
    text-align: center;
}
.more {
    display: block;
    width: 150px;
    margin: auto;
    margin-top: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
    text-decoration: none;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7), -1px -1px 2px rgba(0, 0, 0, 0.7);
    background: linear-gradient(130deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 40%, rgba(171,171,171,0.5) 60%, rgba(0,0,0,0) 80%, rgba(0,0,0,0) 100%);
    background-position: 0 0;
    background-size: 250% 250%;
    border: 1px solid #ddd;
    border-radius: 25px;
    backdrop-filter: blur(1px);
    box-shadow: 0.5vmin 0.5vmin 1.5vmin rgba(0, 0, 0, 0.25);
    transition: background-position 1s ease;
}
.more:hover {
    background-position: 100% 100%;
}
button:hover {
    opacity: 0.75;
}
.title-and-sort {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    margin-bottom: 5px;
}
.title-and-sort h1 {
    margin: 0;
    font-size: 1.4rem;
    color: #fff;
}
.sort-dropdown-container {
    text-align: right;
}
.sort-dropdown-container select {
    padding: 5px 10px;
    font-size: 1rem;
    background: rgba(50, 50, 50, 0.75);
    border: 1px solid #999;
    border-radius: 5px;
    color: #fff;
}
.sort-dropdown-container option {
    background-color: #222;
    color: #fff;
}