/*Structure*/
body {
    font-family:Arial, Helvetica, sans-serif;
    color: black;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: flex-start;
}
.title-headers {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    gap: 10px;
}
.title-headers h1 {
    margin: 0;
    flex: 1;
    text-align: left;
    font-size: large;
}
.title-headers h2 {
    margin: 0;
    flex: 0;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
footer {
    text-align: center;
}
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.assignment-headers, .project-headers {
    text-align: center;
    font-size: xx-large;
}
.assignment-subheaders, .project-subheaders {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
}

.assignment img, .project img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
}

.assignment, .project {
    border: 1px solid;
    padding: 15px;
    text-align: center;
    background-color: cornflowerblue;
    width: 300px;
    margin: 0 auto;
}

.assignment h2, .project h2 {
    font-size: large;
    font-weight: bold;
    color: black;
    margin-bottom: 10px;
}

@media (max-width: 770px) {
    .assignment-sub {
        flex-direction: column;
        gap: 15px;
    }

    .assignment {
        width: 100%;
        max-width: 500px;
    }
}