/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	//border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}



/* MY CODE */

@font-face {
  font-family: Sectra;
  src: url('../fonts/GT-Sectra/GT-Sectra-Book.eot');
  src: url('../fonts/GT-Sectra/GT-Sectra-Book.otf') format('embedded-opentype'),
       url('../fonts/GT-Sectra/GT-Sectra-Book.woff2') format('woff2'), 
       url('../fonts/GT-Sectra/GT-Sectra-Book.woff') format('woff'),
       url('../fonts/GT-Sectra/GT-Sectra-Book.ttf')  format('truetype');
}
@font-face{
  font-family: Sectra-Black;
  src: url('../fonts/GT-Sectra/GT-Sectra-Black.eot');
  src: url('../fonts/GT-Sectra/GT-Sectra-Black.otf') format('embedded-opentype'),
       url('../fonts/GT-Sectra/GT-Sectra-Black.woff2') format('woff2'), 
       url('../fonts/GT-Sectra/GT-Sectra-Black.woff') format('woff'),
       url('../fonts/GT-Sectra/GT-Sectra-Black.ttf')  format('truetype');
}

<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,400;0,700;1,400;1,700&display=swap" />

html{
    width: 100%;
    //background-color: #fff7f7;
}


/* Nav */

#logo { 
    float: left;
    display: inline-block;
    width: 45px;
    height: auto;
}


nav {
    width: 100%;
    padding-top: 3em;
    padding-bottom: 2em;
}

.nav {
    float: right;
    list-style: none;
    text-align: left;
    margin: 0;
}
.nav > li {                     
    display:Inline-block;
    padding: 10px 9px 10px 9px;                               /*nav bar text*/
}

 .nav > li a {
    font-family: 'Karla', sans-serif;
    color:#103799;
    font-size: 1.25em;
    text-decoration: none;
    padding: 5px 0px 5px 0px
 }

.nav > li a:hover {
    color: #B6752B;
    transition: 0.25s;
 }


/* Intro */

#sec1 p{
    color: #103799;
    font-size: 1.25em;
}

#sec1{
    width: 70%;
    max-width: 1000px;
    height: 100%;
    margin: auto;

}

#sec1 nav ul li a, h1, h4, p{
    color: #103799;

}

#sec1 nav ul li a:hover{
    color: #B6752B;
    transition:0.25s;

}

.bg-color{
    background-color: #FFE5E1;
}

#icon{
    width: 24px;
    margin-right: 1em;
}



/* Text */

p{
    font-family: 'Karla', sans-serif;
    font-size: 1.25em;
    color: #232323;
    line-height: 1.5em;
    padding-bottom: .5em;
}

ul li{
    font-family: 'Karla', sans-serif;
    font-size: 1.25em;
    color: #232323;
    line-height: 1.5em;
}

#footer{
   color: #103799;
}

#footer:hover{
    color: #B6752B;
    transition: 0.25s;
}

h1{
    font-family: 'Sectra-Black';
    font-size: 3.5em;
    line-height: 1.25em;

}

h2{
    color: #103799;
    font-family: 'Sectra-Black';
    font-size: 2em;
    line-height: 1.25em;
    text-align: left;
}

h3{
    color: #103799;
    font-family: 'Sectra-Black';
    font-size: 1.5em;
    line-height: 1.5em;
    text-align: left;
    padding-bottom: 0.5em;
}

h4{
    font-family: 'Karla', sans-serif;
    font-size: 1em;
    font-weight: 700;
    line-height: 1.5em;
    text-align: left;
    letter-spacing: 0.2em;
    padding-bottom: 1em;
    text-transform: uppercase;
    color: #B6752B;
}


a{
    text-decoration: none;
    color: inherit;
}

.link{
    color: #B6752B;
}

#bold{
    font-family: 'Karla', sans-serif;
    font-weight: 700;
}


/* IMAGES */

img{
    vertical-align: top;
}

.logo{
    height: 3em;
    width: auto;
}

.imgCard{
    width: 100%;
    height: auto;
    //padding-bottom: 1em;
}

