/*** Projects Styles ****/ section#projects { display: flex; flex-direction: row; padding: 0 2.5rem; border-bottom: 2px solid var(--mutedGrey); } section#projects .mainProj, section#projects .otherProj { width: 50%; display: flex; flex-direction: column; align-items: center; gap: 1em; } section#projects .mainProj { border-right: 2px solid var(--mutedGrey); padding: 0 2.5em 5em 0; } section#projects img, section#allProjects img { -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; display: block; margin: 1em auto; } section#projects .mainProj img { width: 100%; max-width: 40rem; } section#projects .mainProj .flexRow { display: flex; flex-direction: row; gap: 4em; } section#projects .mainProj .flexCol { display: flex; flex-direction: column; gap: 2.5em; } section#projects .otherProj > a{ margin: 5rem 0; } section#projects .otherProj > div{ display: flex; flex-direction: column; gap: 2em; } section#projects .otherProj > div .oProjItem, section#allProjects #otherProj .oProjItem { display: flex; justify-content: center; align-items: center; flex-direction: row; width: 90%; border: 1px solid var(--grey); gap: 1em; box-shadow: 0 6px 4px 0 var(--mutedBlack); -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; padding: 0.75em 1em; } section#projects .otherProj > div .oProjItem { margin: 0 auto; } section#projects .otherProj > div .oProjItem:nth-child(2) { flex-direction: row-reverse; } section#projects .otherProj .oProjItem img { max-width: 15rem; width: 100%; padding: 0 1em; } section#projects .oProjItem .flexCol div:nth-child(2) { display: flex; flex-direction: row; justify-content: flex-start; gap: 3em; margin-left: 2em; } section#projects .flexCol div:nth-child(2) .btn { padding: 0.25em 0.5em; } /*All projects page*/ section#allProjects { display: flex; justify-content: center; align-items: center; flex-direction: column; padding: 0 2.5rem; gap: 5em; } section#allProjects #mainProj { display: flex; flex-direction: column; justify-content: center; align-items: center; border: 1px solid var(--grey); box-shadow: 0 6px 4px 0 var(--mutedBlack); -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; padding: 1.5em 2em; margin-top: 3em; width: 50%; } section#allProjects #otherProj .oProjItem { flex-direction: column; /*width: 30%;*/ } section#allProjects #mainProj img { width: 100%; max-width: 30rem; } section#allProjects #otherProj { /*display: flex;*/ /*flex-direction: row;*/ /*justify-content: flex-start;*/ /*align-items: center;*/ /*flex-wrap: wrap;*/ display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 30%)); gap: 2rem; } section#allProjects #otherProj img { width: 100%; max-width: 20rem; }