﻿* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #222;
    background: #f5f5f5;
}

h2 {
    text-align: center;
}

.site-header {
    min-height: 240px;
    padding: 3rem 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    isolation: isolate;
}

    .site-header::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url("resources/images/banner.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0.5; /* 0 = invisible, 1 = fully opaque */
        z-index: -1;
    }

    .site-header h1,
    .site-header p {
        font-family: "Pixelify Sans", sans-serif;
        color: #F7F7F7;
        text-shadow: 2px 3px 6px #000;
        margin: 0.25rem 0;
    }

        .site-header h1 {
            font-size: 4.5rem;
        }

        .site-header p {
            font-size: 2rem;
        }

.logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    border: 2px solid #222;
    border-radius: 50%;
}

.site-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem;
    background: #222;
    position: sticky;
    top: 0;
    z-index: 100; /* Ensures it stays above other content */
}

    .site-nav a {
        font-family: "DotGothic16", sans-serif;
        color: #fff;
        text-decoration: none;
    }

        .site-nav a:hover {
            text-decoration: underline;
        }

main {
    font-family: "Space Mono", monospace;
    width: 95%;
    margin: 0 auto;
    min-height: 50vh;
    padding: 2rem;
    background: #fff;
}

.card-grid,
.feature-grid {
    display: grid;
    gap: 1.25rem;
}

.card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.feature-box {
    box-sizing: border-box;
    padding: 1.25rem;
    border: 2px solid #6b5b95;
    border-radius: 14px;
    background-color: #f7f7f7;
}

.feature-box {
    margin-top: 1.5rem;
}

    .feature-box p {
        text-align: center;
    }

@media (max-width: 700px) {
    .card-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.badge {
    display: block;
    width: 250px;
    height: 250px;
    object-fit: contain;
    margin-inline: auto;
}

.contact-links {
    display: flex;
    justify-content: center;
}

.contact-links a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.contact-icon {
    display: block;
    width: 150px;
    height: 50px;
    object-fit: contain;
}

.resume {
    text-align: center;
}

.site-footer {
    font-family: "Pixelify Sans", sans-serif;
    padding: 1rem;
    text-align: center;
    background: #222;
    color: #fff;
}

    .site-footer p {
        margin: 0;
    }

        .footer-links a {
            display: inline-flex;
            align-items: center;
            text-decoration: none;
            line-height: 0;
        }

        .footer-icon {
            display: block;
            width: 32px;
            height: 32px;
            object-fit: contain;
        }

@media (max-width: 600px) {
    .site-nav {
        gap: 0.75rem 1rem;
    }

    main {
        padding: 1.25rem;
    }
}

/*Fonts*/
.pixelify-sans-navFont {
    font-family: "Pixelify Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.dotgothic16-regular {
    font-family: "DotGothic16", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.space-mono-regular {
    font-family: "Space Mono", monospace;
    font-weight: 400;
    font-style: normal;
}

.space-mono-bold {
    font-family: "Space Mono", monospace;
    font-weight: 700;
    font-style: normal;
}

.space-mono-regular-italic {
    font-family: "Space Mono", monospace;
    font-weight: 400;
    font-style: italic;
}

.space-mono-bold-italic {
    font-family: "Space Mono", monospace;
    font-weight: 700;
    font-style: italic;
}
