@import url('https://fonts.googleapis.com/css2?family=Eagle+Lake&family=Jacquard+24&display=swap');


body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow: hidden;
    background: conic-gradient(
        #ff0000 0deg 45deg,
        #ffff00 45deg 90deg,
        #00ff00 90deg 135deg,
        #00ffff 135deg 180deg,
        #0000ff 180deg 225deg,
        #ff00ff 225deg 270deg,
        #E600FF 270deg 360deg    
    );
    background-size: 100vw 100vh;

    animation: slowCanvasSpin 20s linear infinite;
}

.bkg_div {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: -2; 
    will-change: opacity;
    animation: blackStrobe 0.14s steps(2) infinite;
}

.chaos-engine-ultra {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1; 
  overflow: hidden;
  perspective: 600px;
  background: transparent; 
  will-change: transform, filter;
  animation: 
    globalStrobe 0.19s steps(2) infinite, 
    chairThrust 0.22s ease-in-out infinite alternate;
}

.shape {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center;
  mix-blend-mode: difference;
}

.stripe-static {
  width: 300vw;
  height: 300vh;
  margin-top: -150vh;
  margin-left: -150vw;
  background: repeating-linear-gradient(45deg, #fff, #fff 12px, #000 12px, #000 24px);
}

.rect-static-1 {
  width: 45vw;
  height: 250vh;
  margin-top: -125vh;
  margin-left: -22.5vw;
  background: linear-gradient(0deg, #ff0000, #ffff00, #00ff00);
  transform: rotate(25deg);
}

.rect-static-2 {
  width: 250vw;
  height: 35vh;
  margin-top: -17.5vh;
  margin-left: -125vw;
  background: linear-gradient(90deg, #00ffff, #ff00ff, #0000ff);
  transform: rotate(-35deg);
}

.circle-static {
  width: 110vmax;
  height: 110vmax;
  margin-top: -55vmax;
  margin-left: -55vmax;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #fff, #fff 25px, #000 25px, #000 50px);
}

.smile-glitch {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('web_assets/smile.png') center/contain no-repeat;
  mix-blend-mode: normal;
  z-index: 999;           
  opacity: 0;
  will-change: opacity, filter;
  animation: smileInterrupt 3.5s infinite; 
}

@keyframes slowCanvasSpin {
  100% { transform: rotate(360deg); }
}

@keyframes blackStrobe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes chairThrust {
  0% { transform: scale(0.3); }
  100% { transform: scale(2.6); }
}

@keyframes globalStrobe { 
  0% { filter: invert(0) contrast(100%) hue-rotate(0deg); } 
  100% { filter: invert(1) contrast(300%) hue-rotate(180deg); } 
}

@keyframes smileInterrupt {
  0%, 89%, 98%, 100% { 
    opacity: 0; 
    filter: invert(0) scale(1);
  }
  90%, 93% { 
    opacity: 1; 
    filter: invert(0) scale(1);
  }
  94%, 97% { 
    opacity: 1; 
    filter: invert(1) contrast(300%) scale(1.05);
  }
}

h1 {
    font-family: "Jacquard 24", serif;
    font-size: 7rem;
    margin: 0;
}

h2 {
    font-family: "Jacquard 24", serif;
    font-size: 3rem;
}

.entries {
    display: flex;
    flex-direction: column;
    padding: 2% 7% 0 7%;
    height: fit-content;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.title {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 8rem;
    background-color: #ff007f;
    background-image: 
    radial-gradient(at 0% 0%, #00ffff 0px, transparent 50%),
    radial-gradient(at 100% 0%, #ff00ff 0px, transparent 50%),
    radial-gradient(at 100% 100%, #ffff00 0px, transparent 50%),
    radial-gradient(at 0% 100%, #00ff00 0px, transparent 50%);
    background-size: 200% 200%;
    animation: moveGradients 8s ease infinite alternate;
}

@keyframes moveGradients {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

.abtwrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding:0 7% 0 7%;
}

.about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 5% 0 5%;
    color: #fff;
    text-shadow: 2px 2px 4px #000;
}

.h2wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 5rem;
}

.abtp {
    font-family: "Eagle Lake", serif;
}

.pbtnwrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 5rem;
}

.playbtn {
    background-color: blanchedalmond;
    font-family: "Eagle Lake", serif;
    font-size: 1rem;
    height: 4rem;
    width: 10rem;
    cursor: pointer;
    border: none;
    font-weight: bold;
}

.play-button {
    text-decoration: none;
    color: #000;
}

.about_block {
    background: conic-gradient(
        #ff0000 0deg 45deg,
        #ffff00 45deg 90deg,
        #00ff00 90deg 135deg,
        #00ffff 135deg 180deg,
        #0000ff 180deg 225deg,
        #ff00ff 225deg 270deg,
        #E600FF 270deg 360deg    
    );
    display: flex;
    gap: 5rem;
    padding: 20px;
    border: 4px solid #fff;
}

.about_img {
    width: 15rem;
    object-fit: contain;
}