/*
* Uncaged
* Copyright 2017, ZeMind Game Studio Ltd.
*/


@font-face {
	font-family: Molot;
	src: url("../fonts/Molot.otf") format("opentype");
	font-style: normal; }

@font-face {
	font-family: Montserrat;
	src: url("../fonts/Montserrat-Regular.otf") format("opentype");
	font-style: normal; }

html {
	background: #0B0205;
	font-family: Montserrat;
	overflow-x: hidden;
}

h1 {
	font-family: Montserrat;
	color: white;
	font-size: 2.4em;
	letter-spacing: 1px;
	text-rendering: optimizeLegibility;
	margin: 1em 0 1em 0;
}

@media (min-width: 1300px) {
	h1 {
		font-size: 3em;
	}
}

h2 {
	font-family: Molot;
	font-size: 4em;
	letter-spacing: 1px;
	text-rendering: optimizeLegibility;
}

h3 {
	font-family: Molot;
	font-size: 2.5em;
	letter-spacing: 1px;
	text-rendering: optimizeLegibility;
}

@media (min-width: 850px) {
	h1 {
		font-size: 3em;
	}
}

p {
	font-size: 1.1em;
	font-family: Montserrat;
}

.new::after {
	content: 'new';
	display:block;
	font-size: 20px;
	text-transform: uppercase;
	font-family: Montserrat;
	font-weight: 600;
	color: #BA3F37; /*uncaged red*/
}

.kungfu_images, .bjj_images, .starter_images {
	height: 400px;
	background-size: contain;
	background-repeat: no-repeat;
	transition: background-image 0.5s;
}

.bjj_images {
	background-image: url("../img/jiujitsu_box.jpg");
}

.bjj_images:hover {
	background-image: url("../img/bjj_fighter_cards.jpg");
}

.kungfu_images {
	background-image: url("../img/kungfu_box.jpg");
}

.kungfu_images:hover {
	background-image: url("../img/kf_fighter_cards.jpg");
}

.starter_images {
	background-image: url("../img/starter_box.jpg");
}

.starter_images:hover {
	background-image: url("../img/starter_fighters.jpg");
}


img { width: 100%; }

table {
	width: 100%;
	font-size: 1.1em;
}

tr {
	border: none;
}

td {
	display: block;
	text-align: left;
	padding: 15px 0 15px 0;
	width: 100%;
}

td:first-child {
	font-weight: bold;
}

@media (min-width: 750px) {

	td {
		width: 33%;
		display: table-cell;
		text-align: center;
		padding: 16px 0 16px 0;
	}

	td:last-child {
		text-align: right;
	}

	td:first-child {
		text-align: left;
		font-weight: normal;
	}

	tr {
		padding: 30px 0 30px 0;
	}


}

/***************************
Nav (adapted from: https://codepen.io/mutedblues/pen/MmPNPG)
**************************/

nav {
	position: absolute;
	z-index: 100;
	right: 0;
	top: 0;
	transition: top 0.2s ease-in-out;
	-webkit-transition: top 0.2s ease-in-out;
}

@media (max-width: 399px) {
	nav {
		padding: 0px 20px;
	}
	.arena .container {
		background-color: rgba(0, 0, 0, 0.5); /* Dim BG image on mobile */
	}
}

nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
	background: rgba(23, 23, 23, 0.98);
}

nav li {
	margin: 0;
	padding: 10px;
}

nav li a {
  display: block;
  text-align: right;
  text-decoration: none;
  padding: 15px 20px 15px 20px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: white;
  transition: 0.3s ease;
}

nav li a:hover {
  color: #BA3F37; /*uncaged red*/
}

/* menu */

nav .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

/* menu icon */

nav .menu-icon {
  float: right;
  padding: auto;
  position: relative;
  user-select: none;
  top: auto;
  display: inline-block;
  padding: 15px 0 15px 0;
}

