#features {
    background: url('../images/i4.jpg') no-repeat;
    animation: animate_background 50s linear 0s infinite alternate;
}

#home {
    height: auto;
}

#video_portada{ 
width:100%; height: 100%;
}

#logo_cyberteam {
	width: 185px;
	height: auto;
}

@keyframes animate_background {
    0% {
        background-position: 0 0;
    }
    25% {
        background-position: -200px 0;
    }
    50% {
        background-position: -200px -200px;
    }
    75% {
        background-position: 0 -200px;
    }
    100% {
        background-position: 0 0;
    }
}

#texto_cambiante{width:90%; vertical-align:middle; text-align:left;}

.main ul li span {
    font-size: 100px;
    letter-spacing: 10px;
    font-family: 'Roboto Condensed';
}
.main ul li {
    font-family: 'Roboto Condensed Light';
}
#apertura-cyberteam {
    background: rgba(0, 0, 0, 0.7);
    overflow: hidden;
    float: left;
    position: relative;
    display: inline;
    width: 30%;
    height: 100%;
}
#cierre-cyberteam {
    background: rgba(0, 0, 0, 0.7);
    overflow: hidden;
    float: right;
    position: relative;
    display: inline;
    width: 70%;
    height: 100%;
    /* text-shadow: 0 0 5px #000000; */
}
#comenzar {
    z-index: 999;
    bottom: 0px;
    padding: 20px;
    color: #000;
    font-size: 25px;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.4);
    width: 100%;
    left: 0%;
    display: block;
    overflow: hidden;
    font-weight: bold;
    /* text-shadow: 0 0 10px rgba(255, 255, 255, 1); */
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
#boton_comenzar {
    padding: 10px;
    font-size: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline;
    background: rgba(255, 255, 255, 0.6);
    width: 20%;
    text-shadow: none;
    box-shadow: 0 0 4px rgba(0,0,0,0.5);
    transition: all 0.3s;
}
#boton_comenzar:hover {
    background: rgba(183, 12, 27, 0.9);
    color: #fff;
}

#play_button {
    padding: 4px;
	text-align:center;
    font-size: 30px;
    background: rgba(183, 12, 27, 1);
    text-shadow: none;
    box-shadow: 0 0 4px rgba(0,0,0,0.5);
    transition: all 0.3s;
	position:absolute;
	top:7%;
	left:10px;
	border-radius:100%;
    width: 50px;
    height: 50px;
    color:#fff;
    opacity:0.9;
    text-align:center;
}
#play_button:hover {
	background: rgba(255, 255, 255, 0.6);
    color: #000;
}

#contenedor-portada {
    height: 190px;
    top: 50%
}
#logo_portada_cyberteam {
    height: auto;
    width: 100%;
	max-width:424px;
}
#for_us {
    font-size: 20px;
    color: #FFF;
    font-family: 'Roboto Condensed Light';
    position: absolute;
    top: 10px;
    left: 10px;
}
@media all and (max-width: 1050px) and (min-width: 768px) {
    #contenedor-portada {
        height: 135px;
    }
    #for_us {
        font-size: 14px;
        top: 5px;
    }
    #apertura-cyberteam {
        height: 100%;
    }
    #cierre-cyberteam {
        height: 100%;
    }
    #comenzar {
        font-size: 20px;
    }
    #boton_comenzar {
        display: block;
        width: 40%;
        margin-top: 20px;
    }
    .main ul li span {
        font-size: 50px;
    }
    .main ul li {
        font-size: 18px;
    }
}

@media all and (max-width: 770px) and (min-width: 620px) {
	.work-desc {
		height: 95px;
	}

	.work-desc h4 {
		font-size: 15px;
	}

	#logo_portada_cyberteam {
		margin-top: 15px;
	}
	
	#play_button {
		top:27%;
	}
	
}

@media all and (max-width: 650px) and (min-width: 560px) {
	.main {
		top: 62%;
	}
	#home {
		height: 360px;
	}
	#navigation {
		height: 80px;
	}
	#play_button {
		top: 1.5%;
	}
	#contenedor-portada {
		height: 125px;
		top: 35%;
	}
	#logo_portada_cyberteam {
		margin-top: 30px;
	}
	#for_us {
		font-size: 15px;
		color: #FFF;
		font-family: 'Roboto Condensed Light';
		position: absolute;
		top: 10px;
		left: 10px;
	}
	#comenzar {
		font-size: 20px;
		padding:10px;
	}
	#boton_comenzar {
		padding: 5px;
		font-size: 20px;
		letter-spacing: 0px;
		display: block;
		width: 50%;
		margin: 5px 0px 0px 0px;
	}
	.main ul li span {
		font-size: 50px;
		letter-spacing: 10px;
	}
	#logo_cyberteam {
		width: 140px;
		height: auto;
		margin: 20px 0px 0px 0px;
	}
	a.mobile-menu {
		top: 50%;
		font-size:40px;
		color: #B60C1B;
	}
	.navigation .logo {
		top: -20px;
	}
	#features {
		margin-top:0px;
	}
	.work-desc h4 {
		font-size: 15px;
	}
	.work-desc p {
		font-size: 13px;
	}
	
}

@media all and (max-width: 560px) and (min-width: 50px) {
	#logo_cyberteam {
		width: 120px;
		height: auto;
		margin: -5px 0px 0px 0px;
	}
    .main ul li span {
        font-size: 18px;
        letter-spacing: 5px;
        font-weight: bold;
    }
    .main ul li {
        font-family: 'Roboto Condensed Light';
        font-size: 15px;
    }
    #comenzar {
        font-size: 14px;
        padding: 10px;
        display: block;
    }
    #boton_comenzar {
        font-size: 20px;
        display: block;
        width: 100%;
        background: rgba(0, 0, 0, 0.5);
        color: #fff;
        margin-top: 5px;
        display: block;
    }
    #contenedor-portada {
        height: 300px;
    }
    #apertura-cyberteam {
        display: block;
        width: 100%;
        height: 45%;
        float: left;
    }
    #cierre-cyberteam {
        display: block;
        width: 100%;
        height: 27%;
        padding-top: 5px;
        background: rgba(0, 0, 0, 0.8);
        z-index: 9;
        position: static;
        top: 38%;
        float: left;
    }
    #texto_cambiante{text-align:center; width:95%;}
    #logo_portada_cyberteam {
        display: block;
        margin-bottom: -40px;
        margin-top: -15px;
    }
    #for_us {
        font-size: 17px;
        top: 5px;
    }
    .main {
        top: 47%;
    }

    #features {
        background: url('../images/i4.jpg') no-repeat center center rgba(0,0,0,0.1);
        background-size: cover;
        animation: none !important;
    }


}