/* Define CSS Custom Properties for Theming */
:root {
    --background-color: #1a1a1a;
    --background-gradient-start: #1a1a1a;
    --background-gradient-end: #2a2a2a;
    --text-color: #fff;
    --subtext-color: #ccc;
    --footer-color: #ccc;
    --glow-text-color: #ffcc00;
    --glow-text-shadow: 0 0 10px #ffcc00, 0 0 20px #ffcc00;
    --tree-color: #000;
    --tent-roof-color: #f6d484;
    --tent-roof-border-color: #4D4454;
    --tent-roof-shadow: inset -3px 3px 0px 0px #F7B563;
    --tent-roof-inner-color: #E78C20;
    --tent-door-left-color: #EDDDC2;
    --tent-door-right-color: #EFE7CF;
    --fireplace-pan-color: #74667e;
    --fireplace-fire-color: #efb54a;
}

.light-theme {
    --background-color: #f0f0f0;
    --background-gradient-start: #e0e0e0;
    --background-gradient-end: #ffffff;
    --text-color: #333;
    --subtext-color: #666;
    --footer-color: #666;
    --glow-text-color: #ff8c00;
    --glow-text-shadow: 0 0 10px #ff8c00, 0 0 20px #ff4500;
    --tree-color: #2e2e2e;
    --tent-roof-color: #ffd700;
    --tent-roof-border-color: #3a3a3a;
    --tent-roof-shadow: inset -3px 3px 0px 0px #ffeb3b;
    --tent-roof-inner-color: #ff9800;
    --tent-door-left-color: #fff9c4;
    --tent-door-right-color: #fffde7;
    --fireplace-pan-color: #5a4b63;
    --fireplace-fire-color: #ffca28;
}

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

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    overflow-x: hidden;
    position: relative;
    background: linear-gradient(45deg, var(--background-gradient-start), var(--background-gradient-end));
    animation: bgShift 10s ease infinite;
}

@keyframes bgShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.container {
    width: 90%;
    max-width: 800px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Logo Placement */
.logo-top {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.8;
    animation: fadeIn 2s ease-in-out;
    z-index: 3;
}

.logo {
    height: 40px;
    filter: drop-shadow(0 0 5px #ff6b6b);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

/* Sun/Moon Toggle Switch */
.switch {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-block;
    width: 60px;
    height: 34px;
    z-index: 3;
}

.switch #input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2196f3;
    transition: 0.4s;
    z-index: 0;
    overflow: hidden;
}

.sun-moon {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: yellow;
    transition: 0.4s;
}

#input:checked+.slider {
    background-color: black;
}

#input:focus+.slider {
    box-shadow: 0 0 1px #2196f3;
}

#input:checked+.slider .sun-moon {
    transform: translateX(26px);
    background-color: white;
    animation: rotate-center 0.6s ease-in-out both;
}

@keyframes rotate-center {
    0% {
        transform: rotate(0deg);
    }

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

.moon-dot {
    opacity: 0;
    transition: 0.4s;
    fill: gray;
}

#input:checked+.slider .sun-moon .moon-dot {
    opacity: 1;
}

.slider.round {
    border-radius: 34px;
}

.slider.round .sun-moon {
    border-radius: 50%;
}

#moon-dot-1 {
    left: 10px;
    top: 3px;
    position: absolute;
    width: 6px;
    height: 6px;
    z-index: 4;
}

#moon-dot-2 {
    left: 2px;
    top: 10px;
    position: absolute;
    width: 10px;
    height: 10px;
    z-index: 4;
}

#moon-dot-3 {
    left: 16px;
    top: 18px;
    position: absolute;
    width: 3px;
    height: 3px;
    z-index: 4;
}

#light-ray-1 {
    left: -8px;
    top: -8px;
    position: absolute;
    width: 43px;
    height: 43px;
    z-index: -1;
    fill: white;
    opacity: 10%;
}

