/*
COLOR PALETTE

Dark green    #3c8453
Sandy beige   #bcaa96
Dark gray     #222222
Light gray    #d3d4d6
Off-white     #f6f6f6
*/

:root {
  /* Neutral hue base — soft warm gray tone */
  --grey-base: oklch(55% 0.05 95); /* balanced neutral with a warm undertone */

  /* 9 greyscale shades */
  --grey-1: oklch(from var(--grey-base) 98% 0 h);
  --grey-2: oklch(from var(--grey-base) 94% 0 h);
  --grey-3: oklch(from var(--grey-base) 85% 0 h);
  --grey-4: oklch(from var(--grey-base) 70% 0 h);
  --grey-5: var(--grey-base);
  --grey-6: oklch(from var(--grey-base) 45% 0 h);
  --grey-7: oklch(from var(--grey-base) 35% 0 h);
  --grey-8: oklch(from var(--grey-base) 25% 0 h);
  --grey-9: oklch(from var(--grey-base) 15% 0 h);

  /* Backgrounds and text */
  --color-bg: var(--grey-1);
  --color-bg-alt: var(--grey-2);
  --color-text: var(--grey-8);

/* Accent colours — subtle but visible contrast */
  --color-accent: oklch(52.313% 0.1552 146.494);
  --color-accent-light: oklch(51.134% 0.04681 159.609);
  --color-accent-warm: oklch(52.137% 0.10427 88.371);

  /* Typography */
  --font-body: "Roboto Serif", serif;
  --font-heading: "Abril Fatface", serif;
}

/* GLOBAL STYLES 
------------------------------------*/
html {
  box-sizing: border-box;
  /* font-size: 62.5%;  set default to 10px*/
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

html,
body {
  block-size: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.5;
  background: var(--color-bg);
  color: var(--color-text);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  margin: 0;
  color: var(--color-text);
}

h1 {
  font-size: 3.125rem;
  line-height: 0.85;
}
h2 {
  font-size: 1.625rem;
}
h3 {
  font-size: 1.5rem;
}

/* Links */
a {
  color: var(--color-accent);
  transition: color 0.3s ease;
}
a:hover {
  color: var(--color-accent-light);
  text-decoration: none;
}

footer a {
  color: var(--color-accent-light);
}
footer a:hover {
  color: var(--color-accent);
}

.btn {
  background: var(--grey-4);
  color: var(--grey-9);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.75rem;
  display: inline-block;
  padding: 0.5rem;
  letter-spacing: 0.1em;
  line-height: 1;
  border-radius: 0.25rem;
  margin: 0.5rem;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  background: var(--color-accent);
  color: var(--grey-1);
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1em;
}

.content-bg {
  background: var(--color-bg-alt);
  padding: 1.25rem;
}

/* HOME
------------------------------------*/
.home {
  background: url(../images/banner_img.jpg) no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
}

.home .content-wrapper {
  flex: 1 0 auto;
}

.content-bg {
  background: var(--color-bg-alt);
  padding: 1.25rem;
}

@media screen and (min-width: 34rem) {
  .home .content-wrapper {
    padding: 1.875rem;
  }
  .content-bg {
    padding: 1.875rem;
  }
}

@media screen and (min-width: 68rem) {
  .home .content-wrapper {
    padding: 0rem;
  }
}

/* RESUME
------------------------------------*/
.resume header::before {
  background: url(../images/banner_img.jpg) center / cover;
  background-size: cover;
  content: "";
  display: block;
  block-size: 12.5rem;
}
.resume-section {
  margin-block-end: 3.125rem;
}
.resume-section h2 {
  border-block-end: 2px dashed var(--grey-7);
}
/* .download-link {
  position: fixed;
  top: 5px;
  left: 5px;
  font-size: 1.5rem;
}
@media screen and (max-width: 1200px) {
  .download-link {
    position: absolute;
  }
} */
@media screen and (min-width: 34rem) {
  .resume header::before {
    block-size: 23.4375rem;
  }
  h1 {
    font-size: 4.375rem;
  }
  h2 {
    font-size: 2.25rem;
  }
}

/* Laptop */
@media screen and (min-width: 68rem) {
  .resume header::before {
    block-size: 28rem;
  }
}

/* Navigation */
.logo {
  max-width: 90px;
}

.navWrap {
  position: relative;
  top: 0;
  z-index: 1000;
  background-color: var(--grey-3);
  padding: 1rem 0;
}

.navWrap .content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Hamburger toggle */
input#navToggle {
  display: none;
}

