
/* FONTS */

@font-face {
    font-family: 'ABCSimonMono';
    font-weight: 100;
    src: url('fonts/ABCSimonMono_thin.woff2') format('woff2'),
         url('fonts/ABCSimonMono_thin.woff') format('woff');
}

h1 {
    font-family: "ABCSimonMono", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace;
    font-size: 90px;
    margin-top: -6px;
    margin-left: 15px;
    font-style: normal;
    font-variant: normal;
    font-weight: 100;
    line-height: 90px;
    letter-spacing: 0px;
    color: #FF0000;
}

p {
    font-family: "ABCSimonMono", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace;
    font-size: 40px;
    margin-left: 15px;
    font-style: normal;
    font-variant: normal;
    font-weight: 100;
    line-height: 48px;
    letter-spacing: 1.6px;
    color: #FF0000;
    background: transparent;
}

p a {
    color: #FF0000; /* Match the link color to the text */
    text-decoration: none; /* Remove underline */
}

c {
    display: block;
    font-family: "ABCSimonMono", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace;
    font-size: 15px;
    line-height: 18px;
    margin-left: 15px;

    color: #FF0000;
    position: relative;
    bottom: 0;
}

c a {
    color: #FF0000; /* Match the link color to the text */
    text-decoration: none; /* Remove underline */
}

.custom-link {
    display: block;
    font-family: "ABCSimonMono", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace;
    font-size: 15px;
    line-height: 18px;
    margin-left: 15px;
    
    color: #FF0000;
    position: relative;
    bottom: 0;
    text-decoration: none; /* optional: remove underline */
}





/* BACKGROUND COLOR */
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Send the background behind the content */
}




/* ANIMATIONS */

/* increase area to hover over on trigger */
.trigger-wrapper {
  display: inline-block;
  padding: 10px;     /* expands the hover area around the trigger */
  margin: -10px;     /* neutralizes visual layout shift */
  position: relative;
  cursor: pointer;   /* visually indicates interactivity */
}


.trigger_x.random-animate {
    display: inline-block;
    animation: rotatingX 1.8s ease;
    position: relative;
    transform-origin: 50% 53.5%;
}

@keyframes rotatingX {
    0% {
        transform: rotateZ(0deg); /* No rotation at the start */
    }
    50% {
        transform: rotateZ(45deg); /* Rotates 90 degrees around the Z-axis */
    }
    55% {
        transform: rotateZ(45deg); /* Rotates 90 degrees around the Z-axis */
    }
    95% {
        transform: rotateZ(0deg); /* Rotates 90 degrees around the Z-axis */
    }}


.trigger_x:hover {
    display: inline-block;
    animation: rotatingX_hover 0.8s ease;
    animation-iteration-count: 1;
    position: relative;
    transform-origin: 50% 53.5%;
    animation-fill-mode: forwards; /* stops animation in end state */
}

@keyframes rotatingX_hover {
    0% {
        transform: rotateZ(0deg); /* No rotation at the start */
    }
    100% {
        transform: rotateZ(45deg); /* Rotates 90 degrees around the Z-axis */
    }
}






/* For .trigger_dot */
.trigger_dot.random-animate {
    display: inline-block;
    animation: jumpingDot 1.5s ease;
}

@keyframes jumpingDot {
    0% {
        transform: translateY(0); /* Start position */
    }
    15% {
        transform: translateY(-40px); /* Jump up */
    }
    30% {
        transform: translateY(10px); /* Falling halfway */
    }
    45% {
        transform: translateY(-25px); /* Slight jump rebound */
    }
    60% {
        transform: translateY(5px); /* Nearly back to ground */
    }
    75% {
        transform: translateY(-15px); /* Slight bounce up */
    }
    90% {
        transform: translateY(0); /* Back to ground */
    }
}


.trigger_dot:hover {
    display: inline-block;
    animation: jumpingDot_hover 0.2s linear;
    animation-fill-mode: forwards /* stops animation in end state */
}

@keyframes jumpingDot_hover {
    0% {
        transform: translateY(0); /* Start position */
    }
    100% {
        transform: translateY(-40px); /* Jump up */
    }
}





/* For .trigger_slash */
.trigger_slash.random-animate {
    display: inline-block;
    animation: elongate 2s ease-in-out;
}

@keyframes elongate {
    0% {
        transform: translateX(0); /* Start position */
    }
    50% {
        transform: translateX(30px); /* slide */
    }
    100% {
        transform: translateX(0); /* Back to start position */
    }
}

.trigger_slash:hover {
    display: inline-block;
    animation: elongate_hover 0.2s ease-in-out;
    animation-fill-mode: forwards /* stops animation in end state */
}

@keyframes elongate_hover {
    0% {
        transform: translateX(0); /* Start position */
    }
    100% {
        transform: translateX(30px); /* slide */
    }
}



/* For .trigger_CHOR */
.trigger_CHOR, .trigger_GASS{
    display: inline-block; 
    position: relative; /* Allow precise positioning */
    transition: transform 0.3s ease;
}





/* HIDE VIDEOS */
.hover-video {
    display: none;
    position: absolute;
    z-index: 1; /* Send the background behind the content */
}



/* CHORGASS CHOR IMAGE (BOTTOM OF PAGE)*/
.image-right {
  text-align: right;
  padding-right: 30px; /* ← space from the right edge */
}

.image-right img {
  max-width: 100%;
  width: 500px;
  height: auto;
}

/* Optional: Adjust size/margin on small screens */
@media (max-width: 767px) {
  .image-right {
    text-align: center;
    padding-right: 0;
  }

  .image-right img {
    width: 100%;
    max-width: 90vw; /* responsive max width */
  }
}





/* RESCALING FOR DIFFERENT DEVICES */
/* Tablet layout */
@media (max-width: 1600px) and (min-width: 768px) {
    h1 {
        font-size: 65px;
        line-height: 65px;
        margin-left: 10px;
}    
    p {
        font-size: 25px;
        line-height: 29px;
        margin-left: 10px;
}
    c {
        font-size: 15px;
        margin-left: 10px;
    }
}


/* Smartphone layout */
@media (max-width: 767px) {
    h1 {
        font-size: 30px;
        line-height: 31px;
        margin-left: 5px;
   }
    p {
        font-size: 15px;
        line-height: 19px;
        margin-left: 5px;
    }
    c {
        font-size: 12px;
        margin-left: 5px;
    }}


@media (max-width: 767px) {
    @keyframes jumpingDot {
        0% {
            transform: translateY(0); /* Start position */
        }
        15% {
            transform: translateY(-18px); /* Jump up */
        }
        30% {
            transform: translateY(5px); /* Falling halfway */
        }
        45% { 
            transform: translateY(-12px); /* Slight jump rebound */
        }
        60% {
            transform: translateY(2px); /* Nearly back to ground */
        }
        75% {
            transform: translateY(-7px); /* Slight bounce up */
        }
        90% {
            transform: translateY(0); /* Back to ground */
        }
        
    }
            
     .trigger_dot {
        display: inline-block;
        animation: jumpingDot 1.5s ease;
    }
    
    .trigger_dot:hover {
    display: inline-block;
    animation: jumpingDot_hover 0.1s linear;
    animation-fill-mode: forwards /* stops animation in end state */
}

    @keyframes jumpingDot_hover {
        0% {
            transform: translateY(0); /* Start position */
        }
        100% {
            transform: translateY(-18px); /* Jump up */
        }
    }
}
