﻿* {
    font-family: 'Barlow Condensed',sans-serif;
    margin: 0;
    padding: 0
}

h1, h2, h3 {
    font-family: 'Oswald',sans-serif
}

a {
    color: #000
}

    a:hover {
        text-decoration: none;
        color: #314a77
    }

ul li {
    list-style: none
}

.main-bx {
    position: relative;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    max-width: 330px;
    min-height: 330px;
    margin: 0 auto 55px;
}

.content {
    bottom: 0;
    background: red;
    color: #3c4a50;
    -webkit-transition: -webkit-opacity .35s;
    transition: opacity .35s;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px 5em 0;
    color: #fff;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    opacity: 0;
}

.product .col-md-4:nth-child(1) .main-bx .content {
    background: #E2AA3C7D
}

.product .col-md-4:nth-child(2) .main-bx .content {
    background: #97999B85;
}

.product .col-md-4:nth-child(3) .main-bx .content {
    background: #93454561
}

.com .col-md-6:nth-child(1) .main-bx .content {
    background: #7BAFD480
}

.com .col-md-6:nth-child(2) .main-bx .content {
    background: #059FDD7A
}

.main-bx:hover .content {
    opacity: 1;
}

.icon-f {
    /*max-width: 250px;*/
}

.head h3 {
    color: #2d2d2d;
    font-size: 120px;
    font-weight: 400;
    letter-spacing: 20px;
    margin: 35px auto 0;
    font-family: 'Oswald',sans-serif
}

.head p {
    font-size: 34px;
    font-weight: 500;
    line-height: 1.5;
    margin: 30px auto 60px
}

.footer-text p {
    font-weight: 500;
    margin: 45px 0 70px
}

.footer-img {
    max-height: 400px;
    overflow: hidden;
    height: 100%
}

.com {
    padding: 20px 100px
}

.container {
    max-width: 1120px
}

.logo-sec {
    margin-top: 40px
}

.content .description {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 0;
    display: inline-block;
    text-align: center;
    font-family: 'Barlow Condensed', sans-serif;

    text-shadow: 2px 2px 5px rgba(0,0,0,0.8), 0px 0px 2px rgba(0,0,0,1);
}

.product .col-md-4:nth-child(3) .main-bx .content {
    padding: 30px 6em 0;
    line-height: initial;
}

@media (max-width: 1024px) {
    /*.head h3{font-size:90px}*/
    .head h3 {
        line-height: 1.5;
    }

    .main-bx {
        margin: 0 auto 25px
    }
}

@media (max-width: 991px) {
    .main-bx {
        max-width: auto;
        min-height: auto
    }

    .product .col-md-4, .com .col-md-6 {
        flex: 100%;
        max-width: 100%;
    }

    .content {
        line-height: 1.3;
    }
}

@media (max-width: 767px) {
    .head h3 {
        font-size: 44px;
        letter-spacing: 20px;
        line-height: normal;
    }

    .com {
        padding: 0
    }

    .footer-img img {
        min-height: 400px;
        object-fit: cover
    }

    .head p {
        font-size: 18px;
    }
}
