@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100;0,300;0,400;0,800;1,100;1,300;1,400;1,800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap");
@import url(footer.css);
@import url(header.css);
@import url(hamhead.css);
@import url(media.css);
:root {
    --gray-1: #3f3f3f;
    --gray-2: #32353a;
    --gray-3: #25282c;
    --gray-4: #151618;
    --gray-5: #151618;
    --gray-6: #111111;
    --white-1: #eeeeee;
    --white-2: #a9abb3;
}
* {
    font-family: inherit;
    text-decoration: none;
    margin: 0;
    padding: 0;
    -webkit-user-drag: none;
    /*-moz-window-dragging: none;*/
    -webkit-tap-highlight-color: transparent;
}
* img {
    /* max-width: 100%; */
}
html,
body {
    color: var(--white-2);
    background-color: var(--gray-6);
    font-family: "Open Sans", sans-serif;
    line-height: 2rem;
    background-color: var(--gray-5);
}
.content a {
    color: cyan;
    border-bottom: 1px solid cyan;
}
.article {
    margin-bottom: 3rem;
}

.article-header {
    margin-bottom: 1rem;
}
.article-title {
    font-size: 2.4rem;
    margin-bottom: 0.6rem;
    line-height: 140%;
}

.article .date {
    display: block;
    font-size: 0.8rem;
}
.categories {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.categories .category {
    margin: 0 0.5rem 0 0;
    display: block;
    color: var(--gray-4);
    background: var(--white-2);
    border-radius: 15px;
    font-size: 0.7rem;
    padding: 0 0.8rem;
    line-height: 1.3rem;
    cursor: pointer;
}

/* markdown content */

.content * {
    line-height: 180%;
}
.content p {
    margin: 0 0 1.75rem 0;
    padding: 0;
}
.content h1 {
    font-size: 2rem;
}
.content h2 {
    font-size: 1.8rem;
}
.content h3 {
    font-size: 1.6rem;
}
.content h4 {
    font-size: 1.4rem;
}
.content h5 {
    font-size: 1.2rem;
}
.content h6 {
    font-size: 1rem;
}
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
    margin: 1.75rem 0;
}
.content blockquote {
    padding-left: 1.42188rem;
    margin-bottom: 1.75rem;
    font-style: italic;
    font-weight: 100;
    border-left: 0.3rem solid var(--white-2);
}
.content strong {
    font-weight: bold;
}
.content ul {
    margin-left: 1rem;
    margin-bottom: 1.75rem;
}
.content ol {
    margin-left: 1.75rem;
    margin-bottom: 1.75rem;
}
.content ol * ol,
.content ul * ul {
    margin-left: 1rem;
    margin-bottom: 0;
}
.content table {
    width: 100%;
    max-width: 100%;
    margin: 1rem 0;
    border-collapse: collapse;
}
.content table th {
    background-color: var(--gray-3);
    color: var(--white-2);
    border: 1px solid var(--gray-5);
}
.content table * {
    border: 1px solid var(--gray-3);
    padding: 0.2rem;
}
.content img {
    max-width: 100%;
    margin: 1rem 0;
}

/* pre , code */
.content,
.content div,
.content div pre,
.content div pre code {
    overflow-x: auto !important;
}

.content pre {
    background: var(--gray-3) !important;
    padding: 1rem 2rem;
    margin-bottom: 1.75rem;
}

.content code {
    padding: 3px 5px;
    color: var(--white-2);
    white-space: pre;
    background-color: var(--gray-3);
}

/* lbox */

.content img {
    cursor: zoom-in;
}

#lightbox {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
}

#lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

#lightbox img {
    max-width: 90%;
    max-height: 80%;
    padding: 4px;
    background-color: black;
    border: 2px solid white;
}

input[type="text"] {
    background-color: var(--white-1);
}
textarea[id="subject"],
[id="message"] {
    background-color: var(--white-1);
}

input[type="form-text"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    background-color: var(--white-1);
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

button[type="submit"] {
    background-color: #aaa;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

/* When moving the mouse over the submit button, add a darker green color */
button[type="submit"]:hover {
    background-color: #777;
    /* transform: scale(1.1); */
}

/* Add a background color and some padding around the form */
.container {
    border-radius: 1rem;
    background-color: var(--gray-3);
    padding: 1rem;
}

#scrollButton {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    color: white;
    background: none;
    cursor: pointer;
    padding: 10px;
    /* border-radius: 10px; */
    font-style: normal;
    font-weight: bold;
    font-family: iconmeta;
    font-size: 30px;
    opacity: 0.5;
    transition: all 0.2s ease-in-out;
}

#scrollButton:hover {
    /* background-color: #555; */
    opacity: 100%;
    transform: scale(1.2);
}