#third{
    max-width: 31%;
    max-height: 10%;
}

#hero{
    max-width: 100%;
    padding: 3em 0;
}

#heroSm{
    max-width: 100%;
    padding: 2em 0;
}

#half{
    max-width: 49%;
    max-height: 10%;
}


.border{
    outline: 1px solid #DDDDDD;
}

.imgResizeThird{
    width: 32%;
    height: 32%;
    padding-bottom: 2%;
}

.imgResizeHalf{
    width: 49%;
    height: 49%;
    padding-bottom: 2%;
}

.imgResizeFourth{
    width: 24%;
    height: 24%;
    padding-bottom: 2%;
}

.imgResize{
    margin: auto;
    width: 100%;
    height: 100%;
    padding-bottom: 2%;
}

.page img{
    display: block;
    margin: auto;
}


/* Page */


.body-70{
    width: 70%;
    max-width: 1000px;
    margin: auto;  
}

.page-logo{
    padding-right: 2em;
    padding-bottom: 2em;
    
}

#page-logo{
    height: 4em;
    width: auto;
}

.page-head{
    width: 60%;
    
}

.page{
    width: 100%;
    max-width:  1000px;
    margin:  auto;
}

#inline-img{
    padding: 2em 0;
    text-align: center;
    font-size: .75em;
}

.about{
    background-color: #FFE5E1;
}

.about p{
    color: #103799;
    font-size: 1.5em;
}

.about a{
    color: #B6752B;
}




/* BOXES */

.spacer{
    padding: 2em;
    //border: solid 1px blue;
}


.grid{
    width: 70%;
    max-width: 1000px;
    margin: auto;
    //padding: 0em 0 10em 0;
    //border: solid 1px green;
}

.flex{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.three-col{
    width: 30%;
}

.about-col{
    width: 50%;
}

.three-col a:hover{
    color: #B6752B;
    transition: 0.25s;
}


.card{
    max-width: 48%;
}

#left{
    padding-bottom: 2em;
}

#right{
    padding-top: 5em;
}


/* FOOTER */

.footer{
    color: #103799;
}

/* BUTTON */
button {
    padding: 1em 0;
    cursor: pointer;
    border: none;
    background-color: white;
}

button a h2:hover{
    color: #B6752B;
    transition:0.25s;
}

.aColor a{
    color: #B6752B;
}

.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* MEDIA QUERIES */

@media (max-width: 840px) {
    .card{
        max-width: 100%;
    }
    
    #left{
    padding-bottom: 2em;
    //padding-right: 4%;
    }

    #right{
        padding-bottom: 2em;
        padding-top: 0em;
    }
    
    .nav li a{
        //font-size: 1em;
        //padding-right: .5em;
    }
    
    p{
        font-size: 1.25em;
    }
    #sec1{
        width: 90%
    }
    
    .page{
        width: 100%;
        max-width:  1000px;
        margin:  auto;
    }
    
    .page-head {
    width: 100%;
    }
    
    .page-head p{
    font-size: 18pt;
    }
    
    
    .page-head h2{
        font-size: 2em;
    }
    
    .body-70{
        width: 90%;
    }
    
    .three-col{
        width: 100%;
        flex-direction: column;
    }

    .about-col{
        width: 100%;
        flex-direction: column-reverse;
    }




    
    .footer{
        padding-bottom: 1em;
    }
    
    h4{
        padding-top: 1em;
    }
    
    h1{
        font-size: 2em;
    }
    
    #half{
        max-width: 100%;
    }
    
    .page-logo{
        padding-bottom: 0em;
    }
    
    #logo{
        width: 65px;
    }

    .imgResizeThird{
        width: 100%;
        height: 100%;
        padding-bottom: 2%;
    }

    .imgResizeHalf{
        width: 100%;
        height: 100%;
        padding-bottom: 2%;
    }

    .imgResizeFourth{
        width: 100%;
        height: 100%;
        padding-bottom: 2%;
    }
    
    .grid{
        width: 90%;
    }
}






