body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #040d1a;
    overflow-x: hidden;
    font-family: sans-serif;
}

.kiriko-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: radial-gradient(circle at center, #0a1d3f 0%, #040d1a 80%);
}

#animation-layer {
    position: absolute;
    inset: 0;
    perspective: 600px;
    transform-style: preserve-3d;
    overflow: hidden;
}

.gate {
    position: absolute;
    top: 25%;
    left: calc(50% - 225px);
    width: 450px;
    height: 350px;
    border: 8px solid #00ffff;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 0 20px #00ffff, inset 0 0 20px #00ffff;
    opacity: 0;
    animation: rush 2.5s linear infinite;
}

.gate::before {
    content: '';
    position: absolute;
    top: 40px;
    left: -20px;
    right: -20px;
    height: 12px;
    background-color: #00ffff;
    box-shadow: 0 0 15px #00ffff;
    border-radius: 6px;
}

@keyframes rush {
    0% {
        transform: translateZ(-1500px) scale(0.2);
        opacity: 0;
    }

    30% {
        opacity: 0.7;
    }

    100% {
        transform: translateZ(400px) scale(1.5);
        opacity: 0;
    }
}

.kitsune {
    position: absolute;
    bottom: 15%;
    left: calc(50% - 60px);
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 0 15px #00ffff) drop-shadow(0 0 30px #00ffff);
    animation: bound 0.4s infinite alternate ease-in-out;
    z-index: 2;
}

@keyframes bound {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-20px);
    }
}

/* all this was done by ai above*/
.content-wrapper {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    padding-top: 180px;
}

.content-wrapper h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.content-wrapper h2 {
    clear: both;
}

.content-wrapper img {
    display: block;
    width: min(100%, 420px);
    height: auto;
    margin: 24px auto;
}

.content-wrapper video {
    display: block;
    width: min(100%, 420px);
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 24px auto;
    background: #000;
}

.content-wrapper p {
    font-size: 1.1rem;
    color: azure;
}

.content-wrapper ol {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 420px));
    justify-content: center;
    gap: 24px;
    width: min(100%, 1320px);
    margin: 0 auto;
    padding: 0;
    text-align: left;
}

footer {
    clear: both;
    /* This is the most important part: it forces the footer below all your floated columns and images */
    width: 100%;
    text-align: center;
    padding: 40px 20px;
    font-size: 1.1rem;
    font-style: italic;
    color: azure;
    position: relative;
    z-index: 10;
    /* Ensures the text sits on top of your animated background */
}

.content-wrapper li {
    float: none;
    font-size: 1.1rem;
    font-style: italic;
    color: azure;
}

.home-page .intro {
    margin-bottom: 0.5rem;
}

.home-page .question-list {
    box-sizing: border-box;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 1.5rem;
    text-align: left;
}

.home-page ul.about-me {
    box-sizing: border-box;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 1.5rem;
    text-align: left;
}

.home-page .question-list li {
    float: none;
}

.home-page .question-list p {
    margin: 1rem 0 1rem 0.5rem;
}

.site-nav {
    display: flex;
    justify-content: space-between;
    /* Pushes outer links to the left/right and keeps middle centered */
    align-items: center;
    max-width: 550px;
    /* Keeps the links from spreading too far apart */
    margin: 0 auto 25px auto;
    /* Centers the whole navigation bar on your page */
    font-size: 2rem;
    padding: 25px;
    box-shadow: 0 0 12px darkred;
    text-align: center;
    font-style: italic;
}

.site-nav a {
    color: azure;
    text-decoration: none;
}

.site-nav a:visited {
    color: red;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: yellow;
}

.site-nav a:active {
    color: azure;
}

.about-me-page {
    box-sizing: border-box;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 1.5rem;
    text-align: left;
}

.content-wrapper p {
    float: none;
    font-size: inherit;
    box-shadow: 0 0 12px darkred;
    text-align: center;
    font-style: italic;
}

.content-wrapper .merch-list {
    padding: 0;
    list-style: none;
}

.content-wrapper .merch-list li {
    float: left;
    overflow: hidden;
    /* Acts as a container to hold the floating image inside */
    margin-bottom: 30px;
    clear: both;
    /* keeps each list item aligned normally */
}

.content-wrapper .merch-list img {
    float: left;
    width: 550px;
    margin-right: 20px;
}

.content-wrapper .merch-list p {
    float: left;
}
ul li:nth-child(3) span {
  float: right;
  width: 90%; /* Adjust this percentage based on your layout spacing */
}

/* Clear the float so subsequent items align properly */
ul li:nth-child(3):after {
  content: "";
  display: table;
  clear: both;
}

ul li:nth-child(1) span,
ul li:nth-child(2) span {
  float: right;
  width: 90%; /* Adjust this percentage based on your layout spacing */
}

/* Clear the float so subsequent items align properly */
ul li:nth-child(1):after,
ul li:nth-child(2):after {
  content: "";
  display: table;
  clear: both;
}