body {
    font-family: 'Cinzel', serif;
    background: #FCFFF5;
    padding: 2rem;
}

/* Update the page button colors to be more thematic */
.pages {
    background-color: #8c5;
    /* Darker, richer green */
    color: white;
    /* Text color on the buttons */
    border: 3px solid #33691E;
    /* A contrasting border for pop */
    box-shadow: 0 6px 0 #333333;
    /* Creates a 'button' effect */
    border-radius: 20px;
    height: 80px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.pages:hover {
    transform: translateY(2px);
    /* Makes them look like they're being pressed */
    box-shadow: 0 4px 0 #33691E;
    cursor: pointer;
}

h1 {
    padding: 0;
    margin-bottom: 0px;
}

/* Update the H1 and H2 styling */
h1.dino-title {
    /* New styling for a dinosaur theme */
    color: #8c5;
    /* A vibrant green like a jungle or a dinosaur's skin */
    text-shadow: 2px 2px 2px #333333;
    /* Creates an exciting, chunky, layered look */
    font-size: 4.0rem;
    /* Make it bigger */
    padding: 0;
    margin-bottom: -15px;
    z-index: 10;
    /* Ensure it's above other elements if positioned */
    animation: pulse 2.5s infinite alternate;
    /* 2.5 seconds, repeats forever, reverses direction */
}

h2 {
    /* Adjust H2 to complement H1 */
    color: #333333;
    /* A contrasting orange/brown, like dirt or a sunset */
    font-size: 1.8rem;
    /* Make H2 larger too */
    font-weight: 700;
    padding: 0;
    margin-bottom: 0.5rem;
}

/* Adjust the paragraph text for better visibility */
p {
    color: #333333;
    /* Earthy brown */
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Ensure the wrapper respects the text-align for the block content */
.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    /* Keep block text centered */
}





/* Define animation for movement */
@keyframes move {

    0%,
    100% {
        transform: translate(-50%, 0) rotate(0);
    }

    25% {
        transform: translate(-56%, 0) rotate(2deg);
    }

    75% {
        transform: translate(-44%, 0) rotate(-2deg);
    }
}

/* Style for the main content */
article {
    animation: move 4s infinite;
    --skin: #8c5;
    --skin2: #ee5;
    position: absolute;
    bottom: 4vmin;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 80vmin;
    height: 80vmin;
    transform-origin: 50% 96%;
}

/* Style for all elements within the article */
article *,
article *::before,
article *::after {
    position: absolute;
    box-sizing: border-box;
}

/* Style for the head section of the dinosaur */
.head {
    width: 60%;
    height: 50%;
    top: 0;
    left: 40%;
    transform: translateX(-50%);
    filter: drop-shadow(-0.15vmin -0.25vmin) drop-shadow(0.15vmin -0.25vmin) drop-shadow(0 -0.125vmin) drop-shadow(0 0.5vmin) drop-shadow(-0.25vmin 0) drop-shadow(0.35vmin 0);
}

/* Style for the face of the dinosaur */
.face {
    width: 80%;
    height: 90%;
    border-radius: 100% 100% 60% 60%;
    background: var(--skin);
    right: 0;
}

/* Pseudo-element for the face */
.face::before {
    content: "";
    width: 110%;
    height: 60%;
    background: var(--skin);
    top: 50%;
    right: 0;
    border-radius: 100% 0 100% 100%;
}

/* Style for the eyes of the dinosaur */
.eye {
    width: 25%;
    background:
        /* radial-gradient( at 30% 35%, #fff 20%, #0000 21%), */
        /* radial-gradient(circle at 50% 15%, #fff 5%, #0000 5.5%) */
        #000;
    aspect-ratio: 1 / 1.1;
    border-radius: 50%;
    top: 45%;
    left: 5%;
}

/* Animation for eye movement */
@keyframes moveEye {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0.94);
    }
}

/* Pseudo-element for the eye */
.eye::before {
    animation: moveEye 1.5s alternate infinite;
    content: "";
    width: 45%;
    aspect-ratio: 1;
    background: #fff;
    top: 17%;
    left: 9%;
    border-radius: 50%;
}

/* Pseudo-element for the eye */
.eye::after {
    animation: moveEye 1.5s 0.75s alternate infinite;
    content: "";
    width: 15%;
    aspect-ratio: 1;
    background: #fff;
    top: 9%;
    left: 40%;
    border-radius: 50%;
}

/* Second eye styling */
.eye+.eye {
    left: 45%;
    top: 46%;
    transform: scale(1.05);
}

