/*  HeroGrid.css */
/* Typography imported from Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display|Source+Sans+Pro:200,400');


* {
	box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

p, a {
  font-family: 'Source Sans Pro', sans-serif;
}

/* Generic styles */
html {
  scroll-behavior: smooth;
}

/* html, body {height:100%} */

a {
  /* background-color: #3c3f41; */ /* slategray */
  text-decoration: none;
  color: white;
  border-radius: .25rem;
  text-align: center;
  display: inline-block;
  transition: all .3s;
}

a:hover {
  background-color: green;
  opacity: .6;
}

a:active {
  background-color: dimgrey;
  /* font-size:1.4rem; */
  opacity: .6;
}

/* footer */
footer {
  background-color: #333;
  padding: .75rem;
  color: white;
  text-align: center;
  font-size: .75rem;
  /* margin:5px; */
}

nav ul {
   list-style: none;
   margin: 0;
   padding: 0;
}

/*  GRID ADD-ONS */
/* from index6.php (grid/hero) */


.wrapper {
	max-width: 1080px;
	margin: 0 auto;
	font: 1.2em Helvetica, arial, sans-serif;
}

.wrapper > * {					/* selects all elements where wrapper is parent */
	border: 3px solid darkgrey;
	background-color:#3c3f41;
	border-radius: 5px;
	color:white;
	padding: 10px;
}

.note {
  display: none;
  font-size: 1.0rem;
  grid-area: note;
  grid-gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr) ) ;
 /*  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); */
  /* grid-template-columns: repeat(auto-fill, 1fr ); */
 /*  grid-template-columns: repeat(auto-fill, 100px ) ; */
  /* grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); */
/*
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr; 
  grid-template-areas:
      "a b c d e f"
      "a g g g g g";
*/
/*  grid-template-columns: auto auto auto auto; */
  background-color:#3c3f41;
  margin:5px; 
  padding: 5px;
  border:2px solid darkgrey;
  border-radius: 5px;
}

.note > div {
  /* border: 1px solid grey; */
  padding: 5px 0;
}

.noteheader-label {
	color: deepskyblue;
	font-size: 1.0rem;
}
.noteheader-label-sm {
	color: deepskyblue;
	font-size: 0.9rem;
}
.backcolor {
		background-color:#3c3f41;
}

.centered {
	text-align: center;
}

.content {
  grid-area: content;
   /* min-height: 500px; */
	height: 525px;
  /* max-height: 550px; */
  overflow: auto;
/*  margin:5px; */
}
 
.div-animate {
	/* border: 2px solid red; */
	/*  border-radius: 15px; */
  animation-name: example;
  animation-duration: 4s;
  background-color: #3c3f41;
  display:inline-flex;
  height: 11%;
  justify-content: space-evenly;	/* center space-between space-around space-evenly stretch */
  position: relative;
  width: 11%;
  min-width: 50px;
}

.hideonshrink {
	display: grid;
}


.capn-choc {
 background: url("../img/capn-collage.jpg") no-repeat center scroll;
  background-color: #3c3f41;
  height: 450px;
  background-size: cover;
  opacity: 1.0;
  position: relative;
}

.capn-img {
	height:225px; 
	width:225px;
}

.dog-weed {
   background: url(../img/dog-smoking-weed.jpg) no-repeat center scroll; 
}

.dog-smoking-weed {
  background: url(../img/dog-smoking-weed.jpg) no-repeat center scroll; 
  background-color: #3c3f41;
  height: 450px;
  /* background-size: cover; */
  opacity: 0.6;
  position: relative;
}


.driving-nail {
   background: url(../img/driving-nail-coffin1.jpg) no-repeat 50% 70% scroll; 
  -webkit-background-size: 20%;
  -moz-background-size: 20%;
  -o-background-size: 20%;
  background-size: 70%;
  background-color:#3c3f41; 
   display: none; 
  min-height: 425px;
  opacity: 0.8;
}

