body {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("/images/to1.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Keeps the background fixed */
    background-repeat: no-repeat; /* Prevents tiling */
    position: relative;
    overflow-x: hidden; /* Ensures no horizontal scrollbars appear */
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 5rem rgba(0, 0, 0, 0.5); /* Applies shadow effect */
    pointer-events: none; /* Allows interaction with content underneath */
    z-index: 0; /* Keeps it behind all other content */
}

.cover-container {
    max-width: 60vw;
    position: relative; /* Ensures it stays above the pseudo-element */
    z-index: 1; /* Ensures content is above the shadow layer */
}

.nav-link {
    padding: 0.25rem 0;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 1rem;
    border-bottom: 0.25rem solid transparent;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.5);
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

.nav-link.active {
    color: white;
    border-bottom-color: white;
}

.btn-secondary {
    color: #fff;
    text-shadow: none;
}

.btn-secondary:hover {
    color: #333;
    text-shadow: none;
}

.btn {
    max-width: 10rem;
}

label {
    display: none;
}

#loginForm {
    background-color: rgba(255, 255, 255, 0.35);
}
.text-bg {
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black background */
    padding: 1.5rem; /* Add padding for spacing */
    border-radius: 8px; /* Smooth rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Add subtle shadow for depth */
    color: #fff; /* Ensure text is readable */
}