/*sobre*/
.m-sobre-eixo{
  padding-left: 2em;
  }


/*Imagens*/
.m-container .view-content{
  display: flex;
  width: 100%;
  padding: 1% 1%;
  box-sizing: border-box;
  height: 60vh;
}

.m-box {
  flex: 1;
  display:block;
  position:relative;
  overflow: hidden;
  transition: 1s;
  margin: 0 2%;
  box-shadow: 0 20px 30px rgba(0,0,0,.1);
  border-radius: 5px;
  /* height:100%;*/
}

.m-box img{
  width: 450%;
  height: 100%;
  object-fit: cover; 
  transition: 0.5s;
  transition-timing-function: ease-in-out;
}

.m-box:hover, .m-box:active { flex: 1 1 50%; }
.m-box:hover img, .m-box:active img {
  width: 100%;
  height: 100%;
}


.m-box .m-legenda {
  display: none;
  transition:1s;
  transition-timing-function: ease-in-out;
 }
 
.m-box:hover .m-legenda {
  display:block;
  text-align: left;
  line-height: 1.2;
  padding: 1%;
}

/*underline sobre o título*/
.m-box:hover .m-legenda, .m-box:active .m-legenda{
 /* margin-top: -60vh;*/
  position: absolute;
  display: block;
  padding: 10px;
  bottom: 0;
  background: rgb(0,0,0);
  background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4767156862745098) 50%, rgba(0,0,0,0) 100%);
}

.m-legenda p{
  font-size:2.5vh;
  line-height:1.15;
}


.m-box a{
  color:transparent;
}

.m-box a:hover, .m-box a:active {
    color:white;
    -webkit-transition: color 500ms linear;
    -ms-transition: color 500ms linear;
    transition: color 500ms linear;
}

.m-box .m-title {
  position: relative;
  display:inline;
  padding-bottom: 5px;
}

.m-box .m-title::after{
  position:absolute; 
  left:0; 
  bottom:0; 
  width:100%; 
  height:1px; 
  content:"";
  border-top: 0px;
  border-bottom: 4px;
  border-left: 0px;
  border-right: 0px;
  border-style: solid;
  border-image: linear-gradient(to right, darkred, indianred, crimson) 1;
}