.grim-reaper {
 background: url("../img/GrimReaper2.jpg") no-repeat center scroll;
  background-color: #3c3f41;
  height: 450px;
  background-size: cover;
  opacity: 0.6;
  position: relative;
}

.hanuman {
   background: url(../img/Hanuman.jpg) no-repeat 50% 70% scroll; 
  -webkit-background-size: 20%;
  -moz-background-size: 20%;
  -o-background-size: 20%;
  background-size: 70%;
  background-color:#3c3f41; 
   display: none; 
  min-height: 425px;
  opacity: 0.8;
}

.hungry-wolf {
 background: url("../img/hungry_wolf4.jpg") no-repeat center scroll;
  background-color: #3c3f41;
  height: 450px;
  background-size: cover;
  opacity: 0.6;
  position: relative;
}

.img-proto {
  background-attachment: scroll;
  background-color: #3c3f41;
  background-position: center; 
  background-repeat: no-repeat;
  background-size: cover;
  height: 450px;
  opacity: 0.6;
  position: relative;
}

.monkey-headphones {
   background: url(../img/monkey-headphones.jpg) no-repeat 50% 70% fixed; 
  -webkit-background-size: 20%;
  -moz-background-size: 20%;
  -o-background-size: 20%;
  background-size: 30%;
  background-color:#3c3f41; 
   display: none; 
  min-height: 425px;
  opacity: 0.4;
}

.monkey-challenge {
   background: url(../img/DreamJourneyOpening.gif) no-repeat 50% 70% scroll; 
  -webkit-background-size: 20%;
  -moz-background-size: 20%;
  -o-background-size: 20%;
  background-size: 70%;
  background-color:#3c3f41; 
   display: none; 
   min-height: 425px;
  opacity: 0.8;
}

.morning-owl {
   background: url(../img/morning-of-owl-resize2-1200.jpg) no-repeat 50% 70% scroll; 
  -webkit-background-size: 20%;
  -moz-background-size: 20%;
  -o-background-size: 20%;
  background-size: 90%;
  background-color:#3c3f41; 
   display: none; 
  min-height: 425px;
  opacity: 0.8;
}

.morning-owl-drink {
   background: url(../img/LetsHaveADrink.gif) no-repeat 50% 70% scroll; 
  -webkit-background-size: 20%;
  -moz-background-size: 20%;
  -o-background-size: 20%;
  background-size: 70%;
  background-color:#3c3f41; 
   display: none; 
  min-height: 425px;
  opacity: 1.0;
}

.morning-owl-mission {
   background: url(../img/Morning-of-Owl3.gif) no-repeat 50% 70% scroll; 
  -webkit-background-size: 20%;
  -moz-background-size: 20%;
  -o-background-size: 20%;
  background-size: 70%;
  background-color:#3c3f41; 
   display: none; 
  min-height: 425px;
  opacity: 1.0;
}

.shisan {
   background: url(../img/Shisan.png) no-repeat 50% 70% scroll; 
  -webkit-background-size: 20%;
  -moz-background-size: 20%;
  -o-background-size: 20%;
  background-size: 70%;
  background-color:#3c3f41; 
   display: none; 
   min-height: 425px;
  opacity: 0.8;
}

.shisan-who {
   background: url(../img/YenShisan2.gif) no-repeat 50% 70% scroll; 
  -webkit-background-size: 20%;
  -moz-background-size: 20%;
  -o-background-size: 20%;
  background-size: 70%;
  background-color:#3c3f41; 
   display: none; 
   min-height: 425px;
  opacity: 0.8;
}

.switching-places {
   background: url(../img/DreamJourneyOpening.gif) no-repeat 50% 70% scroll; 
  -webkit-background-size: 20%;
  -moz-background-size: 20%;
  -o-background-size: 20%;
  background-size: 70%;
  background-color:#3c3f41; 
   display: none; 
   min-height: 425px;
  opacity: 0.8;
}

