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

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    line-height: 1.6;
    min-height: 100vh;
}

header {
    padding: 20px;
    border-bottom: 1px solid #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #000000;
    z-index: 1000;
}

nav {
    text-align: left;
}

.logo {
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 80px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 20px;
}

.project-card {
    border: 2px solid #ffffff;
    padding: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.project-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.project-description {
    display: none;
    font-size: 14px;
    line-height: 1.4;
}

.project-card:hover {
    background-color: #ffff00;
    color: #000000;
}

.project-card:hover .project-description {
    display: block;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 1fr);
    }
}

.about-container {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.about-left {
    flex: 1;
}

.about-right {
    flex: 1;
}

.profile-image {
    width: 100%;
    max-width: 400px;
    border: 2px solid #ffffff;
}

.contact-info {
    margin-top: 20px;
}

.contact-info h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: #ffffff;
    text-decoration: underline;
}

.contact-info a:hover {
    opacity: 0.8;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid #ffffff;
    padding: 5px 15px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background-color: #ffffff;
    color: #000000;
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }
}

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

.project-details h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.project-details h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.project-details p {
    margin-bottom: 15px;
}

.project-details ul {
    list-style: none;
    padding-left: 20px;
}

.project-details li {
    margin-bottom: 8px;
    position: relative;
}

.project-details li:before {
    content: ">";
    position: absolute;
    left: -20px;
}

.project-details a {
    color: #ffffff;
    text-decoration: underline;
}

.project-details a:hover {
    opacity: 0.8;
}