/* CSS styling for the recipe */
@import url('https://fonts.googleapis.com/css2?family=Rubik+80s+Fade&display=swap');

* {
	box-sizing: border-box;
}

body {
	font-family: Arial, sans-serif;
	padding: 0;
	margin: 0;
	background-color: lightgrey;
}

/************************************************ header and footer ******/

header {
	position: relative;
	width: 100%;
	height: 75vh;
	background-image: url("/images/remote.png");
	background-size: contain;
	background-repeat: no-repeat;
	border-top: 15px solid #edede6;
	border-bottom: 15px solid #edede6;
	box-shadow: 0 5px 20px #03312E;
	background-color: #000;
	bacground-position: bottom center;
}

footer {
	width: 100%;
	text-align: center;
	position: fixed; /*absolute;*/
	bottom: 8px;
}

footer.home, footer.episodes, footer.tnt {
	width: 100%;
	text-align: center;
	position: fixed;
	bottom: 8px;
	color: white;
}

body.thankyou header {
	background-image: url("/images/control1.jpg");
	background-position: center center;
}

body.submit header {
	background-image: url("/images/cat.jpg");
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	height: 60vh;
}

header h1 {
	position: absolute;
	top: 0.5em;
	left: 0.5em;
	padding: 0;
	margin: 0;
	font-size: 4em;
	color: #800000;
	font-family: "Rubik 80s Fade";
	text-shadow: 0 5px 20px #000;
}

header h2 {
	position: absolute;
	bottom: 2rem;
	left: 0.5em;
	padding: 0;
	margin: 0;
	font-size: 1.5em;
	color: #800000;
	text-shadow: 0 5px 20px #000;
}

body.home header h1 {
	text-shadow: 0 5px 20px #000;
}


/* desktop or landscape layout */
@media screen and (orientation: landscape) {

	header {
		height: 50vh;
		background-size: cover;
		background-color: #000;
	}

	header h1 {
		top: auto;
		bottom: 1em;
		left: 1em;
	}

	header h2 {
	    bottom: 4rem;
	    left: 1rem;
	}

	body.home header {
        background-position: center center;
        height: 60vh;
	}

	body.home header h1 {
	    bottom: 8rem;
	}
}


/************************************************ content ******/

main {
	position: relative;
	width: 100%;
	height: auto;
	padding: 2em;
}

section {
	float: left;
	width: 100%;
}

.addiction a {
    display: inline-block;
    background-color: #800000;
    color: #FFF;
    padding: 0.75rem;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
    text-shadow: none;
	box-shadow: 0px 0px 15px #000;
	transition: box-shadow 0.25s, background-color 0.25s;
}

.addiction a:hover {
    background-color: #777;
}

body.profiles section {
	background-image: url("/images/GamerZone.png");
	background-position: bottom right;
    height: 75vh;
    background-size: contain;
	background-repeat: no-repeat;
	position: relative;
}

section#staff, section#events, section#fliers {
    position: relative;
    display: flex;
    flex-direction: column;
	text-shadow: 2px 2px 5px #000;
	font-weight: bold;
}

.event .event-cash {
	background-size: cover;
	background-position: center center;
	padding: 1rem;
	margin: 1rem;
	color: #fff;
}

section#tntgraphic {
		background-image: url("/images/gaminghabits.jpg");
}

section#staff div#chad {
	background-image: url("/images/chad1.jpg");
}

section#staff div#aidan {
	background-image: url("/images/aidan1.jpg");
}

section#fliers div#bng1 {
	background-image: url("/images/bngov.jpg");
}

section#fliers div#bng2 {
	background-image: url("/images/bngov2.jpg");
}

section#fliers div#us4k {
	background-image: url("/images/urbansurf4kids.jpg");
}

section#contests div#insta {
	background-image: url("/images/instagram_icon.png");
}

section#event-cash {
	background-image: url("/images/cash3.jpg");
	height: 75vh;
	position: relative;
	background-repeat: no-repeat;
	background-size: 450px 600px;
	background-position-x: center;
}

section#profiles div#cash {
	background-image: url("/images/cash1.jpg");
	height: 70vh;
	width: calc(50% - 4rem);
	position: relative;
	float: left;
	clear: both;
	background-repeat: no-repeat;
  	background-size: 375px 500px;
  	background-position-x: center;
}

/***************************  Slideshow  ****/
 
* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 600px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: lightgrey;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}


/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
/******************************** end slideshow *****/

