/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: #447a47;
  color: black;
  font-family: Verdana;
}

@font-face {
  font-family: magicmedieval;
  src: url(fonts/magicmedieval.ttf);
}

/* coder too stupid to figure out more elegant solution */
h1 {
 margin-top: 0.5rem;
 margin-bottom: 0rem;
}

h6 {
 margin-top: 0.2rem;
 margin-bottom: 0rem;
}

.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
}

.title {
  font-family: magicmedieval, Times, serif;
  font-size: 2.6vw;  
}

.navbar {
 display: flex;
 flex-direction: row;
 font-family: magicmedieval, Times, serif;
 align-items: center;
 font-size: 1.6rem; /*2.1vw*/
 margin-bottom: 0;
 flex-wrap: wrap;
 width: 70vw;
}

.navbar a {
  margin-top: 0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0rem;
  padding-bottom: 0.2rem;
  border: thick double black;
  flex: 1 1 fit-content;
  text-align: center;
  background: #a2a9b5;
  text-decoration: none;
  color: black;
}

.navbar a:hover {
  background-color: #4e89e8;
}

.mainandfoot {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between; 
  align-items: center;
  
}

.bodymain {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #59a55d;
  width: 70vw;
  margin-top: 0;
  margin-bottom: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.4rem;

}

.bodymain p, h2, h4 {
  margin-left: 5vw;
  margin-right: 5vw;
  margin-bottom: 0.2vw;
  margin-top: 0.5vw;
}



.bodymain a:visited, a:link {
  color: #120172; 
  font-weight: bold;
  text-decoration: none;

}

.bodymain a:hover {
 color: #1f00d1; 
  
}


.footer {
  background-color: #242b54;
  width: 100vw;
  margin-bottom: -5vh;
  font-family: "Times New Roman", Times, Serif;
  max-height: 20vh;
  font-size: 1vw;
}

.footer p {
  color: #4756aa;
  padding: 1rem;
}

.bodymain img {
  width: 20vw;
  height: auto;
}




