
body {
    margin: 40px auto;
    max-width: 1100px;
    color: 'black';
    padding: 0 10px;
    font-family: "Courier New", "Courier", monospace;
    font-size: 15px;
    line-height: 1.4;
}

html, body { overflow-x: hidden; }

h1,h2,h3 {
    line-height: 1.2;
    font-family: 'Arial', sans-serif;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

p {
    margin-bottom: 25px; 
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

ul, ol {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
}

li {
    max-width: 650px;
}

.caption {
    font-size: 12px;
    font-weight: 300;
    text-align: left;
}

.full-width-section {
    width: 95vw;
    margin: 40px 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.image-grid {
    display: grid;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    grid-template-columns: repeat(4, 1fr);
}

.image-grid img {
    width: 100%;
    height: auto;
    display: block;
    animation: fadeIn 0.8s ease-in-out forwards;
}

.single-image {
    max-width: 100%;
    margin: 20px auto;
}

.single-image img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.nav-button {
    padding: 0;
    cursor: pointer;
    font-family: "Courier New", "Courier", monospace;
    font-size: 15px;
    background: none;
    border: none;
    color: 'black';
    transition: opacity 0.2s ease;
}

.nav-button:hover {
    opacity: 0.4;
}

.nav-button.active {
    opacity: 0.4;
}

.corner-name {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 2;
}

.corner-more {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 2;
}

.view-controls {
    position: fixed;
    right: 100px;
    bottom: 16px;
    display: flex;
    flex-direction: row;
    gap: 16px;
    z-index: 2;
}

body::after {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50px;
    background: #fff;
    pointer-events: none;
    z-index: 1;
}

.featured {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 100px);
}

.featured a#featured-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50vh;
}

.featured img {
    max-height: 100%;
    width: auto;
    height: auto;
    max-width: 100%;
    display: block;
}

#randomize-btn {
    padding: 6px 6px;
    cursor: pointer;
    font-family: "Courier New", "Courier", monospace;
    font-size: 15px;
    margin-top: 15px;
}

.structured {
    padding: 40px 0;
    min-height: calc(100vh - 90px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.project-item {
    display: flex;
    flex-direction: column;
}

.projects-grid a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.projects-grid a:hover {
    transform: scale(1.02);
}

.projects-grid img {
    width: 100%;
    height: auto;
    display: block;
}

.project-name {
    font-family: "Courier New", "Courier", monospace;
    font-size: 15px;
    color: black;
    margin-top: 5px;
    text-align: center;
}

@media (max-width: 600px) {
    .view-controls {
        left: 50%;
        right: auto;
        bottom: 16px;
        transform: translateX(-35%);
        gap: 10px;
        z-index: 2;
    }
}
