﻿body {
}

.logo-middle {
    position: absolute;
    left: 50%;
    top: 25px;
    transform: translate(-50%);
    width: 180px;
    z-index: 100;
}

.logo-facebook-link {
    position: absolute;
    top: 15px;
    right: 30px;
}

.logo-facebook {
    width: 80%;
}

.main-div {
    padding-top: 100px;
    background-color: lightgray;
}

.hvrbox {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    height: auto;
    padding: 0px;   
}

    .hvrbox img {
        width: 100%;
        max-height: 80vh;
    }

    .hvrbox .hvrbox-layer_bottom {
        display: block;
    }

    .hvrbox .hvrbox-layer_top {
        opacity: 0;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        color: #fff;
        padding: 15px;
        -moz-transition: all 0.4s ease-in-out 0s;
        -webkit-transition: all 0.4s ease-in-out 0s;
        transition: all 0.4s ease-in-out 0s;
        align-items: center;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .hvrbox:hover .hvrbox-layer_top,
    .hvrbox.active .hvrbox-layer_top {
        opacity: 1;
        cursor: pointer;
    }


@media screen and (max-width: 767px) {
    .logo-middle {
        width: 140px;
        top: 41px;
    }
}

@media screen and (max-width: 520px) {
    .logo-middle {
        width: 110px;
        top: 54px;
    }

    .logo-facebook-link {
        position: absolute;
        top: 15px;
        right: 10px;
    }

    .logo-facebook {
        width: 70%;
    }

    .hvrbox img {
        max-height: 280px;
    }
}
