.gallery div:first-of-type {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

.prev-slide, 
.next-slide {
    margin: 10px;
    cursor: pointer;
    text-align: center;
    background-color: #50473D;
    color: #eadfa6;
    padding: 5px 20px;
    width: 6rem;
    border-radius: 100px;
}

.prev-slide:hover,
.next-slide:hover {
    background-color: #302a24;
    transition: .5s;
} 

.gallery figure {
    margin-top: 10px;
}

.gallery img {
    border-radius: 8px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.35);
}

#web {
    display: block;
    max-width: 50%;
}

@media screen and (min-width: 1000px) {
    main > * {
        margin: 0;
    }

    main {
        max-width: 1000px;
        margin: 0 auto;
    }
    
    article {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas: 
                    "tt tt"
                    "g g"
                    "i t"
                    "i t";
        column-gap: 2rem;
        margin-bottom: 25px;
    }

    article > h2 {
        grid-area: tt;
        width: 100%;
    }

    .category {
        padding: 20px;
    }

    .gallery {
        grid-area: g;
    }

    .project-intro {
        grid-area: i;
    }

    .project-intro h3:first-of-type {
        margin-top: 0;
    }

    .info {
        grid-area: t;
    }

    .project-intro,
    .info {
        display: flex;
        flex-direction: column;
    }

    .info h3:first-child {
        margin-top: 0;
    }

    .gallery figure {
        max-width: 80%;
        margin: 0 auto;
    }

    .gallery div {
        margin-bottom: 0;
    }

    h1 {
        margin-top: 2rem;
    }

    h1 + p {
        margin: 0 auto;
        padding: 20px;
    }

    .intro-top ul {
        margin: 0;
    }

    .intro-top {
        justify-self: flex-start;
        margin: 0;
    }

    .project-intro, .info {
        margin-top: 2rem;
    }

    .gallery div {
        margin-bottom: 0;
    }
    
    .gallery figure {
        max-width: 80%;
        margin: 0 auto;
    }

    #web {
        max-width: 60%;
        margin-left: 0;
    }
    
}