.mvv-container{
    max-width: 1320px;
    margin: 50px auto 0;
}
.mvv-container .mvv-block{
    flex-wrap: wrap;
    margin-bottom: 50px;
    display: flex;
    flex-direction: row;
}
.mvv-container .mvv-block .image{
    flex: 0 0 auto;
    width: 365px;
}

.mvv-container .mvv-block .image img{
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 0 10px 5px rgba(0, 0  , 0, .3);
    transition: .3s;
    transform: scale(1);
}
.mvv-container .mvv-block .image:hover img{
    transform: scale(1.05);
}


.mvv-container .mvv-block .content{
    flex: 0 0 auto;
    align-self: center;

    width: calc(100% - 400px);
    box-sizing: border-box ;
}
.mvv-container .mvv-block .content h5{
    font-weight: 700;
    font-size: 30px;
    color: #ff5e14;
    margin-bottom: 10px ;
}
.mvv-container .mvv-block .content p{
    font-weight: 300;
    font-size: 20px;
    
    margin-bottom: 10px ;
}

@media screen  and (min-width: 1024px){
    .mvv-container .mvv-block:nth-child(odd) .image{
        order: 1;
    }
    .mvv-container .mvv-block:nth-child(even) .image{
        order: 2;
    }

    .mvv-container .mvv-block:nth-child(odd) .content{
        order: 2;
        padding-left: 30px;
    }
    .mvv-container .mvv-block:nth-child(even) .content{
        order: 1;
        padding-right: 30px;
    }

}


/* 2x2 grid images start */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 10px;
  }
  @media screen and (max-width: 1024px) {
    .grid-container {
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    .overlay {
        top: auto;
        bottom: 0;
        transform: translateY(0);
      }
  }

  .grid-item {
    position: relative;
  }
  
  .grid-item img {
    width: 100%;
    height: auto;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-direction: column;
    box-sizing: border-box;
  }
  
  .overlay h3 {
    color: #fff;
    font-size: 24px;
    text-align: center;
  }
  .overlay p {
    color: #fff;
    font-size: 16px;
    text-align: center;
    margin-bottom: 10px;
    margin-left: 5px;
    margin-right: 5px;
  }
  
  
  .grid-item:hover .overlay {
    opacity: 1;
  }
  
/* 2x2 grid images end */