.container-image {
  position: relative;
}

.imagen {
  opacity: 1;
  display: block;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middlen {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.container-image:hover .imagen {
  opacity: 0.3;
}

.container-image:hover .middlen {
  opacity: 1;
}

.textn {
  background-color: #4CAF50;
  color: white;
  font-size: 16px;
  padding: 10px 25px;
}

.tag{
  display: flex;
  justify-content: flex-start;
  background-color: #D9DEDE;
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 5px;
  border-radius: 10px;
  min-width: fit-content;
}

.tag-button{
  cursor:pointer;
  border: none;
  box-shadow: none;
  background-color:#D9DEDE;
  padding: 0 8px;

}

.tag-content{
  border: none;
  box-shadow: none;
  background-color:#D9DEDE;
  padding-left: 5px;
  padding-right: 0px;
  max-width: 52px;
}

.tag:hover > *{
  background-color: #58B5FA;
}
.tag-button:hover{
  color:red !important;
}

.arrow-up {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;

  border-bottom: 20px solid rgb(211, 211, 211);
}

.arrow-up:hover{
  border-bottom: 20px solid #474559;
}


.arrow-down {
  width: 0;
  height: 0; 
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;

  border-top: 20px solid rgb(211, 211, 211);

}

.arrow-down:hover{
  border-top: 20px solid #ffc107;
}
