/* Basic Reset & Body Styling for index.html*/
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.0;
    color: #aeaec9;
    background-color: #0c0818; /* A fixed, deep background color */
    background-attachment: fixed;
    /* Remove the background-image and transition here; it's now on the main element */
}

ul {
        list-style-type: none; /* Removes the bullet points */
        padding-left: 20px;   /* Adds indentation to the left of the list */
        margin-top: 5px;      /* Adjusts space above the list if needed */
        margin-bottom: 5px;   /* Adjusts space below the list if needed */
    }

/* Header Styling */
header {
    background-color: #333;
    color: #ffffff;
    padding: 1rem 0;
    text-align: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

header h1 {
    margin: 0;
    padding-bottom: 10px;
}

/* Navigation Styling */
nav ul {
    list-style: none;
    padding: 2.0;
    margin: 2.0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

nav ul li a:hover {
    background-color: #555;
}

.underline-on-hover {
    border-bottom: 2px solid transparent; /* Transparent border initially */
    transition: border-bottom 0.3s ease-in-out; /* Smooth transition for the border */
}

.underline-on-hover:hover {
    border-bottom-color: rgb(184, 184, 202); /* Make the border visible on hover */
}

/* Main Content Styling */
main {
    padding: 20px;
    max-width: 960px;
    margin: 20px auto;
    background-color: #0e0630;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 20px;
    background-color: #202e0c;
    border-radius: 8px;
    margin-bottom: 20px;
}

.hero h2 {
    color: #71c774;
    margin-bottom: 15px;
}

.hero p {
    text-align: left;
    color:#f9f9f9;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.hero button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/*.hero button:hover {
 *    background-color: #45a049;
 *    transform: translateY(-2px);
 *}
 */

/* Features Section */
.quotes-header {
    text-align: center;
    margin-bottom: 20px; /* Add some space between the heading and the quotes */
    font-family: 'Dancing Script', cursive; /* Use a cursive font like the image */
    font-size: 3em; /* Significantly larger font size for the quote */
}

.features {
    padding: 50px 0; /* Keep the padding */
    text-align: center; /* Center the quotes-header and quotes-grid */
}

/* New container for the quotes */
.quotes-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px; /* Use a larger gap to match the image spacing */
    margin-top: 50px; /* Add space between the heading and the quotes */
    padding: 0 20px; /* Add horizontal padding to prevent quotes from touching the screen edges */
}

/* Individual quote items */
.feature-item {
    background-color: transparent;
    color: #fff;
    padding: 0; /* Remove padding from the item itself */
    box-shadow: none;
    flex: 1 1 48%; /* Each item takes up roughly half the width */
    text-align: center;
    border: none;
}

.feature-item h4 {
    color: #fff;
    margin: 0; /* Remove default margin */
    font-family: 'Dancing Script', cursive;
    font-size: 2em;
    font-weight: normal;
    padding-bottom: 20px;
}

.feature-item p {
    color: #fff;
    margin: 0; /* Remove default margin */
    font-family: 'Dancing Script', cursive;
    font-size: 1.2em;
    font-style: normal;
    text-align: right;
    padding-right: 50px;
}

/* Basic Reset & Body Styling for relatedClasses.html*/
.class-header {
    text-align: left;
    margin-bottom: 20px; /* Add some space between the heading and the content */
    font-family: 'Dancing Script', cursive; /* Use a cursive font like the image */
    font-size: 2em; /* Significantly larger font size for the quote */
}

.class-content {
    /* Flexbox properties for the side-by-side layout */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px; /* Space between the text and image */

    /* The rest of the styling you want */
    background-color: #1a1a2e;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    line-height: 1.5em;
    font-size: 1.5em;
}

/*.class-content {
/*    display: flex; /* This makes the children lay out in a row */
/*    align-items: center; /* This centers the items vertically */
/*    justify-content: space-between; /* This pushes the text to the left and the image to the right */
/*    gap: 40px; /* Adds space between the text and the image */
/*    padding: 50px 0;
/*}*/

/* Container for the text content */
.text-container {
    flex: 1; /* This makes the container take up 1 unit of available space */
}

/* Container for the image */
.image-container {
    flex: 1; /* This makes the container take up 1 unit of available space, creating a 50/50 split */
    text-align: right; /* Aligns the image to the right within its container */
}

/* Styles for the image itself */
.image-container img {
    max-width: 100%; /* Ensures the image doesn't overflow its container */
    height: auto; /* Maintains the image's aspect ratio */
    border-radius: 10px; /* Optional: Adds rounded corners to the image */
}

.related-classes-exception {
    font-size: 0.6em; /* Smaller font size for the exception note */
    color: #ccc; /* Lighter color for less emphasis */
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin-top: -15px; /* Adjust margin to bring it closer to the heading */
    line-height: 1.5em;
    font-size: 1.5em;
}

.fixed-size-image {
    width: 250px;  /* Set a fixed width */
    height: 250px; /* Set a fixed height */
    
    /* Control how the image resizes to fit the box */
    object-fit: cover;
    
    /* Optional: Other styles */
    border-radius: 10px;
}

/* Basic Reset & Body Styling for ProjectsExperienceExtracurriculars.html*/
.experience-header {
    text-align: left;
    margin-bottom: 20px; /* Add some space between the heading and the content */
    font-family: 'Dancing Script', cursive; /* Use a cursive font like the image */
    font-size: 2em; /* Significantly larger font size for the quote */
}

.experience-content {
    background-color: #1a1a2e; /* Dark background for contrast */
    color: #fff; /* White text for readability */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    line-height: 1.5em;
    font-size: 1.5em;
}

/* Footer Styling */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Responsive Design (Basic) */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 5px 0;
    }

    .features {
        flex-direction: column;
        align-items: center;
    }

    .feature-item {
        width: 90%;
    }
}

/* Main Content Styling */
main {
    padding: 20px;
/*    max-width: 960px; */
    max-width: 1800px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);

    /* Set the initial gradient for the main container */
    background-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0.5));
    transition: background-image 0.5s ease-out;

    /* Make the container very tall to enable the scroll effect */
    min-height: 200vh;
}