input#navToggle ~ label {
  position: relative;
  padding: 0.25rem;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
}

input#navToggle ~ label > span,
input#navToggle ~ label > span::before,
input#navToggle ~ label > span::after {
  content: "";
  display: block;
  position: absolute;
  top: 0.75rem;
  height: 0.125rem;
  width: 1.75rem;
  background: var(--off-white, var(--grey-1));
  transition: 0.14s ease-in-out;
}

input#navToggle ~ label > span::before {
  top: -0.5rem;
}

input#navToggle ~ label > span::after {
  top: 0.5rem;
}

#navToggle:checked ~ label > span {
  width: 0;
  background: transparent;
}

#navToggle:checked ~ label > span::before {
  transform: rotateZ(45deg);
  top: 0;
}

#navToggle:checked ~ label > span::after {
  transform: rotateZ(-45deg);
  top: 0;
}

#navToggle:checked ~ nav {
  left: 0;
}

/* Mobile Nav */
nav {
  position: absolute;
  top: 3rem;
  left: -110%;
  width: 100%;
  background-color: var(--grey-8);
  transition: left 0.25s ease-in-out;
  z-index: 90;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav ul li a {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--grey-1);
  border-bottom: 1px dashed var(--grey-5);
  position: relative;
  transition: color 0.3s ease;
}

nav ul li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: var(--color-accent-warm);
}

nav ul li a:hover::after {
  width: 100%;
}

/* Button inside nav */
/* nav .btn {
  background: var(--grey-3);
  border: none;
  border-radius: 4px;
  box-shadow: inset 0 0 5px var(--grey-6);
  color: var(--grey-9);
  width: 40%;
  padding: 0.25rem 0.6rem;
  letter-spacing: 1px;
  display: flex;
  justify-content: center;
  margin: 1rem auto;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.2s ease;
}

nav .btn:hover {
  background: var(--grey-4);
  color: var(--off-white, var(--grey-1));
} */

nav ul li a.active {
  color: var(--color-accent);
  font-weight: 600;
  border-bottom: 2px solid var(--color-accent);
}

/* Larger screens */
@media screen and (min-width: 48rem) {
  input#navToggle,
  .navToggleLabel {
    display: none;
  }

  nav {
    position: static;
    width: auto;
    background: none;
  }

  nav ul {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }

  nav ul li a {
    border: none;
    color: var(--grey-9);
    background: transparent;
    padding: 0;
  }

  nav ul li a:hover {
    color: var(--color-accent-warm);
    background: none;
  }

  nav .btn {
    width: auto;
    margin: 0;
  }
}

.logo {
  font-size: 2.2rem;
  font-weight: 700;
  display: inline-block;
  letter-spacing: 2px;
}

/* Animate letters individually */
.logo span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: gsStagger 0.7s ease-out forwards;
}

.logo span:nth-child(1) {
  animation-delay: 0.15s;
}
.logo span:nth-child(2) {
  animation-delay: 0.35s;
}

@keyframes gsStagger {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}



/* Profile
------------------------------------*/

/* Projects - Card Grid Style
------------------------------------*/
.project-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5em;
  background-color: var(--color-bg);
  padding: 1em 0;
}

/* Each card becomes a subgrid */
.project-item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 5;
  background: var(--grey-1);
  border-radius: 0.5em;
  padding: 1.5em;
  text-align: center;
  color: var(--color-text);
  font-family: var(--font-body);
  box-shadow: 0 2px 6px var(--grey-4);
  border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-item:hover,
.project-item:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px var(--grey-5);
  border-color: var(--grey-4);
}

/* Card Content */
.project-item img {
  inline-size: 100%;
  block-size: 200px;
  object-fit: cover;
  border-radius: 0.25em;
  margin-block-end: 0.75em;
}

.project-item h3 {
  font-family: var(--font-heading);
  color: var(--grey-9);
  margin-block: 0.5em;
  font-size: 1.25rem;
}

.project-item p {
  font-size: 1rem;
  color: var(--grey-7);
  margin-block-end: auto;
  line-height: 1.5;
}

