/*This sets the background color for our comic page*/

html{
  /*background-color: #2b2b2b;*/
  background: #3B3E4F;
  background: linear-gradient(90deg,rgba(59, 62, 79, 1) 52%, rgba(95, 145, 48, 1) 100%);
  width: 98%;
}

body{
  width:98%;
  height:1400px;
}

#skip {
  background: #fff;
  position: absolute;
  left: -9999px;
  text-decoration: none;
  color: #000;
  padding: 0.5em;
  opacity: 0;
}				

#skip:focus {
  position: static;
	opacity: 0;
}

#skip a {
	color:#000000;
}

/*These IDs are for the invisible divs that will hold our comic together*/

page {
    height: 100%;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

#titleblock {
    position: relative;
    height: 160px;
    width: 95%;
    padding-left: 5%;
}

/*These are the text styles for the headline and byline*/

h1 {
    font-family: "Comic Sans MS";
    font-style: italic;
    font-weight: 200;
    font-size: 45px;
    color: white;
    width: 100%;
}

h2 {
    font-family: "Comic Sans MS";
    font-style: italic;
    font-weight: 900;
    font-size: 16px;
    color: white;
    width:100%;
}

/*These IDs are for the panels that will make up our comic.*/

#panel1 {
    position:relative;
    height: 280px;
    width: 400px;
    border:10px solid #2b2b2b;
    float: left;
  	overflow: hidden;
    /*background-color: #28d8eb;
  	background-image:url('https://projects.codecraftworks.com/web/Du7Ez5UDEBekuJMWSrs7/assets/Gemini_Generated_Image_1s7io01s7io01s7i.jpeg');
  background-repeat:no-repeat;
	background-position:top ;
	background-size: 400px;*/
}

#panel2 {
    position:relative;
    height: 280px;
    width: 280px;
    border:10px solid #2b2b2b;
    float: left;
    /*background-color: #77da62;*/
    overflow: hidden;
  	/*background-image:url('https://projects.codecraftworks.com/web/Du7Ez5UDEBekuJMWSrs7/assets/Gemini_Generated_Image_s473gos473gos473.jpeg');
  	background-repeat:no-repeat;
		background-position:top ;
		background-size: 300px;*/
}


#panel3 {
    position:relative;
    height: 280px;
    width: 480px;
    border:10px solid #2b2b2b;
    float: left;
    /*background-color: #00d26d;*/
    overflow: hidden;
  	/*background-image:url('https://projects.codecraftworks.com/web/Du7Ez5UDEBekuJMWSrs7/assets/Gemini_Generated_Image_v3newtv3newtv3ne.jpeg');
  	background-repeat:no-repeat;
		background-position:top ;
		background-size: 500px;*/
}

#panel4 {
    position:relative;
    height: 280px;
    width: 200px;
    border:10px solid #2b2b2b;
    float: left;
  	overflow: hidden;
    /*background-color: #ff9100;
  	background-image:url('https://projects.codecraftworks.com/web/Du7Ez5UDEBekuJMWSrs7/assets/Gemini_Generated_Image_8jjkze8jjkze8jjk.jpeg');
  	background-repeat:no-repeat;
		background-position:top ;
		background-size: 500px;*/
}

#panel5 {
    position:relative;
    height: 280px;
    width: 480px;
    border:10px solid #2b2b2b;
    float: left;
    background-color: #e57700;
    overflow: hidden;
  	/*background-image:url('https://projects.codecraftworks.com/web/Du7Ez5UDEBekuJMWSrs7/assets/Gemini_Generated_Image_flwc9nflwc9nflwc.jpeg');
    background-repeat:no-repeat;
		background-position:top ;
		background-size: 480px;*/
}

#panel6 {
    position:relative;
    height: 280px;
    width: 200px;
    border:10px solid #2b2b2b;
    float: left;
  overflow: hidden;
    /*background-color: #ff9100;
  	background-image:url('https://projects.codecraftworks.com/web/Du7Ez5UDEBekuJMWSrs7/assets/Gemini_Generated_Image_7ln3gn7ln3gn7ln3.jpeg');
  	background-repeat:no-repeat;
		background-position: center;
    background-size: 280px;*/
}

#panel6 img{
  margin-left:-19%;
}
/*These classes are for the different text styles we will be using in the comic*/

