#projects h2 {
    background: white;
}

#projects {
    padding: 0 12px;
    text-align: center;
    margin-top: 100px;
}

#artProjectList,
#codeProjectList {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.artProject {
    margin: 20px 0;
    max-width: 320px;
}

.codeProject {
    border: 1px solid black;
    border-radius: 3px;
    margin: 20px;
    width: 320px;
    padding: 10px;
    text-align: left;
}

.artProject hr {
    margin: 10px 5px;
}

.artProject div {
    text-align: center;
    width: 100%;
}

.artProject .imgContainer {
    max-width: 300px;
}

.codeProject .infoCard {
    display: flex;
}

.codeProject .infoCard img {
    margin-right: 15px;
}

#modal {
    position: fixed;
    z-index: 2;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 100vh;
    max-width: 100vw;
    overflow: auto;
    margin-top: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background: white;
}

#modal .close {
    position: sticky;
    z-index: 3;
    top: -1px;
    font-size: 75px;
    max-width: 100vw;
    background: white;
    line-height: 40px;
    text-align: right;
    padding-bottom: 20px;
    padding-right: 10px;
}