
/*=====  CSS  ======

    01. GENERAL
    02. HEADER LPT
    03. HEADER MBL
    04. PROYECTOS
    05. PUBLICACIONES
    06. INFO
    07. MEDIA QUERIES

*/



/*--==============================
   01.GENERAL
================================*/

@font-face {
  font-family: RedHatMono-Light;
  src: url(../fonts/RedHatMono-Light.ttf);
}


*{
	margin: 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
	
}



body{
	background-color: #f9fbfb;
}



p{
	font-family: RedHatMono-Light;
	font-size: 1em;
	color: #090909;
	text-align: left;
}


h1{
	font-size: 2em;
	color: #090909;
	font-family: RedHatMono-Light;
}


ul{
	font-family: RedHatMono-Light;
	color: #090909;
	margin: 0px;
	padding: 0px;
 	list-style-type: none;
}


li {
	font-family: RedHatMono-Light;
	color: #090909;
	font-size: 1em;
	margin: 0px;
	padding: 0px;
}



/*--===== Cookie popup ===
======================================================

#cookie-popup {
    position: fixed;
    right: -100%;
    bottom: 0;
    max-width: 330px;
    z-index: 8888;
    opacity: 1;
    padding: 16px;
    background-color:black;
  }

  #cookie-popup p {
    margin: 0;
    color: #ffff;
    font-family: acumin-pro, sans-serif;
		font-weight: 400;
		font-style: normal;
		font-size: 0.9em;
  }

  #cookie-popup #cookie-popup-dismiss-btn {
    display: inline-block;
    margin-top: 18px;
    color: black;
    background-color: white;
    padding: 5px 12px;
    font-family: acumin-pro, sans-serif;
		font-weight: 400;
		font-style: normal;
		font-size: 0.9em;
  }

  #cookie-info{
  	color: grey;
  	font-family: acumin-pro, sans-serif;
		font-weight: 400;
		font-style: normal;
		font-size: 0.9em;
  }

  #cookie-popup.is-visible {
    right: 0;
  }
============================================================*/




/*--==============================
           02.HEADER LPT
================================*/


/*----------- INDEX ------------*/

/*----- Logo -----*/

header .logo_index{
	font-family: RedHatMono-Light;
	color: white;
	font-size: 1.2em;
	text-transform: uppercase;
	text-decoration: none;
}

/*----- Menu -----*/

header .navbar_index{
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 6vh;
	width: 100vw;
	border-bottom: 0.1px solid white;
	background-color: blue;
}


header .navbar_index ul{
	list-style: none;
}

header .navbar_index ul li{
	position: relative;
	float: left;
}

header .navbar_index ul li a{
	font-family: RedHatMono-Light;
	color: white;
	font-size: 1em;
	text-transform: uppercase;
	text-decoration: none;
}

header .navbar_index ul li a:hover{
	color: black;
}


/*----- SubMenu -----*/

header .navbar_index-sub{
	display: flex;
	align-items: center;
	justify-content: end;
	height: 6vh;
	width: 100vw;
	border-bottom: 0.1px solid white;
}

header .navbar_index-sub ul{
	list-style: none;
}

header .navbar_index-sub ul li{
	position: relative;
	float: left;
}

header .navbar_index-sub ul li a{
	font-family: RedHatMono-Light;
	color: white;
	font-size: 1em;
	text-decoration: none;
}

header .navbar_index-sub ul li a:hover{
	color: black;
}


/*----------- PROYECTOS, PUBLICACIONES ------------*/

/*----- Menú position -----*/

	header{
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		background-color: transparent;
		z-index: 1000;
	}

/*----- Logo -----*/

	header .logo{
		font-family: RedHatMono-Light;
		color: #090909;
		font-size: 1.2em;
		text-transform: uppercase;
		text-decoration: none;
	}