.narration {
    font-family: "Comic Sans MS";
    font-style: italic;
    font-weight: 900;
    font-size: 15px;
    padding: 10px;
    color: white;
    margin-top: 0;
  	margin-left:0;
    background-color: rgb(43, 43, 43,.5);
}

.bigtext {
    font-family: "Comic Sans MS";
    color: white;
    font-style: italic;
    font-weight: 900;
    font-size: 30px;
    line-height: 100%;
    margin: 20px;
    text-shadow:2px 2px #2b2b2b;
}

/* These classes can position text and images within the panel.*/

.left {
    position:absolute;
    left: 0;
}

.right {
    position:absolute;
    right: 0;
}

.top {
    position:absolute;
    top: 0;
}

.bottom {
    position:absolute;
    bottom: 0;
}
  
/*These ids can be used fit specific images into our panels based on the dimensions of the image*/

#image1 {
    position: absolute;
}

/*These classes are for stacking or ordering elements on top of eachother.*/

.inback {
    z-index: 1;
}

.inmiddle {
    z-index: 2;
}

.infront{
    z-index: 3;
}

/*html{
 background: #000000;
	background: linear-gradient(90deg,rgba(0, 0, 0, 1) 31%, rgba(145, 189, 94, 1) 100%);
}*/

.target{
  position:absolute;
  width:1px;
  height:1px;
	overflow:hidden;
}
/*start*/

header {
    background-color: white;
    position: relative;
    width: 98%;
    margin-left: 1%;
}

header img {
  position:relative;
  padding:6px;
  width:150px;
  color:rgb(95, 145, 48);
  z-index:1;
}

header h1 {
  position:relative;
  z-index:2;
  width:100%;
  text-align:center;
  margin:-5px 0 50px 0;
  color:rgb(95, 145, 48);
  font-size:65px;
  font-family:Gruppo;
  font-style: NORMAL;
}

#danadecor img{
	width:580px;
  margin-left:-50px;
  z-index:100;
}

#header h1 {
  position:relative;
  z-index:2;
  width:100%;
  text-align:center;
  margin:-5px 0 50px 0;
  color:rgb(95, 145, 48);
  font-size:65px;
  font-family:Gruppo;
}

#navigation{
  position:relative;
  text-wrap:none;
  width:102%;
  height:32.5px;
  text-align:center;
  z-index:1000;
  font-family:encode sans expanded;
  font-weight:300;
  margin-left: -1%;
}

#navigation input{
  	display:none;
  }

#navigation #hamburger{
  	display:none;
  }

#navigation a {
  text-decoration: none;
  display:block;
}

ul {
  list-style: none;
  margin: 0;
  padding-left: 1px;
}

li {
  text-align:center;
  border:solid white 1px;
  background:black;
  display: inline-block;
  position: relative;
  text-decoration: none;
  transition-duration: 0.5s;
  top: -32px;
}

li a {
  font-size:14px;
  color:rgb(182, 252, 61);
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  padding: 10px;
}

li:hover,
li:focus-within {
  background: rgb(87, 92, 88, .9);
  cursor: pointer;
  border:solid 3px rgb(182, 252, 61);
}

/*dropdown menu*/

li:focus-within a {
  	outline: none;
    background: rgb(255, 255, 255,.2);
  	border:soild 5px lime;
}

.dropdown li {
    border: solid 1px white;
    width: 150px;
    margin-top: -5px;
    text-wrap: nowrap;
    display: block;
    margin-left: -48%;
}

ul li ul {
  visibility: hidden;
  opacity: 0;
  min-width: 5rem;
  position: absolute;
  transition: all 0.5s ease;
  margin-top: 39px;
  margin-left: 66%;
  display: none;
  text-wrap:nowrap;
}

ul li:hover{
	border:solid 3px rgb(182, 252, 61);
}

ul li:hover > ul,
ul li:focus-within > ul,
ul li ul:hover,
ul li ul:focus {
  visibility: visible;
  opacity: 1;
  display: block;
}
/*stop*/

main {
    width: 98%;
    color: white;
    position: relative;
    /* background: rgb(255, 255, 255, .3); */
    margin-left: 1%;
}

.my-button {
    display: inline-block;
    padding: 10px 20px; 
    text-decoration: none;
		background-color:black;
		font-family:encode sans expanded;
  	font-weight:300;
    font-size:16px;
  	color:rgb(182, 252, 61);
  	text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;;
     border-radius: 5px;
     border: solid 1px white;

     cursor: pointer; 
     transition: background-color 0.3s ease;
}

