* {
  box-sizing: border-box;
}

/*----------------------------OVERALL + BODY STYLE----------------------------*/
body {
  font-family: Courier, monospace;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  background-image: url("/img/bg-repeat.gif");
  background-repeat: repeat;
  background-position: top left;
  background-attachment: fixed;
}

p {
	background-color: #FFFFFF;
	padding: 5px;
}

h1 {
  font-family: Courier, monospace;
  font-weight: normal;
  font-size: 14px;
  letter-spacing: 2px;
  color: #ff4f9f;
  text-align: center;
  line-height: 1.5;
  text-transform: uppercase;
}

h2 {
  font-family: Courier, monospace;
  font-weight: normal;
  font-size: 18px;
  line-height: 1.5;
  text-transform: uppercase;
  text-decoration: underline #ff4f9f dashed 2px;
  padding: 5px;
}

h3 {
  font-family: Courier, monospace;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.5;
}

h4 {
  font-family: Courier, monospace;
  font-weight: normal;
  font-size: 14px;
  color: #000000;
  line-height: 1.5;
  text-transform: uppercase;
}

h5 {
  font-family: Courier, monospace;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  line-height: 1.5;
  text-transform: uppercase;
  color: #ff4f9f;
  padding-top: 0px;
  padding-bottom:5px;
  margin: 0px;
}

h6 {
  font-family: Courier, monospace;
  font-weight: normal;
  font-size: 14px;
  text-align: center;
  color: #000000;
  line-height: 1.5;
  padding-top: 10px;
  padding-bottom:0px;
  margin: 0px;
}

a {
  font-size: inherit;
  color: inherit;
  line-height: 1.5;
}

a:hover {
  color: #ff4f9f;
}


img {
  max-width: 100%;
  width: 90%;
}


#nobreak {
	display:inline-block;
}

#noshow {
  display:none;
}

#show {
  display:initial;
}

#highlight {
  background-color: #ff4f9f;
}

#pink {
  color: #ff4f9f;
}

#s {
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
}

hr {
  display: block;
  height:1px;
  color: #000000;
  background-color: #000000;
  border-width: 0;
  max-width: 60%;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: auto;
  margin-right: auto;
}

.related {
  border-width: 2px 0px;
  border-color: #ff4f9f;
  border-style: dashed;
  margin-top: 50px;
  padding: 10px;
}

.related img {
  position: relative;
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
  margin-top: 10px;
}



/*----------------------------UNIVERSAL HEADER+NAV BAR+FOOTER---------------------------*/

.header {
  position: relative;
  left: 10%;
  right: 10%;
  max-width: 80%;
  padding: 75px 25px 25px 25px;
}

.header img {
	display: block;
    max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

.header h1 {
	display: block;
}

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

.navbar a {
  float: left;  
  font-size:16px;
  text-align: center;
  letter-spacing: 3px;
  font-weight: bold;
  padding: 10px 20px 10px;
  text-decoration: none;
  text-transform: uppercase;
  }

.navbar a:hover {
  color: #000000;
  text-transform: uppercase;
  text-decoration: underline #ff4f9f dashed 2px;
}

.navbar a.active {
	color: #ff4f9f;
	text-decoration: none;
}

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

.subnav a {
  float: left;  
  font-size:14px;
  text-align: center;
  font-weight: bold;
  padding: 10px 20px 10px;
  text-decoration: none;
  }

.subnav a.active {
	color: #ff4f9f;
	text-decoration: none;
}

footer {  
  width: 90%;
  margin-top: 50px;
  margin-bottom: 25px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

footer p {
	background-color: transparent;
	padding: 5px;
}

/*----------------------------HOME PAGE----------------------------*/

.HomeBox {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
  padding: 10px;
}

.HomeRow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 10px;
}

.HomeColumn {
	flex: 33%;
	max-width: 33%;
	margin-top: 10px;
}

.HomeColumn img {
  margin-top: 10px;
  vertical-align: middle;
  max-width: 100%;
}

.Quote {
  position: relative;
  display: block;
  width: 80%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
	background-color: #FFFFFF;
}

.Quote p {
	padding: 0px;
}

.Quote h1 {
  font-family: Courier, monospace;
  font-weight: normal;
  font-size: 14px;
  letter-spacing: 2px;
  color: #ff4f9f;
  text-align: center;
  text-transform: uppercase;
}

/*----------------------------BOOKS----------------------------*/

.BooksBox {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
  padding: 10px;
}

.BooksRow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  vertical-align: middle;
  padding: 0 10px;
}

