* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Arial', sans-serif;
    color: #fff;
    background-color: #000;
    overflow-x: hidden;
  }
  
  .slideshow-container {
    position: relative;
    max-width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  
  .mySlides {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
  }
  
  .mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .dot-container {
    text-align: center;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
  }
  
  .dot.active {
    background-color: #fff;
  }
  
  #main-header {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
  }
  
  #main-header h1 {
    font-size: 5rem;
    padding-bottom: 3rem;
    color: #fff;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.7);
  }
  
  #main-nav {
    margin-top: 20px;
  }
  
  #main-nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  #main-nav ul li {
    display: inline;
  }
  
  #main-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: bold;
    padding: 10px;
    transition: color 0.3s ease;
  }
  
  #main-nav a:hover {
    color: #FFD700; 
  }
  
  #introduction {
    padding: 50px 20px;
    text-align: center;
    height: 38rem;
  }
  
  #intro-text {
    font-size: 1.5rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 20px auto;
  }
  
  .animate-on-scroll.fade-in {
    opacity: 0;
    font-size: 3rem;
    animation: fadeIn 2s forwards;
  }
  
  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }
  
  @media (max-width: 768px) {
    #main-header h1 {
      font-size: 2rem;
    }
  
    #main-nav ul {
      flex-direction: column;
      gap: 10px;
    }
  
    #main-nav a {
      font-size: 1rem;
    }
  
    #intro-text {
      font-size: 1rem;
    }
  }

#santa-animation {
    position: absolute;
    bottom: 37rem; 
    left: -200px; 
    width: 150px; 
    z-index: 3;
}

.santa {
    width: 200px; 
    height: 150px;
    object-fit: cover;
    animation: floatSanta 13s ease-in-out infinite; 
}

@keyframes floatSanta {
    0% {
        transform: translateX(0) translateY(0); 
    }
    25% {
        transform: translateX(25%) translateY(-10px); 
    }
    50% {
        transform: translateX(50%) translateY(0); 
    }
    75% {
        transform: translateX(75%) translateY(10px); 
    }
    100% {
        transform: translateX(100vw) translateY(0); 
    }
}

#play-audio, #stop-audio{
    position: relative;
    bottom: 30rem;
    height: 3rem;
    background-color: transparent;
    border: 2px solid white;
    color: white;
    width: 15rem;
}

  .fade-in {
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
    animation-delay: 1s;
  }
  
  @keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }

  #science {
    position: relative;
    padding: 50px;
    text-align: center;
    color: white;
    background-image: url('winter-bg4.jpg'); 
    background-attachment: fixed; 
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: gradientAnimation 15s ease infinite;
  }
  
  #science .content {
    text-align: center;
    background: rgba(0, 0, 0, 0.815); 
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6); 
  }
  
  #science h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
  }
  
  #science p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  @keyframes gradientAnimation {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

#hemispheres {
    background: linear-gradient(45deg, #1e3c72, #2a5298); 
    padding: 50px 20px;
    text-align: center;
    color: #fff; 
    position: relative;
    overflow: hidden;
    background-size: cover;
}

#hemispheres::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://media.giphy.com/media/CkBzt6qXCCXw4/giphy.gif') no-repeat center center;
    opacity: 0.1; 
    z-index: -1; 
    animation: snowfall 10s linear infinite;
}

@keyframes snowfall {
    0% { top: -100px; }
    100% { top: 100%; }
}

.hemisphere {
    background-color: rgba(255, 255, 255, 0.9);
    color: blue;
    margin: 30px auto;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hemisphere:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hemisphere-info {
    margin-top: 40px;
    display: none; 
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7); 
    color: #fff;
    border-radius: 10px;
    padding: 20px;
}

.hemisphere-info img {
    width: 80%;
    max-width: 600px;
    margin: 20px 0;
    border-radius: 10px;
}

#hemisphere-title {
    font-size: 2rem;
    color: #fff;
}

#hemisphere-description {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.snowflakes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; 
    z-index: 2; 
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -50px;
    font-size: 2rem;
    opacity: 0.8;
    color: #fff;
    user-select: none;
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(var(--random-x)) translateY(100vh);
    }
}

.snowflake:nth-child(1) {
    animation-duration: 10s;
    animation-delay: 0s;
    --random-x: -50vw;
}

.snowflake:nth-child(2) {
    animation-duration: 12s;
    animation-delay: 2s;
    --random-x: 50vw;
}

.snowflake:nth-child(3) {
    animation-duration: 8s;
    animation-delay: 1s;
    --random-x: 30vw;
}

.snowflake:nth-child(4) {
    animation-duration: 15s;
    animation-delay: 3s;
    --random-x: -30vw;
}

