body {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    background-color: #F3F1F7;
    margin: 0;
    padding: 0.5%;
}

/* Styling for header content of the page */

.page-header {
    background-color: #F3F1F7;
    width: 98%;
    margin: 0;
    padding: 0;
}

.page-header div {
    margin: 0;
    padding: 0px;
}

.logo {
    padding: 10px;
    width: 70%;
    float: left;
    margin: 5px;
}

.button {
    padding: 0;
    width: 28%;
    display: flex;
    justify-content: flex-end
}

.button button {
    background: none;
    outline: none;
}

.button .contact-scs {
    background-color: #293950;
    color: #7397C5;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 13px;
    cursor: pointer;
    border: 1px solid #7397C5;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
    margin-top: 40px;
    
}

.contact-scs:hover {
    background-color: #293950;
}

.contact-scs:active {
  background-color: #293950;
  box-shadow: 0 5px #00367C;
  transform: translateY(4px);
}

.navigation {
    padding: 20px;
    width: 93.5%;
    float: left;
    margin-right: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: #7397C5;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: bolder;
}

.navigation ul {
    display: flex;
    color: #7397C5;
    background-color: #293950;
    order: 2;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 5px;
}

.navigation ul li:not(:last-child) {
    padding-right: 50px;
}

ul {
    list-style: none;
    padding-left: 25px;
}

a {
  text-decoration: none;
}

a:link, a:visited {
    text-decoration: none;
    color: #7397C5;
}

a:hover, a:active {
    background-color: #F3F1F7;
}

/* Styling for main content of the page */

.page-main div {
    background-color: #F3F1F7;
    display: flex;
    justify-content: center;
    width: 98%;
    margin: 0;
    padding: 0;
}

.main-img #topImg {
    width: 100%;
    height: auto;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: 0;
    border-radius: 5px;
}

.page-main h1 {
    display: flex;
    margin-bottom: 3.5%;
    font-family: 'Playfair Display', serif;
    background-color: #F3F1F7;
    text-align: center;
    color: #00367C;
    align-content: center;
    align-items: center;
}

/* Style rules to place three images next to each other and make them all same size. 
Responsive design - images change size depending on size of screen */

.image_container {
    width: 95%;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin-bottom: 2%;
}

.image-container img {
    width: 30%;
    height: auto;
    display: inline-flex;
    justify-content: space-between;
    border-radius: 5px;
    text-align: center;
    margin-left: 2%;
    margin-bottom: 2%;
}

.img1 {
    flex: calc(1296/928);
}
.img2 {
    flex: calc(1280/846);
}
.img3 {
    flex: calc(1440/960);
}

.middle-container {
    width: 98%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.middle1 {
    width: auto;
    height: auto;
    margin: 0;
    padding-right: 3%;    
    overflow: hidden;
    justify-content: center;
    align-items: center;
    background-color: #F3F1F7;
    color: #00367C;
}
.middle1 h2 {
    display: flex;
    margin-top: 5%;
    font-family: 'Playfair Display', serif;
    color: #00367C;
    font-size: 1.6em;
    vertical-align: middle;
    text-align: center;
}
.middle2 img {
    margin-right: 5%;
    padding-right: 5%;
}
.middle3 ul {
    margin-top: 5%;
    list-style-type: none;
    font-family: 'Montserrat', sans-serif;
    color: #00367C;
    font-size: 1.2em;
    line-height: 1.6;
    vertical-align: middle;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.bottom h3 {
    font-family: 'Playfair Display', serif;
    color: #00367C;
    font-size: 1.3em;
}

/* FOOTER */
.page-footer {
    display: flex;
    width: 100%;
    flex-grow: 1;
    flex-direction: row;
    justify-content: space-between;
    align-content: center;
    flex-wrap: wrap;
    background-color: #293950;
    color: #7397C5;
    
}

.page-footer #frow1 {
    width: 20%;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 3%;
    /*margin-top: 1%;*/
    border: none;
    text-align: left;
}

.page-footer #frow2 {
    width: 100%;
    margin-left: 2%;
    margin-right: 2%;
    margin-bottom: 1%;
    border: none;
    text-align: center;
}

.page-footer h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.167em;
    text-decoration: underline;
}
.page-footer p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.833em;
}

#sform {
    font-family: 'Playfair Display', serif;
    font-size: 0.917em;
    font-style: italic;
}
.page-footer h5 {
    font-family: 'Playfair Display', serif;
}
.page-footer ul {
  display: flex;
  font-size: .8em;
  margin-bottom: 0.312em;
}

.page-footer ul li:not(:last-child) {
  margin-right: 1.25em;
}


/* The form still needs JavaScript to make it work */ 

input[type=text] {
    width: 90px;
    padding: 0.625em 0.95em;
    color: #7397C5;
    margin-top: 0.3125em;
    box-sizing: border-box;
}
input[type=submit] {
    background-color: #00367C;
    border: none;
    color: #7397C5;
    margin-top: 0.3125em;
    padding: 0.625em 0.95em;
    text-decoration: none;
    cursor: pointer;
}



