/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600&family=Source+Serif+Pro:wght@400;600&display=swap');

/* Reset default margins and paddings */
html {
    margin: 0;
    padding: 0;
    width: 100%;
}

main {
    width: 100%;
    margin-left: 20px auto;
    margin-right: 30px;
}

/* Styles for h1, h2, and p elements */
h1 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    margin: 20px 0 10px 10px;  /* top, right, bottom, left */
    font-size: 3em;
}

h2 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    margin: 20px 0 10px 20px;
    font-size: 2.5em;
}

h3 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    margin: 20px 0 10px 30px;
    font-size: 2em;
}

h4 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    margin: 20px 0 10px 30px;
    font-size: 1.5em;
}

p {
    font-family: 'Source Serif Pro', serif;
    font-weight: 400;
    margin: 0px 0px 0px 30px;
    line-height: 1.5;
    margin-bottom: 0.8em; /* Add half a line height of space at the bottom of each paragraph */
}

/* Styles for ordered and unordered lists */
ol, ul {
    font-family: 'Source Serif Pro', serif;
    font-weight: 400;
    margin: 10px 20px; /* top and bottom, left and right */
    line-height: 1.6;
}

/* Styles for completiontime class */
.completiontime {
    font-style: italic;
}

dl {
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0;
    padding: 0;
}

dt {
    font-family: 'Source Serif Pro', serif;
    margin-left: 40px; /* Indent the dt */
    font-weight: bold; /* Make text inside dt bold */
}

dd {
    font-family: 'Source Serif Pro', serif;
    line-height: 1.5;
    margin-left: 40px; /* Add indentation for dd */
    margin-bottom: 10px; /* Space between dd items */
}

.flow-diagram {
    width: 80%; /* 80% of the page width */
    margin: 0 auto;
    text-align: center;
}

.flow-box {
    width: 100%;
    padding: 4px 15px; /* Reduced padding for a smaller box */
    margin: 5px 0; /* Reduced margin to make the layout more compact */
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Ensures padding is included in width */
    font-family: 'Source Serif Pro', serif;
    font-weight: 400;
    line-height: 1.6;
}

.arrow {
    width: 0; 
    height: 0; 
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid #000;
    margin: 0px auto; /* Reduced margin for smaller arrows */
}

/* Callout Block Styles */
.callout {
    background-color: #f0f0f0;
    border-left: 5px solid #333;
    padding: 10px;
    margin: 20px 0;
    display: flex;
    align-items: center;
}

.callout-icon {
    font-size: 1.5em;
    margin-right: 10px;
    align-self: flex-start; /* Align the icon at the top of the callout box */
}

.callout-title {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: bold;
    margin-right: 10px;
}

.callout p {
    font-family: 'Source Serif Pro', serif;
    margin: 0;
    font-size: 1em;
}

em {
    font-style: normal;
    font-weight: bold;
}
/* Center all images */
img {
    display: block;
    margin: 0 auto;
}

figcaption {
    text-align: center;
    font-family: 'Source Sans Pro', sans-serif;
    color: #333; /* Dark grey color */
    margin-top: 10px; /* Space between image and caption */
}

.learning-outcomes {
    width: 80%;
    border-collapse: collapse;
    background-color: #E1F4F8;
    border-left: 5px solid #9ADBE8;
    padding: 8px; /* Add padding for better readability */
}

blockquote {
    margin: 1.5em auto;
    padding: 1em;
    width: 80%;
    background-color: #F6F2FA; /* 5% tint of Deep Violet */
    border-left: 5px solid #440099; /* Deep Violet */
    font-style: italic;
    color: #131E29; /* Midnight Black */
}

table {
    border-collapse: collapse;
    margin: 0 auto; /* Centers the table on the page */
    width: 80%; /* Optional: Adjust width as needed */
}

th{
    border: 1px solid black; /* Single-line borders */
    padding: 10px;
    text-align: left; /* Adjust alignment as needed */
    background-color: #DACCEB; /* Light background color for header row */
}

td {
    border: 1px solid black; /* Single-line borders */
    padding: 10px;
    text-align: left; /* Adjust alignment as needed */
}

.project-photo {
    width: 600px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}