:root {
    --main-color: #08c4c6;
    --background-color: #121212;
    --text-color: #000000; /* Updated to black */
    --header-background: hsl(0deg 0% 7% / 65%);
    --header-border: hsl(0deg 0% 100% / 8%);
    --button-hover: #00a0a3; /* Changed to a darker blue */
    --input-background: #1e3a4c; /* Changed to a blue shade */
    --input-border: #08c4c6; /* Changed to match main color */
    --status-color: #03dac6;
    --table-header-background: #046b8a; /* Changed to a darker blue */
    --table-header-color: #121212;
}
html {
    overflow: hidden;
    width: 100vw;
}
body {
    background-color: #1e787a;
    color: var(--text-color);
    -webkit-text-shadow: 0 0 10px var(--main-color); /* Safari */
    text-shadow: 0 0 10px var(--main-color); /* Added glow effect */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    height: auto;
    overflow: hidden;
    width: 100vw;
}

.parent-container {
    width:100vw;
    overflow: hidden;
}

header {
    position: fixed;
    top: 0;
    background-color: var(--header-background);
    -webkit-backdrop-filter: blur(10px); /* Safari */
    backdrop-filter: blur(10px);
    border-bottom: 1px var(--header-border) solid;
    width: calc(100% - 40px); /* Adjusted for padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

header h1 {
    margin: 0;
    color: var(--main-color);
    text-shadow: 0 0 10px var(--main-color); /* Added glow effect */
}

header button {
    background-color: var(--main-color);
    color: var(--background-color);
    border: none;
    padding: 10px 20px;
    margin: 0;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 0 0 10px var(--main-color);
}

header button:hover {
    background-color: var(--button-hover);
}

.background {
    background-image: url('./images/background.jpg');
    background-size: contain; /* Changed from cover to contain */
    background-repeat: no-repeat;
    background-position: top center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto; /* Added to adjust height based on image */
    min-height: 100vh; /* Ensures it covers the viewport height */
}
.logo {
    width: 50%;
    z-index: 5;
    position: relative;
    filter: drop-shadow(0 0 20px var(--main-color));
    -webkit-animation: glowPulse 3s ease-in-out infinite; /* Safari */
    animation: glowPulse 3s ease-in-out infinite;
    display: flex;
    justify-self: center;
}
.logo2 {
    width: 15%;
    z-index: 5;
    position: relative;
    /* filter: drop-shadow(0 0 20px var(--main-color));
    animation: glowPulse 3s ease-in-out infinite; */
    display: flex;
    justify-self: center;
}
@keyframes glowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px var(--main-color));
    }
    50% {
        filter: drop-shadow(0 0 40px var(--main-color));
    }
}
.main-panel {
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    z-index: 6;
    position: relative;
}

