@import url(fonts.css);
@import url(style_index.css);
@import url(style_portafolio.css);
@import url(style_contactenos.css);

body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	
	/* ------------------------- */
	display: flex;
	min-height: 100vh;
	flex-direction: column;
	/* ------------------------- */
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

/* ---------------------------------------- */ 
/* --- HEADER --- */ 
/* ---------------------------------------- */ 

header {
    display: flex;
    width: 100%;
	height: 80px;
    top: 0;
	left: 0;
    background-color: #ffffff;
	position: fixed;
	z-index: 100;
	/* ------------------------- */
	opacity: 0;
	animation-name: mostrarHeader;
	animation-duration: 1.5s;
	animation-delay: 0.01s;
	animation-fill-mode: forwards;
	/* ------------------------- */
	box-shadow: 0 1px 30px rgb(0 0 0 / 10%);
}

/* ---------------------------------------- */ 
/* --- LOGO --- */ 
/* ---------------------------------------- */ 

.logo {
    display: flex;
    flex: 1;
    padding: 8px;
    margin-left: 5px;
}

/* ---------------------------------------- */ 
/* --- MENÚ NAVEGACIÓN --- */ 
/* ---------------------------------------- */ 

.menuNav {
  display: flex;
  flex: 4;
  justify-content: center;
  
  padding-top: 10px;
  padding-left: 15px;
  padding-right: 15px;
  
  margin-left: 15px;    
  margin-right: 15px;
}

.menuNav li {
  padding-left: 15px;
  padding-right: 15px;
  
  margin-left: 15px;    
  margin-right: 15px;
}

.menuNav a {
  font-family: DINAlternateBold;
  color: #9b9b9b;
  transition: color 1s;
  
  border: 1px solid #ffffff;
  /* border-radius: 5px; */
  transition: border 1s;
  
  position: relative;
  display: block;
  padding: 5px;
  font-weight: 100;
  font-size: .88em;  
  letter-spacing: 1.6px;
}

.menuNav a:hover {
  /* color: #1f5fa9; */
  color: #113376;
  border: 1px solid lightgray;
  /* border-radius: 5px; */
}

/* ---------------------------------------- */ 
/* --- MENÚ REDES --- */ 
/* ---------------------------------------- */ 

.menuRedes {
	/* display: flex; */
    /* flex: 1; */
	
    position: fixed;
	right: 8px;
	bottom: 8px;
	
	height: 30px;
	width: 40px;
	
    padding: 6px 2px 12px 2px;
	text-align: center;
	
	background-color: rgba(100,100,100,0.1); 
	/* background-color: rgba(200,200,200,0.1); */
		
    border: 1px solid lightgray;
	/* border-radius: 5px; */
	box-shadow: 0px 0px 8px 0px lightgray;
	
}

.menuRedes ul {
    display: flex;
    flex: 1;
    list-style: none;
    justify-content: center;
    align-items: center;
}

.menuRedes li a {
	padding: 2px;
}

.menuRedes img:hover {
	opacity: 0.5;
	transition: all 0.6s;
}

/* ---------------------------------------- */ 
/* --- BOTÓN MENÚ --- */ 
/* ---------------------------------------- */ 

#btn-menu {
    display: none;
}

header label {
    display: none;
	
    width: 30px;
    height: 30px;
    padding: 4px;
	
    border: 1px solid #113376;
	/* border-radius: 5px; */
}

header label:hover {
    cursor: pointer;
    background-color: rgba(200,200,200,0.1);
}

/* ------------------------------------------------- */  
/* --- CUERPO GENERAL --- */ 
/* ------------------------------------------------- */  

#contenedorCuerpo {
	margin-top: 0;
    display: block;
	background-color: #ffffff;
    
	padding-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    
	text-align: center;
	font-family: Verdana;
}

#contenedorCuerpo h3 {
	margin-top: 20px;
	font-size: 15px;
	color: #666666;
}

#contenedorCuerpo p {
	font-size: 14px;
	color: gray;
	letter-spacing: 1.1px;
}

/* ---------------------------------------- */ 
/* --- FOOTER --- */ 
/* ---------------------------------------- */ 

footer {
	/* background-color: #1f5fa9; */
	/* background-color: #003399; */
	/* background-color: #113376; */
	background-color: #0D1932;
	line-height: 1.4;
	padding: 15px;
	/* ------------------------- */
	opacity: 0;
	animation-name: mostrarFooter;
	animation-duration: 1.5s;
	animation-delay: 0.01s;
	animation-fill-mode: forwards;
	/* ------------------------- */
	
}

footer h3 {
    text-align: center;
	font-family: Arial;
    font-size: 13px;
    color: #ffffff;
	letter-spacing: 1.1px;
}

footer a {
    text-align: center;
	font-family: Arial;
    font-size: 13px;
    color: #ffffff;
	letter-spacing: 1.1px;
}

/* ---------------------------------------- */ 
/* --- MEDIA 1024px --- */ 
/* ---------------------------------------- */ 

@media (max-width:1024px) {

	#btn-menu {
		display: none;
		
		position: absolute;
		top: 15px;
		right: 20px;
	}

    header label {
        display: block;
		
		position: absolute;
		top: 20px;
		right: 20px;
    }
	
    .menuNav {
		flex-direction: column;  
        position: absolute;
        background-color: #f5f5f5;
        width: 100%;
		height: 200px;
        margin-top: -100%;
        transition: all 1.2s;
        top: 80px;
		
		padding-left: 0;
		margin-left: 0;
		
		border-top: 1px solid rgba(200,200,200,0.3);   
    }
    
    .menuNav a {
        text-align: center;
		
		border: 1px solid #f5f5f5;
		border-radius: 0;		
    }
    
	.menuNav a:hover {
		border-radius: 0;
    }
	
    #btn-menu:checked ~ .menuNav {
		margin-top: 0%;
    }

}

/* ---------------------------------------- */ 
/* --- ANIMACIÓN ---► HEADER --- */ 
/* ---------------------------------------- */ 

@Keyframes mostrarHeader {
	0% {
		opacity: 0;
	}	
	
	100% {
		opacity: 1;
	}
}

/* ---------------------------------------- */ 
/* --- ANIMACIÓN ---► FOOTER --- */ 
/* ---------------------------------------- */ 

@Keyframes mostrarFooter {
	0% {
		opacity: 0;
	}	
	
	100% {
		opacity: 1;
	}
}