.swordmaster {
   background: url(../img/swordmaster_13.gif) no-repeat 50% 70% scroll; 
  -webkit-background-size: 20%;
  -moz-background-size: 20%;
  -o-background-size: 20%;
  background-size: 70%;
  background-color:#3c3f41; 
   display: none; 
   min-height: 425px;
  opacity: 0.8;
}

.sideways-wolf {
 background: url("../img/wolf-looking-sideways.jpg") no-repeat center scroll;
  background-color: #3c3f41;
  height: 450px;
  background-size: cover;
  opacity: 0.6;
  position: relative;
}

.smoking-dog {
  background: url(../img/dog-smoking-weed.jpg) no-repeat; /* fixed; */ /*  50% 90%; */
  background-size: 100%;
  border-radius: 5px;
  width: 100px;
  height: 100px;
  background-color: #3c3f41;
}

.stoned-cat {
   background: url(../img/stoned-cat.jpg) no-repeat 50% 70% scroll; 
  -webkit-background-size: 20%;
  -moz-background-size: 20%;
  -o-background-size: 20%;
  background-size: 30%;
  background-color:#3c3f41; 
   display: none; 
  min-height: 425px;
  opacity: 0.4;
}

.sun-wukong {
   background: url(../img/sun-wukong.jpg) no-repeat 50% 70% fixed; 
  -webkit-background-size: 20%;
  -moz-background-size: 20%;
  -o-background-size: 20%;
  background-size: 30%;
  background-color:#3c3f41; 
   display: none; 
  min-height: 425px;
  opacity: 0.4;
}

.surf-iguana {
   background: url(../img/surfiguana2.jpg) no-repeat 50% 70% fixed; 
  -webkit-background-size: 20%;
  -moz-background-size: 20%;
  -o-background-size: 20%;
  background-size: 30%;
  background-color:#3c3f41; 
   display: none; 
  min-height: 425px;
  opacity: 0.4;
}

.tangseng-v-witch {
   background: url(../img/DreamJourney-TangSeng-vs.-Witch.gif) no-repeat 50% 70% scroll; 
  -webkit-background-size: 20%;
  -moz-background-size: 20%;
  -o-background-size: 20%;
  background-size: 70%;
  background-color:#3c3f41; 
   display: none; 
   min-height: 425px;
  opacity: 0.8;
}

img {
  cursor:pointer;
  border: 1px solid darkgrey;
  border-radius: 25px;*
  min-width: 50px;
}

li:active {
  background-color: firebrick;
}

.links {
  border-radius: 5px;
  color:white;
  cursor: pointer;
  font-size: 1.1em;
  padding: 3px;
  /* text-decoration: underline; */
}

.links-cat {
  border-radius: 5px;
  color:lime;
  cursor: pointer;
  font-size: 1.2em;
  padding: 3px;
  /* text-decoration: underline; */
}

.links:active {
  background-color: firebrick;
}

.main-footer {
  background-color: #225cb294; /* was firebrick */
  display: grid;
    grid-gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  font-size: 0.8em;
  grid-area: footer;
  text-align:center;
}

.main-head {
  background-color: #225cb294; /* was firebrick */
  cursor:pointer;
  grid-area: header;
  text-align: center;
/*  margin:5px; */
}

.upper-nav {
  grid-area: uppernav;
 /* width: 90%; */
 /* margin:5px; */
  text-align:center;
}

.main-nav {
  background-color: #225cb294; /* was firebrick */
  grid-area: nav;
 /* width: 90%; */
 /* margin:5px; */
}

/* mp3Div class */
.mp3Div {
	background-color:dimgrey;
	border:1px solid grey;
    border-radius: 5px;
	color:#acaab6;
/*	display: inline-grid; */
	padding: 5px;
	margin: 5px;
	font-size: .7em;
	text-align:center;
/*	width: 35%; */
/*	min-width: 200px; */
}

