.mainfont {
  font-size: 4rem;
  color: #353531;
}
/* 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;
}
html {
  padding: 2%;
  background-color: peachpuff;
  max-width: 100%;
  font-size: 62.5%;
  font-family: Comic Sans MS, Comic Sans, cursive;
}
.introduction {
  text-align: center;
  padding-top: 3%;
  line-height: 1.6;
}
.introduction h1 {
  font-size: 3rem;
}
.introduction h5 {
  font-size: 1.8rem;
}
.photos {
  width: 30%;
  border-radius: 20px;
}
@media (max-width: 500px) {
  .photos {
    width: 100%;
  }
}
.content1 {
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
  align-items: center;
  margin-top: 8%;
}
@media (max-width: 500px) {
  .content1 {
    flex-direction: column;
  }
}
.content1 p {
  width: 20%;
  font-size: 1.5rem;
  line-height: 1.4;
}
@media (max-width: 500px) {
  .content1 p {
    width: 100%;
    padding-bottom: 5%;
  }
}
.content2 {
  display: flex;
  justify-content: space-evenly;
  flex-direction: row-reverse;
  align-items: center;
  margin-top: 8%;
  padding-bottom: 8%;
  border-bottom: 3px dashed #353531;
}
@media (max-width: 500px) {
  .content2 {
    flex-direction: column;
  }
}
.content2 p {
  width: 20%;
  font-size: 1.5rem;
  line-height: 1.4;
}
@media (max-width: 500px) {
  .content2 p {
    width: 100%;
    padding-bottom: 5%;
  }
}
.content3 {
  margin-top: 5%;
  border-bottom: none;
  padding-bottom: 5%;
}
.content3 p {
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.4;
  padding-bottom: 5%;
}
.content3 .imagesbox {
  display: flex;
  justify-content: space-evenly;
}
.content3 .imagesbox .images3 {
  width: 20%;
  border-radius: 20px;
}
header {
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
  align-items: center;
  border-bottom: 3px dashed #353531;
}
@media (max-width: 500px) {
  header {
    flex-direction: column;
  }
}
nav {
  font-size: 2.8rem;
  display: flex;
  justify-content: space-evenly;
  width: 50%;
  padding-bottom: 3%;
}
@media (max-width: 500px) {
  nav {
    flex-direction: column;
    align-items: center;
    font-size: 2rem;
    margin-top: -10%;
  }
}
nav a {
  text-decoration: none;
  color: #016FB9;
  padding-bottom: 3%;
}
nav a:hover {
  color: #353531;
}
@media (max-width: 500px) {
  nav a {
    padding-top: 2%;
  }
}
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 5%;
}
footer button {
  width: 20%;
  padding-top: 1%;
  padding-bottom: 1%;
  margin-bottom: 5%;
  border-radius: 20px;
  font-size: 3rem;
  background-color: #EC4E20;
}
footer button:hover {
  color: #016FB9;
  background-color: grey;
}
footer p {
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.6;
}
h1 {
  font-size: 3rem;
}
h5 {
  font-size: 1.5rem;
}
.headshot2 {
  width: 40%;
  border-radius: 50%;
  margin-top: 3%;
}
@media (max-width: 500px) {
  .headshot2 {
    width: 90%;
  }
}
.headshot {
  width: 40%;
  border-radius: 50%;
  margin-top: 3%;
}
.first2 {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  border-bottom: 2px dashed #353531;
  padding-bottom: 1px;
  margin-top: 3%;
  margin-bottom: 3%;
  padding-bottom: 3%;
  line-height: 1.6;
}
@media (max-width: 500px) {
  .first2 {
    display: flex;
    flex-direction: column;
  }
}
.firstProfile {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.secondProfile {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.second1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 45%;
  margin-left: 27.5%;
  line-height: 1.6;
}
h2 {
  font-size: 3rem;
  line-height: 1.6;
  text-align: center;
  padding-top: 5%;
}
form {
  background-image: url(../images/heart.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}
@media (max-width: 500px) {
  form {
    background-position-x: 50%;
  }
}
.email {
  display: flex;
  margin: 0 auto;
  width: 20%;
  border-radius: 25%;
  padding: 5% 0;
}
@media (max-width: 500px) {
  .email {
    width: 50%;
  }
}
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 2.5rem;
  text-align: center;
}
form input {
  width: 25%;
  min-height: 25px;
  margin: 0 auto;
}
@media (max-width: 500px) {
  form input {
    width: 50%;
  }
}
form textarea {
  width: 25%;
  min-height: 200px;
  margin: 0 auto;
}
@media (max-width: 500px) {
  form textarea {
    width: 50%;
  }
}
form label {
  padding-top: 2%;
  padding-bottom: 2%;
}
form .submit {
  width: 20%;
  height: 50px;
  margin: 0 auto;
  margin-top: 5%;
  border-radius: 25px;
  margin-bottom: 2%;
  font-family: Comic Sans MS, Comic Sans, cursive;
  font-size: 2rem;
  background-color: #FF9505;
}
form .submit:hover {
  background-color: #353531;
  color: #EC4E20;
}
ul {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 40%;
  margin: 0 auto;
}
@media (max-width: 500px) {
  ul {
    width: 50%;
  }
}
ul li {
  padding: 5%;
}
a {
  color: #EC4E20;
}
a:hover {
  color: #353531;
}
footer {
  border-top: 3px dashed #353531;
  margin-top: 3%;
}
