@font-face {
	font-family: 'Open Sans';
	src: url(fonts/OpenSans-ExtraBold.ttf);
}
@font-face {
	font-family: 'Patrick Hand';
	src: url(fonts/PatrickHand-Regular.ttf);
}
html,body{
	margin: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
body{
	background: #000;
}

/***********************************/
/****** INFORMATIONS ***************/
/***********************************/

#tutorial{
	position: absolute;
    top: 20px;
    left: 35px;
    color:#fff;
    /*width: calc(100% - 400px);*/
    width: 800px;
}
#tutorial > #buttons{
	position: absolute;
    top: 114px;
    left: 5px;
}
#tutorial > #buttons > div{
	width: 25px;
    height: 25px;
    border-radius: 25px;
    border: 1px solid #fff;
    margin-bottom: 7px;
    text-align: center;
    line-height: 25px;
    font-size: 19px;

    background: rgba(0,0,0,0);
    transition: all 0.1s ease-in-out;
    cursor: pointer;

	-webkit-user-select: none;  /* Chrome all / Safari all */
	-moz-user-select: none;     /* Firefox all */
	-ms-user-select: none;      /* IE 10+ */
	user-select: none;          /* Likely future */   
}
#tutorial > #buttons > div:hover{
	background: rgba(255,255,255,0.4);
}
#tutorial > #title{
	font-family: 'Open Sans';
	font-size: 80px;
	text-shadow: 5px 5px 25px black, 5px 5px 25px black, 5px 5px 25px black;
}
#tutorial > #desc{
	font-family: 'Patrick Hand';
    position: absolute;
    top: 113px;
    left: 55px;
    font-size: 22px;
    letter-spacing: 1px;
    line-height: 1.5em;
	text-shadow: 2px 2px 10px black, 2px 2px 10px black, 2px 2px 10px black, 2px 2px 10px black;
}
#tutorial > #desc .pop{
	margin-right: 2px;
    display: inline-block;
    position: relative;
    text-shadow: none;
}
.right-arrow{
	letter-spacing: -7px;
	display: inline-block;
	text-shadow: 2px 2px 10px black, 2px 2px 10px black;	
}
.right-arrow:before{
	content:'------------------------------>';
}

.step-button{
	text-shadow: none;
    font-family: 'Open Sans';
    font-size: 30px;
    border: 1px solid white;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 10px;
    margin-top: 6px;
    background: #000;
    position: relative;
    top:0;
    transition: all 0.1s ease-in-out;
    cursor: pointer;
    line-height: 40px;
}
.step-button:hover{
	background: #333;
	top:-3px;
}
.step-button:active{
	background: #000;
	top:2px;
}
.link-button{
	text-decoration: underline;
	color: #999;
	transition: all 0.1s ease-in-out;
    cursor: pointer;
}
.link-button:hover{
	text-decoration: underline;
	color: #fff;
}

.image-button{
	background-size: auto 100%;
	position: relative;
    top:0;
    transition: all 0.1s ease-in-out;
    cursor: pointer;
    display: inline-block;
}
.image-button:hover{
	top:-3px;
}
.image-button:active{
	top:2px;
}
.image-button.uh-femme, .image-button.uh-masc{
	background-image: url(../ui/uh.png);
	width: 80px;
    height: 80px;
    margin: 13px 0 7px 0;
}
.image-button.uh-femme{
}
.image-button.uh-masc{
	background-position: -100% 0;
}

.tabs{
    margin: 13px 0 7px 0;
}
.tabs #tabs{
	overflow: hidden;
}
.tabs #tabs > div{
	display: inline-block;
	background:#555;
	color:#000;
	text-shadow: none;
	padding: 0 6px;
	transition: all 0.1s ease-in-out;
}
.tabs #tabs > div[selected]{
	background: #fff;
	cursor: default;
}
.tabs #tabs > div:not([selected]){
	cursor: pointer;
}
.tabs #tabs > div:not([selected]):hover{
	background: #777;
}
.tabs #content > div{
	display: none;
}
.tabs #content > div[selected]{
	display: block;
}

b{
	font-weight: normal;
	text-shadow: 2px 2px 10px white;
}
p{
	margin-top:0;
}


/***********************************/
/****** THE STEPS ******************/
/***********************************/

#steps{
	display: none;
}


/***********************************/
/****** VISUALIZER *****************/
/***********************************/

#visualizer{
	position: absolute;
	top:0; left:0;
	width:100%;
	height: 100%;
}
#visualizer > canvas{
	position: absolute;
    top: 0;
    left: 0;
}
#instructions{
	position: absolute;
	right:0;
    bottom:0;
    font-family: 'Patrick Hand';
    font-size: 23px;
    letter-spacing: 1px;
}
#instructions > div{
	position: absolute;
	text-shadow: 2px 2px 10px black, 2px 2px 10px black, 2px 2px 10px black, 2px 2px 10px black;
}
#step2a{
	display:none;
	right: 5px;
	text-align:right;
	width: 300px;
	padding-bottom: 4px;
}
#step2b, #step2c{
	display:none;
	left: 8px;
	text-align:left;
	width: 300px;
	padding-bottom: 4px;
}

.step2_formants{
	background-image: url(../ui/shift_formants.png);
    background-size: 100% auto;
    width: 600px;
    height: 100px;
}
.step2_formants[lower]{
	background-position: 0 100%;
}


/***********************************/
/****** CONTROLS *****************/
/***********************************/

#controls{
	position: absolute;
    top: 10px;
    right: 10px;
    width: 240px;
    height: 100px;
}
#control_gender, #control_zoom{
	width: 100%;
}
#control_rereplay, #control_download{
	display:none;
}