/* Align buttons at the bottom */
.project-item .btn {
  margin-block-start: auto;
  align-self: end;
  justify-self: center;
  display: inline-block;
  padding-block: 0.6em;
  padding-inline: 1.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  /* color: var(--grey-9);
  background: var(--grey-2); */
  border-radius: 0.25em;
  text-decoration: none;
  /* transition: all 0.2s ease; */
   /* margin-top: auto;
  align-self: start; */
  background: var(--grey-3);
  color: var(--grey-9);
  transition: all 0.3s ease;
}

.project-item .btn:hover {
  transform: translateY(-3px);
  background: var(--color-accent);
  color: var(--grey-1);
}

/* Responsive grid */
@media screen and (min-width: 50em) {
  .project-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 68rem) {
  .project-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}



/* Work Experience
------------------------------------*/
.work-item {
  display: grid;
  column-gap: 1.25rem;
  margin-block: 1.875rem;
}
.work-details p {
  margin: 0;
  color: var(--grey-8);
}

/* Tablet */
@media screen and (min-width: 34rem) {
  .work-item {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (min-width: 68rem) {
  .work-item {
    grid-template-columns: 18.75rem 1fr;
    column-gap: 1.25rem;
  }
  .work-summary p:first-child {
    margin-block-start: 0;
  }
}

/* Education
------------------------------------*/
.education-item {
  margin-block: 1.875rem;
}
.education-item p {
  margin: 0;
}

/* FOOTER
------------------------------------*/
footer {
  background: var(--grey-3);
  color: var(--grey-7);
  text-align: center;
  padding: 0.625rem;
}
.socials {
  list-style-type: none;
  padding: 0;
}
.socials li {
  display: inline-block;
  margin-inline-start: 0.625rem;
}
.socials img {
  inline-size: 2rem;
}
.socials img:hover {
  opacity: 0.5;
}

/* Tablet */
@media screen and (min-width: 34rem) {
  footer {
    padding: 1rem;
  }
}

@media screen and (min-width: 68rem) {
  footer {
    display: flex;
    justify-content: space-between;
    padding-inline: 1.25rem;
    text-align: left;
  }
}

/* CONTACT POPOVER
------------------------------------*/
/* Enable container context */
.popover-container {
  container-type: inline-size;
  width: 100%;
  position: relative;
}

.contact-popover {
  position: fixed;
  top: anchor(bottom);
  left: anchor(right);
  transform: translateX(0%);
  margin-top: 0.5rem;
  border: none;
  border-radius: 0.75rem;
  background: var(--grey-1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  padding: 1.5rem;
  color: var(--grey-9);
  animation: fadeSlideIn 0.3s ease
}

/* Use :popover-open to handle layout conflicts with Popover API */
.contact-popover:popover-open {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 25rem;
  padding: 1.5rem;
  border: none;
  border-radius: 0.75rem;
  background: var(--grey-1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  gap: 1rem;
  text-align: center;
}


/* Profile image */
.contact-popover img.profile-photo {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  border: 3px solid var(--color-accent);
}

/* Name and text */
.contact-popover h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--grey-9);
  margin-bottom: 0.5rem;
}

.contact-popover p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--grey-7);
}

.contact-popover .bio {
  display: block;
}

/* Close button */
.contact-popover .close-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--grey-8);
  transition: color 0.2s ease;
}

.contact-popover .close-btn:hover {
  color: var(--color-accent);
}

/* Backdrop effect */
.contact-popover::backdrop {
  background-color: rgba(0, 0, 0, 0.6);
}

/* Fade animation */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -----------------------------
   CONTAINER QUERIES
------------------------------*/

/* MEDIUM SIZE — two columns, hide bio */
@container (min-width: 40rem) {
  .contact-popover:popover-open {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 70%;
    padding: 2rem;
    gap: 1.5rem;
    text-align: left;
  }

  .contact-popover img.profile-photo {
    width: 5.5rem;
    height: 5.5rem;
  }

  .contact-popover .bio {
    display: none;
  }
}

/* LARGE SIZE — two columns, include bio, max ⅓ of viewport */
@container (min-width: 64rem) {
  .contact-popover:popover-open {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 33%;
    max-width: 33vw;
    padding: 2rem;
    gap: 2rem;
    text-align: left;
  }

  .contact-popover img.profile-photo {
    width: 7rem;
    height: 7rem;
  }

  .contact-popover .bio {
    display: block;
  }
}

/* -----------------------------
   Animations Page Styles
   ----------------------------- */

