@font-face {
    font-family: 'BondieRounded';
    src: url('fonts/BondieRoundedDemoRegular-G33qA.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Faddish';
    src: url('./fonts/Faddish-MAl6Y.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Tye-Paloon';
    src: url('./fonts/TyePaloon-m12m.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.year-font {
font-family: 'Roboto Condensed', sans-serif;
}


body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    border: 8px solid #dfc9aa;
    min-height: 100vh; 
    margin: 0;
}

.title-banner {
    background-color: #f1dad3;
    padding: 20px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 40px auto;
}

.title-main {
    font-family: 'Faddish', Arial, sans-serif;
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #fff;
    text-align: center;
}

.teaching-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.teaching-role {
    font-family: 'BondieRounded', Arial, sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: inline-block;
    border-bottom: 2px solid #dfc9aa;
    padding-bottom: 5px; /* Adds a small gap between the text and the line */
}

.teaching-list {
    list-style-type: disc;
    font-family: 'Tye-Paloon', sans-serif;
    color: #333;
    line-height: 1.6;
    font-size: 0.88rem;
    padding-left: 20px;
    margin-bottom: 20px;
}

.teaching-list li {
    margin-bottom: 10px;
}

.syllabus-links {
    margin-top: 30px;
    font-size: 1rem;
}

.syllabus-links a {
    display: block;
    font-family: 'BondieRounded', Arial, sans-serif;
    color: #dfc9aa;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 1rem;
}

.syllabus-links a:hover {
    text-decoration: underline;
}

.back-button {
    position: fixed;
    top: 20px;
    left: 20px; /* Changed from 'right' to 'left' */
    z-index: 1000;
    text-decoration: none; /* Removes the default underline from the link */
    color: #333; /* Sets the text color */
    display: flex; /* Enables Flexbox for easy alignment */
    flex-direction: column; /* Stacks the child elements vertically */
    align-items: center; /* Centers the image and text horizontally */
    font-family: 'BondieRounded', sans-serif;
    font-size: 1rem;
    font-weight: bold;
}

.back-button img {
    width: 50px;
    height: auto;
    cursor: pointer;
    margin-bottom: 5px; /* Adds a small gap between the image and the text */
}

.back-button:hover {
    color: #dfc9aa; /* Changes the text color on hover */
}

.teaching-intro {
    font-family: 'Tye-Paloon', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}