/* Colors: https://coolors.co/023c40-4e937a-fffafb-7a89c2-442b48 
Fonts: OpenSans font for the main text, 'Josefin Sans' for the header text */
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap");
/* Starting layout as a mobile page with media queries below for larger screens */

/* RESET CSS - 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;
}
/* End of RESET CSS */
body {
  font-family: sans-serif;
  font-size: 62.5%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "josefin sans";
}
header {
  display: flex;
  justify-content: space-between;
  background-color: #4e937a;
  margin: 0;
  font-size: 1.8em;
  font-weight: 700;
  border-bottom: 2px solid #023c40;
}
header a {
  text-decoration: none;
  color: #ffffff;
  margin: 0.6em 1.4em;
}

header a:hover {
  text-decoration: underline;
  cursor: pointer;
}
/*background image behind p, h1, and button need to ass ARIA attributes for alt-text*/
.backgroundPhoto {
  background-image: url("https://images.unsplash.com/photo-1497990571654-77aa8ec36038?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1034&q=80");
  background-size: cover;
  background-position: bottom;
  padding: 10em 5em 5em;
  display: flex;
  flex-flow: column;
}
/* "a little bit" */
.backgroundPhoto p {
  text-align: center;
  font-size: 1.6em;
  color: #ffffff;
}
/* "About Us" */
.backgroundPhoto h1 {
  text-align: center;
  font-size: 6em;
  color: #ffffff;
  text-shadow: 1px 1px 5px #023c40;
  padding: 0.2em 0;
}
/* Same formatting of the button at bottom of the page too. */
form {
  text-align: center;
}
.largeSignUp {
  padding: 1em 0;
  color: #ffffff;
  background-color: #023c40;
  border-radius: 10px;
  width: 30%;
  border: solid 2px #023c40;
  margin: 2em auto;
  font-size: 1.6em;
  text-align: center;
}
.largeSignUp:hover {
  cursor: pointer;
  border: solid 2px #4e937a;
  text-decoration: underline;
}
.team {
  display: flex;
  flex-flow: row wrap;
  margin: 2em;
  align-items: center;
}
.team .indvPhoto {
  width: 20%;
  margin: 1em;
}
.team .indvBio {
  width: 70%;
  padding: 1em;
}
h3 {
  font-size: 2em;
  color: #45816b;
  text-decoration: #023c40 underline;
}
h4 {
  display: inline;
  font-size: 1.6em;
  color: #023c40;
}
img {
  border-radius: 50%;
  width: 100%;
}
p {
  display: inline;
  font-size: 1.4em;
}

footer {
  display: flex;
  justify-content: space-between;
  background-color: #4e937a;
  border: none;
  box-shadow: none;
  margin: 0;
  font-size: 1.8em;
  font-weight: 700;
}
footer a {
  text-decoration: none;
  color: #ffffff;
  margin: 0.6em 1.4em;
}

footer a:hover {
  text-decoration: underline;
  cursor: pointer;
}
}
/* Mobile first design */
@media screen and (min-width: 768px /*tablet - iPad*/) {
  .team {
  margin: 1.5em;
  
}
.team .indvPhoto {
  width: 15%;
}
.team .indvBio {
  width: 80%;
}
}
@media screen and (min-width: 1024px /*1024px for regular desktop */) {
  .team {
  margin: 4em;
  
}
.team .indvPhoto {
  width: 20%;
}
.team .indvBio {
  width: 75%;
}
}

