*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    font-family: "Inter", sans-serif;
    font-style: normal;
}

header {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
        url('../images/local/header_background_image.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;

    h1 {
        color: white;
        font-size: 2.75rem;

    }
}

nav {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;

    .login_register {
        float: left;
        margin-left: 10px;
    }

    .svg_arrow {
        margin-top: 2px;
        opacity: 0.5;
    }

    p {
        opacity: 0.5;
        font-weight: 300;
    }

    .center {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 7.5px;
    }
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

main section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
    justify-items: center;
    align-items: center;
}

.article_card {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem;
    transition: transform 0.2s ease;
}

.article_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article_card h2 {
    font-size: 1.1rem;
    margin: 0.75rem 0;
}

.article_image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px;
}

.article_date {
    font-size: 0.85rem;
    font-weight: 200;
    color: #666;
    margin-bottom: 0.5rem;
}