html, body {
    height: 100%;
}

.main-container {
    height: 100%;
}

.main-container .col {
    background: #000;
    text-align: center;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.main-container .title {
    position: absolute;
    top: 20px;
    font-size: 22px;
    line-height: 26px;
    display: block;
    left: 0;
    right: 0;

    transition: top 0.5s linear, font-size 0.5s linear;
}

.main-container .col:hover > .title {
    top: 40px;
    font-size: 26px;
}

.main-container .subtitle {
    position: absolute;
    top: 70px;
    font-size: 14px;
    display: block;
    left: 0;
    right: 0;

    transition: top 0.5s linear, font-size 0.5s linear;
}

.title,.subtitle {
    color: white;
    text-shadow: 0 0 5px #000, 0 0 10px #000;
}

.main-container .col:hover > .subtitle {
    top: 100px;
    font-size: 16px;
}

@keyframes bgmve {
    to {background-position: 100% 50%;} /* make it short */
}
.move {
    animation: bgmve 1s;
  }
#img-container1, #img-container2 {
    height: 100%;
    position: absolute;
    top:0;
    bottom:0;
    right:0;
    left:0;
    background-size:cover;
    background-position: 0% 50%;

    opacity: 0;
    transition: opacity 0.5s linear;
}

#img-cont1, #img-cont2 {
    position: absolute;
    top:0;
    left:0;

    opacity: 0;
    transition: opacity 0.5s linear/*, left 6s linear*/;
}

.second-img {
    opacity: 0.8;
    transition: opacity 0.2s linear, transform 0.2s linear;

    background-size:cover;
    background-position:50% 50%;
    position: absolute;
}
.second-img:hover {
    opacity: 1;
    transform:scale(1.1);
    z-index:100;
}

.subdesc {
    position: absolute;
    display:inline-block;
    color:white;
    text-shadow: 0 0 5px black, 0 0 20px black, 0 0 40px black, 0 0 30px black;
    left:30px; right:30px; top:40%;
    opacity: 0;
    transition: opacity 0.2s linear;
}
.second-img:hover .subdesc {
    opacity: 1;
}

.second-img-shadow {
    background-image:linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 100%);
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    opacity:1;
    transition: opacity 0.5s linear;
}
.second-img:hover .second-img-shadow {
    background-image:linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 50%);
    opacity:1;
}