.my-button:hover {
  background: rgb(87, 92, 88, .9);
  cursor: pointer;
  border:solid 3px rgb(182, 252, 61);
}

/*start*/

.clearfix {
    overflow: auto;
    margin-left: 16%;
    width: 70%;
}

#container {
  overflow: auto;
  width:100%;
}


footer{
  border:solid 1px orange;
  padding:2%;
  margin-top:5%;
  color:black;
  font-size:16px;
  z-index:2;
  position:relative;
  height:0%;
  width:95%;
  background:black;
}

footer p{
  color:white;
  text-align:center;
  font-size:20px;
  font-family:Bodoni Moda;
  font-weight:100;
}

footer a{
	text-decoration: none;
  color:rgb(182, 252, 61);
}

footer a:hover{
	text-decoration: none;
  color:lime;
  font-size:20px;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

/*stop*/

#containMonster1 img{
  position:relative;
	width:70%;
  margin-top: -6.7%;
  z-index:3;
}

.center1 {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width:50%;
}


@media (max-width: 419px){
 
header h1{
  	font-size:30px;
  } 
 
#navigation input:checked ~ .navitems{ 
  display: block;
}
  
#navigation input:checked ~ .navitems .dropdown{ 
  display: block;
  margin-left: 44%;
}
   
.navitems{ 
  display: none;
}
 
.navitems li{ 
  display: block;
}
  
.dropdown{ 
  display: block;
}
  
.navitems a {
    box-sizing: border-box;
    display: block;
    width: 100%;
		flex-grow: 1;
  	flex-basis: 0;
    border-top: 1px solid #333;
}
  
#navigation label { 
    position:relative;
    display: inline-block; 
    color: white;
    background:rgb(95, 145, 48);
    font-style: normal;
    font-size: 32px;
    padding: 10px;
    cursor: pointer;
    margin-top:-30px;
    margin-left:85%;
  	z-index:1;
  }

#navigation input:checked ~ .navitems{ 
  	display: block;
  	z-index:1;
 }
  
#navigation input:checked ~ .navitems .dropdown{ 
  	display: block;
  	z-index:1;
  margin-left: 20%;
 }
 
.contain{
  	box-sizing: border-box;
    display: block;
  	width:80%; 	
  }

#flexbox{
  z-index:20;
}

#container {
  position: relative;
  width: 98%;
}
 
#page {
    height: 100%;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}
  
  #container {
  position: relative;
  width: 100%;
}
  
.clearfix {
  margin-top: -2px;
  width: 96%;
  height: auto;
  overflow: visible;
  resize: both;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: space-evenly;
  margin-left: 2%;
  margin-top: 29%;
  }
  
#panel1, #panel2, #panel3, #panel4, #panel5, #panel6{
  position:relative;
  height: 280px;
  width: 400px;
  border:10px solid #2b2b2b;
  float: left;
  overflow: hidden;
}
  
#panel6 img{
  width:125%;
  margin-top:-5%;
  }
 
#panel6 .left {
    left: 52%;
}
  
#titleblock {
    height: 160px;
    width: 85%;
    margin-left: 10%;
}

}

@media (min-width: 420px) and (max-width: 575px){ 
  
header h1{
  	font-size:40px;
  }  
  
.navitems a {
    box-sizing: border-box;
    display: block;
    width: 100%;
    border-top: 1px solid #333;
} 
  
#navigation li{
  	display:block;
  }
 
#navigation label { 
    position:relative;
    display: inline-block; 
    color: white;
    background:rgb(95, 145, 48);
    font-style: normal;
    font-size: 32px;
    padding: 10px;
    cursor: pointer;
    margin-top:-30px;
    margin-left:85%;
  	z-index:1;
} 
   
.navitems{ 
  display: none;
}
 
.navitems li{ 
  display: block;
  width:70%;
  margin-left:auto;
}
 
.dropdown li{ 
  display: block;
   width:100%;
  text-align:center;
}
  
#navigation input:checked ~ .navitems{ 
  display: block;
  margin-top: 6%;
 }
 
#navigation input:checked ~ .navitems .dropdown{ 
  	display: block;
  	z-index:1;
    margin-left:25%;
    width: 60%;
 }
  
.contain{
  box-sizing: border-box;
  display: block;
  width:80%;
}

#containMonster1{
  margin-top:1.5%;
  }  
  
