/*
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
  box-sizing: border-box;
}
/*
  2. Remove default margin
*/
* {
  margin: 0;
}
/*
  Typographic tweaks!
  3. Add accessible line-height
  4. Improve text rendering
*/
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/*
  5. Improve media defaults
*/
img, picture, video, canvas, svg {

  max-width: 100%;
  height: auto;
}

}
/*
  6. Remove built-in form typography styles
*/
input, button, textarea, select {
  font: inherit;
}
/*
  7. Avoid text overflows
*/
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
/*
  8. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}

@font-face {
  font-family: 'Comic Sans MS';
  src: url("/COMIC.TTF");
}

body {
  background-color: #432334;
  background-image: url(/img/mauveflowers.png);
  font-family: sans-serif;
  padding: 20px;
  text-align: center;
}

p {
  text-align: center;
}

p.intros {
  text-indent: 25px;
  text-align: justify;
}

h1, h2, h3, h4, h5, h6 {
  text-align: center; 
  margin: .5em;
}

.wrap {
  position: static;
  margin-left: auto;
  margin-right: auto;
}

.main {
  position: absolute;
  background-color: #432334;
  color: #bc70b6;
  font-family: 'Comic Sans MS';
  font-size: 1em;
  border-radius: 40px 40px 40px 40px;
  width: 80%;
  max-width: 927px;
  left: 0; 
  right: 0; 
  margin-top: -275px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2%;
  padding: 65% 5% 2% 5%;
  z-index: -1;
}

.banner {
  position: static;
  display: block;
  margin-left: auto;
  margin-right: auto;
  z-index: 2;
}

.footer1 {
  display: inline-block;
  position: absolute;
  text-align: left;
  bottom: -1%;
  left: -13%;
  width: 50%;}

.footer2 {
  display: inline-block;
  position: absolute;
  text-align: right;
 bottom: -1%;
  right: -11%;
  width: 50%;}
  
.end {
  padding-top: 100px;
  padding-bottom: 200px
}

.nav {
  display: none;
  position: absolute;
  z-index: 2;
}

.navitem {
  flex: 0 1 auto;
  align-self: center;}

.navmobile {
  display: flex;
  flex-direction: column;
  flex-grow: 0;
  justify-content: center;
  align-items: center;
  position: static;
}

@media screen and (min-width: 1024px) {
  .main {
  padding: 3.5% 5% 2% 5%;
  font-size: 1.1em;
  width: 80%;
  max-width: 927px;
  margin-top: -60px;}
  
.footer1 {
  display: inline-block;
  position: absolute;
  text-align: left;
  bottom: -50px;
  left: -170px;
  width: 50%;}

.footer2 {
  display: inline-block;
  position: absolute;
  text-align: right;
  bottom: -50px;
  right: -150px;
  width: 50%;}
  
.end {
  padding-top: 120px;
  padding-bottom: 150px
}

.nav { 
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 150px;
  right: -160px;
}

.navmobile {
  display: none;
  position: absolute;
}

}

.break {
  display: block;
  clear: both;
  margin: 20px auto 20px auto;
}

.inline {
  display: inline-block;
  max-width: 100%;
  margin: 0px 15px 5px 0px;
}

.fampics {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
}

.fampics > div {
  padding: 2px;
  flex: 0 1 auto;
}

.infoblock {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-indent: 0px;
  text-align: center;
  max-width: 75%
}

.infoblock > div {
  padding: 10px;
}

.infoleft {
  display: inline-block;
  text-indent: 0px;
  text-decoration: underline;
  text-align: left;
  width: 49%;
}

.inforight {
  display: inline-block;
  text-indent: 0px;
  text-align: right;
  width: 49%;
}

.infoimg {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}