.raffle {
    background: rgba(18, 18, 18, 0.1);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(7px); /* Safari */
    backdrop-filter: blur(7px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    flex-direction: column;
    width: 200px;
    transform: translateY(0px);
    transition: background 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.raffle:hover {
    background: rgba(18, 18, 18, 0.5);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
    transform: translateY(5px);
}

#raffles {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.atmosphere {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw; /* Ensures it spans the entire viewport width */
    height: 160vh;
    background: linear-gradient(to top, #30b7d3 50%, transparent 50%);
    clip-path: polygon(0% 95%, 5% 85%, 15% 90%, 25% 80%, 35% 85%, 45% 75%, 55% 80%, 65% 70%, 75% 75%, 85% 65%, 95% 70%, 100% 60%, 100% 100%, 0% 100%);
    z-index: 1;
}
.atmos {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw; /* Ensures it spans the entire viewport width */
    height: 150vh;
    background: linear-gradient(to top, #187e80 50%, #01191e 50%); /* Peaks dark, bottoms blue */
    clip-path: polygon(0% 85%, 15% 75%, 30% 80%, 45% 70%, 60% 75%, 75% 70%, 90% 80%, 100% 85%, 100% 100%, 0% 100%);
    z-index: 1;
}
.ground {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw; /* Ensures it spans the entire viewport width */
    height: 30vh;
    background: linear-gradient(to top, #01191e 50%, transparent 50%);
    clip-path: polygon(0% 85%, 15% 75%, 30% 80%, 45% 70%, 60% 75%, 75% 70%, 90% 80%, 100% 85%, 100% 100%, 0% 100%);
    z-index: 3;
}
.ground2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw; /* Ensures it spans the entire viewport width */
    height: 60vh; /* Doubled the height */
    background: linear-gradient(to top, #024850 50%, transparent 50%);
    clip-path: polygon(0% 85%, 15% 75%, 30% 80%, 45% 70%, 60% 75%, 75% 70%, 90% 80%, 100% 85%, 100% 100%, 0% 100%);
    z-index: 2;
}
.bush1 {
    background-image: url(./images/bush.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    bottom: -5%;
    left: 0;
    width: 30vw;
    height: 20vh;
    transform: scaleX(-1); /* Flipped horizontally */
    z-index: 5;
    animation: sway 10s ease-in-out infinite;
}

.perc {
    background-image: url(./images/perc.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    bottom: -1vh;
    left: 0;
    width: 30vw;
    height: 30vh;
    z-index: 4;
}

.eye-container {
    position: relative;
    top: 28%;
    right: -1%;
    display: flex;
    z-index: 3;
    justify-content: center;
}

/* Dark eye sockets */
.eye {
    width: 20px;
    height: 20px;
    background-color: black;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Glowing pupils */
.pupil {
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, rgba(0, 255, 255, 1) 20%, rgba(0, 150, 255, 0.8) 50%, rgba(0, 255, 255, 0.3) 80%);
    border-radius: 50%;
    position: absolute;
    transition: transform 0.1s linear;
    box-shadow: 0 0 10px rgba(0, 255, 255, 1), 0 0 20px rgba(0, 255, 255, 0.8);
    z-index: 4;
}

.bladeOfGrass {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 30px;
    border-left: 3px solid black;
    border-radius: 50% 0 0 0;
    animation: wind 2.7s infinite;
  }
  .v1 {
    animation-delay: 0;
  }
  .v2 {
    animation-delay: 1.2s;
  }
  .v3 {
    animation-delay: 2.1s;
  }
  
  @keyframes wind {
    0% {
      width: 5px;
    }
    50% {
      width: 25px;
      border-radius: 70% 0 0 0;
      border-color: #121212
    }
    100% {
      width: 5px;
    }
  }
  
  .groundGrass {
    width: 100vw;
    height: 10vh;
    position: absolute;
    bottom:0;
    transform: scale(1);
    z-index: 4;
    overflow-x: hidden;
  }
  
  .templates {
    display: none;
  }

.bush2 {
    background-image: url(./images/bush.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    bottom: -5%;
    right: 0; /* Changed from left to right */
    width: 30vw;
    height: 20vh;
    z-index: 5;
    animation: sway 10s ease-in-out infinite;

}

.tree1 {
    background-image: url(./images/tree1.webp);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    position: absolute;
    bottom: 5%;
    left: 0;
    width: 25%;
    height: 100%;
    animation: sway 10s ease-in-out infinite;
    z-index: 2;
    overflow: visible;
}
.a {
    margin-left: 25%;
    animation-delay: 0.3s;
}
.b {
    margin-left: 55%;
    transform: scaleX(-1); /* Flipped horizontally */
    animation-delay: 0.6s;
}
.c {
    margin-left: 70%;
    animation-delay: 0.9s;
}
.d {
    margin-left: 45%;
    animation-delay: 1.2s;
}
.e {
    margin-left: 65%;
    animation-delay: 1.5s;
}
.f {
    margin-left: 80%;
    animation-delay: 1.8s;
}
.g {
    margin-left: 5%;
    animation-delay: 2.1s;
}
.h {
    margin-left: 15%;
    animation-delay: 2.4s;
}
.i {
    margin-left: 840;
    animation-delay: 2.7s;
}
.j {
    margin-left: -7%;
    animation-delay: 3.0s;
}
.k {
    margin-left: 103%;
    animation-delay: 3.3s;
}
.tree2 {
    position: absolute;
    bottom: 5%;
    width: 55%;
    height: 125%;
    animation: sway 5s ease-in-out infinite;
    z-index: 3;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    
}

.tree2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: visible;
}

.a2 {
    margin-left: -15%;
    left: 0;
}
.b2 {
    right: 0;
    margin-right: -15%;
    animation-delay: 1s;
}

.tree3 {
    background-image: url(./images/tree3.webp);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    position: absolute;
    left: 0;
    bottom: 10%;
    width: 25%;
    height: 100%;
    animation: sway 25s ease-in-out infinite;
    z-index: 1;
    overflow: visible;

}
@keyframes sway {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-10px);
    }
}
h1 {
    color: var(--main-color);
    text-shadow: 0 0 10px var(--main-color); /* Added glow effect */
}

button {
    background-color: var(--main-color);
    color: var(--background-color);
    border: none;
    padding: 10px 20px;
    margin: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    display: flex;
    align-items: center;
    align-self: center;
    -webkit-box-shadow: 0 0 10px var(--main-color); /* Safari */
    box-shadow: 0 0 10px var(--main-color);
}

button:hover {
    background-color: var(--button-hover);
}

input[type="number"], input[type="text"] {
    background-color: var(--input-background);
    color: white;
    border: 1px solid var(--input-border);
    padding: 10px;
    border-radius: 5px;
    margin: 10px;
    font-size: 16px;
    -webkit-box-shadow: 0 0 10px var(--main-color); /* Safari */
    box-shadow: 0 0 10px var(--main-color);
}

#status {
    margin-top: 20px;
    font-size: 14px;
    color: var(--status-color);
}

table {
    width: 80%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 18px;
    text-align: left;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: var(--table-header-background);
    color: var(--table-header-color);
}

@keyframes walk {
    0% { transform: translateX(-20vw) translateY(0); }
    10% { transform: translateX(-6w) translateY(-5px); }
    20% { transform: translateX(8vw) translateY(5px); }
    30% { transform: translateX(22vw) translateY(-5px); }
    40% { transform: translateX(36vw) translateY(5px); }
    50% { transform: translateX(50vw) translateY(-5px); }
    60% { transform: translateX(64vw) translateY(5px); }
    70% { transform: translateX(78vw) translateY(-5px); }
    80% { transform: translateX(92vw) translateY(5px); }
    90% { transform: translateX(106vw) translateY(-5px); }
    100% { transform: translateX(120vw) translateY(0); }
}

@keyframes walkMobile {
    0% { transform: translateX(-20vw) translateY(0) scaleX(1); }
    10% { transform: translateX(-8vw) translateY(-5px) scaleX(1); }
    20% { transform: translateX(5vw) translateY(5px) scaleX(1); }
    30% { transform: translateX(18vw) translateY(-5px) scaleX(1); }
    40% { transform: translateX(32vw) translateY(5px) scaleX(1); }
    50% { transform: translateX(55vw) translateY(-5px) scaleX(1); }

    /* Flip at 55vw */
    51% { transform: translateX(55vw) translateY(-5px) scaleX(-1); }

    /* Walk back */
    60% { transform: translateX(32vw) translateY(5px) scaleX(-1); }
    70% { transform: translateX(18vw) translateY(-5px) scaleX(-1); }
    80% { transform: translateX(5vw) translateY(5px) scaleX(-1); }
    90% { transform: translateX(-8vw) translateY(-5px) scaleX(-1); }
    100% { transform: translateX(-20vw) translateY(0) scaleX(-1); }
}

#walking-image {
    -webkit-animation: walk 20s linear infinite, pause 25s steps(1) infinite; /* Safari */
    animation: walk 20s linear infinite, pause 25s steps(1) infinite; /* Slower animation with delay */
    height: 30vh;
    z-index: 5;
}

@keyframes pause {
    0%, 100% { visibility: visible; }
    99% { visibility: hidden; }
}

/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: var(--background-color);
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    width: 80%;
    max-width: 500px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    margin: 0;
    color: var(--main-color);
}

.modal-header button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.modal-content {
    margin-bottom: 20px;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-footer input {
    width: 60px;
    text-align: center;
}

.credit-footer {
    padding-top: 10px;
    margin-top: 10px;
    margin-bottom: -15px;
    border-top: 1px white solid;
    width: 100%;
    text-align: center;
    opacity: 0.7;
    transition: 0.3s;
    &:hover {
        opacity: 1;
        transition: 0.3s;
    }
}

/* Loading screen styles */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid var(--main-color);
    border-radius: 50%;
    -webkit-animation: spin 1s linear infinite; /* Safari */
    animation: spin 1s linear infinite !important;
}

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

/* Sales Screen */
#sales-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

#sales-screen img {
    height: auto;
    max-height: 70%;
    bottom: 0;
    position: absolute;
    z-index: -1;
}