.clearfix{
  margin-top:-2px;
  width:100%;
  height:auto;
  /*zoom:30%;
  border: 2px solid black;*/
  overflow: visible;
  resize: both;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content:center;
  align-items:space-evenly;
  margin-top: 23%;
  margin-left:0;
}
  
#panel1, #panel2, #panel3, #panel4, #panel5, #panel6{
  position:relative;
  height: 280px;
  width: 480px;
  border:10px solid #2b2b2b;
  float: left;
  overflow: hidden;
}
 
#panel2 img {
   width: 100%;
   margin-top: -20%;
}
  
#panel6 img {
  margin-left: -12%;
  width: 112%;
  margin-top: -18%;
}
  
#panel6 .left {
    left: 56%;
}
}
  
@media (min-width: 576px) and (max-width: 768px) {

.label{
  	z-index:1;
  } 
  
ul li:focus-within > ul, ul li ul:hover, ul li ul:focus {
    margin-left: 24%;
}
  
header h1{
  	font-size:50px;
  }  
 
.title{
	margin-top:-2%;
  font-size:20px;
	} 
  
#header p{
  display:none;
  }
  
#containMonster1{
  margin-top:1%;
  } 
  
.clearfix {
  /* margin-top: -2px; */
  width: 100%;
  height: auto;
  overflow: visible;
  resize: both;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: space-evenly;
  /* margin: auto; */
  margin-top: 11%;
  margin-left: -1%;
    }

  
#panel1, #panel2, #panel3, #panel4, #panel5, #panel6{
  position:relative;
  height: 280px;
  width: 480px;
  border:10px solid #2b2b2b;
  float: left;
  overflow: hidden;
}
 
#panel2 img {
    width: 100%;
    margin-top: -20%;
}
  
#panel6 img {
    margin-left: -18%;
    width: 120%;
    margin-top: -20%;
}
  
#panel6 .left {
    position: absolute;
    left: 66%;
}
}
  
@media (min-width: 769px) and (max-width: 979px) {

header h1{
  	font-size:60px;
  } 

.label{
  	z-index:1;
  }
  
#containMonster1{
  margin-top:-1.9%;
  } 
  
.clearfix {
  overflow: auto;
  margin-left: 1%;
  width: 103%;
  margin-top: 7%;
    }
  
#panel1 {
    position:relative;
    height: 280px;
    width: 420px;
    border:10px solid #2b2b2b;
    float: left;
  	overflow: hidden;
    /*background-color: #28d8eb;
  	background-image:url('https://projects.codecraftworks.com/web/Du7Ez5UDEBekuJMWSrs7/assets/Gemini_Generated_Image_1s7io01s7io01s7i.jpeg');
  background-repeat:no-repeat;
	background-position:top ;
	background-size: 400px;*/
}

#panel2 {
    position:relative;
    height: 280px;
    width: 280px;
    border:10px solid #2b2b2b;
    float: left;
    /*background-color: #77da62;*/
    overflow: hidden;
  	/*background-image:url('https://projects.codecraftworks.com/web/Du7Ez5UDEBekuJMWSrs7/assets/Gemini_Generated_Image_s473gos473gos473.jpeg');
  	background-repeat:no-repeat;
		background-position:top ;
		background-size: 300px;*/
}


#panel3 {
    position:relative;
    height: 280px;
    width: 500px;
    border:10px solid #2b2b2b;
    float: left;
    /*background-color: #00d26d;*/
    overflow: hidden;
  	/*background-image:url('https://projects.codecraftworks.com/web/Du7Ez5UDEBekuJMWSrs7/assets/Gemini_Generated_Image_v3newtv3newtv3ne.jpeg');
  	background-repeat:no-repeat;
		background-position:top ;
		background-size: 500px;*/
}

#panel4 {
    position:relative;
    height: 280px;
    width: 200px;
    border:10px solid #2b2b2b;
    float: left;
  	overflow: hidden;
    /*background-color: #ff9100;
  	background-image:url('https://projects.codecraftworks.com/web/Du7Ez5UDEBekuJMWSrs7/assets/Gemini_Generated_Image_8jjkze8jjkze8jjk.jpeg');
  	background-repeat:no-repeat;
		background-position:top ;
		background-size: 500px;*/
}