#light-ray-2 {
    left: -50%;
    top: -50%;
    position: absolute;
    width: 55px;
    height: 55px;
    z-index: -1;
    fill: white;
    opacity: 10%;
}

#light-ray-3 {
    left: -18px;
    top: -18px;
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: -1;
    fill: white;
    opacity: 10%;
}

.cloud-light {
    position: absolute;
    fill: #eee;
    animation-name: cloud-move;
    animation-duration: 6s;
    animation-iteration-count: infinite;
}

.cloud-dark {
    position: absolute;
    fill: #ccc;
    animation-name: cloud-move;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-delay: 1s;
}

#cloud-1 {
    left: 30px;
    top: 15px;
    width: 40px;
}

#cloud-2 {
    left: 44px;
    top: 10px;
    width: 20px;
}

#cloud-3 {
    left: 18px;
    top: 24px;
    width: 30px;
}

#cloud-4 {
    left: 36px;
    top: 18px;
    width: 40px;
}

#cloud-5 {
    left: 48px;
    top: 14px;
    width: 20px;
}

#cloud-6 {
    left: 22px;
    top: 26px;
    width: 30px;
}

@keyframes cloud-move {
    0% {
        transform: translateX(0px);
    }

    40% {
        transform: translateX(4px);
    }

    80% {
        transform: translateX(-4px);
    }

    100% {
        transform: translateX(0px);
    }
}

.stars {
    transform: translateY(-32px);
    opacity: 0;
    transition: 0.4s;
}

.star {
    fill: white;
    position: absolute;
    transition: 0.4s;
    animation-name: star-twinkle;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

#input:checked+.slider .stars {
    transform: translateY(0);
    opacity: 1;
}

#star-1 {
    width: 20px;
    top: 2px;
    left: 3px;
    animation-delay: 0.3s;
}

#star-2 {
    width: 6px;
    top: 16px;
    left: 3px;
}

#star-3 {
    width: 12px;
    top: 20px;
    left: 10px;
    animation-delay: 0.6s;
}

#star-4 {
    width: 18px;
    top: 0px;
    left: 18px;
    animation-delay: 1.3s;
}

@keyframes star-twinkle {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.2);
    }

    80% {
        transform: scale(0.8);
    }

    100% {
        transform: scale(1);
    }
}

h1.glow-text {
    font-size: 3em;
    margin-top: 80px;
    margin-bottom: 10px;
    color: var(--glow-text-color);
    animation: fadeIn 2s ease-in-out;
    z-index: 2;
    text-shadow: var(--glow-text-shadow);
    transition: text-shadow 0.3s ease, color 0.4s ease;
}

/* Specific styles for 404 page */
h1.glow-text.error-text {
    color: #ff0000;
    /* Red color for 404 text */
    text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000;
    /* Red glow */
    font-size: 4em;
    /* Larger font size */
}

.light-theme h1.glow-text.error-text {
    color: #cc0000;
    /* Slightly darker red for light theme */
    text-shadow: 0 0 10px #cc0000, 0 0 20px #cc0000;
}

p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: var(--subtext-color);
    z-index: 2;
}