/* mobile or portrait menu layout */
@media screen and (orientation: portrait) {

	section#tntgraphic, section#fliers div {
		height: 35vh;
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
	}

	section#contests div#insta {
		height: 5vh;
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
	}

	section#profiles div#cash {
		width: 100%;
		float: unset;
		clear: unset;
 	}

 	body.profiles section {
		background-image: none;
	}

	section#profiles div#gamer {
 		background-image: url("/images/GamerZone.png");
 		background-repeat: no-repeat;
 		width: 100%;
 		height: 45vh;
 		background-size: 375px 375px;
 	}

	.staffer {
		padding: 1rem;
	    color: #fff;
	}

	section#staff div#chad, section#staff div#aidan {
	 	background-repeat: no-repeat;
	 	background-size: contain;
		background-position: top center;
 		width: 100%;
 		height: 45vh;
	}
}


/* desktop or landscape layout */
@media screen and (orientation: landscape) {

	section#sugForm {
	    width: calc(50% - 2rem);
	}

	section p.left {
		width: calc(50% - 4rem);
		position: relative;
		float: left;
		clear: both;
	}
	
	input, textarea, select {
	    width: 35vw;
	    padding: 2px;
	}

	td {
	    vertical-align: top;
	    padding: 0.5rem;
	}

    section#tnt {
    position: relative;
    display: flex;
    flex-direction: column;
	font-weight: bold;
    }

    .staffer {
	    flex-grow: 1;
		height: 55vh;
	    background-size: cover;
	    background-position: center center;
	    padding: 1rem;
	    margin: 1rem;
	    color: #fff;
	}
    
    .poster {
	    flex-grow: 1;
		height: 75vh;
	    background-size: contain;
	    background-repeat: no-repeat;
	    background-position: center center;
	    /*padding: 1rem;*/
	    /*margin: 1rem;*/
	    color: #fff;
	}

	section#event-cash {
		background-position-y: top;
		position: absolute;
	}

	section#tntgraphic {
		height: 45vh;
		background-repeat: no-repeat;
	  	background-size: contain;
	  	background-position-x: center;
	}

	section#staff, section#fliers {
        flex-direction: row;
    }

    section#contests div#insta{
		height: 15vh;
		width: calc(50% - 4rem);
		position: relative;
		float: left;
		clear: both;
		background-repeat: no-repeat;
	  	background-size: contain;
	  	background-position-x: center;
	}

}

/***************************************** content for home page ****/

body.home main {
	padding: 0;
}

section#highlights {
    position: relative;
    display: flex;
    flex-direction: column;
	text-shadow: 2px 2px 5px #000;
	font-weight: bold;
}

.highlight {
    flex-grow: 1;
	height: 35vh;
    background-size: cover;
    background-position: center center;
    padding: 1rem;
    color: #fff;
}

.highlight a {
    /*box-shadow: 0px 0px 0px #000;*/
    text-decoration: none;
    color: #fff;
}

section#highlights div#game1 {
	background-image: url("/images/cash2.jpg");
}

section#highlights div#game2 {
	background-image: url("/images/aidan2.jpg");
}


@media screen and (orientation: landscape) {
    section#highlights {
        flex-direction: row;
    }
    
}


/************************************************ nav ******/

nav {
	position: relative;
	top: 0;
	left: 0;
	width: 100vw;
	height: 3rem;
	background-color: #777;
	z-index: 1;
	overflow: hidden;
	transition: height 0.5s;
}

nav ul {
	position: relative;
	list-style: none;
	color: #fff;
	margin: 0;
	padding: 0;
}

nav a {
	font-family: Lato, sans-serif;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}

#mobileNav {
	display: block;
	padding: 0.3em 0 0 0.4em;
	font-size: 1.5rem;
	color: #fff;
}

nav > ul > li:hover {
	background-color: #800000;
}

nav > ul > li:hover > ul > li:hover {
	background-color: #777;
}


/* mobile or portrait menu layout */
@media screen and (orientation: portrait) {

	nav:hover {
		height: 60vh;
	}

	nav li {
		padding: 0.5em 0.5em 0.5em 1em;
	}

} /* end @media orientation: portrait */


/* desktop or landscape menu layout */
@media screen and (orientation: landscape) {

	#mobileNav {
		display: none;
	}

	nav:hover {
		overflow: visible;
	}

	nav li {
		float: left;
		padding: 1rem;
		display: block;
		position: relative;
		height: 3rem;
	}

	nav > ul > li > ul {
		position: absolute;
		display: block;
		top: 3rem;
		left: 0;
		background-color: #800000;
		display: none;
	}

	nav > ul > li:hover > ul {
		display: block;
	}

	nav > ul > li > ul > li {
		width: 100%;
	}
}
