.project-article{
    display: flex;
    flex-direction: column;
    width: 95%;
    margin: 2em auto;
    padding-bottom: 1em;
    border-radius: 12px;
    position: relative;
}

.project-article > h1{
    font-size: 1.75rem;
    font-weight: 700;
    text-wrap: wrap;
    word-break: break-all;
    margin-bottom: 0.75em;
}

@media(max-width:550px) and (min-width:450px){
    .project-article{
        width: 80%;
    }
}

.article-img{
    display: block;
    height: 100%;
    max-width: 100%;
    border-radius: 12px 12px 0 0;
}

.img-desktop{
    display: none;
}

@media(min-width:550px){
    .img-mobile{
        display: none;
    }
    .img-desktop{
        display: block;
    }
}

.article-info{
    display: flex;
    flex-direction: column;
    padding: 0.75em 0.75em 0;
    background-color: var(--article-background);
    border-radius: 0 0 12px 12px;
}

.article-subheader{
    font-weight: 400;
    color: var(--main-color);
}

.article-info > p{
    text-align: justify;
    font-size: 1.25rem;
    font-weight: 300;
}

.article-link{
    display: inline-block;
    margin-top: 0.25em;
    margin-left: auto;
}

@media(min-width:900px){
    .img-desktop{
        height: auto;
        width: 70%;
        border-radius: 4px;
    }
    .article-info{
        border-radius: 4px;
        position: absolute;
        top: 50%;
        right: 0;
        width: 50%;
        padding: 1.5em 1.75em;
    }
    .article-link{
        position: absolute;
        right: -30px;
        bottom: -30px;
        background-color: var(--article-link-background);
        padding-left: 10px;
        border-radius: 6px;
        transition: transform 0.5s ease;
        -moz-transition: transform 0.5s ease;
        -o-transition: transform 0.5s ease;
        -webkit-transition: transform 0.5s ease;
    }
    @media(hover: hover){
        .article-link:hover{
            transform: scale(1.2);
        }
    }
}

@media(min-width:1050px){
    .img-desktop{
        height: auto;
        width: 75%;
        border-radius: 4px;
    }
    .article-info{
        border-radius: 4px;
        position: absolute;
        top: 50%;
        right: 0;
        width: 40%;
    }
}

@media(min-width:1300px){
    .img-desktop{
        height: auto;
        width: 80%;
        border-radius: 4px;
    }
    .article-info{
        border-radius: 4px;
        position: absolute;
        top: 30%;
        right: 0;
        width: 40%;
    }
}