.BooksColumn {
	flex: 25%;
	max-width: 25%;
	margin-top: 10px;
}

.BooksColumn img {
  margin-top: 10px;
  vertical-align: middle;
  max-width: 100%;
}

.BooksLeft {
  flex: 70%;
  max-width: 70%;
	margin-top: 0px;
}

.BooksLeft img {
  vertical-align: middle;
  max-width: 100%;
	margin-bottom: 30px;
}

.BooksRight {
  flex: 30%;
  max-width: 30%;
	margin-top: 50px;
}

.BooksRight p {
  font-family: Courier, monospace;
  font-weight: normal;
  font-size: 14px;
  text-align: left;
  color: #000000;
  line-height: 1.5;
  padding: 10px;
  margin: 0px;
}

.BooksRight hr {
  border-top: 2px dashed #ff4f9f;
  background-color: transparent;
  max-width: 100%;
  padding: 10px;
}

.BooksHalf {
	flex: 50%;
	max-width: 50%;
	margin-top: 10px;
}

.BooksHalf img {
  margin-top: 0px;
  vertical-align: middle;
  max-width: 100%;
}


/*---BOOK CLICK THRU LABEL---*/

.more {
  position: relative;
}

.click {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.clickbox {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%)
}

.more:hover .clickbox {
  opacity: 1;
}

.clicktext {
  border-radius: 20px;
  background-color: #ff4f9f;
  color: white;
  font-size: 15px;
  padding: 5px 11px;
}


/*----------------------------ABOUT ME PAGE----------------------------*/

.AboutMeBox {
	max-width: 700px;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	padding: 10px;
}

.AboutMeBox img {
  float: left;
  max-width: 275px;
  margin: 10px 20px 10px 10px;
}

.AboutMeBox p {
  clear: none;
}

.bonus {
  border-width: 2px 0px;
  border-color: #ff4f9f;
  border-style: dashed;
  margin-top: 20px;
  padding: 20px;
  background-color: white;
  height: 225px;
  column-fill: auto;
  column-count: 3;
  column-gap: 20px;
}

.bonus h1 {
  column-span: all;
  font-family: Courier, monospace;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  line-height: 1.5;
  text-transform: uppercase;
  color: #ff4f9f;
  padding-top: 0px;
  padding-bottom:10px;
  margin: 0px;
}

.bonus p {
  padding: 0px;
  margin-top: 0px;
  margin-bottom: 10px;
  font-size: 12px;
}


/*----------------------------ENDORSEMENTS----------------------------*/


.EndorseBox {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  max-width: 700px;
  padding: 10px;
}


.Endorse {
  background-color: white;
  border-width: 0px 0px 0px 2px;
  border-color: #ff4f9f;
  border-style: dashed;
  margin: 20px 0px 10px 0px;
  padding: 20px;
  overflow: auto;
}

.Endorse img {
  position: relative;
  float: right;
  width: 35%;
  margin: 0px;
  padding: 0px 0px 0px 20px;
}

.Endorse p {
  background-color: transparent;
  font-family: Courier, monospace;
  font-weight: normal;
  font-size: 16px;
  text-align: left;
  color: #000000;
  line-height: 1.5;
  padding: 0px;
  margin: 0px 10px 0px 0px;
}

