:root {
    --dark-grey: #2b2b2b;
    --grey: #434343;
    --green: #ccf556;
    --orange: #ff9200;
    --pink: #ff2bad;
    --mustard: #f5b418;
}

h1 {
    font-size: 6rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    font-family: 'Anton';
    padding-top: 8rem;
    text-align: center;

    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 1);
}

.articles-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 4rem 2rem 5rem 1rem;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

.articles-container article {
    padding: 0 5rem;
    width: 50%;
}

.articles-container article .image-container {
    height: 400px;
}

.translate-5 {
    transform: translateX(2.5%);
}

.article__info-container {
    background: #ffffff;
    transform: translate(15%, -25%);
}

.image-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.tags {
    color: var(--orange);
    font-size: 1.25rem;
    font-weight: 500;
}

.articles-container h2 {
    line-height: 1.75rem;
}

.articles-container h2 a {
    text-decoration: none;
    color: #000000;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
}

.article-preview {
    margin-left: 0.25rem;
    padding: 0 1rem;
    margin-top: 1.5rem;
    border-left: 2px solid var(--orange);
}


/* Mobile and smaller screen devices */
@media screen and (max-width: 1399px) {
    h1 {
        font-size: 5rem;
    }

    .articles-container article .image-container {
        height: 300px;
    }

    .translate-5 {
        transform: translateX(6%);
    }

    .tags {
        font-size: 1rem;
    }

    .articles-container h2 {
        line-height: 1.25rem;
    }

    .articles-container h2 a {
        font-size: 1.25rem;
    }

    .article-preview {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 1200px) {
    .articles-container {
        padding-right: 1rem;
    }

    .translate-5 {
        transform: translate(0%);
    }

    .articles-container article {
        padding: 0 5rem;
        width: 95%;
        max-width: 1000px;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 4rem;
    }

    .articles-container article {
        padding: 0;
    }

    .article__info-container {
        transform: translate(2.5%, -25%);
    }

    .articles-container h2 a {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 2.75rem;
    }
}
