html,
body {
    margin: 0;
    width: 100%;
    height: 100%;
    font-family:
        ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas,
        "DejaVu Sans Mono", monospace;
}

#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(120px);
    user-select: none;
    pointer-events: none;
    opacity: 100%;
}

#container {
    min-height: 100vh; /* Use min-height for better content flow */
    background: #0b0a18;
    display: flex;
    flex-direction: column; /* Stack content vertically by default */
    align-items: center; /* Center content horizontally */
    justify-content: center; /* Center content vertically */
    padding: 20px; /* Add some padding around the content */
    box-sizing: border-box; /* Include padding in the element's total width and height */
}

@keyframes slideUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

h2 {
    color: white;
    font-weight: 300;
    margin-bottom: 0; /* Adjust margin */
    margin-top: 0; /* Adjust margin */
    font-size: 1.5rem; /* Use relative units for better scaling */
    width: 100%; /* Ensure it respects the max-width on smaller screens */
}

a {
    color: white;
    font-weight: 300;
    font-size: 1.5rem; /* Use relative units for better scaling */
}

main {
    width: 100%; /* Make main take full width */
    display: flex;
    justify-content: center;
    align-items: center; /* Vertically center content within main */
    flex-grow: 1; /* Allow main to grow and take available vertical space */
}

#hero {
    display: flex;
    text-align: left;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 16px;
    max-width: 660px /* Match the max-width of your h2 (or adjust as needed) */;
}

h1 {
    font-size: 1.5rem; /* Adjust font size */
    margin-top: 0.5em;
    width: 100%;
    text-align: center;
}

.inner {
    z-index: 1;
}

.links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow links to wrap to the next line on smaller screens */
    gap: 10px; /* Adjust gap */
    max-width: 92.5%;
    width: 92.5%;
    margin-bottom: 16px;
    padding: 16px;
    transform: translateY(10px);
}

.border {
    background:
        linear-gradient(66.77deg, #030409 0%, #030409 100%) padding-box,
        linear-gradient(155deg, #d83333 0%, #f041ff 100%) border-box;
    border: solid transparent 2px;
    border-radius: 16px;
}

.bannerDiv {
    margin-bottom: 16px;
    padding: 16px;
    max-width: 92.5%;
    width: 92.5%;
    transform: translateY(10px);
}

.banners {
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.pronouns {
    height: 1em;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

pre {
    font-weight: 300;
    background: linear-gradient(14deg, #d83333 0%, #f041ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    font-size: 1.25rem; /* Adjust pre font size */
}

code {
    display: inline-block;
    padding: 0.3em 0.6em; /* Adjust code padding */
    margin: 0.3em; /* Adjust code margin */
    font-size: 1rem; /* Adjust code font size */
}

p {
    color: #4b5563;
    font-size: 1rem; /* Adjust paragraph font size */
    line-height: 1.5;
    letter-spacing: -0.006em;
    margin: 0;
}

@keyframes anim-rotate {
    0%,
    100% {
        transform: rotate(-1deg);
        animation-timing-function: ease-in;
    }
    25% {
        transform: rotate(0deg);
        animation-timing-function: ease-out;
    }
    50% {
        transform: rotate(1deg);
        animation-timing-function: ease-in;
    }
    75% {
        transform: rotate(0deg);
        animation-timing-function: ease-out;
    }
}

@keyframes anim-translate {
    0%,
    100% {
        transform: translateY(0);
        animation-timing-function: ease-out;
    }
    25% {
        transform: translateY(2px);
        animation-timing-function: ease-in;
    }
    50% {
        transform: translateY(0);
        animation-timing-function: ease-out;
    }
    75% {
        transform: translateY(-2px);
        animation-timing-function: ease-in;
    }
}

/* Mobile-specific styles */
@media screen and (max-width: 768px) {
    #container {
        padding: 8px; /* Adjust overall container padding for smaller screens */
    }

    #hero {
        max-width: 95%; /* Match the max-width of your h2 (or adjust as needed) */
    }

    h2 {
        font-size: 1.1rem;
    }

    pre {
        font-size: 1rem; /* Adjust pre font size */
    }

    code {
        padding: 0.2em 0.4em; /* Adjust code padding */
    }

    .links {
        max-width: 100%;
    }

    /* You might want to adjust the font size of the Button component on mobile */
    .gradient-box a {
        font-size: 1rem;
        padding: 8px 16px;
        line-height: 1; /* Adjust line height for better text wrapping */
    }
}
