body {
    background-color: #121212;
    color: white;
    font-family: 'Courier New', Courier, monospace;
    margin: 3rem;
    line-height: 1.5em;
}

a {
    color: orange;
}

.imgcap {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.imgcap img {
    margin-right: 2em;
    max-width: 100%;
    height: auto;
}

.codecont {
    border-radius: 5px;
    font-size: 1.1em;
}

.devblog-container {
    width: 100%;
    margin: 0 auto;
}

.devblog-container a {
    text-decoration: none;
    color: white;
}

.devblog-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    width: 100%;
    border: 2px solid white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-sizing: border-box;
    background-color: #363636;
}

.devblog-item img {
    border-radius: 10px;
    width: 80px;
    height: auto;
    flex-shrink: 0;
    margin: 0.25rem 0.5rem 0.25rem 0.5rem;
}

.devblog-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
}

.devblog-text h1 {
    margin: 0.5rem 0 0.25rem 0;
    font-size: 1.5rem;
    line-height: 1.2;
}

.devblog-text h3 {
    margin: 0.5rem 0 0.25rem 0;
    font-size: 1rem;
    line-height: 1.2;
    position: static;
}

.devblog-title-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.devblog-text hr {
    border: none;
    width: 75%;
    height: 2px;
    background-color: white;
    margin: 0.25rem 0 0.5rem 0;
}

.devblog-text p {
    margin: 0.5rem 0 0.5rem 0;
    font-size: 1rem;
}

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

@media (max-width: 768px) {
    body {
        margin: 2rem 1rem;
    }
    h1, h2, h3 {
        font-size: 1.75rem;
    }
    .imgcap {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    body {
        margin: 1rem;
    }
    .devblog-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .devblog-item img {
        align-self: center;
        width: 30%;
        margin: 0 0 0.5rem 0;
    }
    .devblog-text h1 {
        font-size: 1.25rem;
    }
    .devblog-text p {
        font-size: 0.9rem;
    }
}

.panel {
    background-color: #333333;
    width: auto;
    border: 2px white solid;
    border-radius: 10px;
    padding: 1.5rem 1.5rem 1.5rem .2rem;
    margin-bottom: 2rem;
    box-shadow: 0px 20px 50px rgba(0, 0, 0, 1);
}

.panel h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    margin-left: 1rem;
}

.panel li {
    margin: 20px 0px;
    margin-left: .6rem;
    font-size: 1.2em;
}

.panel * {
    margin: 0;
}

.panel p {
    margin-left: 1rem;
}

.attachment {
    display: inline-block;
    background-color: #333333;
    padding: 1em;
    border-radius: 10px;
    margin-top: 20px;
}

.blog-post {
    background-color: #1e1e1e;
    width: 100%;
    max-width: 56rem;
    margin: 0 auto;
    padding: clamp(1rem, 3vw, 2rem);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #E0E0E0;
    line-height: 1.8em;
}

.blog-post a {
    color: #ffa500;
    text-decoration: none;
}

.blog-post h1, 
.blog-post h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.blog-post code {
    font-family: 'Courier New', Courier, monospace;
    background-color: #2e2e2e;
    padding: 0.2rem 0.4rem;
    border-radius: 5px;
}

.blog-post hr {
    border: none;
    height: 2px;
    background-color: #444;
    margin: 2rem 0;
}

.blog-post .attachment {
    display: inline-block;
    background-color: #333333;
    padding: 1em;
    border-radius: 10px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .blog-post {
        padding: 1.5rem 1rem;
        max-width: 100%;
    }
}