/*----- Menu -----*/

	header .navbar{
		display: flex;
		align-items: center;
		justify-content: space-between;
		height: 6vh;
		width: 100vw;
		border-bottom: 0.1px solid #090909;
		background-color: #f9fbfb;
	}

	header .navbar ul .active{
	color: #1331F3;
}

	header .navbar ul{
		list-style: none;
	}

	header .navbar ul li{
		position: relative;
		float: left;
	}

	header .navbar ul li a{
		font-family: RedHatMono-Light;
		color: #090909;
		font-size: 1em;
		text-transform: uppercase;
		text-decoration: none;
	}

	header .navbar ul li a:hover{
		color: #1331F3;
	}

/*----- SubMenu -----*/

	header .navbar-sub{
		display: flex;
		align-items: center;
		justify-content: end;
		height: 6vh;
		width: 100vw;
		border-bottom: 0.1px solid #090909;
		background-color: #f9fbfb;
	}

	header .navbar-sub ul{
		list-style: none;
	}

	header .navbar-sub ul li{
		position: relative;
		float: left;
	}

	header .navbar-sub ul li a{
		font-family: RedHatMono-Light;
		color: #090909;
		font-size: 1em;
		text-decoration: none;
	}

	header .navbar-sub ul li a:hover{
		color: #1331F3;
	}



/*--==============================
           02.HEADER MBL
================================*/

.mobile-nav{
  display: flex;
  align-items: center;
 	justify-content: space-between;
  background: transparent;
  width: 100vw;
  height: 6vh;
  border-bottom: 0.1px solid #090909;
  background-color: #f9fbfb;
}


.logo_mbl{
	font-family: RedHatMono-Light;
	color: #090909;
	font-size: 1.2em;
	text-transform: uppercase;
	text-decoration: none;
}
  
.mobile-menu {
  position: absolute;
  left: 0;
  top: 0;
  padding-top: 25%;
  width: 100vw;
  height: 100vh;
  background: blue;
  opacity: 0;
  z-index: 20;
  box-sizing: border-box;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
}


.mobile-menu.open {
  display: block;
  opacity: 1;
  pointer-events: all;
}

.burger-wrap {
  position: absolute;
  right: 0;
  z-index: 40;
  transition: 300ms 700ms transform ease-in;
}

.burger-wrap.reappearBurger {
  opacity: 0;
  animation: 0.5s 2s fadeAppear ease-out forwards;
}

@keyframes fadeAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.burger {
  width:50px;
  height: 27px;
  cursor: pointer;
  z-index: 30;
  transition: transform 1s ease-in;

}

.burger span {
  display: block;
  position: absolute;
  height:1px;
  right:25px;
  background: #090909;
  border-radius:0px;
  opacity: 1;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}
.burger span:nth-child(1) {
  top: 2px;
  width: 100%;
}
.burger span:nth-child(2) {
  top: 12px;
  width: 75%;
}
.burger span:nth-child(3) {
  top: 22px;
  width: 100%;
}
.burger.active span:nth-child(1) {
  width: 80%;
  top: 18px;
  transform: rotate(135deg);
  background: white;
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
	width: 80%;
  top: 18px;
  transform: rotate(-135deg);
  background: white;
}


.mobile-menu__item{
	color: white;
	border-top: 0.1px solid white;
}


.mobile-menu ul li a{
	font-family: RedHatMono-Light;
	color: white;
	font-size: 1.4em;
	line-height: 2.8em;
	text-decoration: none;
	padding-left: 10%;
}



/*==== MENU MBL INDEX (BLUE) ====*/
.mobile-nav-blue{
  display: flex;
  align-items: center;
 	justify-content: space-between;
  background: transparent;
  width: 100vw;
  height: 6vh;
  border-bottom: 0.1px solid white;
  background-color: blue;
}

.mobile-nav-blue .logo_mbl{
	color: white;
}

.mobile-nav-blue .burger span {
  background: white;
}


/*--==============================
        04. PROYECTOS
================================*/

/*----- IMG GALLERY -----*/

main{
	position: relative;
	top: 14vh;
	left: 0;
	right: 0;
	display: flex;
	flex-direction: column;
}

