﻿
.section-bg {
    position: relative;
    left: 0;
    right: 0;
    background-size: cover;
    background-position: center;
    /* z-index: -1;*/    
    height: 580px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home {
    position: relative;
    left: 0px;
    right: 0px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.home-content h1 {
    font-size: 55px;
    color: #FFF;
    margin-bottom: 30px;
}

.home-content p.lead {
    color: #fff;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .lead {
        font-size: 21px;
    }
}

.lead {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.4;
}

.primary-button {
    z-index: 1;
    position: relative;
    padding: 20px 46px;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    background-color: #0999ba;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    outline: none;
    border: none;
    transition: color 0.5s;
    cursor: pointer;
    border-radius: 30px;
    text-decoration: none;
    transition: background 300ms ease-in-out;
    /*background-image: linear-gradient(45deg, #f1c40f 50%, transparent 50%); */
}
    .primary-button:hover {
        background-color: #0999ba;
    }

    .primary-button:hover {
        color: #fff;
        border-radius: 30px;
    }

@media(max-width: 580px) {
    .section-bg {
        position: relative;
        background-repeat: no-repeat;        
        height: 250px !important;
    }
   /* .home
    {
        align-content:center;
        height:250px;
    }*/
    .primary-button {
        padding: 5px 10px;
    }

    .home-content h1 {
        display:none;
        /*font-size: 25px;
        color: #FFF;
        margin-bottom: 30px;*/
    }

    .home {
        -webkit-transform: translateY(0%);
        -ms-transform: translateY(-0%);
    }
    .lead
    {
        display:none;
    }
}


  