/* Style for the cheeks of the dinosaur */
.cheek {
    width: 25%;
    height: 18%;
    background: repeating-linear-gradient(-40deg, #0000 0 17%, #f001 0 21%), #f002;
    border: 1vmin solid #0000;
    background-clip: content-box, border-box;
    border-radius: 50%;
    top: 67%;
    left: -4%;
    filter: blur(0.1vmin);
}

/* Second cheek styling */
.cheek+.cheek {
    left: 55%;
    top: 69%;
}

/* Style for the spikes on the dinosaur's head */
.spike {
    width: 30%;
    aspect-ratio: 1;
    background: conic-gradient(at 50% 0,
            #0000 160deg,
            var(--skin2) 0 200deg,
            #0000 0);
    top: -25%;
    left: 45%;
}

/* Additional styling for specific spikes */
.spike:nth-child(2) {
    transform: rotate(30deg);
    left: 65%;
    top: -20%;
}

.spike:nth-child(3) {
    transform: rotate(45deg);
    left: 80%;
    top: -8%;
}

.spike:nth-child(4) {
    transform: rotate(60deg);
    left: 85%;
    top: 11%;
}

.spike:nth-child(5) {
    transform: rotate(90deg);
    left: 85%;
    top: 29%;
}

.spike:nth-child(6) {
    transform: rotate(90deg);
    left: 81%;
    top: 42%;
}

.spike:nth-child(7) {
    transform: rotate(90deg);
    left: 77%;
    top: 51%;
}

/* Animation for the drop */
@keyframes drop {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(0, 0);
    }

    10%,
    20% {
        opacity: 1;
        transform: rotate(45deg) translate(0, 0);
    }

    50%,
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(100%, 100%);
    }
}

