html {
    margin-left: -5%;
    background: radial-gradient(circle, rgba(241, 245, 166, 1) 0%, rgba(144, 156, 189, 1) 50%, rgba(70, 78, 204, 1) 97%);
    background-repeat: inherit;
}

body {
    box-shadow: 5px 9px 15px white;
    background-color: rgb(255, 255, 255, .4);
    width: 90%;
    /* margin: auto; */
    margin-left: 8%;
}

body p{
  position:relative;
  top:5%;
  margin-top: 5%;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-size:18px;
  font-weight:400;
  font-style: normal;
  padding: 5%;
}

#container{
 width:100%;
}

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

h1{
    font-family: gruppo;
    font-size: 60px;
    text-align: center;
    width: 98%;
    color: white;
    margin-top: 5%;
    margin-bottom: 3%;
}

h2{
    z-index: 4;
    color: #341e8a;
    text-align: center;
    font-family: "Josefin Sans", sans-serif;
    /* font-optical-sizing: auto; */
    font-size: 40px;
    font-weight: 500;
    font-style: normal;
    margin-top:15%;
}

header{
  background-color:white;
  width:100%;
  margin-top: -.5%;
}

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

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

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

/*
#danadecor img{
  position:relative;
	width:120px;
  margin-left:10px;
  margin-top:-190px;
  z-index:10;
}
*/
#navigation {
  margin-left: -1%;
  position: relative;
  text-wrap: none;
  width: 102%;
  height: 32.5px;
  text-align: center;
  z-index: 1;
  font-family: encode sans expanded;
  font-weight: 300;
}

#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: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: 34px;
  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;
  margin-top: 34%;
  margin-left: -3%;
}

footer{
  margin-top:7%;
  border:solid 3px orange;
  padding:2%;
  color:black;
  font-size:16px;
  z-index:2;
  position:relative;
  height:0%;
  width:96%;
  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;
}

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

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

#main{
  box-shadow: 5px 9px 15px white;
  background-color:rgb(255, 255, 255,.4);
}

#main p{
  margin-top:-5%;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-size:25px;
  font-weight:400;
  font-style: normal;
  padding:3%;
}

#monster{
  position:relative;
  top:15%;
  left:2%;
  padding-bottom:6%;
  z-index:1;
  width: 350px;
  height:350px;
/* the name of the animation to apply to the element */
  animation-name: moveIt;
/* how long the animation should take */
  animation-duration: 10s;
/* how many times the animaiton through run */
  animation-iteration-count:1;
/* how smooth the animation should be */
  animation-timing-function: linear;
  animation-play-state: var(--play-state);
  /*animation-delay: 5s;*/
}

  @keyframes moveIt {
    0% {
    left: 100%; 
    transform: scale(0);
    }
    25% {
      left: 87.5%; 
    transform: scale(.375);
    }
    50% {
      left: 75%; 
      transform: scale(.75);
    }
    75%{
      left: 62.5%; 
      transform: scale(1.125);
    }
   100%{
     left: 25%; 
     transform: scale(1);
		 /*animation-delay: 5s;*/
    }
}

#pause-monster {
  position: sticky;
  z-index: 100;
  cursor: pointer;
  margin-left:2%;
  top: 14%;
  height:75px;
  width:140px;
  color:white;
  box-shadow: 2px 2px 15px white;
  background-color:#3241a6;
  font-size:18px;
  padding:5px;
  font-family: "Montserrat", sans-serif;
  border-radius:15%;
}
#button2{
  position:relative;
  margin-top:1%;
  border-width:3px;
  border-style:solid;
  border-color:#545252;
  box-shadow: 2px 2px 15px white;
  padding:15px;
  color:white;
  font-family: "Montserrat", sans-serif;
  background-color:#3241a6;
	text-decoration:none;
  border-radius:15%;
}
#button2:visited {
	background-color: #79c4db;
}
#button2:hover, #link:focus {
	background-color: #9c8be0;
}
#pause-monster:hover, #link:focus {
	background-color: #9c8be0;
}

