/* css 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 {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
  line-height: 1.4rem;
  box-sizing: border-box;
}
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;
}



/* variables */

:root {
  --colorMain: #4182e4;
  --spacingFactor: 1;
}



/* main styles */

body {
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  text-align: left;
  background-color: white;
}

.material-icons {
  font-size: 32px;
}


/* header menu */

header {
  text-align: center;
  padding: 2rem;
}



/* content */

h1 {
  font-size: 32px;
  margin-bottom: 1rem;
}

h2 {
  font-size: 26px;
  margin-bottom: 2rem;
}

p {
  color: #555;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  cursor: pointer;
}

select {
  padding: 0.5rem;
}

button {
  font-size: 20px;
  padding: 1rem 0.8rem 0.6rem 0.8rem;
  text-align: center;
  background-color: var(--colorMain);
  color: white;
  border: 0;
  outline: none;
  display: block;
  width: 100%;
  margin: 0 auto;
  margin-bottom: calc(1.5rem * var(--spacingFactor));
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.button-box {
  margin-bottom: calc(2.5rem * var(--spacingFactor));
  text-align: center;
}

.button-social {
  width: auto;
  background-color: white;
  display: inline-block;
  margin: 1rem;
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  padding: 1rem 1rem 0.5rem 1rem;
}

.button-social img {
  opacity: 0.8;
  width: 2rem;
  height: auto;
}

.button-second {
  background-color: #f9f9f9;
  color: #333;
  border-bottom: 1px solid var(--colorMain);
}

footer {
  color: #555555;
  padding: 2rem 25%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  background-color: #b3c4dd;
  text-align: center;
}

footer img {
  width: 30px;
  height: auto;
  margin: 0 3rem;
  cursor: pointer;
}

.hilights {
  padding: 4rem 25%;
  background-color: #b3c4dd;
}

.hl-box {
  /* display: flex; */
}

.hilight {
  text-align: center;
  display: inline-block;
  width: 47%;
  margin-bottom: 2rem;
}

.hilight span {
  display: inherit;
  vertical-align: top;
  padding-top: 0.5rem;
  padding-left: 0.5rem;
  color: #555;
  font-size: 14px;
}

.hilight i {
  color: var(--colorMain);
}

.signature-wrapper {
  width: 100%;
  text-align: right;
}

.signature {
  width: 150px; 
  margin: -1rem auto 4rem auto; 
}



/* form */

.form {
  box-sizing : border-box;
  background-color: #b3c4dd;
  width: 100%;
  padding: 4rem;
}

form {
  margin-top: 1rem;
}

label {
  font-size: 14px;
  color: #555555;
  margin-bottom: 0.5rem;
}

.star {
  color: var(--colorMain);
  margin-left: 0.5rem;
}

input {
  font-size: 20px;
  border: 0;
  width: 100%;
  margin-bottom: calc(1rem * var(--spacingFactor));
  padding: 1rem 0 0.6rem 0;
  text-align: center;
  box-sizing: border-box;
  border-radius: 4px 4px 0 0;
  background-color: #f9f9f9;
  color: #444;
}

input[type=submit] {
  cursor: pointer;
  font-size: 20px;
  padding: 1rem 0.8rem 0.6rem 0.8rem;
  text-align: center;
  background-color: var(--colorMain);
  color: white;
  border: 0;
  outline: none;
  display: block;
  width: 100%;
  margin: 0 auto;
  margin-bottom: calc(1.5rem * var(--spacingFactor));
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.4);
}

#msg {
  margin-top: 1rem;
}



/* helpers */

.space-1 {
  height: 1rem;
}

.space-2 {
  height: 2rem;
}

.fit-w {
  width: 100%;
  height: auto;
}

.half-width {
  width: 50%;
  height: auto;
}

.small-font {
  font-size: 16px;
}

.italic {
  font-style: italic;
}

.grey {
  color: #4b4949;
}

.font-normal {
  font-family: 'Nunito', sans-serif;
}

.font-hand {
  font-family: 'Nunito', sans-serif;
  font-size: 20px;
}

.margin-bottom {
  margin-bottom: 2rem;
}

.image-medium {
  width: 300px;
  max-width: 100%;
  height: auto;
  margin-bottom: 2rem;
}

.material-icons {
  vertical-align: middle;
  font-size: 64px;
  color: #999;
}

.handwrite {
  font-family: 'Nunito', sans-serif;
  font-size: 30px;
}

.mobile-full {
  width: 100%;
  height: auto;
}

.bio {
  width: 100%;
  display: block;
}

.bio-image {
  width: 60%;
  margin: 0 auto;
  margin-bottom: 2rem;
}


/* desktop version */

@media screen and (min-width: 1000px) 
{
  :root {
    --spacingFactor: 1.5;
  }

  .bio {
    width: 66%; 
    display: inline-block; 
    vertical-align: top; 
    padding-left: 2%;
  }

  .bio-image {
    width: 31%; 
    display: inline-block; 
    vertical-align: top;
  }

  button {
    width: 21rem;
  }

  .form {
    padding: 4rem 25%;
  }

  footer {
    padding: 0 25% 2rem 25%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
  }

  .mobile-full {
    width: auto;
  }

  .hilight {
    width: 24%;
  }

}