@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');

h1{
	color: #2c505c;
	font-size: 1.5em;
	text-align: center;
}

h2{
	font-size: 3em;
	opacity: inherit;
	color: #36022d;
	font-weight: bold;
}

h3{
	color: #783f04;
	text-align: left;
	text-decoration: initial;
}

h4{
	color: maroon;
	text-align: center;
	font-weight: bold;
}
	


.wrapper {
  max-width: 100%;
  margin: auto;
}

.container-fluid{
	width: 100%;
	padding-right: 10px;
	padding-left: 10px;
	margin-left: auto;
	margin-right: auto;
}


/* Navigation Menu starts */

nav{
	font-size:  1.2em;
	font-weight: bold;
	color: #660000;
	background-image: repeating-conic-gradient(grey, lightgrey, grey, lightgrey, grey);
	background-size: 50%;
	border-radius: 20px;
	width: 100%;
	float: auto;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	display: inline-block;
	text-align: center;
	justify-content: center;

}



nav ul{
	list-style-type: none;
	text-align: center;
	color: #660000;
	margin: 0 auto;

}

nav li{
	font-size: 2em;
	border: 3px solid #315b7d;
	border-radius: 20px;
	padding-right: 20px;
	padding-left: 20px;
	margin-left: 10px;

}


nav a{
	color: #660000;

}
nav a:link{
	color: #660000;
}
nav a:visited{
	text-decoration: none;
}
nav a:hover{
	color: #274e13;
}
nav a:active{
	color: #e69138;
	background-color: transparent;
}




.navbar-toggler{
	border-radius: 20px;
	border-right: 5px solid #315b7d;
	border-left: 5px solid #315b7d;
	background-image: repeating-conic-gradient(grey, lightgrey, grey, lightgrey, grey);

}


.navbar-toggler span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.navbar-toggler span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.navbar-toggler:hover span {
  padding-right: 25px;
}

.navbar-toggler:hover span:after {
  opacity: 1;
  right: 0;
}

/*hide menu items on Desktop device sizes*/
@media all and (min-width: 981px) {
	.navbar-toggler{
		display: none;
		padding-right: 200px;
	}

		.navbar{
			padding-left: 20%;
}

	}
}

@media screen and (max-width: 400px) {
  .nav a {
    float: none;
    display: block;
    font-size: 10px;
  }

}



/* End Navigation Menu */


body{
	font-family: 'Righteous', cursive;
	font-size:  1em;
	line-height: 2;
	letter-spacing: 2px;
	color: #315b7d;
	margin: 0;
	background-image: repeating-conic-gradient(lightgrey, white, lightgrey, white, lightgrey);
  background-size: 50%;
  background-repeat: y-repeat;
}

main{
	font-size: 1em;
	letter-spacing: 2px;
	line-height: 2;
	max-width: 75%;
	margin: 10px auto;
	text-align: justify;

}

p::first-letter {
    font-size: 2em;
    font-weight: bold;
    color: maroon;
}

p{
  text-indent: 10%;
  font-size:  1.5em;
}



label{
	float: left;
	width: 10em;
	padding-right: 1em;
	font-weight: bold;
	display: block;
	color: darkblue;
}

input,textarea{
	margin-bottom: 1em;
	display: block;
	padding: 3px;
	box-shadow: 1px 1px 1px lightgrey;
	border-radius: 3px;
	font-size: 12px;
	font-family: 'Righteous';
	width: 400px;
}

#comments{
	height: 200px;
}


input[type=submit]{
	display: float;
	background-color: lightgray;
	font-size: 14px;
	color: darkblue;
	width: 80px;
	margin-left: auto;
	margin-right: auto;
	border: 1px solid gray;
	border-radius: 5px;
	cursor: pointer;
	font: inherit;
}

input[type=submit]:hover{
  background-color: lightblue;
  box-shadow: 3px 3px 5px grey;

}


footer{
	color: #274e13;
	text-align: center;
	border-top: 1px solid gray;
	padding: 10px;
	font-size: 1.5em;
	background-image: repeating-conic-gradient(grey, lightgrey, grey, lightgrey, grey);
}


.myphoto {
  border: 2px solid grey;
  border-radius: 200px;
  padding: 4px;
  margin-top: 10px;

}


.logo{
	margin: 0 auto;
	display:block;
	max-width: auto;
	height: auto;
	float: auto;
}


/* The hero image and text*/
.header-image {
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	display: block;
	height: auto;
  border-radius: 25px;
  border: 2px groove #315b7d ;
  padding: 5px 5px 5px 5px;
  font-size: 5em;
}

@media only screen and (max-width:400px){
	.img-fluid {
  	width: 100%;
  	max-width: 400px;
  	height: auto;
		}
	blockquote{
		position: relative;
		font-size: 0.5em;
	}
	.myphoto{
		width: 25%;
		position: absolute;
		top: -85px;
		left: 40px;

	}
}


/* Any other css go here */

blockquote{
	border-left: none;
	text-align: center;
	float: auto;
}



/* Gradient transparent - color - transparent */

hr{
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}


/* For Javascript game page */
canvas{
     border:3px dotted #FF8C00;
     background: url(images/firebg.png);
     background-size: 100%;
      width	: 100%;
			height	: 100%;

}

canvas body{
	margin				: 0;
	overflow			: hidden;
	background-color	: black;
}

#phaser-app {
	margin			: 0 auto;
	display			: flex;
	flex-direction	: column;
	justify-content	: center;
}



/* CSS Adjustments for Tablets */
@media only screen and (max-width: 1024px) {
		h1{
		font-size: 1.8em;
		}
		h2{
	font-size: 1.5em;
		}
		p{
			font-size: 1.2em;
		}


}

/* CSS Adjustments for Smartphones */
@media only all and (max-width: 768px) {
	h1{
		font-size: 1.2em;
		}



}

/* Media queries for mobile */
@media only screen and (max-width:400px){
   
    .desktop{
				display: none;
		}
    .mobile{
				display: block;
		}

}



/* For iframe on devices */
.container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 62.5%; /* 8:5 Aspect Ratio */

}

.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

