/* ========================================
   GENERAL PAGE
   ======================================== */

body {
    margin: 0;

    font-family: "Gill Sans", "Gill Sans MT", sans-serif;

    font-size: 17px;
    line-height: 1.65;

    color: #222;
    background-color: #c7e0c5;
}


/* ========================================
   LINKS
   ======================================== */

a {
    color: #315d8c;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


/* ========================================
   HEADER
   ======================================== */

.site-header {
    background-color: #8bb592;
    border-bottom: 1px solid #97797a;
}

.header-container {
    max-width: 1000px;

    margin: 0 auto;
    padding: 18px 25px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Name in top-left corner */

.site-title a {
    color: #222;
    font-size: 23px;
    font-weight: 600;
    text-decoration: none;
}


/* Navigation */

.navbar {
    display: flex;
    gap: 28px;
}

.navbar a {
    color: #555;
    font-size: 16px;
    text-decoration: none;
}

.navbar a:hover {
    color: #000;
}

.navbar a.active {
    color: #000;
    font-weight: 600;
}


/* ========================================
   MAIN PAGE WIDTH
   ======================================== */

.container {
    max-width: 900px;

    margin: 45px auto;
    padding: 0 25px;
}


/* ========================================
   INTRODUCTION
   ======================================== */

.intro {
    margin-bottom: 40px;
}

.intro h1 {
    margin-bottom: 4px;

    font-size: 42px;
    font-weight: 500;
}

.subtitle {
    margin: 0;

    font-size: 21px;
    color: #555;
}

.institution {
    margin-top: 3px;

    font-size: 17px;
    color: #777;
}


/* ========================================
   TEXT BOXES
   ======================================== */

.content-box {

    background-color: white;

    border: 1px solid #dddddd;
    border-radius: 20px;

    padding: 25px 30px;
    margin-bottom: 25px;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.05);
}


/* Header inside each box */

.content-box h2 {
    margin-top: 0;
    margin-bottom: 15px;

    font-size: 25px;
    font-weight: 500;

    border-bottom: 1px solid #eeeeee;
    padding-bottom: 8px;
}


/* ========================================
   FOOTER
   ======================================== */

footer {
    max-width: 900px;

    margin: 50px auto 30px auto;
    padding: 20px 25px;

    color: #888;
    font-size: 14px;
    text-align: center;
}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 700px) {

    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar {
        margin-top: 12px;
        gap: 18px;

        flex-wrap: wrap;
    }

    .container {
        margin-top: 30px;
    }

    .intro h1 {
        font-size: 34px;
    }

    .content-box {
        padding: 20px;
    }
}
