body {
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    margin: 0px;
}

p,
li {
    font-size: 1.3rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
header p {
    font-family: "Nunito", Arial, sans-serif;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.5rem;
}

a:link {
    color: #f41f62;
}

a:visited {
    color: #22a398;
}

a:hover {
    color: #d31752;
}

a:active {
    color: #d31752;
}

.content-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
    clear: both;
}

.alt-container {
    background-color: #ebebeb;
}

.flex-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 3rem;
    row-gap: 1rem;
}

header,
footer {
    background-color: #1c1b1b;
    color: #ebebeb;
}

header .flex-container {
    padding: 1rem;
    gap: 0.5rem;
}

header p {
    margin: 1.5rem 0;
    font-size: 2.2rem;
    font-weight: bold;
}

.bottom-liner {
    border-bottom: 6px solid #f41f62;
}

.dark-bottom-liner {
    border-bottom: 6px solid #1c1b1b;
}

.decorative-brackets {
    font-size: 4.2rem;
    font-weight: 600;
    letter-spacing: 0.75rem;
    font-family: "Nunito", Arial, sans-serif;
    color: #f41f62;
}

footer {
    padding-bottom: 2rem;
}

.link-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
}

#nav-arrow-container {
    flex-grow: 1;
    padding-top: 3rem;
}

#nav-arrow {
    display: block;
    width: 100px;
    height: 100px;
    padding: 2rem;
    margin: 0;
    float: right;
    box-sizing: border-box;
    background-color: #464646;
    transition: all 0.2s ease-out;
}

#nav-arrow:hover {
    transform: scale(1.1);
}

#nav-arrow img {
    width: 100%;
    height: 100%;
    margin: 0;
}

#heading-container {
    margin-bottom: -4rem;
}

#heading-image {
    width: 100%;
}

#heading-box,
h1 {
    width: 375px;
    height: 150px;
    padding: 2rem;
    margin: 0;
    position: absolute;
    transform: translate(50px, -100px);
    font-weight: normal;
    color: #ffffff;
}

#heading-box {
    background-color: #1c1b1b;
    opacity: 75%;
}

#tagline-box {
    width: 450px;
    height: 150px;
    padding: 2rem;
    float: right;
    position: relative;
    transform: translate(0px, -100px);
    background-color: #ffffff;
}

@media only screen and (max-width: 1100px) {
    #heading-container {
        padding: 0;
        padding-bottom: 150px;
        margin-bottom: 0;
    }

    #heading-box,
    h1 {
        transform: translate(2rem, -100px);
    }

    #tagline-box {
        width: 100%;
        box-sizing: border-box;
        float: none;
        position: static;
        transform: translate(0px, 150px);
    }
}

@media only screen and (max-width: 520px) {

    #heading-box,
    h1 {
        width: 100%;
        height: 220px;
        box-sizing: border-box;
        transform: translate(0, -60px);
    }
}

#masonry {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 4rem;
}

#top,
#middle,
#bottom {
    display: flex;
    gap: 1rem;
}

#top>*,
#middle>*,
#bottom>* {
    height: 220px;
}

#top>*:nth-child(1) {
    width: 42.5%;
}

#top>*:nth-child(2) {
    width: 25%;
}

#top>*:nth-child(3) {
    width: 32.5%;
}

#middle>*:nth-child(1) {
    width: 30%;
}

#middle>*:nth-child(2) {
    width: 25%;
}

#middle>*:nth-child(3) {
    width: 45%;
}

#bottom>*:nth-child(1) {
    width: 20%;
}

#bottom>*:nth-child(2) {
    width: 25%;
}

#bottom>*:nth-child(3) {
    width: 55%;
}

@media only screen and (max-width: 1100px) {
    #top,
    #middle,
    #bottom {
        flex-wrap: wrap;
    }

    #top>*,
    #middle>*,
    #bottom>* {
        width: 100% !important;
        height: 180px;
    }
}

#masonry p {
    margin-top: 0;
}

#masonry h3 {
    margin-bottom: 0.4rem;
}

#masonry a {
    display: block;
    text-decoration: none;
    transition: all 0.2s ease-out;
}

#masonry a:hover {
    transform: scale(1.2);
    text-decoration: underline;
}

.gray-box, .red-box, .blue-box {
    padding: 2rem;
}

.gray-box {
    background-color: #ebebeb;
}

.red-box {
    background-color: #f41f62;
    color: #ffffff !important;
}

.blue-box {
    background-color: #22a398;
    color: #ffffff !important;
}

#masonry>div>* {
    background-size: cover;
    background-position: center;
}

#project-1-box {
    background-image: url("images/project-box-topping-tumble.png");
}

#project-2-box {
    background-image: url("images/project-box-beneath-the-permafrost.png");
}

#project-3-box {
    background-image: url("images/project-box-vulgords-tower.png");
}

#project-4-box {
    background-image: url("images/project-box-unpaid-intern.png");
}

#project-5-box {
    background-image: url("images/project-box-house-edge.png");
}

#small-project-1-box {
    background-image: url("images/project-box-dougs-game.png");
}

#small-project-2-box {
    background-image: url("images/project-box-abyssal-complex.png");
}

#small-project-3-box {
    background-image: url("images/project-box-top-down-rpg.png");
}

#small-project-4-box {
    background-image: url("images/project-box-exp-fruit-ninja.png");
}

.project-container {
    margin-bottom: 4rem;
}

.flipped-container {
    flex-direction: row-reverse;
    justify-content: start;
}

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

.project-info {
    width: 50%;
}

.project-info p {
    font-size: 1.1rem;
}

.project-info h2 {
    margin-top: 0;
    margin-bottom: 0.4rem;
}

.project-info ul {
    padding-left: 0;
    margin-top: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    row-gap: 0;
    color: #464646;
}

.project-info>ul>li:nth-child(1) {
    list-style: none;
}

@media only screen and (max-width: 1200px) {
    .project-info {
        width: 100%;
    }

    .project-info ul {
        padding-left: 2rem;
    }

    .project-info>ul>li:nth-child(1) {
        list-style: disc;
    }
}
