@charset "UTF-8";
/* CSS Document */
body
{
	margin-left: auto !important;
    margin-right: auto !important;
}

.modal {
		  display: none;
		  position: fixed;
		  z-index: 1000;
		  left: 0;
		  top: 0;
		  width: 100%;
		  height: 100%;
		  background-color: rgba(0,0,0,0.7);
		  opacity: 0; /* Start hidden */
		  transition: opacity 0.4s ease-in-out;
		}

		.modal-content {
		  background-color: white;
		  padding: 20px;
		  width: 80vw;
		  max-width: 600px;		
		  margin: 10% auto;
		  border-radius: 10px;
		  max-height: 80vh; /* Limits height so it's scrollable */
		  overflow-y: auto; /* Enables scrolling inside */
		}

		.modal.show {
		  display: block;
		  opacity: 1; /* Fade in */
		}

		.modal-content.show {
		  transform: scale(1); /* Expand smoothly */
		}

		.close {
		  float: right;
		  font-size: 24px;
		  cursor: pointer;
		  position: absolute;
		  top: 10px;
		  right: 10px;
		  background: red;
		  color: white;
		  padding: 5px 10px;
		  border: none;
		  cursor: pointer;

		}
		.list {
			display: flex;
			flex-wrap: wrap;
			justify-content: center;
			margin:0;
			padding:12px 0 0 0;
		}
		
		.candidatos {
			margin: 5px;
			padding: 6px;
			border: 1px solid #DADADB;
			width: 150px;
			height: 240px;
			border-radius: 3px;
			box-shadow: 1px 2px 2px 1px #EDECEC;
		}	
		
		.titulo{
			line-height: 1.2em;
			font-size: 0.8em;
			text-align: center;
			color: #000000;
		}
			
		.flex-item-project figcaption
		{
			color: #222222;
			text-shadow: none;
			font-size: 74%;
			font-weight: 400;
			margin: 1px;
			text-shadow: 2px 1px 7px black;	
		}
		.flex-item-project  {
		  /*width: 350px;
		  height: null;*/

		  	flex-shrink: 0;
			justify-content: flex-start;
			display: flex;
			padding: 10px;
			margin: 10px 12px 10px 12px;
		}
		.flex-item-project  img {
		  cursor: pointer;
		}
		.flex-item-project img
		{
			width: 180px;
			height: 135px;
			border-radius: 10px;
		}
		.titulo_project
		{
			text-align: center;
		}
		.marco_thum_proj
		{
			transition: transform 0.3s ease-in-out;
			box-shadow: 1px 2px 4px 1px #A3B19F; 
			border-radius: 7px;
			
			margin: 20px;
			margin-bottom: 20px;
			
		}
		.marco_thum_proj:hover {
  			  transform: scale(1.1);
			  border: #6DE733 thin solid;
				
			  border-radius: 10px;
			  box-shadow: 1px 2px 4px 1px #A3B19F; 
			  border: 1px solid transparent;
			  background: linear-gradient(to right, #DCDDDC, #B9CCB4);
			  -webkit-background-clip: padding-box;
			  background-clip: padding-box;
			}
		
		.students-pic img
		{
			border-radius: 50%;
			box-shadow: 1px 2px 3px 1px #B2B895; 
		}
		
		.img_advisors
		{
			border-radius: 7px;
			box-shadow: 1px 2px 3px 1px #A3B19F; 
		}
		
			.flex-item   figcaption
		{
				text-align: center;	
		}	
		
		.img_group
		{
			width: 98%;
			margin: auto;
		}
		
		.img_group img
		{ width: 98%;
			margin: auto;
			border-radius: 16px;
			box-shadow: 2px 2px 3px 6px #DAE1E7; 
			max-width: 100%;
			height: auto;
		    display: block; /* Avoids extra space below inline images */
			margin-bottom: 20px;
		}
		
		.fecha
		{
			font-size: 10pt;
			margin-left: 10px;
		}

							
		.ece_labs_title
		{
			visibility: hidden;
			display: none;								
		}	
		
		
@media (max-width: 480px) {
  .modal {
    width: 90vw; /* Smaller screens get a slightly larger modal */
  }
			.flex-item-project img
		{
			width: 300px;
			height: 225px;
			border-radius: 10px;
		}
	
}
		
		@media screen and (max-width: 990px) {

	
		.ece_labs_title
			{
				display:flex;
				visibility: visible;
				color: var(--navbar-text-color-focus);
			}
		} 
		