:root {
    --primary-color: #3477eb;
    --text-color: darkslategray;
}

* {
    margin: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

p {
    margin-bottom: 10px;
}

/* --------------- Top Ribbon ------------- */
.top-ribbon {
    display: flex;
    flex-direction: row-reverse;
    background-color: var(--primary-color);
    color: white;
    padding: 5px;
}

/* --------------- Navbar ----------------- */
nav {
    padding: 5px;
    min-height: 40px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

nav img {
    margin: auto 3px auto 3px;
    color: var(--text-color);
    width: 30px;
}

nav div.title {
    margin: auto 3px auto 3px;
    color: var(--primary-color);
}

#mobile-menu-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    flex: right;
}

nav ul {
    display: none;
}


#mobile-menu-button {
    margin: auto 3px auto 10px;
}

/* ----------------- Hero Section -------------------- */
.hero {
    /* min-height: 400px; */
}

.hero img {
    width: 100vw;
}

/* ------------------- About Us --------------------- */
.about-us {
    min-height: 100px;
    text-align: justify;
}

.about-us h3 {
    background-color: var(--primary-color);
    color: white;
    padding: 10px;
}

.about-us p {
    padding: 10px;
    color: var(--text-color);
}

/* ------------------- Courses ---------------------- */
.courses {
    display: flex;
    flex-direction: column;
}

.courses h3 {
    color: white;
    text-align: center;
    padding: 10px;
    background-color: var(--primary-color);
}

.course-card {
    min-height: 100px;
    padding: 5px;
    border-radius: 10px;
    background-color: lightgray;
    margin: 10px;
}

.course-card h4 {
    color: var(--primary-color);
    text-align: center;
    margin: 5px;
}

.course-card img {
    width: 100vw;
}

.course-card p {
    padding: 5px;
    color: var(--text-color);
    text-align: justify;
}

/* ------------------- Footer ----------------------- */
footer {
    display: flex;
    flex-direction: column;
    background-color: darkslategrey;
}

footer div.address {
    color: beige;
    padding: 10px;
}

footer div.address span {
    text-indent: 5em hanging;
}

footer div.links {
    color: beige;
    padding: 10px;
}

footer div.links ul {
    list-style: none;
    padding: 5px;
}

footer div.links ul li {}

footer div.links ul a {
    text-decoration: none;
    color: beige;
}

footer div.copyright {
    color: beige;
    padding: 10px;
}

/* ------------------ Enquiry Form ------------------- */
.enquiry-form {
    display: none;
    /* position: fixed; */
    z-index: 10;
}

/* ------------------ General ----------------------- */
.title {
    font-size: medium;
    color: var(--text-color);
}

.center {
    text-align: center;
}

.sub-title {
    font-size: smaller;
    color: beige;
    margin-top: 5px;
}

.italic {
    font-style: italic;
}

.underline {
    text-decoration: underline;
}

/* ------------------ Responsive Design ------------- */
@media screen and (min-width: 600px) {
    nav {
        display: flex;
        flex-direction: row;
    }

    nav ul {
        display: flex;
        flex-direction: row;
        list-style: none;
    }

    nav ul li {
        margin: 0 10px;
    }

    nav ul li a {
        text-decoration: none;
        color: var(--text-color);
        text-decoration: none;
    }

    #mobile-menu-button {
        display: none;
    }
}