main {
    .titel {
        display: flex;
        justify-content: center;
        margin-top: 25px;
    }

    .articles {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4.75%;
        margin: 25px 0;
        
        >article {
            width: 20%;
            height: 75vh;
            margin: 2.5% 0;
            border: var(--border-width) solid var(--border-color);
            border-radius: 8px;

            -webkit-box-shadow: 7px 7px 20px 0px rgba(0, 0, 0, 0.5);
            -moz-box-shadow: 7px 7px 20px 0px rgba(0, 0, 0, 0.5);
            box-shadow: 7px 7px 20px 0px rgba(0, 0, 0, 0.5);

            >img {
                width: 100%;
                height: 50%;
                border-radius: 8px 8px 0 0;
            }

            >.textAll{
                height: 35%;
                padding: 0 25px;
            }

            && h2 {
                padding-top: 10px;
            }

            >.date {
                opacity: 0.75;
            }

            >.text {
                margin: 10px 0;
            }

            >a {
                border: 1px solid var(--text-color);
                border-radius: 5px;
                width: max-content;
                margin: 0 auto;
                padding: 5px;
                color: var(--text-color);

                text-decoration: none;
                font-size: 1.15rem;
                display: flex;
                justify-content: center;

                &&:hover {
                    background-color: gray;
                    transition: 0.3s ease-in-out;
                }
            }
        }
    }
}

@media screen and (max-width: 900px) {
    main {
        && h1 {
            font-size: 2rem !important;
        }

        && .articles {
            >article {
                width: 75% !important;
            }

            && h2 {
                font-size: 1.75rem;
            }

            && .date {
                font-size: 1.25rem;
            }

            && .text {
                font-size: 1.15rem;
            }

            && a {
                font-size: 1.75rem;
            }
        }
    }
}

@media screen and (max-width: 480px) {
    .titel {
        font-size: var(--font-size-medium);
    }

    .articles article {
        width: 100%;
        margin: var(--margin-small) 0;
    }
}