svg {
    position: absolute;
    overflow: visible;
    bottom: 22vh;
    height: 31vh;
    z-index: 3;
}

.electricity {
    stroke: #00eaff;
    stroke-width: 1.5%;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    -webkit-animation: flicker 0.05s infinite alternate; /* Safari */
    animation: flicker 0.05s infinite alternate;
    -webkit-filter: drop-shadow(0 0 1vw #00eaff) drop-shadow(0 0 1vw #00eaff); /* Safari */
    filter: drop-shadow(0 0 1vw #00eaff) drop-shadow(0 0 1vw #00eaff);
}

.ball {
    -webkit-filter: drop-shadow(0 0 2vw #00eaff) drop-shadow(0 0 3vw #00eaff); /* Safari */
    filter: drop-shadow(0 0 2vw #00eaff) drop-shadow(0 0 3vw #00eaff);
}

@keyframes flicker {
    0% { opacity: 0.8; filter: drop-shadow(0 0 0.75vw #00eaff) drop-shadow(0 0 3vw #00eaff); }
    100% { opacity: 1; filter: drop-shadow(0 0 1vw #00eaff) drop-shadow(0 0 2vw #00eaff); }
}

#ticket-img {
    animation: glowPulse 1s infinite;
}

      /* Text styling */
      .label-text {
        fill: #00eaff;
        font-family: Arial, sans-serif;
        font-size: 1vmin; /* Responsive font size */
        font-weight: bold;
    }
/* ---------- Fog ---------- */
.fogwrapper {
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
    -webkit-filter: blur(1px) grayscale(0.2) saturate(1.2) sepia(0.2); /* Safari */
    filter: blur(1px) grayscale(0.2) saturate(1.2) sepia(0.2);
}
#foglayer_01, #foglayer_02, #foglayer_03 {
    height: 100%;
    position: absolute;
    width: 200%;
    z-index: 4;
  }
  #foglayer_01 .image01, #foglayer_01 .image02,
  #foglayer_02 .image01, #foglayer_02 .image02,
  #foglayer_03 .image01, #foglayer_03 .image02 {
    float: left;
    height: 100%;
    width: 50%;
  }
  #foglayer_01 {
    -webkit-animation: foglayer_01_opacity 15s linear infinite, foglayer_moveme 15s linear infinite; /* Safari */
    animation: foglayer_01_opacity 15s linear infinite, foglayer_moveme 15s linear infinite;
  }
  #foglayer_02, #foglayer_03 {
    -webkit-animation: foglayer_02_opacity 32s linear infinite, foglayer_moveme 13s linear infinite; /* Safari */
    animation: foglayer_02_opacity 32s linear infinite, foglayer_moveme 13s linear infinite;
  }
  
  /* ---------- Moving Fog ---------- */
  /*
    'size: cover' || 'size: 100%'; results remain the same
    'attachment: scroll' can be added or removed; results remain the same
    'attachment: fixed' causing unexpected results in Chrome
    'repeat-x' || 'no-repeat'; results remain the same
  */ 
  #foglayer_01 .image01, #foglayer_01 .image02 {
    background: url("https://raw.githubusercontent.com/danielstuart14/CSS_FOG_ANIMATION/master/fog1.png") center center/cover no-repeat transparent;
  }
  #foglayer_02 .image01, #foglayer_02 .image02,
  #foglayer_03 .image01, #foglayer_03 .image02{
    background: url("https://raw.githubusercontent.com/danielstuart14/CSS_FOG_ANIMATION/master/fog2.png") center center/cover no-repeat transparent;
  }
  
  /* ---------- Keyframe Layer 1 ---------- */
  @-webkit-keyframes foglayer_01_opacity {
    0% { opacity: .1; }
    22% { opacity: .5; }
    40% { opacity: .28; }
    58% { opacity: .4; }
    80% { opacity: .16; }
    100% { opacity: .1; }
  }
  @-moz-keyframes foglayer_01_opacity {
    0% { opacity: .1; }
    22% { opacity: .5; }
    40% { opacity: .28; }
    58% { opacity: .4; }
    80% { opacity: .16; }
    100% { opacity: .1; }
  }
  @-o-keyframes foglayer_01_opacity {
    0% { opacity: .1; }
    22% { opacity: .5; }
    40% { opacity: .28; }
    58% { opacity: .4; }
    80% { opacity: .16; }
    100% { opacity: .1; }
  }
  @keyframes foglayer_01_opacity {
    0% { opacity: .1; }
    22% { opacity: .5; }
    40% { opacity: .28; }
    58% { opacity: .4; }
    80% { opacity: .16; }
    100% { opacity: .1; }
  }
  /* ---------- Keyframe Layer 2 ---------- */
  @-webkit-keyframes foglayer_02_opacity {
    0% { opacity: .5; }
    25% { opacity: .2; }
    50% { opacity: .1; }
    80% { opacity: .3; }
    100% { opacity: .5; }
  }
  @-moz-keyframes foglayer_02_opacity {
    0% { opacity: .5; }
    25% { opacity: .2; }
    50% { opacity: .1; }
    80% { opacity: .3; }
    100% { opacity: .5; }
  }
  @-o-keyframes foglayer_02_opacity {
    0% { opacity: .5; }
    25% { opacity: .2; }
    50% { opacity: .1; }
    80% { opacity: .3; }
    100% { opacity: .5; }
  }
  @keyframes foglayer_02_opacity {
    0% { opacity: .5; }
    25% { opacity: .2; }
    50% { opacity: .1; }
    80% { opacity: .3; }
    100% { opacity: .5; }
  }
  /* ---------- Keyframe Layer 3 ---------- */
  @-webkit-keyframes foglayer_03_opacity {
    0% { opacity: .8 }
    27% { opacity: .2; }
    52% { opacity: .6; }
    68% { opacity: .3; }
    100% { opacity: .8; }
  }
  @-moz-keyframes foglayer_03_opacity {
    0% { opacity: .8 }
    27% { opacity: .2; }
    52% { opacity: .6; }
    68% { opacity: .3; }
    100% { opacity: .8; }
  }
  @-o-keyframes foglayer_03_opacity {
    0% { opacity: .8 }
    27% { opacity: .2; }
    52% { opacity: .6; }
    68% { opacity: .3; }
    100% { opacity: .8; }
  }
  @keyframes foglayer_03_opacity {
    0% { opacity: .8; }
    27% { opacity: .2; }
    52% { opacity: .6; }
    68% { opacity: .3; }
    100% { opacity: .8; }
  }
  /* ---------- Keyframe moveMe ---------- */
  @-webkit-keyframes foglayer_moveme {
    0% { left: 0; }
    100% { left: -100%; }
  }
  @-moz-keyframes foglayer_moveme {
    0% { left: 0; }
    100% { left: -100%; }
  }
  @-o-keyframes foglayer_moveme {
    0% { left: 0; }
    100% { left: -100%; }
  }
  @keyframes foglayer_moveme {
    0% { left: 0; }
    100% { left: -100%; }
  }
  
  @media only screen
    and (min-width: 280px)
    and (max-width: 767px) {
      #foglayer_01 .image01, #foglayer_01 .image02,
      #foglayer_02 .image01, #foglayer_02 .image02,
      #foglayer_03 .image01, #foglayer_03 .image02 {
        width: 100%;
      }
    }


