
/* CUSTOM FONTS */
@font-face {
  font-family: MegsHandwriting;
  src: url(fonts/MegsHandwriting.ttf);
  }
@font-face {
  font-family: IndieFlower;
  src: url(fonts/IndieFlower-Regular.ttf);
  }


/* BASIC BODY BACKGROUND STUFF */
body {
  background-color: #e4e5ff;
  background-image: url("layouts/repeatbg.png");

  }
 
  
/* LINK STYLE */
a:link { 
  text-decoration: none;
  font-family: IndieFlower;
  font-size: 24px;
  font-weight: bold;
  color: #009aa0;
  }
a:visited { 
  text-decoration: none; 
  font-family: IndieFlower;
  font-size: 24px;
  font-weight: bold;
  color: #009aa0; 
  }
a:active {
  text-decoration: underline; 
  font-family: IndieFlower;
  font-size: 24px;
  font-weight: bold;
  color: #ff8945; 
  }
a:hover { 
  text-decoration: underline; 
  font-family: IndieFlower;
  font-size: 24px;
  font-weight: bold;
  color: #ff8945; 
  }


/* LAYOUT WRAPPER*/
.wrapper {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin-top: 20px;
  }


/* HEADER AND NAV WRAPPER*/
.topsection {
  display: flex;
  justify-content: center;
  min-height: 250px;
  max-width: 100%;
  padding-left: 5px;
  padding-right: 5px;
  }


/* HEADER */
.header {
  align-content: center;
  max-width: 600px;
  }


/* NAV BOX WRAPPER */
.nav-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: auto;
  }


/* NAV BUTTONS */
.navbuttonA {
  display: flex; 
  padding: 5px;
  width: 150px;
  height: 30px;
  text-align: center;
  align-items: center;
  justify-content: center;
  background-color: #fffffa;
  border-right: 2px #009aa0 solid;
  border-bottom: 2px #009aa0 solid;
  box-shadow: 2px 2px #ff8945;
  border-radius: 13px;
  transform: rotate(-3deg);
  margin-left: auto;
  }       
.navbuttonB {
  display: flex; 
  padding: 5px;
  width: 150px;
  height: 30px;
  text-align: center;
  align-items: center;
  justify-content: center;
  background-color: #fffffa;
  border-right: 2px #009aa0 solid;
  border-bottom: 2px #009aa0 solid;
  box-shadow: 2px 2px #ff8945;
  border-radius: 13px;
  transform: rotate(3deg);
  margin-left: auto;
  }


/* FOOTER */  
.footer {
  margin-top: 15px;
  width: 100%;
  text-align: center;
  }


/* CONTENT AREA WRAPPER */
.main {
  display: flex;
  align-items: flex-start;
  border-radius: 13px;
  background-color: #FFFFFA;
  min-height: 450px;
  max-width: 100%;
  padding: 15px;
  margin-top: 30px;
  margin-bottom: 5px;
  
  font-family: Tahoma, Arial, Helvetica, sans-serif;
  font-size: 16px;
  letter-spacing: 1;
  color: #191921;
  }

/* justify-content adjusts along horizontal axis */
/* align-content adjusts along vertical axis */
/* using items instead of content will inherit to child divs */

/* WRAPPER FOR SECTIONS IN A ROW */
.rowcontainer {
  display: flex;
  flex: 1 1 auto;
  max-width: 100%;
  padding: 5px;
  }


/* HORIZONTAL CONTENT */
.row {
  display: flex;
  padding: 5px;
  }

/* WRAPPER FOR SECTIONS IN A COLUMN */
.columncontainer {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
  max-width: 100%;
  padding: 5px;
  margin: -5px;
  }


/* VERTICAL CONTENT */
.column {
  display: flex;
  padding: 5px;
  margin: 5px;
  }

/* RESPONSIVE DESIGN STUFF BELOW */

@media screen and (max-width: 700px) {
  
  body {
    padding: 0px;
  }
  
  .topsection {
    flex-direction: column;
  }
  
  .nav-container {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 5px;
    margin-bottom: 5px;
  }
  
  .navbuttonA {
    width: 33vw;
    height: 3vh;
    transform: rotate(0deg);
    margin-top: 5px;
    margin-bottom: 5px;
    margin-right: auto;
        }
        
  .navbuttonB {
    width: 33vw;
    height: 3vh;
    transform: rotate(0deg);
    margin-top: 5px;
    margin-bottom: 5px;
    margin-right: auto;
   }
   
  .main {
    font-size: 3vw;
    min-height: 200px;
    padding: 5px;
    margin-top: 0px;
    margin-bottom: 5px;
  }
  
  a:link {font-size: 5vw;}
  a:visited {font-size: 5vw;}
  a:active {font-size: 5vw;}
  a:hover {font-size: 5vw;}
  
  img {
    max-width: 100%;
    object-fit: cover;
  }
  
}