.snowflake:nth-child(5) {
    animation-duration: 18s;
    animation-delay: 4s;
    --random-x: 10vw;
}

.snowflake:nth-child(6) {
    animation-duration: 14s;
    animation-delay: 5s;
    --random-x: -10vw;
}

#celebrations {
    background-color: #2a2a2a; 
    color: #fff;
    padding: 2rem;
    text-align: center;
    position: relative;
}

#celebrations h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.celebration {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.celebration h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: #f1c40f;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.celebration:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.15);
}

#celebrations:before {
    content: "❄❄❄❄❄";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    font-size: 3rem;
    animation: snowfall 15s linear infinite;
}

@keyframes snowfall {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

#celebrations {
    background: linear-gradient(135deg, #4c4c6c, #2c3e50);
}

.celebration p {
    white-space: nowrap;
    height: 3em; 
    overflow: hidden;
    text-overflow: ellipsis;
    transition: height 0.5s ease;
}

.celebration p.expanded {
    white-space: normal;
    height: auto;
    overflow: visible;
}

.celebration {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

#newgrange {
    animation-delay: 0.5s;
}

#intiraymi {
    animation-delay: 1s;
}

#modranicht {
    animation-delay: 1.5s;
}

#koliada {
    animation-delay: 2s;
}

.toggle-button {
    margin-top: 1rem;
    padding: 10px 20px;
    background-color: #f39c12;
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.toggle-button:hover {
    background-color: #e67e22;
}

#traditions {
    background-color: #34495e; 
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    border-radius: 15px;
    height: 40rem;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}

#traditions h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #f39c12; 
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
}

#traditions ul {
    list-style-type: none;
    padding: 0;
    font-size: 1.2rem;
}

#traditions li {
    margin: 1.5rem 0;
    padding: 1rem;
    margin: 3rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    position: relative;
    font-weight: 500;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

#traditions li:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

#traditions li {
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#traditions li:nth-child(1) {
    animation-delay: 0.2s;
}

#traditions li:nth-child(2) {
    animation-delay: 0.4s;
}

#traditions li:nth-child(3) {
    animation-delay: 0.6s;
}

#traditions li:nth-child(4) {
    animation-delay: 0.8s;
}

#traditions li:nth-child(5) {
    animation-delay: 1s;
}

#traditions::after {
    content: "❄❄❄❄❄";
    font-size: 3rem;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation: snowfall 15s linear infinite;
}

@keyframes snowfall {
    0% {
        transform: translateY(-50px) rotate(0deg);
    }
    100% {
        transform: translateY(100px) rotate(360deg);
    }
}

@media (max-width: 768px) {
    #traditions {
        padding: 2rem;
    }

    #traditions h2 {
        font-size: 2rem;
    }

    #traditions ul {
        font-size: 1rem;
    }

    #traditions li {
        padding: 1rem;
    }
}

#traditions .highlight {
    background-color: #f39c12; 
    color: #2c3e50;
    transition: background-color 0.3s ease, color 0.3s ease;
}




#conclusion {
    background: radial-gradient(circle at top, #1e3c72, #2a5298); 
    color: #f1f1f1; 
    text-align: center;
    padding: 50px 20px;
    position: relative;
    overflow: hidden;
    height: 28rem;
}

#conclusion h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    animation: fadeInDown 2s ease;
    font-family: 'Merriweather', serif;
    letter-spacing: 2px;
}

#conclusion p {
    font-size: 1.2em;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 800px;
    animation: fadeInUp 2s ease;
    font-family: 'Open Sans', sans-serif;
}

#conclusion::before, #conclusion::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('undefined\ -\ Imgur.jpg') repeat; 
    animation: moveStars 30s linear infinite;
    opacity: 0.2;
    z-index: 1;
}

#conclusion::before {
    top: -50%;
    left: -50%;
}

#conclusion::after {
    top: 50%;
    left: 50%;
    animation-direction: reverse;
}

@keyframes moveStars {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(-50%, -50%);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



#main-footer {
    background-color: #2c3e50; 
    color: #ecf0f1; 
    text-align: center;
    padding: 20px 10px;
    border-top: 2px solid #f39c12; 
    position: relative;
    top: 40rem;
    height: 8rem;
}

#main-footer p {
    margin: 0;
    font-size: 1.2em;
    font-family: 'Arial', sans-serif;
}

#footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

#footer-nav a {
    text-decoration: none;
    color: #f39c12; 
    font-size: 1.1em;
    transition: color 0.3s ease;
}

#footer-nav a:hover {
    color: #ecf0f1; 
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#main-footer {
    animation: slideIn 1.5s ease-out;
}
