@charset "UTF-8";

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Raleway Dots', cursive;
  background: url('retro_portal-[Converted].jpg') no-repeat center top fixed;
  background-size: cover;
  font-size: 18px;
  line-height: 1.8;
}
/* Prevent side scroll on all devices */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}


header h1 {
  font-family: 'Monoton', cursive;
  font-size: 84px;
  color: #ffcc00;
  position: absolute;
  top:100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-shadow: 2px 2px #000;
  animation: slowSpin 15s linear infinite;
  transform-origin: left;
}

header h2 {
  position:sticky;
  bottom:0px;
  width: 100%;
  font-size: 48px;
  color: #5e9b71;
  font-family: 'Major Mono Display', monospace;
  text-align: center;
}

.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  font-family: 'Major Mono Display', monospace;
  padding: 200px 0px;
}

.parallax-2 {
  background-image: url('kitties/kittie3.png');
  margin-top: -120px; 
  position: relative;
  z-index: 1;
}

.parallax-2 h2,
.parallax-3 h2 {
  font-size: 80px;
  color: #1b1b1b;
  text-shadow: 3px 3px 5px #f9c74f;
}

.parallax-3 {
  background-image: url('kitties/kittie5.png');
}

#bio,
.section-projects,
#assignments {
  position: relative;
  z-index: 2;
  padding: 40px 40px 40px 40px;
  border-radius: 12px;
  margin: 0px auto;
  max-width: 1150px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  color: #122724;
  font-family: 'Major Mono Display', monospace;
  animation: colorShift 8s infinite alternate;
  background-clip: padding-box;
  overflow: hidden;
}

@keyframes colorShift {
  0% { background-color: #5AB19A; }
  25% { background-color: #f4a261; }
  50% { background-color: #9e79b7; }
  75% { background-color: #e76f51; }
  100% { background-color: #5AB19A; }
}

.featured-kitty {
  text-align: center;
  margin-top: -40px;
  margin-bottom: -20px;
  z-index: 1;
  position: relative;
}

.featured-kitty img {
  width: 280px;
  height: auto;
}

.project-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.project-item {
  flex: 1 1 45%;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  font-size: 16px;
  color: #f9c74f; /* yellow */
  text-decoration: underline wavy #ffe066;
  font-style: oblique;
  font-weight: bold;
  transition: all 0.3s ease;
}

li:hover {
  font-size: 26px;
  color: #2B7567;
  animation: bounce 0.4s ease;
}

li a {
  color: inherit;
  text-decoration: inherit;
}

li a:visited {
  color: #2B7567 !important;
}

@keyframes bounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-8px); }
  60%  { transform: translateY(4px); }
  100% { transform: translateY(0); }
}


@keyframes bounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-8px); }
  60%  { transform: translateY(4px); }
  100% { transform: translateY(0); }
}


/* Base style for all list items in projects and assignments */
#assignments li,
.section-projects li {
  font-size: 16px;
  transition: all 0.3s ease;
  display: block;
  margin-bottom: 10px;
}

/* Bounce + grow + color change on hover for ALL li */
#assignments li:hover,
.section-projects li:hover {
  font-size: 26px;
  color: #2B7567;
  animation: bounce 0.4s ease;
}

/* Bounce + grow on hover for links */
#assignments li a:hover,
.section-projects li a:hover {
  color: #2B7567;
}

/* Visited links stay dark green */
#assignments li a:visited,
.section-projects li a:visited {
  color: #2B7567 !important;
}

/* Bounce keyframes */
@keyframes bounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-8px); }
  60%  { transform: translateY(4px); }
  100% { transform: translateY(0); }
}

a {
  color: #f9c74f;
  text-decoration: underline wavy;
  text-decoration-color: #ffe066;
  font-style: italic;
  font-weight: bold;
}

footer {
  background-color: #2B7567;
  color: #fffbe6;
  padding: 40px 30px;
  font-family: 'Major Mono Display', monospace;
  text-align: center;
  margin-top: 60px;
  border-radius: 10px;
  font-size: 16px;
  position: relative;
  z-index: 5;
}

.floating-kitty {
  position: fixed;
  opacity: 0;
  animation: fadeIn 2s ease forwards, floatSideways 6s ease-in-out infinite;
  z-index: 10;
}

.floating-kitty img {
  width: 160px;
  height: auto;
  pointer-events: none;
}

.floating-kitty:nth-child(1) { top: 5vh; left: 2vw; animation-delay: 0s, 0s; }
.floating-kitty:nth-child(2) { top: 25vh; right: 2vw; animation-delay: 0.5s, 0.5s; }
.floating-kitty:nth-child(3) { top: 25vh; left: 2vw; animation-delay: 1s, 1s; }
.floating-kitty:nth-child(4) { top: 50vh; right: 2vw; animation-delay: 1.5s, 1.5s; }
.floating-kitty:nth-child(5) { top: 80vh; left: 2vw; animation-delay: 2s, 2s; }
.floating-kitty:nth-child(6) { top: 80vh; right: 2vw; animation-delay: 2.5s, 2.5s; }
.floating-kitty:nth-child(7) { top: 10vh; left: 2vw; animation-delay: 3s, 3s; }

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes floatSideways {
  0% { transform: translateX(0px); }
  50% { transform: translateX(30px); }
  100% { transform: translateX(0px); }
}



.neon-text {
    font-family: 'Monoton', cursive;
    font-size: 30px; 
    color: #ff00ff;  
    text-shadow:
        0 0 5px #ff0055,
        0 0 10px #ff0055,
        0 0 20px #ff0055,
        0 0 40px #ff0055;
    animation: pulse 2s infinite ease-in-out;
    text-align: center;
    display: block;
    margin-top: 10px;
}


@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
}
@media screen and (max-width: 925px) {
  .floating-kitty {
    z-index: 1;
  }

  #bio, section, header, footer {
    z-index: 10;
    position: relative;
  }

  .project-row {
    flex-direction: column;
  }
}
@media screen and (max-width: 768px) {
  .parallax {
    background-attachment: scroll !important;
    background-size: cover;
    background-position: center;
  }

  .parallax-2,
  .parallax-3 {
    padding: 120px 0; /* let content scroll more naturally */
  }
}

@media screen and (max-width: 600px) {
  body {
    font-size: 16px;
    line-height: 1.5;
  }

  header h1 {
    font-size: 40px;
    top: 60px;
  }

  header h2 {
    font-size: 24px;
  }

  #playPauseBtn {
    font-size: 14px;
    padding: 10px 20px;
  }

  
/* Responsive parallax background sizing and padding */
.parallax {
  background-size: 100% auto;
  background-position: center top;
  padding: 200px 0;
}


  .parallax-2 h2,
  .parallax-3 h2 {
    font-size: 40px;
  }

  header h1 {
    font-size: 48px;
    top: 60px;
  }

  header h2 {
    font-size: 22px;
  }

  .neon-text {
    font-size: 20px;
  }

  #playPauseBtn {
    font-size: 14px;
    padding: 10px 18px;
  }

  .project-row {
    flex-direction: column;
    gap: 20px;
  }

  .project-item {
    flex: 1 1 100%;
  }

  #assignments li,
  .section-projects li {
    font-size: 14px;
  }

  .floating-kitty {
    display: none; /* optional: hide floating cats on small screens */
  }
}