/* Grid layout for 3-column animation cards */
.animations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* Responsive: collapse to 2 columns and then 1 column */
@media (max-width: 68rem) {
  .animations-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 48rem) {
  .animations-grid { grid-template-columns: 1fr; }
}

/* Animation Card Styles */
.anim-card {
  background: var(--grey-1);
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  box-shadow: 0 2px 6px var(--grey-4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Lift effect on hover */
.anim-card:hover,
.anim-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px var(--grey-5);
  border-color: var(--grey-4);
}

/* SVG container */
.anim-canvas {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0.35rem;
}
.anim-svg {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.anim-card h3 { margin: 0.25rem 0 0; font-size: 1.125rem; }
.anim-card p { margin: 0; color: var(--grey-7); }

/* Button inside each card */
.anim-card .btn {
  margin-top: auto;
  align-self: start;
  background: var(--grey-3);
  color: var(--grey-9);
  transition: all 0.3s ease;
}
.anim-card .btn:hover {
  transform: translateY(-3px);
  background: var(--color-accent);
  color: var(--grey-1);
}

/* -----------------------------
   Animation 1: Masked Orbs (Clip-Path)
   ----------------------------- */
.anim-clip .shape {
  fill: oklch(60% 0.12 150);
  opacity: 0.95;
}
.anim-clip .clip-shape {
  fill: white;
  animation: morphClip 8s ease-in-out infinite;
}

/* Circle motions */
.anim-clip .a { animation: moveA 6s ease-in-out infinite; }
.anim-clip .b { animation: moveB 7s ease-in-out infinite; }
.anim-clip .c { animation: moveC 5s ease-in-out infinite; }

@keyframes moveA { 50% { transform: translate(40px, 50px); } }
@keyframes moveB { 50% { transform: translate(-30px, 20px); } }
@keyframes moveC { 50% { transform: translate(-10px, 80px) scale(1.05); } }

@keyframes morphClip {
  0%, 100% { d: path('M0,0 L400,0 L400,300 L0,300 Z'); }
  50% { d: path('M30,10 C150,60 250,0 370,20 L400,300 L0,300 Z'); }
}

/* -----------------------------
   Animation 2: Filtered Geometry (Blur + Hue)
   ----------------------------- */
.anim-filter .bg-rect { fill: var(--grey-2); }
.anim-filter .shape { opacity: 0.95; }

.anim-filter .r1 { fill: oklch(60% .12 40); animation: floatRect 5s ease-in-out infinite; }
.anim-filter .r2 { fill: oklch(60% .12 80); animation: floatRect 6s ease-in-out infinite; }
.anim-filter .d  { fill: oklch(60% .12 200); animation: floatCircle 7s ease-in-out infinite; }

@keyframes floatRect { 50% { transform: translateY(-12px); } }
@keyframes floatCircle { 50% { transform: translateY(10px); } }

.anim-filter svg {
  animation: filterShift 8s linear infinite;
  filter: blur(1px) hue-rotate(0deg);
}
@keyframes filterShift {
  0% { filter: blur(1px) hue-rotate(0deg); }
  50% { filter: blur(4px) hue-rotate(180deg); }
  100% { filter: blur(1px) hue-rotate(360deg); }
}

/* -----------------------------
   Animation 3: Blend Layers (Mix-Blend-Mode)
   ----------------------------- */
.anim-blend .bg-rect { fill: var(--grey-3); }
.anim-blend .blend-group { mix-blend-mode: screen; }
.anim-blend .shape { opacity: 0.95; }

.anim-blend .circle.e { fill: oklch(55% .14 200); animation: bob 6s ease-in-out infinite; }
.anim-blend .rect.r3 { fill: oklch(55% .14 70); animation: slide 7s ease-in-out infinite; }
.anim-blend .e2 { fill: oklch(55% .14 20); animation: spin 9s linear infinite; transform-origin: 280px 200px; }

@keyframes bob { 50% { transform: translateY(-14px); } }
@keyframes slide { 50% { transform: translateX(-18px); } }
@keyframes spin { to { transform: rotate(360deg); } }


/* SVG Animation */

/* General styles for all red bubbles */
#Red_Bubbles circle {
    opacity: 0.8;
    transform-origin: center;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

/* Bubble 1 */
#Red_Bubbles circle:nth-child(1) {
    animation: move1 4s linear infinite, fade1 4s linear infinite;
}

/* Bubble 2 */
#Red_Bubbles circle:nth-child(2) {
    animation: move2 5s linear infinite, fade2 5s linear infinite;
}