.Endorse h1 {
  font-family: Courier, monospace;
  font-weight: normal;
  font-size: 14px;
  letter-spacing: 0px;
  color: #ff4f9f;
  text-align: left;
  line-height: 1.5;
  text-transform: initial;
  margin: 10px 10px 0px 0px;
  
}

.Endorse h2 {
  font-family: Courier, monospace;
  font-weight: normal;
  font-size: 12px;
  letter-spacing: 1px;
  color: #000000;
  text-align: left;
  line-height: 1.5;
  text-decoration: none;
  text-transform: uppercase;
  margin: 0px 10px 10px 0px;
  
}

/*--------------------------------------------------------FLEX--------------------------------------------------------*/

@media (max-width: 800px) {

h3 {
  text-align:center;
}

h4 {
  text-align:center;
}

.navbar a {
  float: left;
  text-align: center;
  font-size: 14px;
  padding: 10px;
  }

.header h1 {
	font-size: 12px;
}

.HomeBox {
  position: relative;
  margin-left: 5%;
  margin-right: 5%;
  max-width: 90%;
  padding: 10px;
}

.HomeRow {
  display: flex;
  flex-wrap: wrap;
  padding: 0 10px;
}

.HomeColumn {
  flex: 50%;
  max-width: 50%;
  margin-top: 10px;
}

.HomeColumn img {
  margin-top: 10px;
  vertical-align: middle;
  max-width: 100%;
}

.BooksBox {
  position: relative;
  margin-left: 5%;
  margin-right: 5%;
  max-width: 90%;
  padding: 10px;
}

.BooksRow {
  display: flex;
  flex-wrap: wrap;
  padding: 0 10px;
}

.BooksColumn {
  flex: 50%;
  max-width: 50%;
  margin-top: 10px;
}

.BooksColumn img {
  margin-top: 10px;
  vertical-align: middle;
  max-width: 100%;
}

.BooksLeft {
  flex: 100%;
  max-width: 100%;
	margin-top: 0px;
}

.BooksRight {
  flex: 100%;
  max-width: 100%;
	margin-top: 10px;
}

.BooksLeft img {
  vertical-align: middle;
  max-width: 100%;
	margin-bottom: 10px;
}

.BooksHalf {
	flex: 100%;
	max-width: 100%;
	margin-top: 10px;
}

.BooksHalf img {
  vertical-align: middle;
  max-width: 100%;
	margin-bottom: 10px;
}

}

@media (max-width: 500px) {
  
/*
-body {
  background-image: none;  
} -*/

.navbar {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
}

.navbar a {
  float: left;
  text-align: center;
  letter-spacing: 3px;
  font-size: 16px;
  padding: 5px;
  }
  
.subnav {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.subnav a {
  float: left;  
  padding: 5px;
  margin-bottom:0;
  }


.HomeRow {
  display: flex;
  flex-wrap: wrap;
  padding: 0 10px;
}

.HomeColumn {
  flex: 100%;
  max-width: 100%;
  margin-top: 10px;
}

.HomeColumn img {
  margin-top: 10px;
  vertical-align: middle;
  max-width: 100%;
}

.AboutMeBox p{
  float:none;
  display: block;
  clear: both;
  margin-left: auto;
  margin-right:auto;
	width: 80%;
}

.AboutMeBox img {
  float:none;
  display: block;
	margin-left: auto;
	margin-right: auto;
	width: 80%;
}

.BooksRow {
  display: flex;
  flex-wrap: wrap;
  padding: 0 10px;
}

.BooksColumn {
  flex: 100%;
  max-width: 100%;
  margin-top: 10px;
}

.BooksColumn img {
  margin-top: 10px;
  vertical-align: middle;
  max-width: 100%;
}

#noshow {
  display:block;
}

#show {
  display:none;
}

.bonus {
  border-width: 2px 0px;
  border-color: #ff4f9f;
  border-style: dashed;
  margin-top: 20px;
  padding: 20px;
  background-color: white;
  height: auto;
  column-fill: auto;
  column-count: 1;
  column-gap: 20px;
}

}