/* Winion */

.hover {
    position: relative;
    overflow: hidden;
}

.hover:after {
    padding-top: 72.4%;
    display: block;
    content: '';
}

.hover h2 {
    transition: all 0.7s ease-in;
    color: #fff !important;
    width: 100%;
    height: 30%;
    bottom: 0;
    line-height: 280%;
    text-align: center;
    position: absolute;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
}

.hover h3 {
    transition: all 0.7s ease-in;
    color: #fff !important;
    width: 100%;
    height: 20%;
    bottom: 10%;
    line-height: 220%;
    text-align: center;
    position: absolute;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
}

.hover h4 {
    transition: all 0.7s ease-in;
    color: #fff !important;
    width: 100%;
    height: 20%;
    bottom: 10%;
    line-height: 240%;
    text-align: center;
    position: absolute;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
}

.hover h5 {
    transition: all 0.7s ease-in;
    color: #fff !important;
    width: 100%;
    height: 30%;
    bottom: 0;
    line-height: 280%;
    text-align: center;
    position: absolute;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
}

.hover:hover h2, .hover:hover h3, .hover:hover h4, .hover:hover h5 {
    opacity: 1;
}

/* general icon color and width */
.winion-icon-small {
    color: #fff;
    width: 100%;
    height: 100%;
    line-height: 230%;
}

.winion-icon-medium {
    color: #fff;
    width: 100%;
    height: 100%;
    line-height: 370%;
}

.winion-icon-large {
    color: #fff;
    width: 100%;
    height: 100%;
    line-height: 470%;
}

@media screen and (max-width: 1280px) {
    .winion-icon-medium {
        line-height: 370%;
    }
}

@media screen and (max-width: 1024px) {
    .winion-icon-medium {
        line-height: 470%;
    }
    .hover h3 {
        line-height: 150%;
    }
    .hover h4 {
        line-height: 280%;
    }
}

@media screen and (max-width: 800px) {
    .winion-icon-medium {
        line-height: 470%;
    }
    .hover h3 {
        line-height: 150%;
    }
}

@media screen and (max-width: 768px) {
    .winion-icon-medium {
        line-height: 450%;
    }
    .hover h3 {
        line-height: 150%;
    }
}

@media screen and (max-width: 480px) {
    .winion-icon-medium {
        line-height: 300%;
    }
}

@media screen and (max-width: 360px) {
    .winion-icon-medium {
        line-height: 450%;
    }
    .hover h3 {
        line-height: 200%;
    }
}

@media screen and (max-width: 320px) {
    .winion-icon-medium {
        line-height: 400%;
    }
    .hover h3 {
        line-height: 180%;
    }
    .hover h4 {
        line-height: 260%;
    }
}

