@font-face {
    font-family: 'PressStart2P';
    src: url('../assets/fonts/PressStart2P.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    font-family: "PressStart2P";
    margin: 0;
    padding: 0;
    background-color: #161b22;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.projects-page {
    padding: 4rem 2rem;
    color: #c9d1d9;
    flex: 1;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #58a6ff;
}

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

.project-card {
    background-color: #161b22;
    padding: 1.2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.project-card h2 {
    font-size: 1.5rem; /* Adjust size as needed */
    margin-bottom: 0.5rem; /* Space below the title */
    color: #58a6ff; /* Optional color for titles */
}

.project-card p {
    margin-bottom: 1rem; /* Space below the description */
    color: #c9d1d9; /* Optional color for text */
}

.project-card a {
    display: inline-block; /* Ensures proper alignment */
    margin-top: 1rem; /* Space above the button */
    color: #58a6ff;
    text-decoration: none;
    font-weight: bold; /* Optional styling for emphasis */
}


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

.project-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.project-card a {
    display: inline-block;
    margin-top: 0.5rem;
    color: #58a6ff;
    text-decoration: none;
}

.project-card a:hover {
    text-decoration: underline;
}