* {
	box-sizing: border-box;	
}

body {
	margin:0;
	padding: 0;
	background-image: url("../img/Pattern.png");
    background-repeat: repeat;
    background-size:10%;
}



.contenedorPrincipal {
	height: 1200px;
	width: 780px;
	position: absolute;
	top: 50%;
	left: 0%;
	overflow: hidden;
}


.visor {
	/*width: 100%;*/
	height:1131px;
	overflow: hidden;
}

.contenedor {
	height: 100%;
	margin-left: 0%;
	background-color: #ee4c9b;
	/*background-color: #FFE73E;*/
}


.card {
	height: 100%;
	display: block;
	float: left;
	position: relative;
	width: 780px;
	height: 1121px;
	padding: 5px 25px;
}


.video {
	display: block;
	width: 100%;
	padding: 10px;
	margin:auto;
	position: relative;
	background-color: #fff;
	top: 50%;
	transform: translateY(-50%);
}


.sonido {
	width:80px;
	height:80px;
	bottom: 45px;
	left: 50%;
	transform: translateX(-50%);
	position:absolute;
	cursor:pointer;
}


.sonido img {
	display: block;
	width: 100%;
}

.botonera {
	padding: 0px;
	width: 750px;
	left: 50%;
	height: 10%;
	transform: translateX(-50%);
	bottom: 0;
	position: absolute;
	background-color: #ee4c9b;

	/*background-color: #1DDBFF;*/
}


.control {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
}

.btn {
	position: absolute;
	top: 50%;
	font-weight: bold;
	color: #fff;
	transform: translateY(-50%);
	cursor: pointer;
	width: 80px;
	height: 80px;
}

#btn1 {
	left: 10px;
	background-color: #fff;
	background: url(../img/btn_back.png);
	background-repeat: no-repeat;
	background-size: contain;
	transition-duration: .4s;
	display: none;
	cursor:pointer;
}

#btn1:hover {
	background: url(../img/btn_hover_back.png);
	background-repeat: no-repeat;
	background-size: contain;
}

#btn2 {
	right: 10px;
	z-index: 4;
	background: url(../img/btn_next.png);
	background-repeat: no-repeat;
	background-size: contain;
	transition-duration: .4s;
	cursor:pointer;
}


#btn2:hover {
	background: url(../img/btn_hover_next.png);
	background-repeat: no-repeat;
	background-size: contain;
}

.play {
	width: 80px;
	height: 80px;
	background: #fff url(../img/btn_play.png) center center;
	background-repeat: no-repeat;
	background-size: contain;
	transition-duration: .4s;
	cursor:pointer;
	box-shadow: 0 0 0px rgba(255,255,255,1);
    border-radius: 50%;
	animation-name: glow;
	animation-duration: 2s;
	animation-iteration-count: infinite;
}

.play:hover {
	background: #fff url(../img/btn_hover_play.png) center center;
	background-repeat: no-repeat;
	background-size: contain;
}

.pausa {
	width: 80px;
	height: 80px;
	background: url(../img/btn_pause.png);
	background-repeat: no-repeat;
	background-size: contain;
	transition-duration: .4s;
	cursor:pointer;
}

.pausa:hover {
	background: url(../img/btn_hover_pause.png);
	background-repeat: no-repeat;
	background-size: contain;
}


.repite {
	width: 85px;
	height: 85px;
	background: url(../img/btn_repeat.png);
	background-repeat: no-repeat;
	background-size: contain;
	transition-duration: .4s;
	cursor:pointer;
}

.repite:hover {
	background: url(../img/btn_hover_repeat.png);
	background-repeat: no-repeat;
	background-size: contain;
}

.inactivo {
	display: none;
}


.automatico {
	height: 100vh;
}



@keyframes glow {
	0%,100% {
		box-shadow: 0 0 0px rgba(255,255,255,1);
	} 

	50% {
		box-shadow: 0 0 25px rgba(255,255,255,1);
	}
}

/*MEDIA QUERIES*/
/*@media only screen and (max-width: 690px) {
	.automatico {
		position: relative;
	}
}*/



@media only screen and (max-height: 1127px) {

	.play, .pausa, .repite, #btn1, #btn2 {
		width: 60px;
		height: 60px;
	}
}


/*@media only screen and (orientation: portrait){
	.card {
		max-width: 100%;
		height: 85%;
	}
}*/










