html, body {
    font-family: 'Ledger', serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDU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GZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

/*Hero*/
/* Hero Section */
.hero {
    position: relative;
    height: 700px;
    background: url('https://cjsswingstudio.blob.core.windows.net/home/hero.jpg') no-repeat center center fixed; /* Placeholder image */
    background-size: cover; /* Ensures the background image covers the section */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white; /* White text on top of the background */
    text-align: center;
    padding: 0 20px;
}


/* Hero Content (Text and Button) */
.hero-content {
    z-index: 2; /* Ensure the content appears above the background */
}

.hero h2 {
    font-size: 2.5rem; /* Adjust font size as needed */
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 4rem; /* Adjust font size as needed */
    margin-bottom: 20px;
}

.book-now {
    background-color: #ff5a00; /* Vibrant color */
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .book-now:hover {
        background-color: #e24d00;
    }

/* Parallax Effect (Background scrolls slower than content) */
.hero {
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
        z-index: 1; /* Place the overlay behind the text */
    }

/* info blurb */
/* Ensure the container takes up full width and height */
.content-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    text-align: center;
    padding: 20px;

}

.content {
    max-width: 800px; /* Optional: limits the width of the content */
    width: 100%;
}

    .content p {
        font-size: 1rem; /* Adjust text size */
        margin-bottom: 20px; /* Space between paragraph and heading */
    }

    .content h4 {
        font-size: 2rem;
        font-weight: bold;
    }



    /*Info Cards*/
/* Card Container */
.card-container {
    display: flex;
    flex-wrap: wrap; 
    gap: 20px; 
    justify-content: space-evenly;
    margin-top: 1rem;
}

/* Individual Card Styling */
.card {
    position: relative; /* Position relative to enable overlay */
    background-image: url('https://cjsswingstudio.blob.core.windows.net/home/cj-simulator.jpeg'); /* Background image */
    background-size: cover; /* Ensures the background image covers the entire card */
    background-position: center; /* Centers the background image */
    border-radius: 8px; /* Rounded corners */
    flex: 1; /* Ensures the cards grow to fill space */
    min-width: 250px; /* Sets a minimum width */
    max-width: 300px; /* Maximum width for larger screens */
    min-height: 300px;
    padding: 20px; /* Padding inside the card */
    text-align: center; /* Centers the text inside the card */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Light shadow for the card */
    color: white; /* Text color */
    transition: transform 0.3s ease; /* Smooth transform on hover */
    border: solid;
    margin-bottom: 1rem;
    display: flex; /* Enables flexbox for centering text */
    justify-content: center; /* Centers content horizontally */
    align-items: center; /* Centers content vertically */
}

.card2 {
    position: relative; /* Position relative to enable overlay */
    background-image: url('https://cjsswingstudio.blob.core.windows.net/home/rates2.jpg'); /* Background image */
    background-size: cover; /* Ensures the background image covers the entire card */
    background-position: center; /* Centers the background image */
    border-radius: 8px; /* Rounded corners */
    flex: 1; /* Ensures the cards grow to fill space */
    min-width: 250px; /* Sets a minimum width */
    max-width: 300px; /* Maximum width for larger screens */
    min-height: 300px;
    padding: 20px; /* Padding inside the card */
    text-align: center; /* Centers the text inside the card */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Light shadow for the card */
    color: white; /* Text color */
    transition: transform 0.3s ease; /* Smooth transform on hover */
    border: solid;
    margin-bottom: 1rem;
    display: flex; /* Enables flexbox for centering text */
    justify-content: center; /* Centers content horizontally */
    align-items: center; /* Centers content vertically */
}

    /* Darken the background image */
    .card::before {
        content: '';
        position: absolute; /* Stretches across the entire card */
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5); /* Dark overlay */
        border-radius: 8px;
        z-index: 0; /* Puts the overlay below the content */
    }

    /* Card Text Styling */
    .card h4 {
        position: relative;
        z-index: 1; /* Ensures the text appears on top of the overlay */
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    /* Hover effect for the cards */
    .card:hover {
        transform: translateY(-5px); /* Slight lift on hover */
    }
    
    /* Darken the background image */
    .card2::before {
        content: '';
        position: absolute; /* Stretches across the entire card */
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5); /* Dark overlay */
        border-radius: 8px;
        z-index: 0; /* Puts the overlay below the content */
    }

    /* Card Text Styling */
    .card2 h4 {
        position: relative;
        z-index: 1; /* Ensures the text appears on top of the overlay */
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    /* Hover effect for the cards */
    .card2:hover {
        transform: translateY(-5px); /* Slight lift on hover */
    }

/* Mobile (Small Screen) */
@media (max-width: 768px) {
    .card-container {
        flex-direction: column; /* Stack the cards in a column on mobile */
        align-items: center; /* Center the cards vertically */
    }
}

/* Style for the Business Hours Section */
.business-hours {
    text-align: center;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9; /* Light background for better contrast */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
}

    .business-hours h3 {
        font-size: 2rem; /* Larger font for the title */
        color: #333; /* Dark color for the title */
        margin-bottom: 20px;
    }

    .business-hours ul {
        list-style-type: none; /* Remove default bullets */
        padding: 0;
        margin: 0;
    }

    .business-hours li {
        font-size: 1.5rem; /* Increase font size for better readability */
        margin: 10px 0; /* Space between each list item */
        color: #555; /* Slightly lighter color for the list items */
    }

    .business-hours strong {
        color: #333; /* Make the day names bold and darker */
    }

@media (max-width: 768px) {
    .hero{
    }

    .business-hours h3 {
        font-size: 1.8rem; /* Adjust title font size on smaller screens */
    }

    .business-hours li {
        font-size: 1.2rem; /* Adjust list item font size on smaller screens */
    }
}

card-league {
    /* position: relative; */
    /* background-image: url(https://cjsswingstudio.blob.core.windows.net/home/cj-simulator.jpeg); */
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    flex: 1;
    min-width: 250px;
    /* max-width: 300px; */
    /* min-height: 300px; */
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
    transition: transform 0.3s ease;
    border: solid;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}