@font-face {
    font-family: 'mountains_of_christmasregular';
    src: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/35984/mountainsofchristmas-webfont.woff2') format('woff2'),
         url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/35984/mountainsofchristmas-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
        body {
            font-family: mountains_of_christmasregular;
            margin: 0;
            padding: 0;
            background: url('../assets/bg10.png') top #eaf5fb repeat-x; 
            
            /* background-color: #1A1A2E; */
            color: #fff;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 100vh;
            animation: cameraMove 30s infinite alternate ease-in-out;
            transition: backdrop-filter 3.0s ease;
        }

        
        @keyframes cameraMove {
            0% {
                background-position: 0% 50%; /* Start from the left */
            }
            100% {
                background-position: 100% 50%; /* Move to the right */
            }
        }

        header {
            
            padding: 20px;
            text-align: center;
            transition: opacity 3.0s ease;
        }
    

        header h1 {
            font-size: 3rem;
            margin: 0;
            color: #ffffff;
            font-family: mountains_of_christmasregular;
            font-weight: 400;
            font-style: normal;
            text-shadow: #111 0 0 10px;
        }
        #about{
            height: 100px;
            position: relative;
            transition: opacity 3.0s ease;
        }
        .content {
            text-align: center;
            padding: 20px;
            
        }
        .content h2 {
            font-size: 2.5rem;
            margin-bottom: 15px;
            font-family: mountains_of_christmasregular;
            font-weight: 400;
            font-style: normal;
            text-shadow: #111 0 0 20px;
        }
        .content p {
            font-size: 1.2rem;
            line-height: 1.6;
            font-family: mountains_of_christmasregular;
            left:50%;
            transform: translate(-50%,0%);
            text-shadow: 1px 1px ;
        }

        .content p {
            visibility: hidden; /* Hide elements initially */
    opacity: 0;
    position: absolute; /* Prevents layout changes */
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    text-shadow: #111 0 0 10px;
    font-size: 1.2rem;
}

.content p.visible {
    
    opacity: 1; /* Fade in */
    visibility: visible;
    position: absolute;
}

@media only screen and (max-width: 768px) {
    #about{
        margin-bottom: 0px;
    }
}

        .gift-section {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
            padding: 15px;
        }
        .gift {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(0px);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
            padding: 15px;
            width: 280px;
            text-align: center;
            color: #fff;
            cursor: pointer;
            position: relative;
            transition: transform 0.3s ease-in-out, backdrop-filter 0.6s ease-in-out, opacity 4.0s ease-in-out;
            overflow: hidden;
            z-index: 10000;
        }

        .cover{
            max-height:300px;
        }

        .gift .lights-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }
        .light {
            position: absolute;
            width: 10px;
            height: 10px;
            background-color: rgba(255, 255, 0, 0.8);
            border-radius: 50%;
            filter: blur(5px);
            opacity: 0;
            animation: blink 5s infinite;
        }
        @keyframes blink {
            0%, 100% {
                opacity: 0;
            }
            50% {
                opacity: 1;
            }
        }
        .gift img {
            position: relative;
            z-index: 2;
            width: 64px;
        }
        .gift h3 {
            margin: 10px 0;
            font-size: 1.5rem;
            color: #ffffff;
            font-family: "Patua One", serif;
            font-weight: 400;
            font-style: normal;
            text-shadow: #111 0 0 10px;
            position: relative;
            z-index: 2;
        }
        .gift p {
            font-size: 1rem;
            line-height: 1.4;
            position: relative;
            z-index: 2;
        }
        .gift:hover {
            transform: scale(1.05);
            backdrop-filter: blur(10px);
        }

        .gift-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            color: #fff;
            text-align: center;
            justify-content: center;
            align-items: center;
            z-index: 10001;
            animation: fadeIn 0.5s ease-in-out;
        }
        .gift-overlay.active {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            padding: 0px;
            z-index: 100000;
        }
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }
        .gift-overlay h3 {
            font-size: 2rem;
            margin-top: 40px;
            margin-bottom: 20px;
            font-family: "Patua One", serif;
            font-weight: 400;
            font-style: normal;
            text-shadow: #111 0 0 10px;
        }
        .gift-overlay .close-button {
            position: absolute;
            top: 10px;
            right: 10px;
            background: transparent;
            border: none;
            font-size: 2rem;
            color: #fff;
            cursor: pointer;
        }
        .gift-overlay .close-button:hover {
            color: #ccc;
        }
        .gift-overlay .card-list {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
        }
        .gift-overlay .card {
            background: rgba(22, 60, 104, 0.8);
            backdrop-filter: blur(10px);
            padding: 15px;
            width: 90%;
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s, background 0.3s;
        }
        .gift-overlay .card:hover {
            transform: scale(1.05);
            background: rgba(30, 85, 126, 0.8);
        }
        .gift-overlay .card a {
            color: #ffffff;
            text-decoration: none;
            font-size: 1rem;
            display: block; /* Make the anchor cover the entire card */
    width: 100%; /* Full width of the card */
    height: 100%; 
        }
        .gift-overlay p {
            font-size: 1rem;
            margin-bottom: 20px;
        }
        .gift-overlay video {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -1; /* Ensures it stays in the background */
            object-fit: cover;
            pointer-events: none;
            z-index: -1;
        }


        footer {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(5px);
            padding: 15px;
            text-align: center;
        }
        footer p {
            margin: 0;
             font-family: mountains_of_christmasregular;
        }
        .snow {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1000;
            transition: opacity 3.0s ease;
        }
        .snowflake {
            position: absolute;
    top: -10px;
    background-color: white; /* White-filled circle */
    width: 8px; /* Default width */
    height: 8px; /* Default height */
    border-radius: 50%; /* Makes it a perfect circle */
    animation: fall 10s linear infinite;
}
        @keyframes fall {
            0% {
                transform: translateY(0) translateX(0);
            }
            100% {
                transform: translateY(100vh) translateX(20vw);
            }
        }

 svg {
  max-height: 60vh;
  overflow:visible;
  z-index: -1;
  position: fixed;
  top: 50%;        /* 50% from the top */
  left: 50%;       /* 50% from the left */
  transform: translate(-50%, -50%);
}

