/*
-------------------
Rules For Page
-------------------
*/

@import url('https://fonts.googleapis.com/css2?family=Spectral+SC:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Spectral&display=swap');
* {
    box-sizing: border-box;
    margin: 0px;
    font-family: 'Spectral', serif;
    font-size: 1.05em;
    scroll-behavior: smooth;
}
.c {
    vertical-align: 4px;
    font-size: .9em;
}

/*
-------------------
Header Section
-------------------
*/
.main-header {
    position:fixed;
    top:0;
    height:115px;
    padding:10px;
    width:100%;
    display:flex;
    color: #CA9008;
    background-color: rgb(25, 59, 112);
}
/* Left Box */
.logo-square {
    font-size: .7em;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    font-family: 'Spectral SC', serif;
}
.nav-logo {
    width: 50px;
    padding-bottom:5px;
}
.logo-square h1 a{
    font-family: 'Spectral SC', serif;
    font-size:1.1em;
    color:#CA9008;
    text-decoration: none;
}

/* Right Box */
nav{
    display:flex;
    align-items: center;
    flex-grow:1;
}
.main-nav span {
    display: flex;
    flex-grow:1;
    justify-content: center;
    flex-wrap:wrap;
    padding:0,5%;
    font-size: 1.2em;
}
.nav-link a{
    text-decoration: none;
}
.main-nav a {
    font-family: 'Spectral SC', serif;
    color: #CA9008;
}
.nav-link a:hover {
    text-decoration: underline;
}
/* Bottom Bar */
.header-line {
    width:100%;
    height:3px;
    background-color: #f0f0f0;
    position:fixed;
}

/*
-------------------
The Big Photo
-------------------
*/
.banner-block {
    width: 100%;
    height: 550px;
    background-image: url("/images/big_photo.jpg");
    background-position: center;
    background-size:cover;
    margin-bottom:50px;
}

.masonic-banner-block {
    width: 100%;
    height: 550px;
    background-image: url("/images/masonic_photo.png");
    background-position: center;
    background-size:cover;
    margin-bottom:50px;
}

/*
-------------------
General Formatting
-------------------
*/

/* Buffer for nav and bg-color */
body {
    background-color: #f0f0f0;
    margin-top:115px;
}

/* Blocks */
.block {
    padding-top:110px;
    margin-top:-110px;
    margin-bottom:100px;
}

/* Page Header Formatting */
.page-header {
    text-align: center;
    text-decoration: none;
    font-family: 'Spectral SC', serif;
    font-size: 3em;
    margin-bottom:5%;
}

/* Section Header Formatting */
.section-header {
    text-align: center;
    text-decoration: none;
    font-family: 'Spectral SC', serif;
    font-size: 2em;
}

/* Containers */
.container {
    margin:0 auto;
    padding:20px;
    max-width: 1200px;
}

.flex-container { /* note I unflexed this cause it was being weird */
    margin:0 auto;
    flex-basis: 100%;
    padding:20px;
    max-width: 1200px;
}

/* h3 titles */
h3 {
    text-align: center;
    font-family: 'Spectral SC', serif;
    text-decoration: underline;
    font-size:1.2em;
}

/* include page breaks after the paragraphs*/
p {
    padding-bottom: 1em;
}

/*
-------------------
About
-------------------
*/

/*
-------------------
Services
-------------------
*/
.mainpage-consultation, .mainpage-publishing {
    padding: .5em;
}

.services-photos {
    display:block;
    margin:30px auto;
    width: 150px;
    height:150px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
}

/*
-------------------
Featured
-------------------
*/
.featured-photo {
    display:block;
    margin-left: auto;
    margin-right:auto;
    margin-bottom:20px;
    width: 45%;
    max-width:400px;
}
.featured-photo-georgia {
    display:block;
    margin-left: auto;
    margin-right:auto;
    margin-bottom:20px;
    width: 60%;
    max-width:1000px;
}
.featured-text-block {
    margin:1em;
}

.bold {
    font-weight: bold;
}

/*
-------------------
Footer
-------------------
*/
.footer-container {
    display:flex;
    background-color: rgb(150, 144, 144);
}

/* Quick Links */
.footer-nav {
    margin-left: 20px;
}

.footer-nav .nav-link a {
    color:black;
}
/* Positioning the facebook logo */
.facebook-box {
    margin-right : 20px;
    margin-top: auto;
    margin-bottom: auto;
}
.facebook-rectangle {
    border-radius: 5%;
    height:80px;
}