@import url('https://fonts.googleapis.com/css?family=Audiowide');

html, body {
    font-family: 'Audiowide', cursive;
    font-size: 18px;
}

a {
    text-decoration: none !important;
    text-transform: uppercase;
}

ul {
    padding: 0;
    margin: 0;
}

ul li {;
    display: inline-block;
}

p {
    margin: 0;
    margin-bottom: 5px;
    padding: 0;
}

.section {
    background-size: cover;
}

.nav-contacts {
    display: inline-block;
    position: absolute;
    z-index: 999;
    top: 10%;
    right: 5%;
}

.nav-contacts a {
    display: block;
}

.nav-contacts a:last-of-type {
    position: relative;
    right: -5px;
    margin-top: 15px;
}

.homepage .nav-contacts {
    display: none;
}

.homepage, .homepage a {
    color: #929292;
}

.homepage a:hover {
    color: #f15a29;
}

.homepage section {
    background-image: url(../images/bg-1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 15px 0;
    display: table;
    height: 100vh;
    width: 100%;
}


.homepage #background {
    position: absolute;
    right: 0;
    bottom: 0;
    top:0;
    right:0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-color: black; /* in case the video doesn't fit the whole page*/
    background-position: center center;
    background-size: contain;
    object-fit: cover; /*cover video background */
}

.homepage .nav-bar {
    margin-top: 29px;
}

.homepage .nav-bar ul li:nth-of-type(-n+2):after {
    content: "\25CF";
    position: relative;
    top: -1px;
    margin-left: 15px;
    margin-right: 9px;
    color: #d2d2d2;
}
.homepage .b a {
    color: #f15a29;
}
.homepage .b span {
    opacity: 0;
    display: inline-block;
    cursor: pointer;
}

.homepage .b.about-us {
    position: absolute;
    top: 10%;
    left: 5%;
}

.homepage .b.services {
    position: absolute;
    top: 10%;
    right: 5%;
}

.homepage .b.contact-us {
    position: absolute;
    bottom: 10%;
    right: 5%;
}

.homepage .facebook {
    position: absolute;
    bottom: 10%;
    left: 5%;
}

.circle-holder {
    width: 402px;
    position: relative;
    margin: auto;
}

#iris {
    top: 42px;
    left: 311px;
    position: absolute;
}

.eye {
    top: -60px;
    left: -50px;
    display: inline-block;
    position: relative;
}

.eye.animate {
    transition: all 100ms;
}

.services .container {
    position: relative;
    left: -1000px;
}

.services .section {
    background-attachment: fixed;
}

.services #s1 {
    background-image: url(../images/bg-1.jpg);
}

.services #s1 .container {
    padding-top: 172px;
    padding-bottom: 212px;
}

.services #s1 h1 {
    font-size: 48px;
    color: #fff;
}

.services #s2 {
    background-image: url(../images/bg-3.jpg);
}

.services #s3 {
    background-image: url(../images/bg-2.jpg);
}

.services #s4 {
    background-image: url(../images/bg-4.jpg);
}

.services .service {
    padding-top: 160px;
    padding-bottom: 175px;
    background-color: rgba(239, 236, 225, 0.70);
    -webkit-box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.27);
    -moz-box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.27);
    box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.27);
}

.services .service h2 {
    font-size: 48px;
    color: #282828;
}

.services .service ul li  {
    color: #615026;
    font-size: 27px;
    margin-right: 25px;
    text-transform: uppercase;
}

.about-us {
    color: white;
}
.about-us section {
    background-image: url(../images/bg-1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 15px 0;
    display: table;
    height: 100vh;
    width: 100%;
}

.about-us section h1 {
    font-size: 48px;
    padding-top: 172px;
    padding-bottom: 70px;
}

.about-us section p {
    font-size: 20px;
}

.about-us section p strong {
    font-weight: normal;
    color: #6ec152;
}

.contact-us section {
    background-size: cover;
    background-repeat: no-repeat;
    padding: 15px 0;
    display: table;
    height: 100vh;
    width: 100%;
    background-image: url(../images/bg-5.jpg);
    background-position-y: 85%;
}

.contact-us #background {
    position: absolute;
    right: 0;
    bottom: 0;
    top:0;
    right:0;

    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-color: black; /* in case the video doesn't fit the whole page*/
    background-position: center center;
    background-size: contain;
    object-fit: cover; /*cover video background */
}

.contact-us h1 {
    font-size: 48px;
    color: #fff;
    padding-bottom: 100px;
}

.contact-us .content-block {
    padding: 80px 0;
    text-align: center;
    background-color: rgba(239, 236, 225, 0.70);
    font-size: 30px;
    display: block;
    color: #333;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

video::-webkit-media-controls-panel {
    display: flex !important;
    opacity: 0 !important;
}

.phone-hover {
    display: none;
    position: absolute;
    right: 70px;
    bottom: 10px;
    color: #71c054;
    white-space: nowrap;
}

/* mobile optimisation */

@media (max-width: 767px) {

    /* global */

    .nav-contacts {
        display: block;
        position: absolute;
        z-index: 999;
        top: 0;
    }

    .nav-contacts a {
        display: inline-block;
    }

    .nav-contacts a:last-of-type {
        right: 10px;
        margin-top: 20px;
    }

    .nav-contacts a:first-of-type {
        float: right;
        width: 60px;
        margin-top: 20px;
    }

    .nav-contacts a:first-of-type img {
        width: 100%;
    }

    /* home page */

    .homepage .nav-bar {
        margin-top: 50px;
    }

    .homepage .nav-bar ul li {
        display: block;
        font-size: 1.5em;
        margin-bottom: 10px;
    }

    .homepage .nav-bar ul li:after {
        content: "" !important;
        margin: 0 !important;
    }

    .homepage .nav-bar ul li:last-of-type {
        margin-top: 20px;
        font-size: 2em;
    }

    .circle-holder {
        width: 100%;
        padding: 0 20px;
    }

    .circle-holder img {
        max-width: 300px;
    }

    /* contact us page */

    .content-container {
        text-transform: uppercase;
        margin-bottom: 15px;
    }

    .contact-us h1, .about-us section h1 {
        padding-top: 125px;
        padding-bottom: 50px;
        font-size: 36px;
        text-align: center;
    }

    /* about us page */

    .about-us section {
        height: auto;
    }

    .about-us section p {
        padding: 0 15px;
    }
}

.dtc {
    display: table-cell;
    width: 100%;
    vertical-align: middle;
}