path {
  fill: #379157;
  stroke: #379157;
  stroke-width: .2;
  transform: scale(0);
  transform-origin: 50% 50%;
  animation: star 8s ease-in-out infinite;
  animation-delay: calc( var(--no) * .025s );
  transform-box: fill-box;
}

@keyframes star {
  0% {
    transform: scale(0);
    animation-timing-function: cubic-bezier(.74,1.72,.57,1.01)
  }
  10% {
    transform: scale(1);
  }
  65% {
    transform: translateY(0px) scale(1);
  }
  75% {
    transform: translateY(0px) scale(1);
  }
  100% {
    transform: translateY( 0px ) scale(0);
  }
}

.running-girl{
    position: absolute;
    width: 32px;
    height: 32px;
    top: 0;
    left: 20px;
    transform: translate(10px, -40%);
    z-index: 100000;
}

.running-boy{
    position: absolute;
    width: 32px;
    height: 32px;
    top: -15px;
    left: 0px;
    transform: translate(20px, -40%);
    z-index: 100000;
}

.smoke-container {
	position: absolute;
	height: 630px;
	width: 200px;
	bottom: 86px;
	left: 270px;
	-webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 30%, rgba(0,0,0,0));
	-webkit-mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center bottom;
}
.fire-container {
    position: absolute;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.7);
    bottom: 0px;
    left: 30px;
    transform-origin: center center;
    transform: rotate(-5deg);
    animation: flicker 3s ease alternate infinite;
}

.flame-1 {
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-bottom: 34px solid var(--color-flame-yellow);
    position: absolute;
    top: -30px;
    left: 10px;
    opacity: 0.4;
}

.flame-1:after {
    content: '';
    position: absolute;
    left: -10px;
    top: 34px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top: 16px solid var(--color-flame-yellow);
}

.flame-2 {
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-bottom: 12px solid var(--color-flame-orange);
    position: absolute;
    top: 6px;
    left: 16px;
    opacity: 0.8;
}

.flame-2:after {
    content: '';
    position: absolute;
    left: -4px;
    top: 12px;
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-top: 8px solid var(--color-flame-orange);
}

.flame-3 {
    width: 0;
    height: 0;
    border: 1px solid transparent;
    border-bottom: 4px solid var(--color-sky-light);
    position: absolute;
    top: 20px;
    left: 19px;
    opacity: 0.9;
}

.flame-3:after {
    content: '';
    position: absolute;
    left: -1px;
    top: 4px;
    width: 0;
    height: 0;
    border: 1px solid transparent;
    border-top: 4px solid var(--color-sky-light);
}

@keyframes flicker{
  0%   {transform: rotate(-1deg);}
  20%  {transform: rotate(1deg);}
  40%  {transform: rotate(-1deg);}
  60%  {transform: rotate(1deg) scale(1.1);}
  80%  {transform: rotate(-2deg) scale(1);}
  100% {transform: rotate(1deg);}
}

svg {
	position: absolute;
	top: 0;
	height: 600px;
	width: 200px;
}

svg path {
	fill: none;
	stroke: white;
	opacity: 0.3;
	stroke-width: 5px;
	stroke-dasharray: 500 100;
	stroke-linecap: round;
	animation: dash 3s linear infinite;
}

@keyframes dash {
	  from {
	stroke-dashoffset: 0;
  }
  to {
	stroke-dashoffset: 600;
  }
}

.container{
    overflow:auto;
    z-index: 100000;
}

.hidden{
    opacity: 0.0;
}

