@font-face {
    font-family: "KateBlues";
    src: url("../fonts/KateBlues.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Candara", sans-serif;
    background-image: url("../images/Galaxy 1.gif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    text-align: center;
    margin: 0;
    padding: 10px;
    min-height: 100vh;
}

.content {
    max-width: 1000px;
    margin: 0 auto;
    background-color: rgba(17, 8, 35, 0.55);
    padding: 20px;
    border-radius: 4px;
}

header {
    background-color: rgba(17, 8, 35, 0.55);
    padding: 20px 10px;
    color: white;
    border-radius: 4px;
}

header h1 {
    font-family: "Candara", sans-serif;
    font-size: clamp(3rem, 7vw, 6rem);
    margin: 0;
}

.site-title {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 0.75rem;
    font-size: clamp(4rem, 8vw, 5rem);
}

header nav {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1.2rem;
}

.site-nav a,
.footer-nav a {
    color: white;
    text-decoration: none;
}

.site-nav a.active {
    font-weight: bold;
    color: #886AB5;
}

main p {
    max-width: 70ch;
    margin: 0 auto;
    line-height: 1.6;
}

main img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1rem;
}

footer img {
    max-width: 220px;
    width: 100%;
    height: auto;
}

button {
    background-color: #321D5E;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 15px;
}

button:hover {
    background-color: #e68900;
}

@media (max-width: 768px) {
    body {
        padding: 8px;
    }

    .content {
        padding: 14px;
    }

    header {
        padding: 14px 8px;
    }

    header nav {
        gap: 0.5rem 0.75rem;
    }

    header nav a {
        font-size: 0.95rem;
    }

    footer nav {
        flex-direction: column;
        align-items: center;
    }
}