.main-container {
    height: 80%;
    width: 50%;
}

.projects {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;

    @media (max-width: 1450px) {
        grid-template-columns: 1fr;
    }

    & > div {
        width: 700px;
        overflow: hidden;
        border-radius: 0.5rem;
        display: flex;
        flex-direction: column;

        & img {
            width: 100%;
            height: 400px;
            aspect-ratio: 16/9;
            object-fit: fill;
        }
    }
}

.project-header {
    width: 700px;
}

.project-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    background-color: rgb(var(--surface0));

    & p {
        margin: 0;
    }

    & .title {
        font-weight: 800;
        color: rgb(var(--teal))
    }
}