h1 {
    font-size: 3rem;
    text-align: center;
    margin: 0;
}

@media only screen and (max-device-width: 1024px) {
    h1 {
        padding-top: 2rem;
    }
}

.main-content {
    padding: 3rem;
}

.project-gallery {
    max-width: 85rem;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
}

.project-gallery>div {
    flex: 1;
    max-width: 50rem;
    min-width: 30rem;
    padding: 1rem;
}

.project-gallery>div:first-of-type
{
    width: 100rem;
    min-width: 100rem;
}

.project-gallery .main-content {
    margin: 0;
}

.project-gallery iframe {
    aspect-ratio: 16/9;
    width: 100%;
}

.project-gallery p  {
    font-size: 0.8rem;
}

.project-gallery ul {
    font-size: 0.8rem;
}

@media only screen and (max-device-width: 1024px) {
    .project-gallery>div:first-of-type
    {
        max-width: 50rem;
        min-width: 30rem;
    }
}