* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: sans-serif;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

button,
input,
textarea,
select {
    font: inherit;
}

:root {
    color-scheme: dark;
}

@font-face {
    font-family: 'lucon';
    src: url('../fonts/lucon.ttf') format('truetype');
}

body {
    color: #b7cae5;
    background-color: #0b101e;
    font-family: "lucon", "Lucida Console", "Lucida Sans Typewriter", "monaco", "Bitstream Vera Sans Mono", "Courier New", "monospace";
}

a:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
}

h1 {
    font-weight: bold;
    color: #fdfdfd;
    font-size: 3em;
}

h2 {
    font-weight: bold;
    color: #fdfdfd;
    font-size: 2em;
}

hr {
    border: none;
    border-bottom: solid 1px #4d4d4d;
}

header {
    padding: 0 14px;
}

.header-wrapper {
    display: flex;
    align-items: center;
    max-width: 745px;
    margin: 0 auto;
    width: 100%;
    padding: 14px 0;
    position: relative;
    border-bottom: solid 1px #b7cae5;
}

header .navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
    position: static;
    padding: 0;
    gap: 30px;
}

header .navbar a {
    font-size: 1.3em;
    text-align: center;
    padding: 0;
}

.codehilite {
    background: #1a1c21;
    color: white;
    overflow-x: auto;
    padding: 1em;
    border-radius: 10px;
    font-family: 'Fira Code', monospace;
    line-height: 1.5;
    font-size: 1em;
}

@media (max-width: 700px) {
    .home-wrapper {
        text-align: center;
    }
    .header-wrapper {
        justify-content: center;
    }
    .codehilite {
        font-size: 1em;
    }
}

main {
    margin: 20px auto;
    font-size: 1em;
    padding: 0 14px;
}

.main-wrapper {
    max-width: 745px;
    margin: 0 auto;
}

.home-wrapper {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.home-wrapper a {
    color: turquoise;
}

.blog-list-wrapper ul {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.blog-list-wrapper h2 {
    color: #fdfdfd;
}

.blog-list-wrapper p {
    margin: 5px 0;
}

.blog-wrapper {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.blog-content {
    display: flex;
    flex-direction: column;
    gap: 34px;
    font-size: 1.3em;
}

.blog-title h1 {
    text-transform: uppercase;
    font-weight: bold;
    color: #fdfdfd;
}

.blog-content a {
    color: turquoise;
}

.blog-content img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.blog-content em {
    color: goldenrod;
}

.blog-content hr {
    border: none;
    border-bottom: solid 1px #b7cae5;
}