/* Style for the drop */
.drop {
    animation: drop 5s infinite;
    width: 18%;
    aspect-ratio: 1;
    background: radial-gradient(circle at 40% 70%, #fff 20%, #0000 0), #8ef;
    border-radius: 0 100% 100% 100%;
    transform: rotate(45deg);
    border: 0.65vmin solid;
    left: 75%;
    top: 25%;
}

/* Animation for mouth movement */
@keyframes moveMouth {

    0%,
    100% {
        transform: rotate(-10deg) scale(1);
    }

    33% {
        transform: rotate(-10deg) scale(1.1);
    }

    66% {
        transform: rotate(-10deg) scale(0.9);
    }
}

/* Style for the mouth */
.mouth {
    animation: moveMouth 2.75s linear infinite;
    width: 5%;
    height: 10%;
    background: black;
    border-radius: 50%;
    top: 90%;
    left: 35%;
    transform: rotate(-10deg);
}

/* .mouth {
    width: 15%;
    aspect-ratio: 2;
    background:
        radial-gradient(farthest-side at 50% 0, #0000 80%, #000 0);
    top: 80%;
    left: 29%;
    border-radius: 50% / 0 0 100% 100%;
} */

/* .mouth {
    width: 40%;
    height: 9%;
    background: #000;
    bottom: 0%;
    left: 30%;
    border-radius: 50% / 0 100% 100% 200%;
}

.mouth::before {
    content: "";
    width: 80%;
    top: 0.5vmin;
    left: 5%;
    height: 2vmin;
    background: yellow;
    clip-path: polygon(0 0, 100% 0, 83.333% 100%, 66.66% 0, 50% 100%, 33.33% 0, 16.66% 100%)
} */

/* Style for the body section of the dinosaur */
.body {
    width: 50%;
    height: 45%;
    top: 35%;
    left: 45%;
    transform: translateX(-50%);
    filter: drop-shadow(-0.15vmin -0.25vmin) drop-shadow(0.15vmin -0.25vmin) drop-shadow(0 -0.125vmin) drop-shadow(0 0.5vmin) drop-shadow(-0.25vmin 0) drop-shadow(0.35vmin 0);
}

/* Style for the chest of the dinosaur */
.chest {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 150% 0 50% 100%;
    background: radial-gradient(130% 160% at 35% 85%,
            #0000 29%,
            #000 29.1% 30%,
            var(--skin) 30.1%),
        repeating-radial-gradient(100% 100% at 40% 0, #0000 0 20%, #0002 0 22%),
        var(--skin2);
}

/* Animation for tail movement */
@keyframes moveTail {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(3deg);
    }
}

/* Style for the tail of the dinosaur */
.tail {
    animation: moveTail 3s alternate ease-in infinite;
    width: 50%;
    height: 60%;
    bottom: -0.25%;
    left: 90%;
    transform-origin: 0 100%;
    border-radius: 0 0 100% 0;
    box-shadow: inset 2vmin -15vmin 0 -3vmin var(--skin);
}

/* Animation for waving the first arm */
@keyframes waveArm1 {

    0%,
    100% {
        transform: rotate(30deg);
    }

    50% {
        transform: rotate(35deg);
    }
}

/* Style for the first arm of the dinosaur */
.arm {
    animation: waveArm1 2s infinite;
    width: 20%;
    height: 10%;
    background: var(--skin);
    border-radius: 120% / 100% 0 0 100%;
    transform: rotate(30deg);
    transform-origin: 100% 50%;
    top: 52%;
    left: 10%;
    filter: drop-shadow(-0.5vmin 0) drop-shadow(0 0.5vmin) drop-shadow(0 -0.5vmin) drop-shadow(0.65vmin 0);
}

/* Pseudo-element for the first arm */
.arm::before {
    content: "";
    color: var(--skin);
    width: 17%;
    aspect-ratio: 1;
    background: var(--skin);
    border-radius: 50%;
    left: 0;
    top: 50%;
    transform: translate(-80%, -50%);
    box-shadow: 1.5vmin -2.5vmin, 1.5vmin 2.5vmin;
}

/* Animation for waving the second arm */
@keyframes waveArm2 {

    0%,
    100% {
        transform: rotate(-190deg);
    }

    50% {
        transform: rotate(-200deg);
    }
}

/* Style for the second arm of the dinosaur */
.arm~.arm {
    animation: waveArm2 2.33s reverse infinite;
    width: 15%;
    transform: rotate(-190deg);
    filter: drop-shadow(-0.5vmin 0) drop-shadow(0 0.5vmin) drop-shadow(0 -0.5vmin);
    left: 48%;
}

/* Additional styling for the second arm */
.arm~.arm::before {
    width: 25%;
}

/* Animation for moving the first leg */
@keyframes moveLeg1 {

    0%,
    100% {
        transform: rotate(-25deg);
    }

    50% {
        transform: rotate(-28deg);
    }
}

/* Style for the first leg of the dinosaur */
.leg {
    animation: moveLeg1 3.33s linear infinite;
    transform-origin: 50% 0;
    width: 18%;
    height: 23%;
    background: var(--skin);
    border-radius: 50% / 0 0 100% 100%;
    top: 69%;
    left: 24%;
    transform: rotate(-25deg);
    border: 0.6vmin solid;
    border-top: 0;
}

/* Animation for moving the second leg */
@keyframes moveLeg2 {

    0%,
    100% {
        transform: rotate(45deg);
    }

    50% {
        transform: rotate(43deg);
    }
}

/* Style for the second leg of the dinosaur */
.leg~.leg {
    animation: moveLeg2 3.33s linear infinite;
    top: 73%;
    left: 53.5%;
    transform: rotate(45deg);
}

/* Style for the unicycle */
.unicycle {
    width: 20%;
    height: 20%;
    bottom: 0;
    left: 45%;
    transform: translate(-50%, 0);
}

/* Style for the seat of the unicycle */
.seat {
    width: 100%;
    height: 20%;
    border: 0.5vmin solid;
    background: brown;
    border-radius: 5vmin;
}

/* Style for the frame of the unicycle */
.frame {
    width: 15%;
    height: 86%;
    left: 50%;
    transform: translate(-50%, 0);
    border: 0.5vmin solid;
    border-radius: 1vmin;
    background: linear-gradient(#0002, #0000), #369;
}

/* Animation for rotating the wheel */
@keyframes rotateWheel {

    0%,
    100% {
        transform: translate(-50%, 0) rotate(0);
    }

    25% {
        transform: translate(-50%, 0) rotate(-30deg);
    }

    75% {
        transform: translate(-50%, 0) rotate(30deg);
    }
}

/* Style for the wheel of the unicycle */
.wheel {
    animation: rotateWheel 4s infinite;
    width: 100%;
    aspect-ratio: 1;
    background: radial-gradient(farthest-side,
            #0000 40%,
            #000 0 44%,
            #ccc 0 61%,
            #000 0 65%,
            #333 0),
        linear-gradient(30deg,
            #0000 48%,
            #000 0 49%,
            #ccc 0 51%,
            #000 0 52%,
            #0000 0),
        linear-gradient(60deg,
            #0000 48%,
            #000 0 49%,
            #ccc 0 51%,
            #000 0 52%,
            #0000 0),
        linear-gradient(90deg,
            #0000 48%,
            #000 0 49%,
            #ccc 0 51%,
            #000 0 52%,
            #0000 0),
        linear-gradient(120deg,
            #0000 48%,
            #000 0 49%,
            #ccc 0 51%,
            #000 0 52%,
            #0000 0),
        linear-gradient(150deg,
            #0000 48%,
            #000 0 49%,
            #ccc 0 51%,
            #000 0 52%,
            #0000 0),
        linear-gradient(180deg,
            #0000 48%,
            #000 0 49%,
            #ccc 0 51%,
            #000 0 52%,
            #0000 0);
    top: 28%;
    left: 50%;
    transform: translateX(-50%);
    border: 0.6vmin solid;
    border-radius: 50%;
}

/* Style for the section containing corrections */
.i-hate-corrections {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Style for the neck of the dinosaur */
.neck {
    width: 9%;
    height: 20%;
    background: var(--skin);
    top: 35%;
    right: 30%;
}

/* Style for the back of the dinosaur */
.back {
    width: 10%;
    height: 20%;
    top: 47%;
    right: 30%;
    box-shadow: 0.35vmin 0;
}

.dino-container {
    transform: scale(0.45);
    transform-origin: top right;
    position: fixed;
    top: 430px;
    right: 180px;
    z-index: 1000;
}


#mainItems {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
}

/* Define the pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.03);
        /* Scale up slightly */
        opacity: 0.95;
        /* Dim slightly at max size */
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}