body {
    margin: 0;
    font-family: Arial;
    overflow: hidden;
}

/* 1 */
.section1 {
    position: relative;
    height: 100vh;
    color: white;
}


.bg-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;   
    background-color: black;
    transform: scale(1.4);
    
}



.section1::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    top: 0;
    left: 0;
}


.content {
    position: relative;
    z-index: 2;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px;
}

button {
    padding: 12px 25px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
}
.holi-btn {
    padding: 12px 25px;
    font-size: 18px;
    cursor: pointer;
    border: 2px solid orange;
    background-color: transparent;
    color: orange;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.holi-btn:hover {
    background-color: orange;
    color: white;
    box-shadow: 0 0 15px orange;
}
.extra-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.extra-content.show {
    max-height: 500px; 
}

.read-btn {
    padding: 10px 20px;
    margin: 10px;
    background-color: transparent;
    border: 2px solid white;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.read-btn:hover {
    background-color: white;
    color: black;
}

/* 2 */
.section2 {
    display: none;
    height: 100vh;
    /* background: radial-gradient(circle at center, #ff4e50, #f9d423, #24c6dc); */
    color: white;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease;
}


.happy {
    font-size: 70px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.celebrate-text {
    font-size: 20px;
    margin-bottom: 20px;
}

.color-btn {
    padding: 12px 25px;
    font-size: 18px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    background: white;
    color: black;
    transition: 0.3s;
}

.color-btn:hover {
    background: orange;
    color: white;
}
.splash {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, red, yellow, blue, green);
    border-radius: 50%;
    animation: splashAnim 1s ease-out forwards;
}

@keyframes splashAnim {
    from {
        transform: scale(0);
        opacity: 1;
    }
    to {
        transform: scale(3);
        opacity: 0;
    }
} 


.section2 {
    display: none;
    position: relative;
    height: 100vh;
    color: white;
    justify-content: center;
    align-items: center;
    display: flex;
    overflow: hidden;
    opacity: 0;
    transition: opacity 1s ease;
}





.bg-video2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}


.section2::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    top: 0;
    left: 0;
    z-index: -1;
}
.happy {
    font-size: clamp(32px, 8vw, 70px);
}
.content,
.color-content {
    padding: 20px;
    width: 90%;
    max-width: 600px;
    margin: auto;
}
.celebrate-text {
  font-size: 24px;
  text-align: center;
  font-weight: bold;
}

.celebrate-text span:nth-child(1) { color: #ff1744; }
.celebrate-text span:nth-child(2) { color: #ff9100; }
.celebrate-text span:nth-child(3) { color: #ffea00; }
.celebrate-text span:nth-child(4) { color: #00e676; }
.celebrate-text span:nth-child(5) { color: #2979ff; }
.celebrate-text span:nth-child(6) { color: #d500f9; }
.celebrate-text span:nth-child(7) { color: #ff4081; }
.celebrate-text span:nth-child(8) { color: #00e5ff; }
.celebrate-text span:nth-child(9) { color: #ff6d00; }
.celebrate-text span:nth-child(10){ color: #8e24aa; }
.celebrate-text span:nth-child(11){ color: #43a047; }

.holi-text {
  font-size: 60px;
  text-align: center;
}

@media (max-width: 600px) {
  .holi-text {
    font-size: 35px;
  }
}

.holi-text {
  font-size: 60px;
  text-align: center;
  font-family: cursive;
}

.word {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .holi-text {
    font-size: 40px;
  }
}
