﻿html, body {
    margin: 0;
    height: 100%;
}

:root {
}

@font-face {
    font-family: "Pacifico-Regular";
    src: url(/res/Pacifico-Regular.ttf);
}

@font-face {
    font-family: "Monoton";
    src: url(/res/Monoton-Regular.ttf);
}

.border-img {
    border-radius: 5rem !important;
    border: 30px solid;
    border-image: url(/res/border.svg);
    border-image-slice: 130;
}

.monoton {
    font-family: Monoton !important;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .btn {
    font-family: Pacifico-Regular;
}

.text-primary {
    color: #a6914e !important;
}

.text-secondary {
    color: #a5af8c !important;
}

.bg-primary {
    background-color: #a5af8c !important;
}

.bg-dark {
    background-color: #ad5934 !important;
}

.border-top-primary {
    border-top: #a5af8c .5rem solid;
}

.btn-primary {
    color: #fff;
    background-color: #7ba0bd;
    border-color: #7ba0bd;
}

.btn-secondary {
    color: #fff;
    background-color: #c6aaa9;
    border-color: #b69c9b;
}

    .btn-secondary:focus {
        background-color: #9f8685;
    }

.btn-outline-primary {
    color: #a6914e;
    border-color: #a6914e;
    border-width: 4px;
}

    .btn-outline-primary:focus, .btn-outline-primary:hover {
        background-color: transparent !important;
        border-color: #a6914e !important;
        color: #a6914e !important;
    }

    .btn-outline-primary:active, .btn-outline-primary:focus {
        background-color: transparent !important;
        color: #a6914e !important;
        border-color: #a6914e !important;
    }


@media(max-width:767px) {
    .md-border-none {
        border-left: none !important;
        border-right: none !important;
    }

    .border-y-md {
        border-top: 1px solid #fff;
        border-bottom: 1px solid #fff;
    }

    .main-hero {
        background-size: auto 100% !important;
        height:auto !important;
    }
    .border-img {
        border-radius: 5rem !important;
        border: 16px solid;
        border-image: url(/res/border.svg);
        border-image-slice: 74;
    }
    .hero {
        background-attachment:initial !important;
    }
}

@media(min-width:768px) {
    .w-md-100 {
        width: 100% !important;
    }

    .w-md-18rem {
        width: 18rem !important;
    }
    /* cards */

    .card-img-top {
        height: 12vw;
        object-fit: none;
    }
}

@media(max-width:600px) {
    .display-1 {
        font-size:3rem;
    }
}

@media(max-width:992px) {
}


.navbar {
    z-index: 4000;
}

.modal {
    z-index: 4001;
}
/* font */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

/* burger menu */

body {
    transition: all 1s ease-in-out;
}

    body.menu-open {
        transform: translateX(-200px);
    }

.burger-menu {
    width: 200px;
    height: 100%;
    top: 0;
    right: -200px;
    box-shadow: inset 0px 0px 10px 0px #00000045;
}

.cursor-pointer {
    cursor: pointer;
}

.playfair {
    font-family: 'Playfair Display', serif;
}

.roboto {
    font-family: 'Roboto', sans-serif;
}

.letter-space-2 {
    letter-spacing: .2em;
}

.person {
    background: url(../res/shop.jpg);
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    margin: 0 auto;
}

.resource-grid {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
}

    .resource-grid > div {
        padding: 5px;
    }

        .resource-grid > div > div {
            padding: .3rem;
            display: flex;
            align-items: center;
            border: 1px solid #d0d0d0;
            background: #fff;
            border-radius: 4px;
            cursor: pointer;
        }

            .resource-grid > div > div:hover {
                outline: 1px solid #000;
            }

            .resource-grid > div > div > img {
                width: 100%;
            }

/* hero */

.main-hero {
    background-image: url(/res/hero.svg);
    background-size: 100% auto;
    background-repeat: no-repeat;
    min-height: 100%;
}

.hero {
    background-color: #AD5934;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1200 800'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='600' y1='25' x2='600' y2='777'%3E%3Cstop offset='0' stop-color='%23AD5934'/%3E%3Cstop offset='1' stop-color='%23435767'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='650' y1='25' x2='650' y2='777'%3E%3Cstop offset='0' stop-color='%23a63b36'/%3E%3Cstop offset='1' stop-color='%23475e70'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' gradientUnits='userSpaceOnUse' x1='700' y1='25' x2='700' y2='777'%3E%3Cstop offset='0' stop-color='%239f384e'/%3E%3Cstop offset='1' stop-color='%234b6479'/%3E%3C/linearGradient%3E%3ClinearGradient id='d' gradientUnits='userSpaceOnUse' x1='750' y1='25' x2='750' y2='777'%3E%3Cstop offset='0' stop-color='%23983a67'/%3E%3Cstop offset='1' stop-color='%234f6b82'/%3E%3C/linearGradient%3E%3ClinearGradient id='e' gradientUnits='userSpaceOnUse' x1='800' y1='25' x2='800' y2='777'%3E%3Cstop offset='0' stop-color='%23913c7b'/%3E%3Cstop offset='1' stop-color='%2352728b'/%3E%3C/linearGradient%3E%3ClinearGradient id='f' gradientUnits='userSpaceOnUse' x1='850' y1='25' x2='850' y2='777'%3E%3Cstop offset='0' stop-color='%238b3d8b'/%3E%3Cstop offset='1' stop-color='%23567995'/%3E%3C/linearGradient%3E%3ClinearGradient id='g' gradientUnits='userSpaceOnUse' x1='900' y1='25' x2='900' y2='777'%3E%3Cstop offset='0' stop-color='%23733e85'/%3E%3Cstop offset='1' stop-color='%2359809e'/%3E%3C/linearGradient%3E%3ClinearGradient id='h' gradientUnits='userSpaceOnUse' x1='950' y1='25' x2='950' y2='777'%3E%3Cstop offset='0' stop-color='%235e407e'/%3E%3Cstop offset='1' stop-color='%235e86a6'/%3E%3C/linearGradient%3E%3ClinearGradient id='i' gradientUnits='userSpaceOnUse' x1='1000' y1='25' x2='1000' y2='777'%3E%3Cstop offset='0' stop-color='%234d4178'/%3E%3Cstop offset='1' stop-color='%23658dac'/%3E%3C/linearGradient%3E%3ClinearGradient id='j' gradientUnits='userSpaceOnUse' x1='1050' y1='25' x2='1050' y2='777'%3E%3Cstop offset='0' stop-color='%23424372'/%3E%3Cstop offset='1' stop-color='%236c93b2'/%3E%3C/linearGradient%3E%3ClinearGradient id='k' gradientUnits='userSpaceOnUse' x1='1100' y1='25' x2='1100' y2='777'%3E%3Cstop offset='0' stop-color='%23424f6d'/%3E%3Cstop offset='1' stop-color='%23749ab8'/%3E%3C/linearGradient%3E%3ClinearGradient id='l' gradientUnits='userSpaceOnUse' x1='1150' y1='25' x2='1150' y2='777'%3E%3Cstop offset='0' stop-color='%23435767'/%3E%3Cstop offset='1' stop-color='%237BA0BD'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg %3E%3Crect fill='url(%23a)' width='1200' height='800'/%3E%3Crect fill='url(%23b)' x='100' width='1100' height='800'/%3E%3Crect fill='url(%23c)' x='200' width='1000' height='800'/%3E%3Crect fill='url(%23d)' x='300' width='900' height='800'/%3E%3Crect fill='url(%23e)' x='400' width='800' height='800'/%3E%3Crect fill='url(%23f)' x='500' width='700' height='800'/%3E%3Crect fill='url(%23g)' x='600' width='600' height='800'/%3E%3Crect fill='url(%23h)' x='700' width='500' height='800'/%3E%3Crect fill='url(%23i)' x='800' width='400' height='800'/%3E%3Crect fill='url(%23j)' x='900' width='300' height='800'/%3E%3Crect fill='url(%23k)' x='1000' width='200' height='800'/%3E%3Crect fill='url(%23l)' x='1100' width='100' height='800'/%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: cover;
}


/* deep border bottom */

.border-bottom-deep {
    border-bottom: 10px solid #063970;
}


/* intersection scroll fade in */

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in;
}

    .fade-in.inview {
        opacity: 1;
    }

