/*
Theme Name: Beaver Builder Child Theme
Theme URI: https://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: https://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here...Remember to change the Version number above! */ 

/* Bluish-Cyan Gradient Background with Spinning Stars */
.star-gradient-bg {
    position: relative;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 25%, #00b4db 50%, #0083b0 75%, #1e3c72 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated gradient background */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Spinning stars container */
.star-gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #ffffff, transparent),
        radial-gradient(2px 2px at 40px 70px, #ffffff, transparent),
        radial-gradient(1px 1px at 90px 40px, #ffffff, transparent),
        radial-gradient(1px 1px at 130px 80px, #ffffff, transparent),
        radial-gradient(2px 2px at 160px 30px, #ffffff, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 3s linear infinite;
}

/* Individual spinning stars */
.star-gradient-bg .spinning-star {
    position: absolute;
    color: #ffffff;
    font-size: 20px;
    animation: spin 4s linear infinite;
}

.star-gradient-bg .spinning-star:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.star-gradient-bg .spinning-star:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
    font-size: 16px;
}

.star-gradient-bg .spinning-star:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
    font-size: 24px;
}

.star-gradient-bg .spinning-star:nth-child(4) {
    bottom: 15%;
    right: 10%;
    animation-delay: 0.5s;
    font-size: 18px;
}

.star-gradient-bg .spinning-star:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-delay: 1.5s;
    font-size: 22px;
}

/* Spinning animation */
@keyframes spin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Sparkle animation for background stars */
@keyframes sparkle {
    0% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.5; transform: scale(1); }
}

/* Content styling inside the gradient */
.star-gradient-bg .content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #ffffff;
    padding: 40px 20px;
}

.star-gradient-bg .content h1,
.star-gradient-bg .content h2,
.star-gradient-bg .content h3 {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

.star-gradient-bg .content p {
    color: #f0f8ff;
    font-size: 16px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Responsive design */
@media (max-width: 768px) {
    .star-gradient-bg {
        min-height: 300px;
    }
    
    .star-gradient-bg .spinning-star {
        font-size: 16px;
    }
    
    .star-gradient-bg .content {
        padding: 30px 15px;
    }
} 