@charset "UTF-8";

@font-face{
	font-family: 'Roboto', sans-serif;
}

header {
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	position: fixed;
	width: 100%;
	height: 70px;
	background-color: rgba(0, 0, 0, .7);
	z-index: 1000;
}

#menuHeader {
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	position: fixed;
	width: 100%;
	height: 70px;
	z-index: 1013;
}

nav {
	float: right;
	padding-top: 26px;
	padding-right: 50px;
}

nav a {
  font-family: roboto;
  text-decoration: inherit;
  font-size: 14px;
  color: rgba(255, 255, 255, 1);
  position: relative;
  margin: 0;
  padding: 10px 18px 27px 18px;
}

nav a::after {
  content: "";
  background: #790a09;
  height: 3px;
  position: absolute;
  bottom: 0;
  transition: .14s all;
}

nav a:target {
  color: #790a09;
  outline:0;
}

nav a::after {
  left: 100%;
  right: 0;
}

nav a:hover ~ a::after {
  left: 0;
  right: 100%;
}

nav a:hover::after {
  left: 0;
  right: 0;
}


#logoImage {
	float: left;
	width: 410px;
	height: 70px;
	margin-top: 10px;
	margin-left: 10px;
	margin-right: 0px;
	margin-bottom: 0px;
}

#logoAyopa{
    
	width: 120px;
	height: 52px;
	
}

#buttonMenuFrame{
	margin: 0px;
	width: 100%;
	height: 50px;
	position: fixed;
	z-index: 1001;
}

#buttonInicio {
	float: left;
	width: 410px;
	height: 70px;
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	position: fixed;
	z-index: 1015;
}

#buttonMenu {
	float: right;
	width: 70px;
	height: 70px;
	display: none;
}

video { 
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    -webkit-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);
    -webkit-transition: 1s opacity;
    transition: 1s opacity;
}

/* Side Nav*/
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1010;
    top: 0;
    left: 0;
    background-color: white;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 100px;
}

.sidenav a {
    padding: 28px 8px 8px 32px;
    text-decoration: none;
	letter-spacing: 2px;
    font-size: 18px;
	font-family: roboto;
    color: #3C3C3C;
    display: block;
    transition: 0.3s
}

.sidenav a:hover, .offcanvas a:focus{
    color: #e09f53;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 30px;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 10px;}
  .sidenav a {font-size: 22px;}
}
/* Side Nav End*/

/* Smarthphones breakpoint 1*/
@media screen and (max-width: 1000px) { 
  	div{width:70%;} 
	
	html { 
		background:url(../img/fondo.jpg) #000 no-repeat center center fixed; 
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
	}
	
	#menuHeader{
		display:none;
		z-index: 1005;
	}
	
	#buttonMenu {
		display:block;
		
	}
	
	#buttonMenuFrame{
		z-index: 1002;
	}
	
}


/* Smarthphones breakpoint 2*/
@media screen and (max-device-width: 900px) {
  html { background: url(../img/fondo.jpg) #000 no-repeat center center fixed; }
  
}


/* Smarthphones breakpoint 3*/
@media screen and (max-width: 500px) { 
  div{width:70%;} 
	
	#logoAyopa{
		padding-top: 14px;
		width: 110px;
        height: auto;
        z-index: 9000;
	}
	
	#buttonInicio {
		width: 150px;
	}
}

.video-responsive {
position: absolute;
padding-bottom: 56.25%; /* 16/9 ratio */
padding-top: 30px; /* IE6 workaround*/
height: 0;
overflow: hidden;
}

.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: auto;
}
