@font-face {
    src: url(resources/DejaVuSans.ttf);
    font-family: DejaVu-Sans;
}

body {
    background-color: rgb(38, 20, 0);
    margin: 0px;
    font-family: DejaVu-Sans, sans-serif;
}

header {
    background-color: rgb(63, 63, 63);
    width: 100%;
}

.header-content {
    max-width: 1200px;
    margin: auto;
    padding: 16px;
    display: flex;
    flex-shrink: 0;
    text-align: right;
    justify-content: space-between;
    flex-wrap: wrap;
}

.header-content > a {
    margin-top: auto;
    margin-bottom: auto;
}

header nav ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

header nav li {
    float: left;
    margin: 4px;
    width: 120px;
}

header nav a {
    background-color: rgb(127, 127, 127);
    color: white;
    text-decoration: none;
    padding: 15px;
    display: block;
    text-align: center;
}

header nav a:hover {
    background-color: rgb(191, 191, 191);
}

main {
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    width: 1200px;
    max-width: 90%;
    color: white;
    flex-shrink: 0;
}

main a {
    color: #9ad8e6;
    text-decoration: none;
}

main a:hover {
    text-decoration: underline;
}

.bloglist {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

.bloglist li:hover {
    background-color: rgba(211, 211, 211, 0.2);
    cursor: pointer;
}

.bloglist a {
    color: white;
    text-decoration: none;
    display: block;
}

.bloglist a:hover {
    text-decoration: none;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-gap: 4px;
}

.gallery img {
    width: 100%;
    display: block;
    object-fit: cover;
}