.row-imagenes{
	order: 1;
}

.row-info{
	order: 2;
}

#container {
    height:66vh; 
    width:100vw; 
    overflow-x: scroll;
    display: flex; 
    flex-direction: row; 
    overflow-y: hidden;
}

.img-vertical { 
	width:100%; 
	margin: 0 auto; 
	padding: 8px; 
	position: relative;
	height:auto; 
	min-width: 21%;
}


.img-horizontal { 
	width:100%; 
	margin: 0 auto; 
	padding: 8px; 
	position: relative;
	height:auto;
	min-width: 43%;
}

.img-proyecto:hover { 
	opacity: 0.9;
}
                

.stop-scrolling {
  height: 100%;
  overflow: hidden;
}

.img-number{
	font-family: RedHatMono-Light;
	color: #090909;
	font-size: 15px;
	text-decoration: none;
	line-height: 0;
}


.info-proyecto{
	width: 100vw;
	height: 20vh;
	font-family: RedHatMono-Light;
	color: #1331F3;
	font-size: 15px;
	z-index: 1000;
	text-decoration: none;
	}



/*---- Scrollbar ----*/
#container::-webkit-scrollbar {
  height: 2px;
}

#container::-webkit-scrollbar-track {
  background: transparent;
}

#container::-webkit-scrollbar-thumb {
  background: #1D4FCA;
  opacity: 0.5;
  width: 10vw;
}

#container::-webkit-scrollbar-thumb:hover {
  background: #1D4FCA;
  opacity: 0.7;
}



/*----- IMG MODAL -----*/

.modal {
	z-index:2000;
	display:none;
	position:fixed;
	left:0;
	top:0;
	width:100%;
	height:100%;
	overflow:auto;
	background-color:rgba(0,0,0,0.8);
}

.modal-content{
	margin: auto;
	display: block;
    position: absolute;
    width: 65%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.modal-hover-opacity {
	opacity:1;
	filter:alpha(opacity=100);
	-webkit-backface-visibility:hidden;
}

.modal-hover-opacity:hover {
	opacity:0.60;
	filter:alpha(opacity=60);
	-webkit-backface-visibility:hidden;
}

.close {
	text-decoration:none;
	float:right;
	font-family: RedHatMono-Light;
	color: white;
	font-size: 2.5em;
}















/*--==============================
        07. MEDIA QUERIES
================================*/


/*==== Small devices (phones, 768px and down) ====*/
@media only screen and (max-width: 768px) {

		main{
			top:6vh;
		}

		/*---- Img container----*/

		#container {
	    height:100vh; 
	    width:100vw; 
	    display: flex; 
	    overflow-y: scroll;
	    flex-direction: column; 
	    overflow-x: hidden;
		}

		/*---- Img Scrollbar ----*/
		#container::-webkit-scrollbar {
		  width: 3px;
		}

		#container::-webkit-scrollbar-track {
		  background: transparent;
		}

		#container::-webkit-scrollbar-thumb {
		  background: #1D4FCA;
		  opacity: 0.5;
		  height: 40px;
		}

		#container::-webkit-scrollbar-thumb:hover {
		  background: #1D4FCA;
		  opacity: 0.7;
		}


		.row-imagenes{
			order: 2;
		}

		.row-info{
			order: 1;
		}

		.info-proyecto{
		height: auto;
		}

}





/*==== Medium devices (landscape tablets, 768px and up) ====*/
@media only screen and (min-width: 768px) {

	/*---- Img container----*/

		.img-vertical { 
			min-width: 28%;
		}

		.img-horizontal { 
			min-width: 72%;
		}

}




/*==== Large devices (laptops/desktops, 992px and up) ====*/
@media only screen and (min-width: 992px) {



}




/*==== Extra large devices (large laptops and desktops, 1200px and up) ====*/
@media only screen and (min-width: 1200px) {


.img-vertical { 
	min-width: 21%;
}


.img-horizontal { 
	min-width: 43%;
}


}















