@import url(http://fonts.googleapis.com/css?family=Gafata);

*{
    margin: 0;
    padding: 0;
	text-align:center;
}



/* Nuestro nav con id #menu lo flotaremos a la derecha*/
#menu{
	margin:auto;
		text-align:center;
		max-width:1024px;
		width:100%;
		height:auto;
}   

    /* Quitamos estilos por defecto de el tag UL */
    #menu ul{
		
        list-style: none;
        font-size: 1.5em;
		text-align:center;
		
    }
        
        /* Centramos y ponemos los textos en mayuscula */
        #menu li{
           display:inline-block;
			vertical-align: middle;
           text-align: center;
        }
            
            /* Damos estilo a nuestros enlaces */
            #menu li a{
                display: block;
                color: rgba(0,0,0,1.00);
                text-decoration: none;
                height: 60px;
                line-height: 60px;
                padding: 0 42px 0px 42px;
				text-align:center;
            }
            #menu li a:hover{
                background: rgba(183,46,36,1.00);
                color: rgba(255,255,255,1.00);
				-webkit-border-top-left-radius: 20px;
-webkit-border-top-right-radius: 20px;
-moz-border-radius-topleft: 20px;
-moz-border-radius-topright: 20px;
border-top-left-radius: 20px;
border-top-right-radius: 20px;
            }
    
    /* Estilos #nav-mobile y lo ocultamos */
    #nav-mobile{
		margin-top:170px;
		margin-right:20px;
        display: none;
        background: url(../imagenes/nav.png) no-repeat center center;
        float: none;
        width: 100px;
        height: 60px;
        position: absolute;
        right: 0;
        top:0;
        opacity: .6;
		text-align:center;

    }   
        /* Agregaremos esta clase a #nav-mobile, cuando el menu mobile haya sido desplegado */
        #nav-mobile.nav-active{
            opacity: 1;
        }

/* Content */
#content{
    width: 80%;
    margin: 30px 10%;
    text-align: center;
    overflow: hidden;
}
    h2{
        font-size: 50px;
        font-weight: 600;
        text-transform: uppercase;
        color: #624c3f;
    }


/*
    MEDIA QUERY
*/

@media only screen and (max-width: 768px) {
        
    h2{font-size: 40px;}
    
    /* mostramos #nav-mobile */
    #nav-mobile{ display: block; }

    /* Fijamos nuestro nav en 100% ancho y dejamos de flotarlo  */
    #menu{
        width: 100%;
        float: none;
        padding-top: 60px;
    }
        /* Convertimos nuestra lista de enlaces en un menú horizontal */
        #menu ul{
            -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.5);
            -moz-box-shadow: 0 1px 2px rgba(0,0,0,.5);
            box-shadow: 0 1px 2px rgba(0,0,0,.5);
            max-height: 0;
            overflow: hidden;
        }
            /* estilos para los LI del menu */
            #menu li{
                background: rgba(223,223,223,1.00);
                border-bottom: 1px solid #282b30;
                float: none;
            }

            /* Quitamos el borde del ultimo item del menú */
            #menu li:last-child{ border-bottom: 0;}
                #menu li a{
                    padding: 15px 0;
                    height: auto;
                    line-height: normal;
                }
                #menu li a:hover{background:#2a2d33}

        /* Agregamos una animación al despligue del menú */
        #menu ul.open-menu{
            max-height: 400px;
            -webkit-transition: max-height .4s;
            -moz-transition: max-height .4s;
            -ms-transition: max-height .4s;
            -o-transition: max-height .4s;
            transition: max-height .4s;
        }
}


