@import url('https://fonts.googleapis.com/css?family=Rubik:400,500,700&display');

* {
    padding: 0;
    margin: 0;
}

body,
html {
    height: 100%;
    background-color: #000;
    position: relative;
    font-family: 'Rubik', sans-serif;
}

h1 {
    margin-bottom: 0.5rem;
    line-height: 1.1;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    color: #fff;
    font-size: 1.8rem;
}

.container,
#contact-page {
    position: absolute;
    width: 100%;
    height: 100%;
}

.container {
    z-index: 3;
}

.bg {
    /* The image used */
    background-color: #000;
    background-image: url("../img/5202.jpg");

    height: 100%;

    /* Center and scale the image nicely */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: saturate(.8);


}

.logo {
    width: 300px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 0 0 10px 10px;
    z-index: 999;
}

.logo img {
    width: 70%;
    display: flex;
    margin: 0 auto;
}

.wrapper {
    position: absolute;
    display: flex;
    align-items: center;
    top: 55%;
    left: 40%;
    padding: 0 5%;
}

.title {
    position: relative;
    width: 49%;
    left: -40%;
    float: left;
}

.contact-btn {
    position: relative;
    left: -30%;
    height: 100%;
    vertical-align: bottom;
}

.contact-btn a {
    text-decoration: none;
    padding: 10px 20px;
    background-color: unset;
    border: 1px solid #fff;
    color: #fff;
    font-size: 1.2rem;
    font-family: 'Rubik', sans-serif;
    border-radius: 5px;
    transition: background-color 0.2s ease-in-out, border 0.2s ease-in-out;
}

.contact-btn a:hover,
.contact-btn a:focus {
    background-color: #59a027;
    border: 1px solid #59a027;
}

#contact-page {
    /*z-index: 1;*/
    opacity: 0;
    background-color: #fff;
    transition: all 0.6s ease-in-out;
}

.show {
    opacity: 1 !important;
    z-index: 4 !important;
}

#close {
    position: absolute;
    top: 10px;
    right: 5px;
    padding: 3px 10px;
    z-index: 9999;
}

#close a {
    font-family: 'Rubik', sans-serif;
    font-size: 1.7rem;
    color: #a2a2a2;
    text-decoration: none;
}

#close a:hover {
    color: #59a027;
}

.contact-right,
.contact-left {
    position: absolute;
}

.contact-right {
    width: 100%;
    float: left;
    bottom: 0;
}

.gmap_canvas iframe {
    width: 100%;
    height: 100%;
}

.contact-left {
    top: 30%;
    left: 50%;
}

.contact-left h2 {
    margin: 20px 0;
    font-size: 2.5rem;
    color: #cacaca;
}

.contact-left hr {
    border-color: #59a027;
    background-color: #59a027;
    border: 1px solid #59a027;
    margin: 0 10px;
}

.contact-left p {
    margin: 20px 0;
    color: #cacaca
}

.contact-left a {
    text-decoration: none;
    color: #59a027;
}

.contact-left .info {
    color: #5ea027;
    font-size: 1.1rem;
}

.info-wrapper {
    left: -50%;
}

.contact-left img,
.contact-left .info-wrapper {
    /*max-height: 200px;*/
    position: relative;
    display: flex;
    float: left;
}

.footer {
    position: fixed;
    bottom: 0;
    height: 100px;
    background: #59a027;
}

.mapouter {
    position: relative;
    text-align: right;
    height: 400px;
    width: 100%;
}

.gmap_canvas {
    overflow: hidden;
    background: none !important;
    height: 400px;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .logo {
        width: 90%;
        max-width: 250px;
    }

    .wrapper {
        position: absolute;
        display: block;
        text-align: center;
        left: 0;
        align-items: center;
        top: 50%;
        padding: 0 5%;
    }

    .title {
        position: relative;
        width: 100%;
        left: 0;
        float: left;
        text-align: center;
    }

    .contact-btn {
        position: relative;
        left: 0;
        top: 30px;
        height: 100%;
        vertical-align: bottom;
    }

    #close a {
        font-size: 1.5rem;
    }

    .contact-right {
        height: 42%;
    }

    .contact-left {
        top: 20%;
        left: 0;
        width: 100%;
        text-align: center;
    }

    .info-wrapper {
        left: 0;
    }

    .contact-left .info-wrapper {
        display: block;
        float: unset;
    }

    .contact-left h2 {
        font-size: 2rem;
    }

    .mapouter {
        height: 100%;
    }

    .gmap_canvas {

        height: 100%;
    }

}