p a {
    color: var(--glow-text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

p a:hover {
    color: #ff8c00;
}

.light-theme p a {
    color: #ff4500;
}

.light-theme p a:hover {
    color: #cc0000;
}

/* Scene Container (only used on Under Construction page) */
.scene-container {
    width: 100%;
    max-width: 500px;
    height: 400px;
    margin-top: 20px;
    position: relative;
    z-index: 0;
    perspective: 1000px;
}

/* Scene Animations */
@keyframes stageBackground {

    0%,
    10%,
    90%,
    100% {
        background-color: #00B6BB;
    }

    25%,
    75% {
        background-color: #0094bd;
    }
}

@keyframes earthRotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes sunrise {

    0%,
    10%,
    90%,
    100% {
        box-shadow: 0 0 0 25px #5ad6bd, 0 0 0 40px #4acead, 0 0 0 60px rgba(74, 206, 173, 0.6), 0 0 0 90px rgba(74, 206, 173, 0.3);
    }

    25%,
    75% {
        box-shadow: 0 0 0 0 #5ad6bd, 0 0 0 0 #4acead, 0 0 0 0 rgba(74, 206, 173, 0.6), 0 0 0 0 rgba(74, 206, 173, 0.3);
    }
}

@keyframes moonOrbit {
    25% {
        transform: rotate(-60deg);
    }

    50% {
        transform: rotate(-60deg);
    }

    75% {
        transform: rotate(-120deg);
    }

    0%,
    100% {
        transform: rotate(-180deg);
    }
}

@keyframes nightTime {

    0%,
    90% {
        opacity: 0;
    }

    50%,
    75% {
        opacity: 1;
    }
}

@keyframes hotPan {

    0%,
    90% {
        background-color: var(--fireplace-pan-color);
    }

    50%,
    75% {
        background-color: #b2241c;
    }
}

@keyframes heat {

    0%,
    90% {
        box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0.3);
    }

    50%,
    75% {
        box-shadow: inset 0 -2px 0 0 white;
    }
}

@keyframes smoke {

    0%,
    50%,
    90%,
    100% {
        opacity: 0;
    }

    50%,
    75% {
        opacity: 0.7;
    }
}

@keyframes fire {

    0%,
    90%,
    100% {
        opacity: 0;
    }

    50%,
    75% {
        opacity: 1;
    }
}

@keyframes treeShake {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-2deg);
    }

    40% {
        transform: rotate(4deg);
    }

    50% {
        transform: rotate(-4deg);
    }

    60% {
        transform: rotate(6deg);
    }

    75% {
        transform: rotate(-6deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes fireParticles {
    0% {
        height: 30%;
        opacity: 1;
        top: 75%;
    }

    25% {
        height: 25%;
        opacity: 0.8;
        top: 40%;
    }

    50% {
        height: 15%;
        opacity: 0.6;
        top: 20%;
    }

    75% {
        height: 10%;
        opacity: 0.3;
        top: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fireLines {

    0%,
    25%,
    75%,
    100% {
        bottom: 0;
    }

    50% {
        bottom: 5%;
    }
}

.scene {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease;
}

.scene:hover {
    transform: scale(1.05) rotateY(10deg);
}

.forest {
    display: flex;
    width: 75%;
    height: 90%;
    position: relative;
}

.tree {
    display: block;
    width: 50%;
    position: absolute;
    bottom: 0;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.tree:hover {
    opacity: 0.8;
}

.tree .branch {
    width: 80%;
    height: 0;
    margin: 0 auto;
    padding-left: 40%;
    padding-bottom: 50%;
    overflow: hidden;
}

.tree .branch:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-left: -600px;
    border-left: 600px solid transparent;
    border-right: 600px solid transparent;
    border-bottom: 950px solid var(--tree-color);
}

.tree .branch.branch-top {
    transform-origin: 50% 100%;
    animation: treeShake 0.5s linear infinite;
}

.tree .branch.branch-middle {
    width: 90%;
    padding-left: 45%;
    padding-bottom: 65%;
    margin: 0 auto;
    margin-top: -25%;
}

.tree .branch.branch-bottom {
    width: 100%;
    padding-left: 50%;
    padding-bottom: 80%;
    margin: 0 auto;
    margin-top: -40%;
}

.tree1 {
    width: 31%;
}

.tree1 .branch-top {
    transition-delay: 0.3s;
}

.tree2 {
    width: 39%;
    left: 9%;
}

.tree2 .branch-top {
    transition-delay: 0.4s;
}

.tree3 {
    width: 32%;
    left: 24%;
}

.tree3 .branch-top {
    transition-delay: 0.5s;
}

.tree4 {
    width: 37%;
    left: 34%;
}

.tree4 .branch-top {
    transition-delay: 0.6s;
}

.tree5 {
    width: 44%;
    left: 44%;
}

.tree5 .branch-top {
    transition-delay: 0.7s;
}

.tree6 {
    width: 34%;
    left: 61%;
}

.tree6 .branch-top {
    transition-delay: 0.2s;
}

.tree7 {
    width: 24%;
    left: 76%;
}

.tree7 .branch-top {
    transition-delay: 0.1s;
}

.tent {
    width: 60%;
    height: 25%;
    position: absolute;
    bottom: -0.5%;
    right: 15%;
    z-index: 1;
    text-align: right;
    transition: transform 0.3s ease;
}

.tent:hover {
    transform: translateY(-5px);
}

.roof {
    display: inline-block;
    width: 45%;
    height: 100%;
    margin-right: 10%;
    position: relative;
    border-top: 4px solid var(--tent-roof-border-color);
    border-right: 4px solid var(--tent-roof-border-color);
    border-left: 4px solid var(--tent-roof-border-color);
    border-top-right-radius: 6px;
    transform: skew(30deg);
    box-shadow: var(--tent-roof-shadow);
    background: var(--tent-roof-color);
}

.roof:before {
    content: "";
    width: 70%;
    height: 70%;
    position: absolute;
    top: 15%;
    left: 15%;
    z-index: 0;
    border-radius: 10%;
    background-color: var(--tent-roof-inner-color);
}

.roof:after {
    content: "";
    height: 75%;
    width: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(231, 140, 32, 0.4) 0%, rgba(231, 140, 32, 0.4) 64%, rgba(231, 140, 32, 0.8) 65%, rgba(231, 140, 32, 0.8) 100%);
}

.roof-border-left {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: 1%;
    height: 125%;
    position: absolute;
    top: 0;
    left: 35.7%;
    z-index: 1;
    transform-origin: 50% 0%;
    transform: rotate(35deg);
}

.roof-border-left .roof-border {
    display: block;
    width: 100%;
    border-radius: 2px;
    border: 2px solid var(--tent-roof-border-color);
}

.roof-border-left .roof-border1 {
    height: 40%;
}

.roof-border-left .roof-border2 {
    height: 10%;
}

.roof-border-left .roof-border3 {
    height: 40%;
}

.door {
    width: 55px;
    height: 92px;
    position: absolute;
    bottom: 2%;
    overflow: hidden;
    z-index: 0;
    transform-origin: 0 105%;
}

.left-door {
    transform: rotate(35deg);
    position: absolute;
    left: 13.5%;
    bottom: -3%;
    z-index: 0;
}

.left-door .left-door-inner {
    width: 100%;
    height: 100%;
    transform-origin: 0 105%;
    transform: rotate(-35deg);
    position: absolute;
    top: 0;
    overflow: hidden;
    background-color: var(--tent-door-left-color);
}

.left-door .left-door-inner:before {
    content: "";
    width: 15%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background: repeating-linear-gradient(#D4BC8B, #D4BC8B 4%, #E0D2A8 5%, #E0D2A8 10%);
}

.left-door .left-door-inner:after {
    content: "";
    width: 50%;
    height: 100%;
    position: absolute;
    top: 15%;
    left: 10%;
    transform: rotate(25deg);
    background-color: #fff;
}

.right-door {
    height: 89px;
    right: 21%;
    transform-origin: 0 105%;
    transform: rotate(-30deg) scaleX(-1);
    position: absolute;
    bottom: -3%;
    z-index: 0;
}

.right-door .right-door-inner {
    width: 100%;
    height: 100%;
    transform-origin: 0 120%;
    transform: rotate(-30deg);
    position: absolute;
    bottom: 0px;
    overflow: hidden;
    background-color: var(--tent-door-right-color);
}

.right-door .right-door-inner:before {
    content: "";
    width: 50%;
    height: 100%;
    position: absolute;
    top: 15%;
    right: -28%;
    z-index: 1;
    transform: rotate(15deg);
    background-color: #524A5A;
}

.right-door .right-door-inner:after {
    content: "";
    width: 50%;
    height: 100%;
    position: absolute;
    top: 15%;
    right: -20%;
    transform: rotate(20deg);
    background-color: #fff;
}

.floor {
    width: 80%;
    position: absolute;
    right: 10%;
    bottom: 0;
    z-index: 1;
}

.floor .ground {
    position: absolute;
    border-radius: 2px;
    border: 2px solid var(--tent-roof-border-color);
}

.floor .ground.ground1 {
    width: 65%;
    left: 0;
}

.floor .ground.ground2 {
    width: 30%;
    right: 0;
}

.fireplace {
    display: block;
    width: 24%;
    height: 20%;
    position: absolute;
    left: 5%;
    transition: transform 0.3s ease;
}

.fireplace:hover {
    transform: scale(1.1);
}

.fireplace:before {
    content: "";
    display: block;
    width: 8%;
    position: absolute;
    bottom: -4px;
    left: 2%;
    border-radius: 2px;
    border: 2px solid var(--tent-roof-border-color);
    background: var(--tent-roof-border-color);
}

.fireplace .support {
    display: block;
    height: 105%;
    width: 2px;
    position: absolute;
    bottom: -5%;
    left: 10%;
    border: 2px solid var(--tent-roof-border-color);
}

.fireplace .support:before {
    content: "";
    width: 100%;
    height: 15%;
    position: absolute;
    top: -18%;
    left: -4px;
    border-radius: 2px;
    border: 2px solid var(--tent-roof-border-color);
    transform-origin: 100% 100%;
    transform: rotate(45deg);
}

.fireplace .support:after {
    content: "";
    width: 100%;
    height: 15%;
    position: absolute;
    top: -18%;
    left: 0px;
    border-radius: 2px;
    border: 2px solid var(--tent-roof-border-color);
    transform-origin: 0 100%;
    transform: rotate(-45deg);
}

.fireplace .support:nth-child(1) {
    left: 85%;
}

.fireplace .bar {
    width: 100%;
    height: 2px;
    border-radius: 2px;
    border: 2px solid var(--tent-roof-border-color);
}

.fireplace .hanger {
    display: block;
    width: 2px;
    height: 25%;
    margin-left: -4px;
    position: absolute;
    left: 50%;
    border: 2px solid var(--tent-roof-border-color);
}

.fireplace .pan {
    display: block;
    width: 25%;
    height: 50%;
    border-radius: 50%;
    border: 4px solid var(--tent-roof-border-color);
    position: absolute;
    top: 25%;
    left: 35%;
    overflow: hidden;
    animation: heat 5s linear infinite;
}

.fireplace .pan:before {
    content: "";
    display: block;
    height: 53%;
    width: 100%;
    position: absolute;
    bottom: 0;
    z-index: -1;
    border-top: 4px solid var(--tent-roof-border-color);
    background-color: var(--fireplace-pan-color);
    animation: hotPan 5s linear infinite;
}

.fireplace .smoke {
    display: block;
    width: 20%;
    height: 25%;
    position: absolute;
    top: 25%;
    left: 37%;
    background-color: white;
    filter: blur(5px);
    animation: smoke 5s linear infinite;
}

.fireplace .fire {
    display: block;
    width: 25%;
    height: 120%;
    position: absolute;
    bottom: 0;
    left: 33%;
    z-index: 1;
    animation: fire 5s linear infinite;
}

.fireplace .fire:before {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: -4px;
    z-index: 1;
    border-radius: 2px;
    border: 1px solid var(--fireplace-fire-color);
    background-color: var(--fireplace-fire-color);
}

.fireplace .fire .line {
    display: block;
    width: 2px;
    height: 100%;
    position: absolute;
    bottom: 0;
    animation: fireLines 1s linear infinite;
}

.fireplace .fire .line2 {
    left: 50%;
    margin-left: -1px;
    animation-delay: 0.3s;
}

.fireplace .fire .line3 {
    right: 0;
    animation-delay: 0.5s;
}

.fireplace .fire .line .particle {
    height: 10%;
    position: absolute;
    top: 100%;
    z-index: 1;
    border-radius: 2px;
    border: 2px solid var(--fireplace-fire-color);
    animation: fireParticles 0.5s linear infinite;
}

.fireplace .fire .line .particle1 {
    animation-delay: 0.1s;
}

.fireplace .fire .line .particle2 {
    animation-delay: 0.3s;
}

.fireplace .fire .line .particle3 {
    animation-delay: 0.6s;
}

.fireplace .fire .line .particle4 {
    animation-delay: 0.9s;
}

.time-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
}

.time {
    display: block;
    width: 100%;
    height: 200%;
    position: absolute;
    transform-origin: 50% 50%;
    transform: rotate(270deg);
    animation: earthRotation 5s linear infinite;
}

.time .day {
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 20%;
    left: 40%;
    border-radius: 50%;
    box-shadow: 0 0 0 25px #5ad6bd, 0 0 0 40px #4acead, 0 0 0 60px rgba(74, 206, 173, 0.6), 0 0 0 90px rgba(74, 206, 173, 0.3);
    animation: sunrise 5s ease-in-out infinite;
    background-color: #ef9431;
}

.time .night {
    animation: nightTime 5s ease-in-out infinite;
}

.time .night .star {
    display: block;
    width: 4px;
    height: 4px;
    position: absolute;
    bottom: 10%;
    border-radius: 50%;
    background-color: #fff;
}

.time .night .star-big {
    width: 6px;
    height: 6px;
}

.time .night .star1 {
    right: 23%;
    bottom: 25%;
}

.time .night .star2 {
    right: 35%;
    bottom: 18%;
}

.time .night .star3 {
    right: 47%;
    bottom: 25%;
}

.time .night .star4 {
    right: 22%;
    bottom: 20%;
}

.time .night .star5 {
    right: 18%;
    bottom: 30%;
}

.time .night .star6 {
    right: 60%;
    bottom: 20%;
}

.time .night .star7 {
    right: 70%;
    bottom: 23%;
}

.time .night .moon {
    display: block;
    width: 25px;
    height: 25px;
    position: absolute;
    bottom: 22%;
    right: 33%;
    border-radius: 50%;
    transform: rotate(-60deg);
    box-shadow: 9px 9px 3px 0 white;
    filter: blur(1px);
    animation: moonOrbit 5s ease-in-out infinite;
}

.time .night .moon:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: -9px;
    left: 9px;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.05), 0 0 0 15px rgba(255, 255, 255, 0.05), 0 0 0 25px rgba(255, 255, 255, 0.05), 0 0 0 35px rgba(255, 255, 255, 0.05);
    background-color: rgba(255, 255, 255, 0.2);
}

.footer {
    margin-top: 20px;
    font-size: 1em;
    color: var(--footer-color);
    z-index: 2;
}

.dots {
    animation: blink 1.5s infinite;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    h1.glow-text {
        font-size: 2.5em;
        margin-top: 60px;
    }

    h1.glow-text.error-text {
        font-size: 3em;
    }

    p {
        font-size: 1em;
    }

    .logo-top {
        top: 15px;
    }

    .logo {
        height: 35px;
    }

    .switch {
        top: 15px;
        right: 15px;
    }

    .scene-container {
        max-width: 400px;
        height: 300px;
    }

    .footer {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    h1.glow-text {
        font-size: 2em;
        margin-top: 50px;
    }

    h1.glow-text.error-text {
        font-size: 2.5em;
    }

    p {
        font-size: 0.9em;
    }

    .logo-top {
        top: 10px;
    }

    .logo {
        height: 30px;
    }

    .switch {
        top: 10px;
        right: 10px;
    }

    .scene-container {
        max-width: 300px;
        height: 200px;
    }

    .footer {
        font-size: 0.8em;
    }
}