* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Lucida Console", "Courier New", monospace;
    background-color: #ffffff;
    color: #000000;
    margin: 0;
    padding: 0;
}

.grid-container {
    display: grid;
    grid-template-areas:
        'header header header header header header'
        'menu main main main main main'
        'menu footer footer footer footer footer';
    gap: 0;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.item1 { 
    background-color: #ffffff;
    grid-area: header;
    padding: 20px 20px 20px 20px;
    text-align: center;
}

.item2 { 
    background-color: #ffffff;
    grid-area: menu; 
    padding: 30px 30px;
    min-width: 50px;
}

.item3 { 
    background-color: #ffffff;
    grid-area: main;
    padding: 20px;
}

.item5 { 
    background-color: #ffffff;
    grid-area: footer;
    padding: 20px 40px;
    font-size: 12px;
}

.title {
    font-size: 45px;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: "Lucida Console", monospace;
}

.subtitle1 {
    font-size: 18px;
    font-weight: normal;
}

.menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu a {
    color: #000000;
    text-decoration: none;
    font-size: 18px;
    transition: opacity 0.2s;
}

.menu a:hover {
    opacity: 0.5;
}

.menu a.active {
    text-decoration: underline;
}

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

.menu-toggle {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    transition: opacity 0.2s;
}

.menu-toggle:hover {
    opacity: 0.5;
}

.arrow {
    transition: transform 0.3s;
    display: none;
}

.arrow.open {
    transform: rotate(90deg);
}

.submenu {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
    margin-left: 20px;
}

.submenu.open {
    display: flex;
}

.submenu a {
    font-size: 16px;
    opacity: 0.8;
}

.submenu a:hover {
    opacity: 1;
}

/* Project Grid - Home Page */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 10px;
}

.project-card {
    border: 1px solid #000000;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
    color: #000000;
    display: block;
    background-color: #ffffff;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-thumbnail {
    width: 100%;
    height: 300px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #cccccc;
    overflow: hidden;
}

.project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info {
    padding: 20px;
    background-color: #ffffff;
}

.project-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}

.project-description {
    font-size: 14px;
    line-height: 1.5;
}

/* Project Pages */
.item3 h2 {
    font-size: 36px;
    margin-top: 0;
    margin-bottom: 20px;
}

.project-embed {
    margin: 30px 0;
    border: 1px solid #000000;
    min-height: 400px;
    background-color: #ffffff;
}

.embed-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background-color: #f0f0f0;
    color: #000000;
}

.project-details {
    margin-top: 30px;
}

.project-details h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.project-details p {
    line-height: 1.6;
}

/* About Page */
.about-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 24px;
}

.about-content h3:first-child {
    margin-top: 20px;
}

.about-content p {
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Resume Page
.resume-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 24px;
}

.resume-content h3:first-child {
    margin-top: 20px;
}

.resume-content p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.resume-thumbnail {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.resume-thumbnail img {
    max-width: 800px;
    width: 100%;
    height: auto;
    border: 1px solid #000000;
} */


/* Responsive */
@media (max-width: 768px) {
    .grid-container {
        grid-template-areas:
            'header'
            'menu'
            'main'
            'footer';
        grid-template-columns: 1fr;
    }

    .item2 {
        border-right: none;
        border-bottom: 1px solid #000000;
        padding: 20px;
    }

    .menu {
        flex-direction: row;
        gap: 20px;
    }

    .item3 {
        padding: 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .title {
        font-size: 36px;
    }
}