@font-face {
  font-family: 'mono'; /* name you choose */
  src: url('../fonts/GeistMonoRegular.woff2') format('woff2');
}

@font-face {
  font-family: 'reg'; /* name you choose */
  src: url('../fonts/GeistRegular.woff2') format('woff2');
}

body {
  font-family: 'mono';
  color: rgb(225, 225, 255);
  background-color: rgb(8, 8, 10); /* change numbers to the color you want */
}

h1 {
  font-family: 'mono';
}

h4 {
  color: rgb(150, 150, 255);
  line-height: 0.6;
}

.center-content {
    margin: 0 auto;
    width: 50%;
    text-align: center;
    padding-top: 5rem;
}

.center-content h1 {
    font-size: 5rem;
    color: rgb(150, 150, 255);
    margin-bottom: 2rem;
}

.center-content p {
    font-size: 1.5rem;
    color: rgb(125, 125, 125);
    line-height: 1.6;
    border-top: 2px solid rgb(150, 150, 255);
    padding-top: 25px;
}

.navbar {
    background: rgba(100, 100, 255, 0.1);
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-link {
    color: rgb(120, 120, 255);
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.5s;
}

.text-link:hover {
    color: rgb(150, 180, 255);
}

.navbar-brand {
    color: rgb(177, 177, 177);
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.5s;
}

.navbar-brand:hover {
    color: rgb(150, 150, 255);
}

.navbar-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.navbar-links a {
    color: rgb(177, 177, 177);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.5s;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit);
    gap: 25px;
    padding: 50px;
    max-width: 1500px;
    margin: 0 auto;
}

.text-container {
    display: grid;
    grid-template-columns: repeat(auto-fit);
    gap: 25px;
    padding: 50px;
    max-width: 1500px;
    margin: 0 auto;
}

.box {
    color: rgb(140, 140, 160);
    border: 1px solid #5a5a5a;
    padding: 20px;
    border-radius: 10px;
}

.box .date {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 20px;
    margin-top: 10px;
}

.box h3 {
    color: rgb(120, 120, 255);
}

.box p {
    font-size: 1.1em;
    line-height: 1.5;
}

.project-box {
    border: 1px solid #5a5a5a;
    padding: 20px;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-box h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.project-box .date {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.project-box p {
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
    margin: 0;
}

.project-box.active p {
    max-height: 500px;
    opacity: 1;
    margin-top: 10px;
}

.project-box.active {
    box-shadow: 0 0px 10px rgb(120, 120, 255);
}