* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    background-color: black;
    font-family: "Space Grotesk", sans-serif;
    color: white;
}
#page{
    height: 100%;
    width: 100%;
    justify-content: center;
    display: flex;
    text-align: center;
    align-items: center;
}
#page h1 {
    font-size: 20vh;
    position: relative;
    color: white;
    animation: glitch 1s infinite;
}

/* duplicate layers for glitch */
#page h1::before,
#page h1::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    right: 0;
    overflow: hidden;
    color: white;
    clip: rect(0, 900px, 0, 0);
}

#page h1::before {
    left: 2px;
    text-shadow: -2px 0 red;
    animation: glitchTop 1s infinite linear alternate-reverse;
}

#page h1::after {
    left: -2px;
    text-shadow: -2px 0 blue;
    animation: glitchBottom 1s infinite linear alternate-reverse;
}

/* main flicker */
@keyframes glitch {
    0% { text-shadow: 2px 0 red, -2px 0 blue; }
    20% { text-shadow: -2px -2px red, 2px 2px blue; }
    40% { text-shadow: 2px 2px red, -2px -2px blue; }
    60% { text-shadow: -2px 0 red, 2px 0 blue; }
    80% { text-shadow: 2px -2px red, -2px 2px blue; }
    100% { text-shadow: -2px 2px red, 2px -2px blue; }
}

@keyframes glitchTop {
    0% { clip: rect(0, 900px, 0, 0); }
    50% { clip: rect(0, 900px, 100px, 0); }
    100% { clip: rect(0, 900px, 0, 0); }
}

@keyframes glitchBottom {
    0% { clip: rect(0, 900px, 0, 0); }
    50% { clip: rect(100px, 900px, 200px, 0); }
    100% { clip: rect(0, 900px, 0, 0); }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: "Space Grotesk", sans-serif;
    background-color: #000;
    color: #fff;
}

/* Page 1 full layout */
#page1,#page2,#page3,#page4,#page5,#page6,#page7,#page8,#page9,#page10,#page11,#page12,#page13,#page14 {
    width: 100%;
    height: 100vh;
    display: flex;
}

/* Left strip */
.strip {
    width: 12%;
    height: 100vh;
    background-color: rgb(124, 132, 135);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -30px;
    transition: all 0.3s ease-in-out;
}
.strip:hover {
    transform: translateX(15px) scale(1.005);
}
.strip h1 {
    transform: rotate(270deg);
    font-size: 10vh;
    white-space: nowrap;
    color: #252323;
    margin-left: 30px;
}

/* Right content area */
.content {
    width: 90%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
}

.image-box {
    max-width: 800px;
    height: 60vh;
    border: 5px solid rgb(255, 255, 254);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-top: 100px;
    margin-bottom: 20px;
    transition: all 0.4s ease-in-out; /* smooth animation */
}

/* Glow + Scale + Rotate */
.image-box:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 
        0 0 15px rgba(255, 255, 255, 0.8),
        0 0 30px rgba(0, 255, 255, 0.6),
        0 0 50px rgba(255, 0, 100, 0.6);
    border-color: cyan;
}


.image-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Paragraph box */
.text-box {
    width: 70%;
    max-width: 800px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 5px solid yellowgreen;
    line-height: 1.6;
    font-size: 1rem;
    text-align: justify;
}


