/* Global Styling */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(270deg, #e66465, #9198e5);
    background-size: 400% 400%;
    animation: GradientBackground 15s ease infinite;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

@keyframes GradientBackground {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Neural Network Canvas */
#neuralNetworkCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Card Styling */
.card {
    background: #f49f9f;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 800px;
    overflow: hidden;
    margin: 20px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

h1,
h2 {
    margin: 0.5em 0;
}

.panel {
    background-color: #f1abab;
    color: #000;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    text-align: left;}

    /* Countdown Styling */
    #countdown {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        margin: 20px 0;
    }

    .countdown-item {
        background: #f1abab;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        text-align: center;
        margin: 10px;
        flex: 1 1 100px;
    }

    .countdown-number {
        font-size: 2em;
        font-weight: bold;
    }

    .countdown-label {
        font-size: 1em;
        margin-top: 5px;
    }

    /* Button Styling */
    button {
        background-color: #bc78f7;
        color: white;
        padding: 15px 32px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 24px;
        margin: 4px 2px;
        cursor: pointer;
        border: none;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    /* Slider Styling */
    #slider {
        position: relative;
        width: 100%;
        height: 300px;
        margin: 20px auto;
        overflow: hidden;
    }

    .slide {
        display: none;
        width: 100%;
        height: 100%;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }

    .fade {
        animation: fade 1.5s infinite;
    }
    footer {
        background: #f1abab;
        color: #fff;
        text-align: center;
        padding: 10px 0;
        position: relative; /* or 'relative' for standard footer */
        bottom: 0;
        width: 100%;
    }
    footer p {
        margin: 0;
        font-size: 14px;
    }
    
    @keyframes fade {
        from {
            opacity: 0.4;
        }

        to {
            opacity: 1;
        }
    }