:root {
    --color-1: #0f1016;
    --text-color: #f0f0f0;
    --accent-color: #006aff;
}

* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 12pt;
    font-family: Arial, Helvetica, sans-serif;
}

nav {
    height: 60px;
    background-color: var(--color-1);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.links-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

nav a {
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color)
}

nav a:hover {
    background-color: var(--accent-color)
}

nav .home-link {
    margin-right: auto;
}

nav svg {
    fill: var(--text-color);
}

#sidebar-active {
    display: none;
}

.open-sidebar-button,
.close-sidebar-button {
    display: none;
}

@media(max-width:450px) {
    .links-container {
        flex-direction: column;
        align-items: flex-start;

        position: fixed;
        top: 0;
        right: -100%;
        z-index: 10;
        width: 300px;
        background-color: var(--color-1);
        box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
        transition: 0.75s ease-out;
    }

    nav a {
        box-sizing: border-box;
        height: auto;
        width: 100%;
        padding: 20px 30px;
        justify-content: flex-start;
    }

    .open-sidebar-button,
    .close-sidebar-button {
        padding: 20px;
        display: flex;
    }

    #sidebar-active:checked~.links-container {
        right: 0;
    }

    #sidebar-active:checked~#overlay {
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9;
    }
}

body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    /* Firey background */
    background: linear-gradient(45deg, #1a0000, #4b0000, #5a0505, #800000, #ff0000, #ff4500);
    background-size: 400% 400%;
    animation: fireGradient 10s ease infinite;
    color: #f5f5f5;
    text-align: center;
}

@keyframes fireGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.logo {
    margin-top: 20px;
    width: 120px;
}

h1 {
    font-size: 48px;
    margin: 10px 0;
}

.tagline {
    color: #ccc;
    margin-bottom: 30px;
}

.buttons button,
.buttons .enter-btn {
    background: #ff1f1f;
    color: white;
    border: none;
    margin: 10px;
    padding: 12px 25px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    /* Ensure span works like button */
    text-decoration: none;
    /* remove link underline */
}

h2 {
    margin-top: 40px;
    font-size: 28px;
}

.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px auto;
    max-width: 700px;
}

.card {
    background: #1a1a1a;
    border: 2px solid red;
    padding: 20px;
    width: 120px;
    border-radius: 10px;
}

/* Contact Form Styles */
.container {
    max-width: 700px;
    margin: auto;
    border: 2px solid red;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 25px red;
    margin-top: 80px;
    /* Added top margin to clear nav bar */
}

.container h1,
.container h2 {
    text-align: center;
    color: #ff4444;
}

.container p {
    text-align: center;
    color: #ddd;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    text-align: left;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 6px;
    border: none;
    outline: none;
    box-sizing: border-box;
    /* Ensure padding doesn't affect width */
    background: #333;
    color: white;
}

textarea {
    resize: none;
    height: 120px;
}

.container button {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    font-size: 16px;
    background: red;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.container button:hover {
    background: darkred;
}

.note {
    background: rgba(255, 0, 0, 0.15);
    padding: 10px;
    margin-top: 15px;
    border-radius: 8px;
    font-size: 14px;
}

.divider {
    margin: 40px 0;
    border-top: 2px solid red;
}

.creator-info {
    margin-top: 10px;
    font-size: 14px;
}