body {
    background-color: #0a2f1c; /* Deep Christmas Green */
    color: #fdf5e6; /* Warm Off-White */
    font-family: 'Mountains of Christmas', cursive;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.page-wrapper {
    width: 100%;
    overflow-x: hidden;
}

header {
    background-color: #a71e1e; /* Festive Red */
    padding: 1rem;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline-block;
    margin: 0 1rem;
}

nav ul li a {
    color: #fdf5e6;
    text-decoration: none;
}

main {
    padding: 2rem;
}

#hero {
    text-align: center;
    padding: 4rem 0;
    background-image: url('https://images.unsplash.com/photo-1542776575-f428b161a24a?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #FF5C5C;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

h2 {
    color: #FF5C5C;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

section {
    padding: 2rem;
    margin: 2rem 1rem;
    border: 2px solid #c8a97e; /* Gold Border */
    background-color: rgba(10, 47, 28, 0.8);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    text-align: center;
    position: relative;
}

.gallery-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1rem;
}

.gallery-container video,
.gallery-container img {
    display: block;
    width: 100%;
    height: auto;
    border: 3px solid #c8a97e; /* Gold Border */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    object-fit: cover;
}

.gallery-item {
    flex: 1 1 300px;
    max-width: 400px;
    text-align: center;
}

.song-title {
    margin-top: 0.5rem;
    font-size: 1.2rem;
    color: #fdf5e6;
}

#how-it-works ol {
    list-style-position: inside;
    margin: 0 auto;
    max-width: fit-content;
    text-align: left;
}

#how-it-works li {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

p {
    font-size: 1.3rem;
}

.hero-gif {
    max-width: 200px;
    margin-bottom: 1rem;
}

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

.side-gif {
    max-width: 150px;
    margin-left: 2rem;
}

.snowflake {
    position: fixed;
    top: -10px;
    color: #fff;
    pointer-events: none;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}

footer {
    background-color: #a71e1e; /* Festive Red */
    text-align: center;
    padding: 1rem;
    position: relative;
    bottom: 0;
    width: 100%;
}

a {
    width: 80%;
    max-width: 500px;
    margin-top: 1rem;
    /* filter: sepia(20%) saturate(70%) grayscale(1) contrast(99%) invert(12%); */
    color: #FDB813;;
}

.penguin-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

@media (hover: hover) {
    .penguin-container:hover {
        transform: scale(1.1);
    }
    .penguin-container:hover .penguin-label {
        opacity: 1;
        visibility: visible;
    }
}
.penguin-container.touched {
    transform: scale(1.1);
}
.penguin-container.touched .penguin-label {
    opacity: 1;
    visibility: visible;
}

#happy-penguin {
    width: 100px;
    height: auto;
}

.icon-container {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
}

.icon-container img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

.pause-icon {
    display: none;
}

.penguin-container.playing .play-icon {
    display: none;
}

.penguin-container.playing .pause-icon {
    display: block;
}

.penguin-label {
    position: absolute;
    bottom: 105px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fdf5e6;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    font-size: 1rem;
}




/* Locally hosted font */
@font-face {
    font-family: 'Mountains of Christmas';
    src: url('assets/fonts/Mountains_of_Christmas/MountainsofChristmas-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Mountains of Christmas';
    src: url('assets/fonts/Mountains_of_Christmas/MountainsofChristmas-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}


.mouse-follower {
    position: fixed;
    left: 0;
    top: 0;
    width: 150px;
    height: auto;
    pointer-events: none;
    z-index: 1000;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease;
    will-change: transform, opacity;
}

#santa {
    position: fixed;
    width: 250px; /* Adjust size as needed */
    height: auto;
    pointer-events: none;
    z-index: 999; /* Just below the reindeer */
    transition: top 5s linear, left 5s linear;
}

@media (max-width: 768px) {
    nav ul li {
        display: block;
        margin: 0.5rem 0;
    }

    .gallery-container {
        flex-direction: column;
        align-items: center;
    }

    .gallery-item {
        width: 90%;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    p {
        font-size: 1.1rem;
    }

    #how-it-works li {
        font-size: 1.1rem;
    }

    .penguin-container {
        bottom: 10px;
        right: 10px;
    }

    #happy-penguin {
        width: 80px;
    }

    .penguin-label {
        bottom: 85px;
        font-size: 0.9rem;
    }
}