* {
  background-color: #FAFAFA;
}

/*Nav bar */

nav {
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 0.5rem;;
  box-shadow: 1px 1px 1px #979797;
}

nav a {
  text-transform: uppercase;
  color: black;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
}

.nav-button {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

@media (min-width:25.5em) {
  .nav-button {
    margin-top: 0rem;
  }
}

.grid-col-1of4 {
  background-color: inherit;
}




/*spacing between sections */
.one-section {
  margin-bottom: 3rem;
}

@media (min-width: 30rem) {
  .one-section {
    margin-bottom: 5rem;
  }
}

.grid-col-1of2 {
  margin-bottom: 1.5rem;
}

.grid-col-1of3 {
  margin-bottom: 1.5rem;
}

.grid-col-2of3 {
  margin-bottom: 1.5rem;
}

.second-graph {
  margin-top: 3rem;
}

.second-paragraph {
  margin-top: 1rem;
}

figure {
  margin: 0;
}



/*header*/
#page-title {
  text-align: center;
}

h1 {
  font-family: 'Nunito', Helvetica, sans-serif;
  font-weight: bold;
  font-size: 2.5rem;
  color: #4A4A4A;
  text-transform: uppercase;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

@media (min-width:30rem) {
  h1 {
    font-size: 3rem;
    margin-top: 3rem;
  }
}

h2 {
  font-family: 'Nunito', Helvetica, sans-serif;
  font-size: 1.7rem;
  margin: 0;
  margin-bottom: 1.5rem;
  color: #4A4A4A;
  text-transform: capitalize;
}

@media (min-width:30rem) {
  h2 {
    font-size: 2rem;
  }
}

h2#subheader {
  font-size: 1.2rem;
}

h3 {
  font-family: 'Nunito', Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1.2rem;
  color: #4A4A4A;
}





/*paragraph*/
p {
  font-family: 'Nunito', Helvetica, sans-serif;
  line-height: 1.5;
  margin:0;
  margin-bottom: 1rem;
}

em {
  font-weight: bold;
  font-style: normal;
}

figcaption {
  font-family: 'Nunito', Helvetica, sans-serif;
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
  margin-top: 0.5rem;
}



/*list*/
li {
  font-family: 'Nunito', Helvetica, sans-serif;
  line-height: 1.5;
}



/*Button*/
div.button a{
  padding: 1em;
  background-color: #5F709C ;
  text-decoration: none;
  color: white;
  box-shadow: 2px 2px 4px #BBBBBB;
  display: inline-block;
}

div.button a:hover {
  background-color: #71AB66;
}

a {
  font-family: 'Nunito', Helvetica, sans-serif;
}

div.button {
  margin-top: 2em;
}

div#button-header {
  text-align: center;
}




/*Anchor links */

a {
  text-decoration: none;
  font-family: 'Nunito', Helvetica, sans-serif;
  color: black;
  font-size: 1rem;
}

.icon-button a {
  text-decoration: underline;
  color: #68975E;
  font-weight:bold;
}

.icon-button a:hover {
  text-decoration: underline;
  color: #68975E;
}

.icon-button-right a:hover {
  text-decoration: underline;
  color: #68975E;
}


/*footer*/
.footer {
   left: 0;
   bottom: 0;
   width: 100%;
   background-color: #DADADA;
   color: black;
   text-align: center;
}
