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

html{
  width:98%;
}

body {
  width:98%;
  margin-left:auto;
  margin-right:auto;
  background: linear-gradient(90deg,rgba(0, 0, 0, 1) 15%, rgba(145, 189, 94, 1) 100%);
  height:2300px;
}

#container2{
	width:96%;
  margin-left:auto;
  margin-right:auto;
}

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

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

#titleblock {
    height: 160px; 
    width: 800px;
    padding-left: 10px;
}

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

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

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

/*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:-25%;
}

/*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;
}

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

header{
	background-color:white;
}

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;
  margin-top:-3%;
}

#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:100%;
	height:32.5px;
  text-align:center;
  z-index:4;
  font-family:encode sans expanded;
  font-weight:300;
}

#navigation input{
  	display:none;
  }

#navigation #hamburger{
  	display:none;
  }

#navigation a {
  text-decoration: none;
}

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

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

li a {
  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;
}

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:0;
  text-wrap: nowrap;
  display:block;
}

ul li ul {
  visibility: hidden;
  opacity: 0;
  min-width: 5rem;
  position: absolute;
  transition: all 0.5s ease;
  margin-top: 32px;
  left: 0;
  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:100%;
  color:white;
  position:relative;
	/*background:rgb(255, 255, 255, .3);*/
}

.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;
}

#container {
  overflow: auto;
}


footer{
  margin-left: auto;
  margin-right:auto;
  margin-top:5%;
  border:solid 1px orange;
  padding:2%;
  color:black;
  font-size:16px;
  z-index:2;
  position:relative;
  height:0%;
  width:100%;
  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:-42px;
  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;
}
   
.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;
 }
 
.contain{
  	box-sizing: border-box;
    display: block;
  	width:80%; 	
  }

#flexbox{
  z-index:20;
}

#containMonster1{
  margin-top:4%;
  } 
}

@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;
 }
 
#navigation input:checked ~ .navitems .dropdown{ 
  	display: block;
  	z-index:1;
 }
  
.contain{
  box-sizing: border-box;
  display: block;
  width:80%;
}

#containMonster1{
  margin-top:1.5%;
  }  
}
  
@media (min-width: 576px) and (max-width: 768px) {

.label{
  	z-index:1;
  }  
  
header h1{
  	font-size:50px;
  }  
 
.title{
	margin-top:-2%;
  font-size:20px;
	} 
  
#header p{
  display:none;
  }
  
#containMonster1{
  margin-top:-1%;
  } 
}
  
@media (min-width: 769px) and (max-width: 991px) {

header h1{
  	font-size:60px;
  } 

.label{
  	z-index:1;
  }
  
#containMonster1{
  margin-top:-1.9%;
  } 
  
}
  
@media (min-width: 992px) {
  
  .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:-2.5%;
  } 
}