/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative; /* For overlay positioning */
    overflow: hidden; /* Prevent scrollbars */
    background: linear-gradient(135deg, rgba(255, 126, 95, 0.8), rgba(254, 180, 123, 0.8));
    background-size: 300% 300%; /* Increase size for smooth movement */
    background: linear-gradient(32deg,#1c880c,#6942c7,#11e23a,#f53440,#512e2b);
    background-size: 500% 500%;
    animation: gradient-animation 15s ease infinite;
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

body {
    height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #FFEA00, #FF4081, #00BFFF, #FF6F20);
    background-size: 300% 300%; /* Larger size for smoother transitions */
    animation: gradientAnimation 15s ease infinite; /* Animation duration */
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 0%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 100%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Particles Container */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1; /* Behind content */
}

/* Overlay Effect */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* Above particles */
}

/* Content Styles */
.content {
    position: relative;
    z-index: 3; /* Above overlay */
    text-align: center;
}

/* Heading Styles */
h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Paragraph Styles */
p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* Button Styles */
.button {
    padding: 15px 30px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: white;
    font-size: 1.2rem;
}

.button:hover {
    background-color: rgba(255, 255, 255, 0.5);
}