// mobile media query
@mixin mobile {
  @media screen and (max-width: 640px) {
    @content;
  }
}

// tablet media query
@mixin tablet {
  @media (min-width: 768px) and (max-width: 1024px) {
    @content;
  }
}

// fonts
$font_header : 'Nunito', sans-serif;
$font_body   : 'Nunito', sans-serif;

body {
  padding: 0;
  margin: 0;
  font-family: $font_body;
}

.container {
  width: 100%;
  height: auto;
}

img {
	max-width: 100%;
    display: block;
    margin: 0 auto;
}

select {
	padding: 5px;
    font-family: Nunito;
    border-radius: 5px;
}

label {
	margin: 0.7em 0;
}

footer {
	text-align: center;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 40px;
	background-color: black;

	p {
		color: white;
		margin: 0px !important;
		font-size: 13px;
		padding-top: 10px;
	}
	a {
		text-decoration: none;
	}
	a:hover {
		text-decoration: underline;
	}
}

.mobile-tablet-warning {
	display: none;
	background-color: #1a1c22;
	height: 90vh;
	width: 100%;
	padding: 30px;

	h3 {
		text-align: center;
	    font-size: 40px;
	    color: #db4437;
	    margin: 0px;
	    padding: 50px 20px
	}
	p {
		font-size: 14px;
    	color: white;
	}
}

.emotion-container {
	height: 100vh;
	background-color: #1a1c22;
	margin: 0px;
	@include mobile {
		height: 100%;
		padding: 0px;
		margin-bottom: 40px;
	}
}

.emotion-header {
	width: 100%;
	text-align: center;
	background-color: black;
	padding: 20px 0px;
    h3 {
    	margin: 0px;
    	padding: 0px;
    	font-size: 25px;
    	color: #9f56d4;
    	font-family: $font_body;
    	@include mobile {
    		font-size: 20px;
    	}
    }
    p {
    	margin: 0px !important;
    	margin-bottom: 0px !important;
    	color: lightgrey;
    	font-size: 13px;
    }
}

.emotion-wrapper {
	background-color: black;
	width: 100%;
	height: 85%;
	display: flex;
	flex-wrap: wrap;
	@include mobile {
		display: block;
	}
}

.emotion-flex {
	flex: 1;
	width: 100%;
	height: 100%;
	background-color: #131519;
}

.emotion-player {
	border-right: 1px solid #252933;
	@include mobile {
		border-bottom: 1px solid #252933;
		border-right: 0px;
	}
}

.emotion-controller {
}

.emotion-tuner {
	display: flex;
	width: 100%;
	text-align: center;
	padding: 50px 0px;

	@include mobile {
		flex-wrap: wrap;
    	padding: 5%;
	}

	.emotion-dropdown {
		flex: 1;
	}
	select {
		display: inline-block;
	    background-color: #000000;
	    border: 0px;
	    color: lightgrey;
	    border-bottom: 1px solid #424242;
	    margin-top: 0px;
	    @include mobile {
			font-size: 10px;
		}
	}
	label {
		display: block;
		color: lightgrey;
		font-size: 13px;
		font-family: $font_body;
		@include mobile {
			font-size: 10px;
		}
	}
}

.emotion-acquire {
	display: flex;
	flex-wrap: wrap;
	text-align: center;
	justify-content: center;
	width: 100%;
	padding: 30px 0px;

	.emotion-acquire-outer {
		padding: 10px 0px;
		background-color: black;
		border: 1px solid #3c3c3c;
		border-radius: 3px;
		margin: 0 20px;
		flex: 1;
		width: 150px;
		height: 140px;
		@include mobile {
			width: 100px;
			height: 120px;
			margin: 10px;
			flex: none;
		}
	}
	.emotion-acquire-inner {
		width: 100%;
		height: 100px;
		border-radius: 3px;
		position: relative;
		cursor: pointer;
		@include mobile {
			height: 85px;
		}

		p {
			margin: 0px;
		    margin-bottom: 0px !important;
		    font-size: 18px;
		    color: lightgrey;
		    text-align: center;
		    padding: 3px;
		    position: absolute;
		    bottom: 0px;
		    width: 100%;
		}

		.emotion-acquire-cam img {
			width: 90px;
			height: 100px;
			border: 0px !important;
			@include mobile {
				width: 85px;
				height: 85px;
			}
		}
	}
	p {
		margin: 0px;
	    margin-bottom: 0px !important;
	    font-size: 10px;
	    color: #b773e9;
	    text-align: center;
	    padding: 3px;
	    width: 100%;
	}
}

.emotion-buttons {
	display: flex;
	flex-wrap: wrap;
	text-align: center;
	justify-content: center;
	width: 100%;
	padding: 10px 0px;

	@include mobile {
		display: block;
	}

	button {
		width: 100px;
	    height: 100px;
	    border-radius: 50%;
	    border: 5px solid #462c59;
	    padding: 20px;
	    background-color: #7c47a3;
	    color: white;
	    font-size: 20px;
	    font-family: Nunito;
	    font-weight: bold;
	    margin: 0 20px;
	    cursor: pointer;
	    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
	    @include mobile {
	    	width: 60px;
	    	height: 60px;
	    	padding: 10px;
	    	font-size: 12px;
	    	margin: 0 10px;
	    }
	}
	button:focus {
		outline: none;
	}
	button:hover {
		transform: scale(1.3);
	}

}

.emotion-kit {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding-top: 50px;

	@include mobile {
		padding-top: 0px;
	}

	.emotion-kit-comps {
		position: relative;
		width: 100px;
	    height: 100px;
	    background-color: #ffffff;
	    border-radius: 10px;
	    border: 6px solid #e9e9e9;
	    margin: 10px;
	    cursor: pointer;
	    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
	    @include mobile {
	    	width: 60px;
	    	height: 60px;
	    }

	    audio {
	    	width: 120px;
    		height: 85px;
    		@include mobile {
		    	width: 70px;
		    	height: 25px;
	    	}
	    }

	    p {
	    	margin: 0px;
		    margin-bottom: 0px !important;
		    font-size: 16px;
		    color: #333;
		    text-align: center;
		    padding: 40px 0px;
		    width: 100%;
		    font-weight: bold;
		    @include mobile {
		    	padding: 12px 0px;
		    }
	    }
	}
	.emotion-kit-comps:hover {
		transform: scale(1.1);
	}
}

.emotion-kit-comps p::selection {
  color: #333;
  background: transparent;
}

.emotion-live-cam {
	width: 100%;
	padding-top: 50px;

	div {
		width: 250px;
		height: 250px;
		background-color: black;
		border-radius: 10px;
		margin: 0px auto;
		border: 2px solid #7a7a7a;
		overflow: hidden;
		@include mobile {
			width: 180px;
			height: 180px;
			margin-top: 10px;
		}
	}

	video {
		width: 250px;
		height: 250px;
		@include mobile {
			width: 180px;
			height: 180px;
		}
	}
}

.emotion-loss {
	color: #e13527;
	font-size: 15px;
	text-align: center;
	margin-bottom: 0px !important;
	margin: 0px !important;
	padding: 0px 20px !important;
}