/* services */

.service {
    background-image: linear-gradient(#0000,#000), url(/res/1.jpg);
    background-size: cover,cover;
    background-position: center,center;
    background-attachment: fixed;
}


    .service * {
        text-shadow: 0px 0px 10px #00000069;
    }

    .service:first-child {
        border-top-left-radius: .25rem;
        border-top-right-radius: .25rem;
    }

    .service:last-child {
        border-bottom-left-radius: .25rem;
        border-bottom-right-radius: .25rem;
    }

    .service:nth-of-type(2n) {
        background-image: linear-gradient(#0000,#000), url(/res/2.jpg);
        transition-delay: .2s;
    }

    .service:nth-of-type(3n) {
        background-image: linear-gradient(#0000,#000), url(/res/3.jpg);
        transition-delay: .4s;
    }

    .service:nth-of-type(4n) {
        background-image: linear-gradient(#0000,#000), url(/res/4.jpg);
        transition-delay: .6s;
    }

/* gallery */
.grid-gallery {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    padding: 0 4px;
}


    .grid-gallery > div {
        -ms-flex: 25%; /* IE10 */
        flex: 25%;
        max-width: 25%;
        padding: 0 4px;
    }

    .grid-gallery div img {
        margin-top: 8px;
        vertical-align: middle;
        width: 100%;
        border-radius: 5px;
        transition: all .2s linear;
        cursor: pointer;
    }

        .grid-gallery div img:hover {
            transform: scale(120%);
        }

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
    .grid-gallery > div {
        -ms-flex: 50%;
        flex: 50%;
        max-width: 50%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .grid-gallery > div {
        -ms-flex: 100%;
        flex: 100%;
        max-width: 100%;
    }
}


.image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 5000;
    background: #000000ed;
}

    .image-viewer > .innerImg {
        width: 90%;
        height: 90%;
        position: absolute;
        top: 5%;
        left: 5%;
        overflow: hidden;
    }

        .image-viewer > .innerImg > img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: scale-down;
        }

    .image-viewer i {
        position: absolute;
        z-index: 5001;
        cursor: pointer;
        transition: all .2s ease-in-out;
    }

        .image-viewer i:hover {
            transform: scale(130%);
        }

    .image-viewer .fa-chevron-left {
        top: calc(50% - 1.5rem);
        left: 20px;
    }

    .image-viewer .fa-chevron-right {
        top: calc(50% - 1.5rem);
        right: 20px;
    }

    .image-viewer .fa-times {
        top: 10px;
        right: 10px;
        cursor: pointer;
    }

/* header */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 4000;
    box-shadow: 0px 0px 15px 5px #00000012;
}

.header {
    border-bottom: 10px solid #063970;
}