.player {
	height: 1rem;
	width: 95%;
}

.responsive {
  /* max-height: 2%; */
  /* max-width:64px; */
  /* max-width:3.5rem; */
  /* width:25%; */
  width: 4.0rem;
  height:auto;
}

.sectheader {
/*	left: 50%
	position:absolute; */
	text-align: center;
	top: 50px;
}

.sections {
	display:none;
    grid-gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
/*	position: absolute; */
	top: 150px;
}

.side {
  grid-area: sidebar;
}

.wrapper {
  display: grid;
  gap: 10px;
/*  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr) ) ; */
  grid-template-columns: 1fr 3fr; 
  /* grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) */
  grid-template-areas:
      "header  header"
	  "uppernav    uppernav"
      "nav     nav"
	  "note      note"
      "content     content"
      "content     content"
      "footer  footer";
}


@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

.rotate {
  transition: width .5s, height .5s, transform .5s;
  text-align:center;
  margin:auto;
}

.rotate:hover {
  width: 110px;
  height: 110px;
  transform: rotate(370deg);
}

/* Contact form add-ons */
input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

label {
  color: black;
  padding: 12px 12px 12px 0;
  display: inline-block;
}

input[type=submit] {
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

input[type=submit]:hover {
  background-color: #45a049;
}

.container {
  border-radius: 5px;
  background-color: lightblue;
  padding: 10px;
  margin:auto;
  width:80%;
}

.col-20 {
  float: left;
  width: 20%;
  margin-top: 6px;
}

.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
}

.col-80 {
  float: left;
  width: 80%;
  margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}


/* FlipBox add-ons */

.flip-box {
  background-color: #fff; /* transparent; */
  border: 1px solid #fff; 
  border-radius: 50%;
  cursor:pointer;
  width: 50%;		/* 75% */
  height: 200px;	/* 400px */
  perspective: 1000px;
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 1s;
  transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
  transform: rotateX(180deg);
}

.flip-box-front, .flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  color: white;
  backface-visibility: hidden;
}

.flip-box-front {  
/*  background-color:DodgerBlue; */
  background: url(../img/monkey-headphones.jpg) no-repeat center; /* center fixed; */
  -webkit-background-size: 60%;
  -moz-background-size: 40%;
  -o-background-size: 60%;
  background-size: 60%; 
  color: white;
}

.flip-box-back {
  background: #bbb;
  background: url(../img/evil-monkey-headphones.jpg) no-repeat center; /*  center fixed; */
  -webkit-background-size: 60%;
  -moz-background-size: 40%;
  -o-background-size: 60%;
  background-size: 60%;
  color: white;
  transform: rotateX(180deg);
}

.flip-box-lat {
  background-color: #fff; /* transparent; */
  border: 1px solid #fff;
  border-radius: 50%;
  cursor:pointer;
  width: 50%;		/* 75% */
  height: 200px;	/* 400px */
  perspective: 1000px;
}

.flip-box-inner-lat {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 1s;
  transform-style: preserve-3d;
}

.flip-box-lat:hover .flip-box-inner-lat {
  transform: rotateY(180deg);
}

.flip-box-front-lat, .flip-box-back-lat {
  position: absolute;
  width: 100%;
  height: 100%;
  color: white;
  backface-visibility: hidden;
}

.flip-box-front-lat {
   background: url(../img/stoned-cat.jpg) no-repeat center; /*  center fixed; */
  -webkit-background-size: 60%;
  -moz-background-size: 40%;
  -o-background-size: 60%;
   background-size: 60%;
/*  background-color: #bbb; */
  color: black;
}

.flip-box-back-lat {
   background: url(../img/evil-stoned-cat.jpg) no-repeat center; /*  center fixed; */
  -webkit-background-size: 60%;
  -moz-background-size: 40%;
  -o-background-size: 60%;
   background-size: 60%; 
/*  background: dodgerblue; */
  color: white;
  transform: rotateY(180deg);
}