/* Stylish scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--button-hover);
}

.animations-disabled *:not(.spinner) {
    animation: none !important;
    transition: none !important;
}

#toggle-animations:checked + span {
    background-color: var(--main-color) !important; /* Highlited when animations are on */
}

#toggle-animations:checked + span + span {
    transform: translateX(25px);
}

#toggle-music {
    display: inline-block;
    transition: transform 0.2s ease;
}

#toggle-music:hover {
    transform: scale(1.2);
}

#stats {
    text-align: center;
    margin-bottom: 20px;
}

#stats h2 {
    color: var(--main-color);
    text-shadow: 0 0 10px var(--main-color);
}

#stats p {
    font-size: 18px;
    margin: 5px 0;
}

#stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    background-color: var(--header-background);
    border: 1px solid var(--header-border);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    width: 200px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
}

.stat-card h2 {
    color: var(--main-color);
    text-shadow: 0 0 10px var(--main-color);
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}





@media (max-width: 600px) {
   .perc {
    display: none;
   }

   .bush1 {
    bottom: 0%;
    left: -10%;
    width: 50vw;
    height: 20vh;
   }

   .bush2 {
    bottom: 0%;
    right: -10%;
    width: 50vw;
    height: 20vh;
   }

   .a2 {
    margin-left: 0;
   }

   .b2, .c, .h, .g, .l, .i, .k, .fog, .bush1, .bush2 {
    display: none;
   }

   #walking-image {
    bottom: 0px;
    -webkit-animation: walkMobile 25s linear infinite, pause 25s steps(1) infinite; /* Safari */
    animation: walkMobile 25s linear infinite, pause 25s steps(1) infinite; /* Slower animation with delay */
}

}