body {
    font-family: "Arial", sans-serif;
    font-size: 15.5px;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #A9CAEC;
    /*background-color: #C2B8B6;*/ /*This is the gray in the main body*/
    /*background: linear-gradient(to bottom, #E6F0FA, #FAFAFA);*/ /* gradient from light blue to off-white */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure body takes up at least the full height of the viewport */

}

.page-container {
    flex: 1; /* Allows the container to grow and take up available space */
    display: flex;
    flex-direction: column;
    min-height: 0; /* Ensures the container can shrink below its content size if necessary */
}

header {
    background: linear-gradient(to right, #003CA0, #0072FF); /* Gradient from a darker to lighter shade */
    color: #fff;
    padding: 25px 30px; /* Increased vertical and horizontal padding */
    text-align: left;
    font-size: 20px; /* Increased the font size slightly */
    font-weight: bold; /* Making the text bold */
    letter-spacing: 0.5px; /* Adding slight letter spacing for clarity */
    font-style: italic;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Subtle box shadow for depth */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* Text shadow for text depth */
}

.top-nav {
    background: linear-gradient(to right, #003CA0, #0072FF); /* Gradient from a darker to lighter shade */
    padding: 10px;
    text-align: right;
}

.top-nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #fff;
}

.main-container {
    display: flex;
    flex-direction: row;
    flex: 1 0 auto; /* Allows the main content to grow */
}

/* Bellow is my white container*/

.nav-container {
    background-color: #ffffff;
    padding: 10px; 
    margin: 20px;
    flex-grow: 1;
    width: 90%;
    min-height: 50vh;
}

nav a {  /* very similar to doing my nav container*/
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
    color: #005EC8;
}

footer {
    width: 100%;
    padding: 20px;
    background-color: #000000; /*black blackground*/
    color: #FFFFFF; /* white font*/
    text-align: center;
    flex-shrink: 0; /* Ensures the footer doesn't shrink */
    font-size: 13px; 
}

/* Custom styles for the ABCDE heading */
h2.heading-2 {
    color: #000000; 
    text-decoration: underline;
    font-family: 'Arial', sans-serif;
    font-weight: bold;  /* Increase the font weight */
    font-size: 24px;  /* Adjust the font size */
    letter-spacing: 0.5px;  /* Add subtle letter spacing */
    background-color: #CCCCCC;
    /*background-color: #C2B8B6;*/
    display: inline-block;
    padding: 6px 8px;  /* Adjusted padding for balance */
    border-radius: 5px;  /* Slightly larger radius */
    text-align: left;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.1);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);  /* Added text-shadow */
    margin-bottom: 10px;  /* Rounded the value */
    transition: color 0.3s ease, background-color 0.3s ease;  /* Smooth color transitions */

    /* Hover effect */
    &:hover {
        color: #333333;  /* Dark gray text on hover */
        background-color: #AFA7A5;  /* A slightly darker shade on hover */
    }
}







h4.heading-4 {
    color: #000000; 
    text-decoration: underline;
    font-family: 'Arial', sans-serif;
    font-weight: semi-bold;  /* Adjusted the font weight */
    font-size: 18px;  /* Adjusted the font size */
    letter-spacing: 0.4px;  /* Add subtle letter spacing */
    background-color: #CCCCCC;
    display: inline-block;
    padding: 5px 7px;  /* Adjusted padding for balance */
    border-radius: 3px;  /* Slightly larger radius */
    text-align: left;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.1);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.08);  /* Slightly lighter text-shadow */
    margin-bottom: 8px;  /* Rounded the value */
    transition: color 0.25s ease, background-color 0.25s ease;  /* Slightly faster transition than h2 */

    /* Hover effect */
    &:hover {
        color: #333333;  /* Dark gray text on hover */
        background-color: #B0A9A7;  /* A slightly darker shade on hover */
    }
}
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Aspect ratio for 16:9 videos */
    padding-top: 30px; /* . */
    height: 0;
    overflow: hidden;
    background-color: #B0A9A7; /* hopefully dark gray */
    
    border-radius: 25px; /* Optional: Rounds the corners of the div */

    margin-left: 40px; /* Space on the left */
    margin-right: 40px; /* Space on the right */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.myLine { /* This is just to draw a line */
        margin-bottom: 30px;
        border-bottom: 2px solid black;
        padding: 10px; 
}




.nav-item:hover {
    background-color: #e0e0e0;  /* Slightly darker gray when hovered */
}

.nav-item a {
    text-decoration: none;  /* Remove underline from the links */
    color: black;           /* Text color for the links */
    font-weight: bold;      /* Bold text for better visibility */
}


.nav-item {
   
    background-color: #f2f2f2;  /* Light gray background */
    border: 1px solid #ccc;     /* Border around the box */
    border-radius: 8px;         /* Rounded corners */
    padding: 20px 20px;         /* Vertical and horizontal padding */
    margin: 0 10px;             /* Spacing between the boxes */
    text-align: center;         /* Center the text inside the box */
    transition: background-color 0.3s ease;  /* Smooth background color change */
    margin-bottom: 25px;
}

a .nav-item { /* this is for the options abcde, pharmacology and the other options in index, as i moved <a> tag outside of the <div> */
    color: black;  /* Set text color to black */
    text-decoration: none;  /* Remove any underline from the link */
}

nav a:first-child .nav-item {
    margin-top: 30px;  /* Add space before the first option */
}

/*This is to show and hide answers, any element with id="answer" will be initially hidden*/
                 
                    #answer {
                        display: none;
                    }
/* --------------------------------------------------------------------------------------*/                 
.pale-blue-background {
    background-color: #e6f7ff; /* This is a very pale blue color */
    padding: 10px; /* space */
    border-radius: 35px; /* Rounds the corners of the div */
    display: inline-block;
}
/* ----------------------------------------------------------------------------------------*/