/* Bubble 3 */
#Red_Bubbles circle:nth-child(3) {
    animation: move3 6s linear infinite, fade3 6s linear infinite;
}

/* Bubble 4 */
#Red_Bubbles circle:nth-child(4) {
    animation: move4 4s linear infinite, fade4 4s linear infinite;
}

/* Bubble 5 */
#Red_Bubbles circle:nth-child(5) {
    animation: move5 5s linear infinite, fade5 5s linear infinite;
}

/* Bubble 6 */
#Red_Bubbles circle:nth-child(6) {
    animation: move6 6s linear infinite, fade6 6s linear infinite;
}

/* Bubble 7 */
#Red_Bubbles circle:nth-child(7) {
    animation: move7 4s linear infinite, fade7 4s linear infinite;
}

/* Bubble 8 */
#Red_Bubbles circle:nth-child(8) {
    animation: move8 5s linear infinite, fade8 5s linear infinite;
}

/* Bubble 9 */
#Red_Bubbles circle:nth-child(9) {
    animation: move9 6s linear infinite, fade9 6s linear infinite;
}

/* Keyframes for vertical movement */
@keyframes move1 { 0% { transform: translateY(0); } 100% { transform: translateY(100px); } }
@keyframes move2 { 0% { transform: translateY(0); } 100% { transform: translateY(120px); } }
@keyframes move3 { 0% { transform: translateY(0); } 100% { transform: translateY(150px); } }
@keyframes move4 { 0% { transform: translateY(0); } 100% { transform: translateY(100px); } }
@keyframes move5 { 0% { transform: translateY(0); } 100% { transform: translateY(120px); } }
@keyframes move6 { 0% { transform: translateY(0); } 100% { transform: translateY(150px); } }
@keyframes move7 { 0% { transform: translateY(0); } 100% { transform: translateY(100px); } }
@keyframes move8 { 0% { transform: translateY(0); } 100% { transform: translateY(120px); } }
@keyframes move9 { 0% { transform: translateY(0); } 100% { transform: translateY(150px); } }

/* Keyframes for opacity animation */
@keyframes fade1 { 0%,100% { opacity: 0; } 50% { opacity: 1; } }
@keyframes fade2 { 0%,100% { opacity: 0; } 50% { opacity: 1; } }
@keyframes fade3 { 0%,100% { opacity: 0; } 50% { opacity: 1; } }
@keyframes fade4 { 0%,100% { opacity: 0; } 50% { opacity: 1; } }
@keyframes fade5 { 0%,100% { opacity: 0; } 50% { opacity: 1; } }
@keyframes fade6 { 0%,100% { opacity: 0; } 50% { opacity: 1; } }
@keyframes fade7 { 0%,100% { opacity: 0; } 50% { opacity: 1; } }
@keyframes fade8 { 0%,100% { opacity: 0; } 50% { opacity: 1; } }
@keyframes fade9 { 0%,100% { opacity: 0; } 50% { opacity: 1; } }


#MovingHound {
    transform-origin: 0 0;
    animation: moveHound 6s linear infinite;
}

/* Keyframes replicating your SVG animateTransform */
@keyframes moveHound {
    0% { transform: translate(0, 0); }
    40% { transform: translate(200px, 0); }
    70% { transform: translate(200px, 0); }
    100% { transform: translate(0, 0); }
}

#Eyes {
    transform-origin: 0 0;
    animation: moveEyes 6s linear infinite;
}

/* Keyframes replicating your SVG animateTransform */
@keyframes moveEyes {
    0% { transform: translate(0, 0); }
    40% { transform: translate(200px, 0); }
    70% { transform: translate(200px, 0); }
    100% { transform: translate(0, 0); }
}

#Text {
    transform-origin: left top;
    transform: scale(0, 1);
    animation: scaleText 2s forwards;
}

/* Keyframes for scaling horizontally */
@keyframes scaleText {
    from { transform: scale(0, 1); }
    to { transform: scale(1, 1); }
}

#Red_stripes {
    opacity: 0;
    animation: stripeOpacity 3s linear infinite;
}

/* Keyframes for opacity animation */
@keyframes stripeOpacity {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

.svg-wrapper {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
    animation-delay: 0.2s;
}

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