body
{
  margin:0;
  padding:0;
  display:flex;
  justify-content: center;
  align-items:center;
  min-height:100vh;
  background:#060c21;
}
.container-box
{
    position:relative;
    width:90%;
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
    grid-template-rows: auto;
    grid-gap: 0 40px;
}
.container-box .box
{
    position:relative;
    height:320px;
    background:#060c21;
    display:flex;
    justify-content: center;
    align-items:center;
    border:1px solid #000;
}
.container-box .box:before
{
    content: '';
    position: absolute;
    top:-2px;
    left:-2px;
    right:-2px;
    bottom:-2px;
    background:#fff;
    transform:skew(2deg,2deg);
    z-index: -1;
    background: linear-gradient(315deg,#FC5272,#0080BB)
}
.content
{
    position:relative;
    padding:20px;
}
.content img
{
    position: absolute;
    top:-40px;
    left:0;
    right:0;
    margin:0;
    padding:0;
    width:100%;
    transition: 0.5s;
    opacity: 0.3;
}
.box:hover .content img
{
    top:-70px;
}
.box .content h3
{
    margin:0 0 10px;
    padding:0;
    font-size:24px;
    font-weight:500;
    color:#fff;
    z-index:2;
}
.box .content p
{
    margin:0;
    padding:0;
    color:#fff;
    font-size:16px;
}
.box .content a
{
    position:relative;
    margin:20px 0 0;
    padding:10px 20px;
    transition: 0.5s;
    transform:translateY(-40px);
    opacity: 0;
    visibility: hidden;
}
.box:hover .content a
{
    transform:translateY(0);
    opacity: 1;
    visibility: visible;
}
