/* Ensure base styles for About page allow scrolling */
html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    min-height: 100vh;
}

/* Layout for About page */
.about-page {
    display: grid;
    grid-template-rows: auto 1fr; /* navbar + main content */
    min-height: 100vh;
    background-color: #ffffff;
}


/* Main content */
.main-content {
    padding: 2rem 1rem;
    max-width: 800px;
    margin: auto;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Optional: Style headers and image */
.main-content h1,
.main-content h2 {
    margin-top: 2rem;
    color: #204080;
}

.main-content a {
    color: #007bff;
    text-decoration: underline;
}

.main-content img {
    max-width: 200px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #3066be;

    background-image:
      linear-gradient(45deg, #2a56a0 25%, transparent 25%),
      linear-gradient(-45deg, #2a56a0 25%, transparent 25%),
      linear-gradient(45deg, transparent 75%, #2a56a0 75%),
      linear-gradient(-45deg, transparent 75%, #2a56a0 75%),
      repeating-linear-gradient(
          45deg,
          rgba(255, 255, 255, 0.05),
          rgba(255, 255, 255, 0.05) 2px,
          transparent 2px,
          transparent 10px
      );
    background-size: 40px 40px, 40px 40px, 40px 40px, 40px 40px, 20px 20px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0px, 0 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: backgroundShift 20s linear infinite;
    position: sticky;
    top: 0;
    z-index: 1000;
}

@keyframes backgroundShift {
    0% {
        background-position: 0 0, 0 20px, 20px -20px, -20px 0px, 0 0;
    }
    100% {
        background-position: 40px 40px, 40px 60px, 60px 20px, 20px 40px, 20px 20px;
    }
}

.navbar-title {
    color: #fffff2;
    font-size: clamp(2rem, 5vw, 4rem);
    font-family: 'Dancing Script', cursive;
}

.navbar-links a {
    color: #f2f2f2;
    text-decoration: none;
    padding: clamp(0.25rem, 1.5vw, 0.5rem) clamp(0.5rem, 3vw, 1rem);
    font-weight: bold;
    font-size: clamp(1rem, 4vw, 2rem);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;;
}

.navbar-links a:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Softer, matches the gradient */
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1); /* Subtle white glow */
    color: #ffffff; /* Bright white on hover */
    border-radius: 8px;
    backdrop-filter: blur(2px); /* Optional: softens the bg subtly */
    transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}


