/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
	
	background-image: url("images/tiledbackground2.jpg");
	background-repeat: repeat-y;
	background-size: 110%;
	background-position: center;
	background-attachment: scroll;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
	margin: auto;
	align-content: center;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

#root, #__next {
  isolation: isolate;
}


/* Navigation bar section */

.navbar {
	
}
	
.navbar ul {
  position: fixed;
  top: 0;
  width: 100%;
  list-style-type: none;
  margin: 0;
  padding-bottom: 100;
  overflow: hidden;
  background-color: #283238;
  display: flex;
  align-items: center;
}

.navbar li {
  float: left;
}

.navbar li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.navbar li a:hover {
  background-color: #111111;
	}

/* End of Nav bar section */

.logo {
	padding-top: 75px;
	padding-bottom: 5px;
}

.cornerlogo {
	padding-top: 0px;
	max-width: 75px;
}

.sectionbreak {
	background-color: #283238;
	justify-content: center; 
	text-align: center;
	padding: 15px;
	color: white;
	font-family: Arial;
	text-size: 40px;
}


/* Flex Box section */

/* Column container */

.skullcat-infobox {  
  display: flex;
  flex-wrap: wrap;
  max-width: 900px;
  align-self: center;
  margin: auto;
  background-color: black;
  color: white;
  padding-bottom: 10px;
}

.soulmate-infobox {  
  display: flex;
  flex-wrap: wrap;
  max-width: 900px;
  align-self: center;
  margin: auto;
  background-color: steelblue;
  color: white;
}

.scriptures-infobox {  
  display: flex;
  flex-wrap: wrap;
  max-width: 900px;
  align-self: center;
  margin: auto;
  background-color: palevioletred;
  color: white;
}

.moroni-infobox {  
  display: flex;
  flex-wrap: wrap;
  max-width: 900px;
  align-self: center;
  margin: auto;
  background-color: lightseagreen;
  color: white;
}

/* left column */
.blurb {
  flex: 40%;
  padding: 20px;
}

/* Right column */
.picgallery {
  display: flex;
  flex: 60%;
  flex-direction: row;
  padding: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
}

/* Sample images for the books */
.sample {
  max-width: 33%;
  padding: 20px;
  cursor: pointer;
  transition: transform 0.5s ease;
}

.sample:hover {
  transform: scale(1.1);
}

.nosample {
  max-width: 33%;
  padding: 20px;
  cursor: not-allowed;
}

/*Modal Function*/

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

/* Modal content (image) */
.modal-content {
  position: relative;
  width: auto;
  height: auto;
  max-width: 90%;
  max-height: 90%;
  border-radius: 5px;
  overflow: hidden;
  animation: zoomIn 0.5s;
}

@keyframes zoomIn {
  from {transform: scale(0.6);}
  to {transform: scale(1);}
}

.modal.show {
  display: flex;
  opacity: 1;
}

/* Close button */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #ffffff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s;
}

.prev {
  position: absolute;
  top: 50%;
  left: 15px;
  color: #ffffff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s;
}

.next {
  position: absolute;
  top: 50%;
  right: 15px;
  color: #ffffff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s;
}

/* Caption of modal image */
.caption {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
  color: #ffffff;
  font-size: 24px;
}

/* Store links row */
.storelinks {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: flex-start;
  padding-left: 20px;
}

.storelinks > div {
  background-color: lightgoldenrodyellow;
  margin: 10px;
  padding: 5px 10px;
  border-radius: 8px;
  font-family: Arial;
  font-size: 15px;
  color: black;
}

.storelinks > div:hover {background-color: yellow; text-color: black;}

.storelinks > div a:link, a:active, a:visited, a:hover {color: black; text-decoration: none;}


/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
	
 .navbar ul {
  	padding-left: 0px;
	}
	
 .cornerlogo {
	min-width: 75px;
	}
	
  .skullcat2, .skullcat-infobox, .soulmate-infobox, .scriptures-infobox, .moroni-infobox, .navbar {   
    flex-direction: column;
  }
	.sample, .nosample {
		max-width: 25%;
		padding: 10px;
	}
	.sectionbreak {
		font-size: 10px;
		padding: 10px;
	}
	
	.modal-content {
    height: auto;
	}
	
	.prev {
	top: 10%;
	left: 10px;
	}
	
	.next {
	top: 10%;
	right: 10px;		
	}
}


/* Skull Cat 2 section */

.skullcat2 {
	max-width: 100%;
	background: rgba(0, 0, 0, 0.5);
	align-self: center;
	padding-top: 10px;
	padding-bottom: 5px;
	margin: auto;
}


/* Skull Cat 1 section */

.skullcat1 {
	background: rgba(0, 0, 0, 0.5);
	padding-top: 5px;
	padding-bottom: 10px;
}


/* Soulmate Chronicles section */

.soulmate {
	background: rgba(70, 148, 209, 0.7);
	padding-top: 5px;
	padding-bottom: 5px;
}


/* Amazing Scriptures section */

.scriptures {
	background: rgba(209, 70, 70, 0.7);
	padding-top: 5px;
	padding-bottom: 5px;
}


/* Captain Moroni section */

.moroni {
	background: rgba(70, 209, 142, 0.7);
	padding-top: 5px;
	padding-bottom: 5px;
}


/* Footer and bottom of page section */

.thanks {
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: center;
	font-family: "Myriad Pro";
	color: whitesmoke;
}

footer {
  background-color: #333; /* Dark background */
  color: white;          /* White text */
  padding: 20px;         /* Space inside the footer */
  text-align: center;    /* Center-align text */
}

.footer h3 {
  margin-bottom: 10px;
}

.footer ul {
  list-style: none; /* Remove bullet points */
  padding: 0;
}

.footer li {
  margin-bottom: 5px;
}

.footer a {
  color: lightgray;
  text-decoration: none; /* Remove underlines from links */
}

.footer a:hover {
  color: white;
}

.copyright {
  margin-top: 15px;
  font-size: 0.9em;
}
	