nav .menu-icon .navicon {
  background: white;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

nav .menu-icon .navicon:before,
nav .menu-icon .navicon:after {
  background: white;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

nav .menu-icon .navicon:before {
  top: 5px;
}

nav .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

nav .menu-btn {
  display: none;
}

nav .menu-btn:checked ~ .menu {
  max-height: 300px;
}

nav .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

nav .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

nav .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

nav .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
nav .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

@media (min-width: 950px) {
	nav ul {
		display: flex;
		display: -webkit-flex;
		background: transparent;
	}
	nav li {
		float: right;
	}
	nav li a {
		padding: 15px 20px 15px 20px;
	}
	nav .menu {
		clear: none;
		float: right;
		max-height: none;
	}
	nav .menu-icon {
		display: none;
	}
}

.press {
	text-align: center; 
	border-radius: 0px 0px 5px 5px;
	z-index: 30;
	background: #D1473E;
	transition: 0.3s ease;
}

li.press {
	margin-left: 15px;
}

.press:hover {
	background: #BA3F37;
}

nav li.press a:hover {
	color: white;
}

#logo {
	width: 60%;
}

.lazy-hidden {
	opacity: 0;
}

.highlighted {
	font-size: 1.6em;
	font-weight: bold;

}

.white {
	color: white;
}

.whitebg {
	background: white;
	color: #0B0205;
}

.bluebg {
	background: #28709C;
	position: relative;
	z-index: 10;
}

.blackbg {
	background: #0B0205;
}

.greybg {
	background: #403939;
}

.diagonalTop {
	z-index: 10;
	position: relative;
	height: 70px;
	width: 100%;
	display: block;
	background: linear-gradient(to right top, #28709C 50%, transparent 50%);
}

.diagonalBottom {
	z-index: 10;
	position: relative;
	height: 70px;
	width: 100%;
	display: block;
}
.diagonalBottom.blueGradient {
	background: linear-gradient(to left bottom, #28709C 50%, transparent 50%);
}

.diagonalBottom.greyGradient {
	background: linear-gradient(to left bottom, #403939 50%, transparent 50%);
}

.bluebg, .blackbg, .greybg {
	color: white;
}

.arena {
	background-color: black;
	background-image: url("../img/mmaBG.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: right;
	min-height: calc(100vh);
}

.arena .container {
	height: 100%;
}

.arena .container .row {
	height: 100%;
}

.arena .container .row .columns {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 70%;
}

.arena h1 {
	text-shadow: 2px 2px black;
}

#punch {
	z-index: 20;
}

form {
	line-height: 0;
}

form div {
	display: inline-block;
}

form input[type="email"], form input[type="email"]:focus  {
	color: #0B0205;
	width: 300px;
	outline: none;
	border: none;
	margin-right: 0.5em;
}

.button, input[type="submit"] {
	background: #C22E29;
	border: none;
	color: white;
	font-size: 1.2em;
	line-height: 3;
	height: auto;
	-webkit-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

input[type="email"], input[type="submit"] {
	font-size: 1em;
	line-height: 3;
	padding: 0 1em 0 1em;
	height: auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border: none;
}

.download {
	float: right;
	font-size: 0.9em;
	line-height: 2.8;
	background: none;
	border: solid 1px white;
	margin-bottom: 0;
}

input[type="submit"]:active {
	color: white;
}

.button.outline-button {
	background: none;
	color: black;
	-webkit-box-shadow:inset 0px 0px 0px 3px #000;
    -moz-box-shadow:inset 0px 0px 0px 3px #000;
    box-shadow:inset 0px 0px 0px 3px #000;
}

.button.outline-button:hover, .button.outline-button:visited, .button.outline-button:active, .button.outline-button:focus  {
	background: #F3F3F3;
	color: #000;
}

.button:hover, input[type="submit"]:hover {
	background: #992C22;
	color: white;
}

.download:hover {
	background: rgba(255,255,255,0.1);
	border: solid white 1px;
}

.button:visited, .button:active, .button:focus {
	color: rgba(255,255,255,0.6);
}

.button.mainbutton {
	font-size: 1.8em;
	padding-right: 40px;
	padding-left: 40px;
}

#toTop {
	visibility: hidden;
	display: none;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	padding: 0;
	position: fixed;
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 20px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: #C22E29 solid 4px;
    outline: none;
    background-color: rgba(255, 255, 255, 0.8);
    color: #C22E29;
    line-height: 1.5em;
}

#toTop .fa {
	font-size: 1.3em;
}

footer {
	background: #100F0F;
}

footer p {
	font-size: 0.8em;
	line-height: 2em;
	text-align: center;
	margin: 0;
	color: white;
}

footer .row > :first-child {
	padding-bottom: 0;
}

.social {
	display: flex;
	display: -webkit-flex;
	justify-content: center;
}

.social .fa {
	font-size: 2em;
	margin-left: 0.6em;
	color: white;
	transform: scale(1);
	transform-origin: 50% 50%;
	-webkit-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

.social .fa:hover {
	transform: scale(1.2);
}

.row {
	padding: 3.5em 0 2em 0;
}


.columns.no-padding {
	padding: 0;
	/* need absolute to 100% height based on parent's computed height
       https://stackoverflow.com/questions/3808512/the-inherited-height-of-a-child-div-from-a-parent-with-a-min-height-attribute */
	position: relative;
	height: 260px;
}


.no-padding img {
	position: absolute;
	bottom: 0;
	width: 80%;
}

.center {
	text-align: center;
}

.left {
	left: 0;
}

/* to make the youtube video scale to screensize */

.videoContainer {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/*********/

@media (max-width: 649px) {
	.no-padding {
		margin-bottom: -2em;
	}
	
	.no-padding.left img {
		top: 0;
	}
}

@media (min-width: 650px) {

	#toTop {
	visibility: visible; 
	}

	.columns.no-padding {
		padding: 0;
		/* need absolute to 100% height based on parent's computed height
	       https://stackoverflow.com/questions/3808512/the-inherited-height-of-a-child-div-from-a-parent-with-a-min-height-attribute */
		position: absolute;
		height: 100%;
		top: 0;
		right: 0;
	}

	.no-padding img {
		width: auto;
		max-width: 100%;
		max-height: 140%;
	}

	footer p {
		text-align: left;
	}

	.social {
		display: flex;
		display: -webkit-flex;
		justify-content: flex-end;
	}

	.arena {
	background-position: center;
}


/********************************************
Animations ******************************/

@keyframes slide-left {
	0% {
  		-webkit-transform: translateX(100%);
  		transform: translateX(100%); }

  	100% { 
  		-webkit-transform: translateX(0);
  		transform: translateX(0); }
  }

.slide-left {
	-webkit-animation-name: slide-left;
    animation-name: slide-left;
    -webkit-animation-duration: 0.9s;
    animation-duration: 0.9s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@keyframes slide-up {
	0% {
  		-webkit-transform: translateY(70%);
  		transform: translateY(70%); }

  	100% { 
  		-webkit-transform: translateY(20%);
  		transform: translateY(20%); }
  }

.slide-up {
	-webkit-animation-name: slide-up;
    animation-name: slide-up;
    -webkit-animation-duration: 0.8s;
    animation-duration: 0.8s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@keyframes slide-down {
	0% {
  		-webkit-transform: translateY(-70%);
  		transform: translateY(-70%); }

  	100% { 
  		-webkit-transform: translateY(30%);
  		transform: translateY(30%); }
  }

.slide-down {
	-webkit-animation-name: slide-down;
    animation-name: slide-down;
    -webkit-animation-duration: 0.8s;
    animation-duration: 0.8s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}


/*
.punch {
	background-image: url("../img/punch.png");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: right bottom;
}*/
