@font-face {
    font-family: argonBold;
    src: url('/src/fonts/MonaspaceKrypton-Bold.woff2');
}

html {
    display: table;
    margin: auto;
}

body {
    width: 100%;
    font-family: 'Courier New', Courier, monospace;
}

.title {
    font-family: 'Courier New', Courier, monospace;
    font-stretch: narrower;
    font-size: 50px;
    margin: 0; /* Remove default margins */
    white-space: nowrap;
}

.navbardiv {
    text-align: center;
    width: 100%;
}

.navbar-container {
    width: 40vw !important; /* Adjust this value to change the navbar width */
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    margin-bottom: 10px;
}

.navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style-type: none;
    row-gap: 0px; /* Adjust this value to change spacing between wrapped rows */
    width: 100%; /* Ensure the navbar takes full width of its container */
}

.navbar li {
    margin: 0 10px; /* Adjust horizontal spacing between navbar items */
}

.navbar li a {
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.navbar li:hover a {
    color: #FCC626;
    font-weight: bold;
}

.navbar li.active a {
    font-weight: bold;
}

.menuitem {
    color: inherit;
    text-decoration: none;
}

.mainmenu {
    font-family: 'Courier New', Courier, monospace;
    list-style-type: none; /* Remove the default list bullets */
    padding: 0; /* Remove default padding */
    margin: 60px auto 20px; /* Increase top margin to add more space above the menu */
    width: fit-content; /* Make the list width fit its content */
    text-align: left; /* Left-justify the text within the list */
}

.mainmenu li {
    margin-bottom: 10px; /* Add some space between menu items */
    font-size: 20px; /* Match the font size to your navbar */
}

.mainmenu li:before {
    content: "> "; /* Add the ">" character before each menu item */
}

.mainmenu a {
    text-decoration: none; /* Remove underline from links */
    color: inherit; /* Use the same color as the parent element */
    white-space: nowrap; /* Prevent wrapping of menu items */
}

.mainmenu li:hover {
    color: #FCC626;
    font-weight: bold;
}

.phrase {
    font-family: 'Courier New', Courier, monospace;
    font-weight: normal;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 60px; /* Increase this value to add more space below the phrase */
    text-align: center;
}

.active {
    font-weight: bold;
}

.blogpost {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    margin-bottom: -10px;
    margin-top: 25px;
}

.blogtext {
    font-family: 'Courier New', Courier, monospace;
    font-weight: normal;
    margin-top: 20px;
}

.menubreak {
    text-align: center;
}

.page {
    width: 60vw;
    margin: auto;
    padding: 0;
    box-sizing: border-box;
}

.album {

    display: inline-block;
    width: 24%;

}

.movie {
    width: 26%;
    margin-inline: 2%;
}

.book {
    width: 25%;
    margin-inline: 3%;
}

.centerimg {
    text-align: center;
}

.line {
    width: 100%;
    text-align: center;
    margin: 0; /* Reset margin */
    border-width: 0.75px;
    border-color: black;
}

.project-container {
    width: 100%;
    margin-top: 30px;
    box-sizing: border-box;
}

.project-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0; /* Light grey border */
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    clip-path: polygon(
        10px 0, calc(100% - 10px) 0,
        100% 10px, 100% calc(100% - 10px),
        calc(100% - 10px) 100%, 10px 100%,
        0 calc(100% - 10px), 0 10px
    );
}

.project-card:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.project-image {
    max-width: 300px;
    max-height: 300px;
    object-fit: cover;
    display: block;
    margin: 0 auto 20px;
}

.project-card-image-container {
    width: 160px; /* Just slightly larger than the image */
    height: 160px; /* Just slightly larger than the image */
    margin-right: 20px;
    background-color: #f0f0f0; /* Light grey background */
    padding: 0.25px; /* Very thin padding */
    clip-path: polygon(
        5px 0, calc(100% - 5px) 0,
        100% 5px, 100% calc(100% - 5px),
        calc(100% - 5px) 100%, 5px 100%,
        0 calc(100% - 5px), 0 5px
    );
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-card-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    clip-path: polygon(
        1.75px 0, calc(100% - 1.75px) 0,
        100% 1.75px, 100% calc(100% - 1.75px),
        calc(100% - 1.75px) 100%, 1.75px 100%,
        0 calc(100% - 1.75px), 0 1.75px
    );
}

/* Remove the ::before pseudo-element as it's no longer needed */
.project-card-image::before {
    content: none;
}

.project-content {
    flex: 1;
}

.project-title {
    margin-top: 0;
}

.project-brief {
    margin-bottom: 10px;
}

.project-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.project-card.expanded .project-details {
    max-height: 10000px;
    transition: max-height 1s ease-in;
}

.expand-arrow {
    position: absolute;
    bottom: 10px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #000000;
    transition: transform 0.3s ease;
}

.project-card.expanded .expand-arrow {
    transform: rotate(180deg);
}

.header-block {
    width: 60vw; /* This controls the overall header width */
    margin: 0 auto;
    text-align: center;
}

#navbar-placeholder {
    display: inline-block;
    width: auto;
}

/* Add this new rule for any paragraphs that might not be covered by other classes */
p {
    font-family: 'Courier New', Courier, monospace;
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: center; /* This centers the content horizontally */
    margin-bottom: 0px; /* Adds some space between the title and navbar */
}

.logo {
    height: 50px; /* Adjust this value to match your desired logo size */
    margin-right: 20px; /* Adjust this value to set the space between logo and title */
}

.inline-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* This centers the images horizontally */
    align-items: center; /* This centers the images vertically */
    gap: 10px;
    max-width: 100%;
}

.inline-images .project-image,
.project-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* If you want to center a single image as well */
.project-details img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto; /* This centers single images */
}

.image-container {
    max-width: 100%;
    margin: 20px auto;
    text-align: center;
}

.centered-image {
    max-width: 80%; /* Adjust this value to restrict image size */
    max-height: 400px; /* Adjust this value as needed */
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

figure {
    margin: 0;
    padding: 0;
}

figcaption {
    margin-top: 10px;
    font-style: italic;
    color: #666;
    font-size: 0.9em;
}

.photo-gallery-container {
    width: 90%;
    margin: 0 auto;
    padding: 1rem;
    box-sizing: border-box;
}

.photo-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.photo-gallery img {
    height: 200px;
    width: auto;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer; /* Add this line to change cursor on hover */
}

@media (max-width: 600px) {
    .photo-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .photo-gallery img {
        height: 200px;
    }
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Blog styles */
.blog-container {
    max-width: 80vw;
    margin: 0 auto;
    padding: 20px;
}

.blog-post {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
    position: relative;
    clip-path: polygon(
        10px 0, calc(100% - 10px) 0,
        100% 10px, 100% calc(100% - 10px),
        calc(100% - 10px) 100%, 10px 100%,
        0 calc(100% - 10px), 0 10px
    );
}

.blog-post:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
}

.blog-title {
    font-size: 20px;
    color: #333;
    margin: 0;
}

.blog-date {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.blog-content {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

/* Responsive design */
@media (max-width: 80vw) {
    .blog-container {
        padding: 10px;
    }

    .blog-post {
        padding: 15px;
    }

    .blog-title {
        font-size: 18px;
    }

    .blog-content {
        font-size: 14px;
    }
}