/* Base background color */
body {
    background-color: #ffffff;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Container for the interactive grid */
#grid-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, 20px);
    grid-template-rows: repeat(auto-fill, 20px);
    z-index: 0;
    pointer-events: auto;
}

.grid-box {
    width: 20px;
    height: 20px;
    border: 0.5px solid #f3f4f6;
    transition: background-color 1s ease;
}

/* The hover animation effect */
.grid-box:hover {
    background-color: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
    transition: 0s;
}

.input-focus-ring:focus {
    outline: none;
    border-color: #1f2937;
    box-shadow: 0 0 0 4px rgba(31, 41, 55, 0.05);
}

.deep-border {
    border: 2px solid #1f2937;
}

/* Float animation for the header */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}
.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Ensure content stays above the interactive background */
.content-layer {
    position: relative;
    z-index: 10;
    pointer-events: none;
}

/* Re-enable pointer events for interactive UI elements */
.interactive-ui {
    pointer-events: auto;
}

/* Custom Button Hover Animation */
.btn-animate {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-animate:hover {
    transform: translate(-2px, -2px);
    shadow: 6px 6px 0px 0px rgba(31, 41, 55, 1);
    background-color: #ffffff;
}
.btn-animate:active {
    transform: translate(2px, 2px);
    box-shadow: 0px 0px 0px 0px rgba(31, 41, 55, 1);
}
