

*,
*:before,
*:after {
    box-sizing: border-box;
}

.container {
    margin: 0 auto;
    max-width: 100%;
    font-family: 'Orbitron', sans-serif;
}

main .container {
    padding: 1em;
}



.screen-reader-text {
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
}

/*CÓDIGO PARA DAR COLOR SCROLL AL MENÚ*/
nav.header-scrolled {
	transition: all 0.5s;
    background:rgba(28, 28, 28, 0.85);
}
 
nav.header-scrolled .header-top {
	display: none;
}
 
nav.header-scrolled .main-menu {
	background: transparent;
	border: none;
}



/************************************************/
/****************** NAVIGATION ******************/
/************************************************/
nav {
    background: transparent;
    color:  transparent;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}


nav label img {
	width:10%;
	height: auto;
	float:left;
}


/*** INPUT ***/
nav input {
    opacity: 0;
    position: absolute;
    z-index: -1;
}


/*** LABEL ***/
nav label {
    cursor: pointer;
    display: block;
    font: 2em;
    padding:2em;
}



/* Hamburger Icon */
#menu-icon,
#menu-icon:before,
#menu-icon:after {
    background: #d6d6d6;
    border-radius: 0.05em;
    height: 0.1em;
    transition: all 0.4s ease-in-out;
    width: 100%;
}

#menu-icon {
    display: inline-block;
    margin: 0em 0;
    max-width: 3.5em;
	font-weight: lighter;
    position: relative;
}

nav label #menu-icon {
    float: right;
	margin-right: 5%;
}

#menu-icon:before,
#menu-icon:after {
    content: '';
    left: 0;
    position: absolute;
}

#menu-icon:before {
    top: -0.4em;
}

#menu-icon:after {
    bottom: -0.4em;
}

/* Close Icon */
nav input[type=checkbox]:checked + label #menu-icon {
    background: transparent;
}

nav input[type=checkbox]:checked + label #menu-icon:before {
    top: 0;
    transform: rotate(-45deg);
}

nav input[type=checkbox]:checked + label #menu-icon:after {
    bottom: 0;
    transform: rotate(45deg);
}


/*** MENU ***/
/* Overlay */
nav input:checked ~ #overlay {
    background:rgba(28, 28, 28, 0.85);
    bottom: 0;
    left: 0;
    height: 100vh;
    position: fixed;
    right: 0;
    top: 0;
    width: 100vw;
    z-index: -1;
}

/* List */
nav ul {
    font-size: 5.8em;
    list-style: none;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    text-align: left;
	font-weight: 800;
	line-height: 3.5rem;
}

nav input:checked ~ ul {
    margin: 1em;
    max-height: inherit;
    opacity: 1;
	margin-top: 2%;
	transition: 2s;
}

nav ul > li {
    margin: 0.6em 0;
}


nav ul a {
    color: #666!important;
    text-decoration: none;
	font-weight: 800;
}


nav ul a:hover {
    color: #fff!important;
}


/* Social Media */
nav ul#social-media > li {
    display: inline-block;
    font-size: 0.5em;
    margin: 0.5em;
	margin-top: 20px;
}


@media screen and (max-width: 1900px) {	


nav label {
    font: 2em;
    padding:2.6em;
}
	

}


@media screen and (max-width: 1600px) {	
	
nav ul {
    font-size: 5em;
	line-height: 2.8rem;
}

nav label {
    font: 2em;
    padding:2em;
}
	
	
nav input:checked ~ ul {
    margin: 1em;
    max-height: inherit;
    opacity: 1;
	margin-top: 2%;
}	


}

@media screen and (max-width: 1200px) {	
	
nav ul {
    font-size: 1.4em;
}
	
nav label {
    font: 2em;
    padding:2em;
}	
	


}


@media screen and (max-width: 1080px) {	
	
nav ul {
    font-size: 2em;
}


}




@media screen and (max-width: 1024px) {	
	
nav ul {
    font-size: 2em;
}


}



@media screen and (max-width: 500px) {	

	

nav label {
    font: 2em;
    padding:1.5em;
}
		
#menu-icon {
    display: inline-block;
    margin: 0em 0;
    max-width: 1.8em;
	font-weight: lighter;
    position: relative;
}
	
	
nav label #menu-icon {
    float: right;
	margin-right: 2%;
}	
		
	
nav ul {
    font-size: 2.2em;
	line-height: 2rem;
	text-align: center; 
}	
		
	
/* Social Media */
nav ul#social-media > li {
    font-size: 2em;
}
	
#menu-icon,
#menu-icon:before,
#menu-icon:after {
    background: #f5f5f5;
    border-radius: 0.05em;
    height: 0.1em;
    transition: all 0.2s ease-in-out;
    width: 100%;
}
	
	
nav input:checked ~ ul {
    margin: 1em;
    max-height: inherit;
    opacity: 1;
	margin-top: 10%;
	transition: 1s;
}


}



