/* codigo proyectos */
.page-content{
    padding-top: 20vh;
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
    align-items: center;
}
.container{
    width: 100%;
    align-items: center;
    
}
  #btn-proyectos{
  display:flex;
  flex-wrap: wrap;
  justify-content: start;
  padding-bottom: 2rem;
}

.btn{
  min-width: 50px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  text-decoration-color: #1a1a1a;
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 700;
  background-color: transparent;
	border: solid;
  border-color: #1a1a1a;
  border-width: 0.2em;
	border-radius: 1rem;
	padding: 0.8rem;
  cursor: pointer;
  margin-top: 2em;
  float: right;
  justify-items: center;
  margin-right: 0.5rem;
}

.btn:hover{
  color: #ffffff;
  background-color: #1a1a1a;
  text-decoration: none;
}
.btn.active {
  color: #ffffff;
  background-color: #1a1a1a;
  text-decoration: none;
}
.filterDiv {
  float: left;
  margin: 2px;
  display: none; /* Hidden by default */
}

/* The "show" class is added to the filtered elements */
.show {
  display: block;
}

.cards-proyectos{
  display:flex;
  flex-wrap: wrap;
  justify-content:flex-start;
  margin-left: -0.8rem;
  margin-right: -0.8rem;
}

.modulo{
max-width: 31%;
color: #f1f1f1;
background: #1a1a1a;
border-color: #7B8CDE;
border: solid;
border-color: #1a1a1a;
border-width: 0.2rem;
border-radius: 2rem;
margin-bottom: 2rem;
margin-left: 0.8rem;
margin-right: 0.8rem;
align-content: center;
}
.modulo:hover{
  background: #7B8CDE;
  color: #1a1a1a;
}
.textos{
  margin: 1.5rem;
}
.modulo .tipo{
  text-decoration: none;
  text-transform: uppercase;
  color: #1a1a1a;
  font-size: 0.8rem;
  font-weight: 700;
  background-color: #f1f1f1;
  float: right;
  text-align: end;
  border: none;
	border-radius: 0.8rem;
	padding: 0.4rem;
  margin-bottom:1rem;
}
.texto-proy{
  float: left;
  text-decoration: none;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.nombre-proy{
  font-size: 1.2rem;
  font-weight: 800;
}
.fecha-proy{
  font-size: 0.8rem;
  font-weight: 500;
}
.img-mod {
  overflow: hidden;
  border-radius: 1.8rem;
  width: 100%;
}
img{
  vertical-align: middle;
}
.img-mod img{
  display: block;
  object-fit: cover;
  max-width: 100%;
}
@media screen and (max-width: 1122px) {
    .modulo{
      max-width: 46%;
    }
  }
@media screen and (max-width: 900px) {
.btn{
  margin-top: 0.5rem;
  font-size: 1rem;
  margin-right: 0.5rem;
}
}
@media screen and (max-width: 745px) {
    .modulo{
      max-width: 100%;
    }
  }