/*RESET*/

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{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0;}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:none;}table{border-collapse:collapse;border-spacing:0;}




body {
	background: #5c2e39;
	text-align: center;
	color: #ebebeb;
	font-family: "Libre Caslon Text", Palatino, Book Antiqua, serif;
	}

a {color: #999; text-decoration: none;}

a:hover {color: #aaa; text-decoration: none;}

nav, h2, h3, h4, h5 {font-family: Montserrat, sans-serif; line-height: 1.2em; font-weight: bold;
text-transform: uppercase;}

h2 {font-size: 3rem;}

h3 {font-size: 2rem; margin-bottom: 1.2em;}

h4 {font-size: 1.5rem;}

.button {
    display: inline-block;
    padding: 1em 2em;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: #303851;
    color: #ebebeb;
    margin-bottom: 1em;
    line-height: 1.4em;
}
    
    .button:hover {background: #404861;}





header {
	position: fixed;
	top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    padding: 20px 0 0;
    align-items: center;
}

#logo {
    padding: 20px 20px 20px 30px;
    background: #2f3752;
    border-radius: 0 7px 7px 0;}
    
    #logo img {width: 100px;}
    
        #logo img:hover {opacity: 0.85;}

nav {display: flex; padding: 0 20px; background: #2f3752; border-radius: 7px 0 0 7px; align-self: flex-start;
}

nav ul {display: flex;}

nav ul a {display: flex; align-items: center; padding: 20px 15px; color: #ebebeb;}

nav ul a:hover {color: #cbcbcb;}

#menu {
    display: none; 
    padding: 10px;
    margin-right: 20px;
    
}

    #menu:hover {opacity: 0.85;}

    #menu img {width: 35px;}
    
.menu-active #menu-mobile {
    visibility: visible;
    opacity: 1;
}

#menu-mobile {
    visibility: hidden;
    opacity: 0;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 0;
    right: 0;
    overflow: auto;
    text-align: center;
    height: 100%;
    background: rgba(37, 45, 72, .96);
    padding: 30px;
    font-size: 2rem;
    transition: .5s;
    z-index: 9999;
}

#menu-close {
    position: fixed;
    top: 25px;
    right: 25px;
}

#menu-mobile ul {
    margin: 100px 0 0;
    display: block;
}

#menu-mobile ul a {
    display: block;
    padding: 0;
}

    #menu-mobile ul a:hover {
    background: rgba(37, 45, 72, .76);
}

#menu-mobile li {
    float: none;
    display: block;
    border-bottom: 1px #3f4762 solid;
    padding: 1em 0;}


/* BANNER */

#banner {
    background: #e4e1dd;
    background-image: url('http://thekites.com/defer/defer-law-bg-1280.jpg');
    padding: 10rem 0 4em;
    color: #473c36;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

h1 {font-family: "Libre Caslon Display", Paltino, Book Antiqua, serif; font-size: 5rem; text-transform: uppercase;}

h1::after {
	content: "";
	display: block;
	width: 20rem;
	height: 0;
	border-top: 1px solid;
	margin: 3rem auto;
}

#banner h1 img {
    width: 30%;
    min-width: 150px;
}

#banner p {
    font-size: 2.5rem;
    font-family: 'Libre Caslon Display', Palatino, "Book Antiqua", serif;
    font-style: italic;
    line-height: 1.35em;}

/* CONTENT */

#content, footer {
	width: 90%;
	max-width: 900px;
	padding: 5rem 0 0;
	margin: 0 auto;}

#content p {
    font-size: 1.2rem;
    line-height: 1.8em;
    margin: 0 auto 2em;}
    
    #content > p {
        max-width: 90%;
    }

#content hgroup p {
    font-size: 1.5rem;
    text-transform: uppercase;
    font-style: italic;
    color: #999;
    margin: 1rem 0;}
    
.box hgroup::after {
    content: "";
    height: 0;
    display: block;
    border-top: 1px solid #aaa;
    width: 80%;
    margin: 2rem auto 3rem;
}

.box {
	background: #ebebeb;
	color: #333;
	padding: 5rem 6rem;
	outline: #c0c0c0 1px solid;
	outline-offset: -20px;
	margin: 0 0 5em;
}

    .box img {
        max-width: 100%;
        display: block;
        margin: 0 auto;
        height: auto;
    }

    .box ul {
        list-style: disc;
        text-align: left;
        width: 500px;
        margin: 0 auto 2em;
        font-size: 1.2rem;
        line-height: 1.6em;
        max-width: 90%;}
        
        .box ul ul {
            margin-bottom: 0;
            list-style: circle;
}

/* FOOTER */


footer {
	
	padding: 0;
	margin-top: 5rem;
	
}

footer::before {
    content: "";
    height: 0;
    border-top: 1px solid rgba(200, 200, 200, .65);
    display: block;
    width: 55%;
		margin: 0 auto 5em;
}

.box-container {
	
	display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.small-box {

    flex: 0 0 32%;
    box-sizing: border-box;
		padding: 2.5rem 1.5rem 2rem;
		outline-offset: -10px;
		margin: 0;
	
}

.small-box h3 {
	font-size: 1.6rem;
}

.small-box h3::after {
    content: "";
    height: 0;
    display: block;
    border-top: 1px solid #aaa;
    width: 80%;
    margin: 1.2rem auto 2rem;
}

.small-box p {
    line-height: 1.6em;
    margin: 0 0 1em;
}

footer > p {
	text-transform: uppercase;
	margin: 8em 0;
	letter-spacing: 3px;
	line-height: 2em;
}

footer > p > span {
	text-transform: lowercase;
	font-style: italic;
	font-family: Palatino, Georgia, serif;
	font-size: 1.2em;
}





@media (max-width: 899px) {
    
    html {
    font-size: 80%;
}

.button {
    display: block;
    font-size: 1.2rem;
}
    
    header {
    background: #2f3752;
    padding: 0;
}

nav {
    display: none;
}

#menu {
    display: block;
}

#banner {
    margin-top: 72px;
    padding: 4rem 0 3rem;
}

#banner h1 img {
    margin-top: 0px;
}

h1 {font-size: 2.5rem;}

h1:after {
    width: 10rem;
    margin: 2rem auto 1rem;}
    
h2 {font-size: 2rem;}

h3 {font-size: 1.6rem;}
    
#banner p {
    font-size: 1.8rem;}
    
.box {
    padding: 4rem;
    outline-offset: -10px;
}
    
 
 .box-container {display: block;}
 
 .small-box {
    margin: 0 0 5em;
}

    .small-box h3 {font-size: 2rem;}
    
    .small-box p {font-size: 1.2rem;}
    
}


@media (min-width: 1281px) {
    
#banner {
    background-image: url('http://thekites.com/defer/defer-law-bg-1920.jpg');
    padding: 14rem 0 6em;
}

h1 {font-size: 7rem;}

    h1:after {
    width: 25rem;

}