/* css tips & tricks wrapper2 (flex) */
.wrapper2 {
  display: flex;  
  flex-flow: row wrap;
/*  font-weight: bold; */
  text-align: center; 
}

.wrapper2 > * {
  padding: 10px;
  flex: 1 100%;
}

.note-main {
  background: dimgrey;
  border: 2px solid lightgrey;
  font-size: 1.0rem;
  text-align: left;
}

.note-header {
  background: #3c3f41;
  border: none;
  color: deepskyblue;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
}

 .aside { 
  cursor: pointer;
  flex: 1 0 0; 
  font-size: 0.9rem;
}

.aside:hover {
	background-color: grey;
}
.aside-1 {
  background: dimgrey;
}

.aside-2 {
  background: dimgrey;
}

.aside-3 {
  background: dimgrey;
}

.aside-4 {
  background: dimgrey;
}

.aside-5 {
  background: dimgrey;
}

/* Media Queries */

@media (min-width: 450px) {
  .wrapper {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
	  "uppernav"
      "nav"
      "note"
      "content"
      "content"
      "footer";
  }
  .responsive {
	width: 2.0rem;
   }
  nav ul {
    display: flex;
     flex-direction: row;
    justify-content: space-between;
  }
  .sections {
	top: 10px; 		/* 150px; */
   }
}

@media (min-width: 500px) {
  .wrapper {
    grid-template-columns: 1fr 3fr;
    grid-template-areas:
      "header  header"
	  "uppernav    uppernav"
      "nav     nav"
      "note      note"
      "content     content"
      "content     content"
      "footer  footer";
  }
  nav ul {
    display: flex;
     flex-direction: row;
    justify-content: space-between;
  }
  .aside {
	flex:auto;
   }
  .responsive {
	width: 3.0rem;
   }
  .sections {
	top: 10px;	/* 150px; */
  }
  .links {
	font-size: 0.7em;
  }
 .links-cat {
	font-size: 0.8em;
  }
  .hideonshrink {
	display: none;
  }
	.hanuman, .hungry-wolf, .morning-owl, .shisan, .sideways-wolf {
		background-size: 100%;
	}
	.grim-reaper {
		background: url(../img/GrimReaper2.jpg) no-repeat center top scroll; 
		background-size: 80%;
	}
}

@media (min-width: 700px) {
  .wrapper {
    /* grid-template-columns: repeat(auto-fit, minmax(230px, 6, 1fr));  */
     /* grid-template-columns: 1fr, 4fr, 1fr; */
	grid-template-columns: 1fr, 3fr;
	/* grid-template-columns: repeat(auto-fit, minmax(230px, 1fr 4fr 1fr)); */
    grid-template-areas:
      "header header  header"
	  "uppernav    uppernav  uppernav"
      "nav nav nav"
      "note note note"
      "content content content"
      "content content content"
      "footer footer  footer"
   }
   nav ul {
     flex-direction: row;
   }
  .responsive {
	width: 4.0rem;
   }
   .sections {
		top: 10px;
    }
	.links {
		font-size: 0.9em;
	}
 .links-cat {
	font-size: 1.0em;
  }
	.hideonshrink {
		display: grid;
	}
	.hanuman, .hungry-wolf, .morning-owl, .shisan, .sideways-wolf {
		background-size: 70%;
	}
	.grim-reaper {
		background: url(../img/GrimReaper1.jpg) no-repeat center scroll; 
		background-size: 100%;
	}
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
/*
@media screen and (max-width: 600px) {
  .col-25, .col-75, input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
}
*/


/* Small devices (portrait tablets and large phones, 600px and up) (part of FlipBox) */
@media only screen and (min-width: 600px) {
    .hh {width:50%;
    float:left}
}
