header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #e2e2e2 0%, #CF9FFF 4%, #CF9FFF 96%, #e2e2e2 100%)    
}
body {
    margin: 0;
}
.Header_Title {
    width: 221.77px;
    height: 64.63px;
    text-align: center;
    font-size: small;
    font-family: Georgia, 'Times New Roman', Times, serif
}
.Header_Image {
    transform: scale(1.1);
}
.subheader a {
    display: block;
    color: black;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
}
.subheader {
    display: flex;
    justify-content: space-evenly;
    background: linear-gradient(to right, #e2e2e2 0%,  #DBB8FF 4%, #DBB8FF 96%, #e2e2e2 100%);    
    border-bottom: 2px solid black;
    border-top: 2px solid black;
}

.Article_Card {
    display: grid;
    gap: 30px;
    padding: 10px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.Article_Card > * {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.Article_Card > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.Article_Card img {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

.Article_Card a {
    margin-top: 10px;
    color: black;
    text-decoration: none;
    font-weight: normal;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
}

.Article_Card a:hover {
    text-decoration: underline; /* hover effect */
}


@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 5px;
        text-align: center;
    }

    .Header_Title {
        width: auto;
        height: auto;
        font-size: medium;
    }

    .subheader {
        justify-content: space-around;
        padding: 5px 0;
    }

    .subheader a {
        font-size: 14px;
    }

    .Article_Card {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .Article_Card img {
        aspect-ratio: 3 / 2;
        object-fit: cover;
    }

}