@font-face {
    font-family: "myFirstFont";
    src: url(../fonts/Brandon_reg.otf);

}

* {
    font-family: "myFirstFont";
    font-size: 18px;
}

a:active {
    color: #fff;
}

nav {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
}

nav .logo {
    width: 180px;
    float: left;
    position: relative;
    left: 40px;
    top: 20px;
}

nav .logo img {
    width: 180px;
    height: 100%;
}

nav .menu_bar {
    float: right;
    position: relative;
    right: 40px;
    top: 20px;
    cursor: pointer;
    z-index: 99999;
}

#menu {
    width: 100%;
    width: calc(100% - 30px);
    /* height: calc(100vh - 120px); */
    margin-top: 86px;
}

.menu_bar a {
    text-decoration: none;
    display: block;
    transition: 0.3s;
}

.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: #333;
    margin: 6px 0;
    transition: 0.4s;
}

.change.bar1 {
    background-color: #000;
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
}

.change.bar2 {
    opacity: 0;
}

.change.bar3 {
    background-color: #000;
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
}

.col-md-3 {
    height: 340px;
    margin-bottom: 20px;
}

.col-md-3 p {
    text-align: center;
    line-height: 70vh;
    position: absolute;
    color: white;
    z-index: 1;
    margin-left: 100px;

}

a {
    color: #fff;
}

a:hover {
    color: #ec1d25;
}

.hover-1 {
    background: url("../img/3.png");
}

.hover-2 {
    background: url("../img/1.png");
}

.hover-3 {
    background: url("../img/2.png");
}

.hover-4 {
    background: url("../img/4.png");
}

.hover-1, .hover-2, .hover-3, .hover-4 {
    background-color: #f3f3f3;
    background-position: center; 
    background-size: 90%;
    background-repeat: no-repeat; 
}

.hovereffect h3 {
    margin: 0;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    font-size: 45px;
}

.col-md-3 img {
    height: 100%;
}

.hovereffect {
    width: 100%;
    height: 100%;
    float: left;
    overflow: hidden;
    position: relative;
    text-align: center;
    cursor: pointer;

}

.hovereffect .overlay {
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100%;
    left: 0%;
    top: 0%;
    border: 2px solid red;
    /*border-top: 2px solid red;
    border-bottom: 2px solid red;*/
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: scale(0, 1);
    -ms-transform: scale(0, 1);
    transform: scale(0, 1);
}

.hovereffect:hover .overlay {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.hovereffect img {
    display: block;
    position: relative;
    -webkit-transition: all 0.35s;
    transition: all 0.35s;
}

.hovereffect:hover img {
    filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feComponentTransfer color-interpolation-filters="sRGB"><feFuncR type="linear" slope="0.6" /><feFuncG type="linear" slope="0.6" /><feFuncB type="linear" slope="0.6" /></feComponentTransfer></filter></svg>#filter');
    filter: brightness(0.6);
    -webkit-filter: brightness(0.6);

}

@media screen and (max-width: 759px) {
    nav .logo {
        left: 10px;
        top: 5px;
    }

    #menu {
        margin-top: 65px;
    }
}

.hovereffect:hover p {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

@media screen and (max-width: 415px) {
    .mb-mr {
        margin-bottom: 55px;
    }
}

@media screen and (max-width: 759px) {
    .mb-mr {
        margin-bottom: 55px;
    }
}

@media screen and (min-width: 760px) {
    .col-md-3 {
        min-height: 41vh;
        margin-bottom: 32px;
    }
}

@media screen and (min-width: 1300px ) {
    .col-md-3 {
        min-height: 74vh;
        width: 25%;
    }

    @media screen and (min-width: 1400px ) {
        .col-md-3 {
            min-height: 83vh;
            width: 25%;
        }

        .hovereffect {
            width: 100%;
            height: 100%;
            float: left;
            overflow: hidden;
            position: relative;
            text-align: center;
            cursor: pointer;

        }
    }


    @media only screen and(width: 1024px) and (orientation: landscape) {
        .col-md-3 {
            min-height: 85vh;
            width: 25%;
        }
    }


    @media only screen and (width: 1024px and height:

    1366) {
        .col-md-3 {
            width: 50%;
            min-height: 42vh;
        }

        /*
        @media screen and (min-width: 1110px) and (max-width: 1365) {
          .col-md-3 {
            height: 85vh;
            width: 25%;
          }
        }
        */
        @media screen
        and (min-device-width: 990px)
        and (max-device-width: 1365px)
        and (-webkit-min-device-pixel-ratio: 1) {
            .col-md-3 {
                min-height: 78vh;
                width: 25%;
            }
        }
        @media screen and(min-width: 576px) {
            .col-xs-6 {

                margin-top: 80px;
            }

        }

        @media screen and (max-width: 730px ) {
            .img-responsive {
                margin-bottom: 15px;
                margin-top: 15px;
            }