#containMonster1 img{
  position:relative;
  width: 35%;
  margin-top: -25px;
  z-index:3;
}

@media (max-width: 419px){
  
body {
  box-shadow: 5px 9px 15px white;
  background-color: rgb(255, 255, 255, .4);
  width: 98%;
  margin-left: 7%;
}
 
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:75%;
  	z-index:1;
  }

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

#flexbox{
  z-index:20;
}
  
.box {
    box-sizing: border-box;
    display: block;
}
 
.box img {
  	box-sizing: border-box;
    display: block;
    width: 100%;
  }
 
.box img {
  	box-sizing: border-box;
    display: block;
  	object-fit: cover;
}

.title{
  padding-top:20px;
	font-size:25px;
}
  
#containMonster1{
  margin-top:4%;
  } 
  
#containMonster1 img {
  position: relative;
  width: 64%;
  margin-top: -39px;
  z-index: 3;
}
  
#monster {
  left: -13%;
}
  
#pause-monster {
  top: 18%;
  margin-left: 0;
  }
  
#main p {
    font-size: 18px;
}
  
footer{
  margin-top:37%;
}
  
@keyframes moveIt {
    0% {
    left: 85%; 
    transform: scale(0);
    }
    25% {
      left: 68%; 
    transform: scale(.375);
    }
    50% {
      left: 51%; 
      transform: scale(.75);
    }
    75%{
      left: 34%; 
      transform: scale(1.125);
    }
   100%{
     left: 17%; 
     transform: scale(1);
		 /*animation-delay: 5s;*/
    }
}
}
@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;
  margin-top: 5%;
}
 
.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;
  margin-left: -45%;
  margin-top: 9%;
  width: 60%;
 }
  
.contain{
  box-sizing: border-box;
  display: block;
  width:80%;
}

.box {
    box-sizing: border-box;
    display: block;
}

.box img {
  	box-sizing: border-box;
    display: block;
    width: 100%;
}
 
.title{
    font-size:30px;
    margin-top:-40px;
}

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

.label{
  	z-index:1;
  }  
  
#header h1{
  	font-size:50px;
  } 
 
/*/*   
.navitems{ 
  display: none;
}
*/ 
 
.title{
	margin-top:-2%;
  font-size:20px;
	} 
  
#header p{
  display:none;
  }
  
#containMonster1{
  margin-top:-1%;
  } 
  
ul li:hover > ul, ul li:focus-within > ul, ul li ul:hover, ul li ul:focus {
    visibility: visible;
    opacity: 1;
    display: block;
    margin-top: 31%;
    margin-left: -51%;
}
}
  
@media (min-width: 769px) and (max-width: 991px) {

#header h1{
  	font-size:60px;
  } 

.label{
  	z-index:1;
  }
  
/*.box{
   box-sizing: border-box;
    display: block;
    width: 30%;
  	height:280px;
  }
 
.box img{
  box-sizing: border-box;
  display: block;
  width:100%;
}*/

.title{
  font-size:25px;
  margin:-15px;
}
  
#containMonster1{
  margin-top:-1.9%;
  width:100%;
  } 
  
}
  
@media (min-width: 992px) {
  
/*.box{
   	box-sizing: border-box;
    display: block;
  	width:90%;
  	overflow:hidden;
  }*/
 
  .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.1%;
  } 
}

/*class notes, not part of page making a hexigon

.hex1 {
    width: 0;
    border-bottom: 30px solid #6C6;
    border-left: 52px solid transparent;
    border-right: 52px solid transparent;
}
.hex2 {
    width: 104px;
    height: 60px;
    background-color: #6C6;
}
.hex3 {
    width: 0;
    border-top: 30px solid #6C6;
    border-left: 52px solid transparent;
    border-right: 52px solid transparent;
}
*/