body {
  font-family: "Lato", Arial, sans-serif;
  font-size: 10px;
  background-color: hsl(0deg, 0%, 88%);  
}

.container {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
  }
}

/* HEADER STYLING */

#header {
  position: fixed;
  width: 85.5%;
  top: 0;
  display: flex;
  justify-content: space-between;
  background-color: white;
  border-radius: 5px;
  padding: 10px 0;
}

@media (max-width: 600px) {
  #header {   
    width: 97%;
    flex-direction: column;
    align-items: center;
  }
}

.logo {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  font-size: 1.7em;
  padding-left: 20px;
}

@media (max-width: 600px) {
  .logo {    
    flex-direction: row;
    padding-left: 0;
  }
}

#header-img {
  width: 2em;
  margin: 0 10px;  
}

#nav-links {
  width: 40em;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  padding-left: 0px;
  list-style: none;
}

@media (max-width: 600px) {
  #nav-links {    
    flex-direction: column;
    align-items: center;
    border-top: 2px solid darkgray;
    padding-top: 5px;
    margin-bottom: 0px;
  }
}

.nav-link {  
  font-size: 1.5em;
  text-decoration: none;
  color: black;
}

/* CALL TO ACTION AND IFRAME STYLING */

#CTA {
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.7em;
}

@media (max-width: 600px) {
  #CTA {    
    margin-top: 140px;
    text-align: center;
    line-height: 1;
  } 
}

h2 {
  font-size: 1.3em;
}

#form {
  margin-bottom: 10px;
}

.btn {
  font-size: 0.9rem;
  height: 23px;
  background-color: hsl(90, 50%, 50%);
  border-radius: 3px;  
}

.btn:hover {
  background-color: hsl(180, 50%, 50%);
  transition: background-color 1s;
}

iframe {
  max-width: 560px;
  width: 100%;
}

#CTA > p {
  margin-bottom: 0px;
}

/*SECTIONS STYLING*/

#subpages {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  margin: 40px auto;
}

#section-content {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  font-size: 1.5em;
  text-align: center;
  width: 330px;
  height: 280px;
  background-color: white;
  border-radius: 5px;
  padding: 10px;
}

@media (max-width: 600px) {
  #section-content {
    border: 1px solid black;
  }
}

#section-content > img {
  width: auto;
  height: 83px;
  border-radius: 5px;
}

@media (max-width: 600px) {
  #subpages {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 950px;
  }
}

#footer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background-color: white;
  border-radius: 5px;
  font-size: 1.5em;
  padding: 0px 10px 10px;
}

#footer > ul {
  display: flex;
  justify-content: flex-end;
  width: 15em;
  margin-top: 10px;
  list-style: none;
}

#footer > ul > li {
  padding-left: 10px;
}

#footer > ul > li > a {  
  text-decoration: none;
  color: black;
}