* {
    font-family: Arial, Verdana, sans-serif;
    color: #333;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
}

header {
    background: #f8f8f8;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    width: 100%;
    z-index: 1000;
    position: fixed;
    top: 0;
}

nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

nav li {
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 10px;
}

.hero-section {
    height: 20vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px 40px;
    margin-top: 30px;
    margin-bottom: 0px;
}

.hero-section h1 {
    font-size: 2em;
    margin: 10px 0;
}

.hero-section h2, .hero-section p {
    font-size: 1.5em;
    margin: 5px 0;
}

.portfolio-section, .content-section {
    padding: 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.portfolio-filters button {
    background: #f0f0f0;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.portfolio-filters button a {
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.grid-item {
    background: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.generic-section {
    padding: 20px 20px;
    max-width: 800px;
    margin: 20px auto;
    background: #f8f8f8;
    border-radius: 5px;
}

.content-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.left-column, .right-column {
    flex: 1;
    max-width: 45%;
    box-sizing: border-box;
}

.left-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.right-column {
    text-align: left;
}

.left-column pre {
    background: #f8f8f8;
    padding: 10px;
    border-radius: 5px;
    overflow: auto;
}

.blackjack-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.blackjack-item {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blackjack-item img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    max-width: 662px;
    max-height: 418px;
}

.center-text {
    text-align: center;
}

.wider-code {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* links */
.generic-section ul li {
    margin: 10px 0;
}

/* stays blue */
.generic-section ul li a {
    color: #0066cc;
    text-decoration: none;
}

.generic-section ul li a:hover {
    text-decoration: underline;
}

footer {
    background: #f8f8f8;
    text-align: center;
    border-top: 1px solid #ddd;
    padding: 5px;
    width: 100%;
}

.blackjack-description {
    text-align: left;
    padding: 10px 20px;
    margin: 0 auto;
}

.blackjack-description p {
    margin: 10px 0;
}

.photography-page .photo-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.photography-page .photo-item {
    margin-bottom: 20px;
}

.photography-page .photo-item img {
    width: auto;
    height: auto;
    max-height: 75vh;
    display: block;
}

.photography-page .project-description {
    text-align: center;
    padding: 10px 20px;
    margin: 0 auto;
}

.photography-page .project-description p {
    margin: 5px 0;
}

.description-section {
    text-align: center;
    padding: 10px 20px;
    margin: 0 auto;
}

.description-section p {
    margin: 10px 0;
}

.soundscape-narrative-page .image-section {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.soundscape-narrative-page .main-image {
    max-width: 75%;
    height: auto;
    display: block;
}

.visual-argument-page .image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.visual-argument-page .image-item {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.visual-argument-page .main-image {
    max-width: 75%; 
    height: auto;
    display: block;
}

.description-section a:hover, 
.blackjack-description a:hover {
    color: #0066cc;
    text-decoration: underline;
}
