:root {
    --primary-bg-color: #5D3778;
    --secondary-bg-color: rgba(96,167,215,0.4);
    --row-bg-color: #D26EBF;
    --font-main: #60A7d7;
    --hover-color: #7052D4;
    --background-gradient: linear-gradient(
        to bottom,
        rgba(96,167,215,0) 0%,
        rgba(96,167,215,0.8) 100%
    );
}
html, body {
     height: 100%
}
/* General typography and body */
body {
    font-family: 'Raleway', sans-serif;
    background-color: #f8f9fa;  
    color: var(--row-bg-color);
    display:flex;
    flex-direction: column;
   
}

/* Main heading */
.site-heading {
    background-color: var(--primary-bg-color);
    padding: 20px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Container padding */
.container {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Center main container vertically */
.main-flex {
    flex: 1;                    /* take up available space */
    display: flex;
    align-items: center;        /* vertical center */
    justify-content: center;    /* horizontal center if needed */
}
#final h1{
    color: var(--primary-bg-color);
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    /* fill color */
    -webkit-text-stroke: 1px black;
    /* width + stroke color */
}
/* Student button grid */
#final .btn {
    border: none;
    border-radius: 0.5rem;
    background-color: var(--row-bg-color);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease;
}

#final .btn:hover {
    background-color: #9be971;
    color: black;
    text-decoration: none;
}

/* Card styling */
.bg-faded {
    /* semi-transparent base color + gradient on top */
    background-color: rgba(255, 255, 255, 0.5);
    background-image: var(--background-gradient);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}

/* Heading inside the card */
.bg-faded h1 {
    font-weight: 700;
}

footer {
    margin-top:auto;
    background-color: #1e3d8d;
     box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}