/* 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: 'Roboto', sans-serif;
  color: black;
  background-image: url("../img/turqbg.jpg");
  background-size: cover;
  background-color: turquoise;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: 'Open Sans', sans-serif;
  color: black;
}
h1 {
  font-size: 3.6rem;
}
h2 {
  font-size: 3.2rem;
  padding: 3vh;
}
h3 {
  font-size: 2.8rem;
}
p,
li {
  font-size: 1.6rem;
  line-height: 1.3;
}
ul {
  margin-top: 0.5rem;
  list-style-type: circle;
  list-style-position: outside;
}
.container {
  max-width: 90%;
  width: 100%;
  margin: 0 auto;
}
nav {
  z-index: 2;
  position: sticky;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1%;
  flex-flow: row nowrap;
  color: black;
  background-color: rgba(175, 238, 238, 0.4);
}
nav:hover {
  background-color: rgba(175, 238, 238, 0.8);
}
@media (max-width: 800px) {
  nav {
    background-color: rgba(245, 245, 245, 0.5);
  }
}
nav:hover {
  opacity: 1;
}
nav .navbar {
  width: 50%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1%;
  flex-flow: row nowrap;
}
nav .navbar a {
  padding: 1%;
  font-size: 1.6rem;
  text-decoration: none;
  color: black;
}
nav .navbar a:hover {
  color: darkblue;
}
@media (max-width: 500px) {
  nav {
    flex-flow: column nowrap;
  }
  nav .navbar {
    width: 100%;
  }
}
.home .banner img {
  display: block;
  max-width: 100%;
  margin: 10vh auto;
}
.home .side-by-side {
  margin: 5vh 0;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-around;
  align-items: center;
}
.home .side-by-side .text-box {
  max-width: 50%;
  padding: 5%;
  background-color: rgba(245, 245, 245, 0.25);
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-around;
  align-items: center;
}
.home .side-by-side .text-box:hover {
  background-color: rgba(245, 245, 245, 0.65);
}
@media (max-width: 800px) {
  .home .side-by-side .text-box {
    background-color: rgba(245, 245, 245, 0.5);
  }
  .home .side-by-side .text-box:hover {
    background-color: rgba(245, 245, 245, 0.8);
  }
}
.home .side-by-side img {
  max-width: 45%;
  max-height: auto;
}
@media (max-width: 800px) {
  .home .side-by-side {
    position: relative;
  }
  .home .side-by-side img {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .home .side-by-side .text-box {
    border: 1px dotted black;
    z-index: 1;
    max-height: 100%;
    max-width: 100%;
  }
}
footer {
  width: 100%;
  color: black;
  background-color: rgba(175, 238, 238, 0.4);
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1%;
  flex-flow: row nowrap;
}
footer:hover {
  background-color: rgba(175, 238, 238, 0.8);
}
@media (max-width: 800px) {
  footer {
    background-color: rgba(245, 245, 245, 0.5);
  }
}
footer .signin {
  width: 40%;
}
footer .signin a {
  padding: 1%;
  font-size: 1.6rem;
  text-decoration: none;
  color: black;
}
footer .signin a:hover {
  color: darkblue;
}