#panel5 {
    position:relative;
    height: 280px;
    width: 500px;
    border:10px solid #2b2b2b;
    float: left;
    background-color: #e57700;
    overflow: hidden;
  	/*background-image:url('https://projects.codecraftworks.com/web/Du7Ez5UDEBekuJMWSrs7/assets/Gemini_Generated_Image_flwc9nflwc9nflwc.jpeg');
    background-repeat:no-repeat;
		background-position:top ;
		background-size: 480px;*/
}

#panel6 {
    position:relative;
    height: 280px;
    width: 200px;
    border:10px solid #2b2b2b;
    float: left;
  overflow: hidden;
    /*background-color: #ff9100;
  	background-image:url('https://projects.codecraftworks.com/web/Du7Ez5UDEBekuJMWSrs7/assets/Gemini_Generated_Image_7ln3gn7ln3gn7ln3.jpeg');
  	background-repeat:no-repeat;
		background-position: center;
    background-size: 280px;*/
}
  
#panel6 .left {
    left: 48%;
}
  
}

@media (min-width: 980px) and (max-width: 1049px) {
 
.clearfix {
  overflow: auto;
  margin-left: 10%;
  width: 90%;
}
  
}
  
@media (min-width: 1049px) {
  
  .img{
    z-index:2;
  }  
 
.title{
  /*background:rgb(3, 3, 3,.5);*/
  width:90%;
  font-size:30px;
  margin-top:-15px;
  z-index:1;
  }
  
#containMonster1{
  margin-top:-1.1%;
  } 
  
.clearfix {
  overflow: auto;
  margin-left: 14%;
  width: 75%;
}
  
#panel1 {
    position:relative;
    height: 280px;
    width: 420px;
    border:10px solid #2b2b2b;
    float: left;
  	overflow: hidden;
    /*background-color: #28d8eb;
  	background-image:url('https://projects.codecraftworks.com/web/Du7Ez5UDEBekuJMWSrs7/assets/Gemini_Generated_Image_1s7io01s7io01s7i.jpeg');
  background-repeat:no-repeat;
	background-position:top ;
	background-size: 400px;*/
}

#panel2 {
    position:relative;
    height: 280px;
    width: 280px;
    border:10px solid #2b2b2b;
    float: left;
    /*background-color: #77da62;*/
    overflow: hidden;
  	/*background-image:url('https://projects.codecraftworks.com/web/Du7Ez5UDEBekuJMWSrs7/assets/Gemini_Generated_Image_s473gos473gos473.jpeg');
  	background-repeat:no-repeat;
		background-position:top ;
		background-size: 300px;*/
}


#panel3 {
    position:relative;
    height: 280px;
    width: 500px;
    border:10px solid #2b2b2b;
    float: left;
    /*background-color: #00d26d;*/
    overflow: hidden;
  	/*background-image:url('https://projects.codecraftworks.com/web/Du7Ez5UDEBekuJMWSrs7/assets/Gemini_Generated_Image_v3newtv3newtv3ne.jpeg');
  	background-repeat:no-repeat;
		background-position:top ;
		background-size: 500px;*/
}

#panel4 {
    position:relative;
    height: 280px;
    width: 200px;
    border:10px solid #2b2b2b;
    float: left;
  	overflow: hidden;
    /*background-color: #ff9100;
  	background-image:url('https://projects.codecraftworks.com/web/Du7Ez5UDEBekuJMWSrs7/assets/Gemini_Generated_Image_8jjkze8jjkze8jjk.jpeg');
  	background-repeat:no-repeat;
		background-position:top ;
		background-size: 500px;*/
}

#panel5 {
    position:relative;
    height: 280px;
    width: 500px;
    border:10px solid #2b2b2b;
    float: left;
    background-color: #e57700;
    overflow: hidden;
  	/*background-image:url('https://projects.codecraftworks.com/web/Du7Ez5UDEBekuJMWSrs7/assets/Gemini_Generated_Image_flwc9nflwc9nflwc.jpeg');
    background-repeat:no-repeat;
		background-position:top ;
		background-size: 480px;*/
}

#panel6 {
    position:relative;
    height: 280px;
    width: 200px;
    border:10px solid #2b2b2b;
    float: left;
  overflow: hidden;
    /*background-color: #ff9100;
  	background-image:url('https://projects.codecraftworks.com/web/Du7Ez5UDEBekuJMWSrs7/assets/Gemini_Generated_Image_7ln3gn7ln3gn7ln3.jpeg');
  	background-repeat:no-repeat;
		background-position: center;
    background-size: 280px;*/
}
  
}