/* General setup */

* {
    box-sizing: border-box;
}

html {
    font-size:16px;
}

body {
    margin: 1.5rem auto;
    width:90%;
    min-width:56.25rem;
}

/* Layout */

main {
    overflow:auto;
    min-width:45rem;
    
}

section {
    float: left;
    min-width: 22.5rem;
    width:50%;
}

figure {
    width:60%;
    margin:0 10% 0 0;
    float:left;
}

figure img {
    width:100%;
    max-width:25rem;
}

figcaption {
    margin:.375rem 0;
}

.long-list {
    margin-top:0;
}

nav {
    float: left;
    width:11.25rem;
}

footer {
    clear: both;
    margin-top:1.5rem;
}

section, aside, nav, footer {
  padding: .5rem;
}

/* header and footer */

header, footer {
  border-top: .125rem solid #33658A;
  border-bottom: .125rem solid #33658A;
}

/* ------ START WRITING YOUR CODE BELOW THIS LINE ------ */

/* NO changes should be made to any of the code above. */

/* NOTE: While you will be using some of the same CSS properties, the VALUES 
   may need to be different in order to style the page correctly. */



/* Imported Typfaces */

@font-face{

    font-family: josefinslab-regular;
    src: url(../fonts/josefinslab-regular.ttf) format('truetype');
    font-weight:normal;
    font-style:normal;
}

@font-face{

    font-family: montserrat-regular;
    src: url(../fonts/montserrat-regular.ttf) format('truetype');
    font-weight:normal;
    font-style:normal;
}



/* Typography Styles */

html {
    font-family: montserrat-regular, Arial, Helvetica, sans-serif;
}

h1 {
    font-size: 3.75rem;
    letter-spacing: .125rem;
    text-align: center;
    margin: 1.125;
    font-family: josefinslab-regular, Georgia, 'Times New Roman', Times, serif
}

h2 {
    font-size: 1.5rem;
    letter-spacing: .125rem;
    font-family: josefinslab-regular, Georgia, 'Times New Roman', Times, serif
}

h2 + p {
    font-size: .75rem;
    letter-spacing: .031rem;
    word-spacing: .125rem;
    text-indent: 1.5rem;
    font-family: josefinslab-regular, Georgia, 'Times New Roman', Times, serif
}

p {
    font-size: .75rem;
    letter-spacing: .031rem;
    word-spacing: .125rem;
}

li {font-size: .75rem;
    letter-spacing: .031rem;
    word-spacing: .125rem;
    
}

figcaption {
    font-size: .75rem;
    margin-bottom: 2rem;
    
}

/* Link Styling */

a {
    text-decoration: none;
}

a:link,
a:visited {
    color:#33658A;
}

a:focus,
a:hover {
    text-decoration: none;
}


/* List Styling */

ul {
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-left: 0rem;
    margin-right: 0rem;
    list-style-type: square;
}

ol {
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-left: 0rem;
    margin-right: 0rem;
    list-style-type: lowercase;
}

.long-list a:hover {
    text-transform: uppercase;
}

/* Navigation Menu */

nav {
    padding-left: 0rem;
    margin-top: .25rem;
}

nav a {
    text-decoration: none;
    display:inline-block;
    width: 100%;
    line-height: 3;
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    border-style: solid;
    border-width: .63rem;
    border-color: #33658A;
}

nav a:focus,
nav a:hover {
    color: #FFF;
    background-color:#33658A;
}

nav a:active {
    color: #FFF;
    background-color: #33658A;
}

/* Footer Styles */

footer {
    text-align: center;
}




