/* 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;
}

* {
    box-sizing: border-box;
  }
  html {
    font-size: 62.5%;
  }
  html,
  body {
    font-family: 'Dancing Script', cursive;
    color: #5E6164;
  }
  h1,
  h2,
  h3,
  h4,
  h5 {
    font-family: 'Meddon', cursive;
    color: #23293B;
  }
  h2 {
    font-size: 3.2rem;
    font-family: 'Meddon', cursive;
  }
  h3 {
    font-size: 4rem;
  }
  p {
    font-size: 1.6rem;
    line-height: 1.4;
  }
  .container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }
  .nav-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f1f4f6;
    padding: 0px 0px 20px 0px;
    position: sticky;
    top: 0;
    z-index: 99999;
    opacity: 0.97;
  }
  .nav-bar h1 {
    font-size: 40px;
    padding: 15px;
    animation-name: flash;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }
  .nav-bar nav a {
    text-decoration: none;
    color: black;
    padding: 10px;
    font-size: 18px;
  }
  @keyframes flash {
    0% {
      opacity: 1;
    }
    50% {
      opacity: 0.5;
    }
    100% {
      opacity: 1;
    }
  }
  footer {
    color: #22283B;
    background: #6e8e9c;
    padding: 20px 0;
    border: 1px double #e0e0e0;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
.team-img {
    display: flex;
    justify-content: center;
    margin: 1% auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

.the-team {
    background-color: #afafaf;
    padding: 50px;
    margin: 0 auto;
    margin-bottom: 20px;
    text-align: center;
}

.top-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-evenly;
    margin: 0 auto;
    padding: 10px;
}
@media(max-width: 500px){
    .top-row{
        display: flex;
        flex-direction: column;
    }
/* .bottom-row {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-evenly;
    margin: 0 auto;
    padding: 10px;
}
@media(max-width: 500px){
    .bottom-row{
        display: flex;
        flex-direction: column;
    }
} */
/* .bottom-row {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    margin: 0 auto;
    padding: 10px;
}
@media(max-width: 500px){
    .bottom-row{
        display: flex;
        flex-direction: column;
    }
} */

.teammember {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
}
.teammember img{
    max-width: 150px;
    height: auto;
    margin: 0 auto;
}
}