/* General Styles */
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding-top: 2.2rem;
    background-position: center;
    background-blend-mode: darken;
    background-color: #000000dd;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Segoe UI', sans-serif;
    font-weight: 300;
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;
}
h1 {
    font-size: 2.5rem;
    font-weight: 600;
}
h2 {
    font-size: 1.6rem;
    font-weight: 500;
}
h3 {
    font-size: 1.2rem;
    font-weight: 400;
}
h4 {
    font-size: 1rem;
    font-weight: 300;
}

/* Light background for text */
.bg-light {
    background-color: #d9d9d9;
    padding: 1rem;
}

/* Buttons and Links */
.button-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: transparent;
    border: 0.1rem solid #e86920;
    color: #e86920;
    text-decoration: none;
    border-radius: 1rem;
    transition: background-color 0.3s ease, color 0.1s ease;
    margin: 0rem 0.5rem;
}
.button-link:hover {
    background-color: #ff6e1af4;
    outline-color: #ff6e1af4;
    color: #202020;
}

/* Navbar */
.navbar {
    background-color: #E54E3E;
    color: #161619;
    font-family: 'Segoe UI';
    font-weight: bold;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.4rem 1rem;
    display: flex;
    justify-content: left;
}
.navbar a {
    color: #161619;
    text-decoration: none;
    margin-right: 1.25rem;
    font-size: 1em;
}
.navbar a:hover {
    color: #ddd;
}

/* Sections */
.download-group {
    background-color: #161619;
    padding: 1rem;
    font-size: 1.5rem;
    color: white;
    line-height: normal;
}

/* Card Styling */
.card {
    position: relative;
    background-size: cover;
    background-position: left center;
    height: 10rem;
    display: flex;
    align-items: center; /* Centers content vertically */
    justify-content: left;
    cursor: pointer;
}

/* Dark overlay using a pseudo-element */
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}

/* Darkens overlay on hover */
.card:hover::before {
    background-color: rgba(0, 0, 0, 0.85);
}

/* Content inside the card */
.card-content {
    position: relative;
    color: white;
    text-align: left; /* Centering the text */
    z-index: 1; /* Ensures text is above the overlay */
    padding: 1.5rem;
}

/* Removes extra margin from text */
.card-content h2 {
    margin: 0;
    font-size: 1.8rem;
}
.card-content h4 {
    margin: 0;
}

.card:hover::after {
    opacity: 1;
}

.container {
    max-width: 1600px;  /* Limits content width at higher resolutions */
    margin: 0 auto;  /* Centers content */
    padding: 0 1rem; /* Ensures spacing on smaller screens */
    width: 100%;  /* Makes sure it adapts to smaller screens */
    box-sizing: border-box;
}


/* CSS GRID BY ME SO IT MAY NOT WORK */


/* Responsive Design */
@media (max-width: 700px) {
    .navbar a {
        font-size: 0.8rem;
        margin-right: 0.8rem;
        padding-bottom: 0.3rem;
    }
    .card-content {
        padding: 1rem;
    }
}