/* 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 meyerweb reset */
body {
  font-family: 'Manrope', 'Montserrat', 'Poppins', 'Roboto', sans-serif;
  font-size: 1em;
  text-align: center;
	background-image: url("background.png");
	background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
}
@media (max-width: 500px ) {
  body {
    background-image: url("mobile-background.png");
  }
}
h1, h2, h3, h4 {
  font-family: 'DM Serif Display', 'Gloock', 'Playfair Display', serif;
}
h1 {
  color: #000000;
  font-size: 3em;
  margin: 25px;
}
@media (max-width: 500px ) {
  h1 {
    color: #ffffff;
    font-size: 7.5vw;
  }
}
h2 {
  color: #84d3fa;
  font-size: 2em;
  margin: 25px;
}
@media (max-width: 500px ) {
  h2 {
    color: #ffffff;
    font-size: 5.5vw;
  }
}
h3 {
  color: #70c6ff;
  font-size: 1.5em;
}
p {
  color: #000000;
  font-size: 1em;
}
a:link {
  color: #000000;
  text-decoration: none;
  }
a:visited {
  color: #000000;
}
a:hover {
  color: #e285ff;
  text-decoration: none;
}
a:active {
  color: #ca63eb;
  text-decoration: none;
}
/* navigation styling*/
header {
  padding: 5px;
  }
@media (max-width: 380px ) {
    header {
      width: 380px;
    }
}
nav {
  height: auto;
  margin: 5px;
  padding: 5px;
	text-align: right;
	font-size: 1.5em;
}
@media (max-width: 550px ) {
	nav {
		font-size: 1em;
	}
}
@media (max-width: 380px ) {
	nav {
		width: auto;
	}
}
.navbarlink {
  display: inline-block;
  padding: 10px;
}
/* End of navigation styling */
main {
  text-align: left;
	max-width: 1920px;
	min-width: 360px;
	margin: 150px 10vh;
}
@media (max-width: 850px) {
	main {
		margin: 150px 10vh;
  }
}
@media (max-width: 500px) {
	main {
    margin-top: 33%;
		text-align: center;
	}
}
img {
  float: left;
}
button {
  padding: 10px;
  margin-top: 25px;
	margin-right: 5px;
  display: inline-block;
  border-width: 2px;
  border-style: solid;
  border-color: #000000;
	border-radius: 7px;
  font-family: 'Manrope', 'Montserrat', 'Poppins', 'Roboto', sans-serif;
  font-size: 1.5em;
  background-color: #ffffff;
}
@media (max-width: 500px) {
	button {
    border-color: #ffffff;
    background-color: #ffffff;
  }
}
button:first-of-type {
	margin-left: 25px;
}
footer {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	width: auto;
	padding: 10px 100px 10px 100px;
}
@media (max-width: 500px) {
	footer {
		color: #ffffff;
	}
}
#textanimation {
  animation-duration: 2s;
  animation-name: slidein;
  animation-iteration-count: 1;
  animation-direction: normal;
}
@keyframes slidein {
  0% {
    opacity: 0;
    transform: translateY(50%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.dark-mode {
  background-color: #272727;
  color: white;
}
.dark-mode h1 {
  color: white;
}
.dark-mode a {
  color: white;
}
.dark-mode button {
  background-color: #353535;
}