/*RESET*/
* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	text-decoration: none;
	outline: inherit;
}

:hover {
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}
::-webkit-scrollbar {
    width:5px;
} 
::-webkit-scrollbar-track {
    background:rgba(255,255,255,0.3);
} 
::-webkit-scrollbar-thumb {
	background:#999;
}

body {
    background: url(../images/backgrounds/grid-background.png) repeat fixed;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    letter-spacing: 2px;
    color: black;
    width: 100%;
    height: 100%;
    position: relative;
}


/*FONTS*/
@import url('https://fonts.googleapis.com/css?family=Caveat|Josefin+Sans:600&display=swap');
strong {
    font-weight: bolder;
}

p,
li {
    font-size: 18px;
    line-height: 30px;
    margin: 30px auto;
}

ul li {
    margin: 5px 0;
    margin-left: 25px;
}


/*OBJECTS*/
.button {
    display: inline-block;
    padding: 10px 20px;
    background: none;
    outline: none;
    -webkit-appearance: none;
    color: #d27d3b;
    margin: 10px auto;
    border-radius: 0;
    border: 4px solid #d27d3b;
    font-size: 24px;
    font-family: 'Josefin Sans', sans-serif;
    text-transform: uppercase;
}
.button:hover,
.button:focus {
    cursor: pointer;
    background: #d27d3b;
    color: white;
}

hr {
    border: none;
    margin: 50px auto;
    width: 100%;
    height: 1px;
    background: black;
}

.logo {
    width: 325px;
}
.logo img {
    width: 100%;
}


/*LINKS*/
a:link,
a:hover,
a:visited,
a:focus,
a:active {
    color: inherit;
	text-decoration: none;
}
a:link {
    color: ;
	text-decoration: none;
}
a:hover,
a:focus {
    color: ;
	text-decoration: none;
}


/*DIVS*/
section {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}
.narrow-1275 {
    max-width: 1275px;
}

header {
    padding-top: 10px;
    position: relative;
    z-index: 100;
}

nav ul {
    list-style: none;
    padding-top: 25px;
    text-align: right;
}
nav ul li {
    display: inline;
    font-size: 18px;
    margin: 0 0 0 15px;
    padding: 0;
    text-transform: uppercase;
}
nav ul li.phone {
    font-size: 24px;
    color: #d27d3b;
}
nav ul li a:hover,
nav ul li a:focus,
nav ul li.active {
    color: #d27d3b;
}

.banner-home {
    background: url(../images/banners/banner-home.jpg) no-repeat bottom left #f6f6f6;
    background-size: 70% auto;
    padding: 150px 0;
    margin-top: -45px;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
}
.banner-home article {
    width: 600px;
    text-align: right;
    float: right;
}
.banner-home-shape {
    width: 100%;
    position: relative;
    z-index: -100;
    margin-top: -200px;
}

.container {
    width: 100%;
    position: relative;
    padding: 100px 0;
}
.container-about {
    width: 100%;
    background: url(../images/banners/banner-drafting.jpg) no-repeat center left #d27d3b;
    background-size: auto 100%;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 77%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 77%);
}
.container-about section {
    background: #d27d3b;
    padding: 150px 100px;
    width: 60%;
    max-width: none;
    margin: 0 0 0 40%;
}
.drafting-shape {
    width: 100%;
    position: relative;
    z-index: -100;
    margin-top: -250px;
}

.cell-service-img {
    width: 500px;
    height: 100%;
    position: relative;
}
.cell-service-img:before {
    content: '';
    display: block;
    width: 500px;
    height: 350px;
    background: #d27d3b;
    transform: rotate(-10deg);
    position: absolute;
    top: 10px;
    z-index: -10;
}
.cell-service-img img {
    width: 100%;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
.cell-service-info {
    width: calc(100% - 500px);
    padding-left: 50px;
}

.cell-process {
    width: 30%;
    border: 1px solid black;
    padding: 25px;
    margin: 25px auto;
}

.cell-half {
    width: 45%;
}

.cell-form {
    width: calc(100% - 500px);
}
.cell-hand {
    width: 500px;
}
.cell-hand img {
    width: 100%;
}

.cell-404 {
    width: auto;
    text-align: center;
}
.cell-404 h1 {
    font-size: 172px;
    margin: 0;
}
.cell-404 h2 {
    font-size: 48px;
}
.cell-404 img {
    width: 100%;
    max-width: 400px;
    margin-top: 50px;
}

footer {
    background: #d27d3b;
    color: white;
    padding: 25px 0;
    margin-top: 50px;
    position: relative;
}
footer a {
    cursor: pointer;
}
footer a:hover {
    color: black;
}
footer ul {
    list-style: none;
}
footer ul li {
    display: inline;
    margin: 0 5px 0 0;
}
footer ul.right {
    transform: translateY(-10px);
}
footer .beard {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    border: 2px solid white;
    transform: translateY(10px);
}
footer .beard:hover,
footer .beard:focus {
    filter: invert(1);
}
footer .up {
    width: 40px;
    height: 40px;
    position: absolute;
    top: -20px;
    left: 50%;
    margin-left: -20px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    background: #d27d3b;
}
footer .up:after {
    content: '';
    width: 50%;
    height: 50%;
    border-top: 5px solid black;
    border-left: 5px solid black;
    position: absolute;
    top: 10px;
    left: 10px;
}
footer .up:hover:after {
    content: '';
    border-top: 5px solid white;
    border-left: 5px solid white;
}


/*FORM*/
form {
    width: calc(100% - 550px);
    position: relative;
    margin: 0;
    text-align: left;
}
form label {
    font-family: 'Caveat', cursive;
    font-size: 24px;
    font-weight: lighter;
    width: 110px;
    margin: 10px 0;
    display: inline-block;
}

form input,
form textarea {
    width: calc(100% - 120px);
    display: inline-block;
    vertical-align: top;
    margin: 10px 0;
    padding: 0 0 5px;
    background: none;
    border: none;
    border-bottom: 1px solid black;
    border-radius: 0;
    font-family: 'Caveat', cursive;
    font-size: 24px;
    letter-spacing: 2px;
    color: black;
    -webkit-appearance: none;
}
form textarea {
    height: 100px;
}

.grecaptcha-badge {
    position: absolute !important;
    bottom: -75px !important;
    left: 0 !important;
}


/*MODAL*/
.modal {
    display: none;
    position: fixed;
    z-index: 900;
    padding: 50px 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(210,125,59,.95);
    -webkit-overflow-scrolling: touch;
}
.modal.display {
    display: block;
}
.modal-content {
    margin: auto;
    padding: 50px;
    width: 90%;
    max-width: 1024px;
    animation-name: animatetop;
    animation-duration: 0.4s;
    position: relative;
    background: url(../images/backgrounds/grid-background.png) repeat white fixed;
    box-shadow: 0 0 25px rgba(0,0,0,0.2);
}
.close-x {    
    position: absolute;
    top: 10px;
    right: 15px;
    font-family: 'Caveat', cursive;
    color: black;
    font-size: 48px !important;
}
.close-x:hover,
.close-x:focus {
    color: #d27d3b;
    text-decoration: none;
    cursor: pointer;
}
@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}


/*MODIFIERS*/
.left {
    text-align: left;
}
.right {
	text-align: right;
}
.center {
	text-align: center;
}
.justify {
	text-align: justify;
}

.ftlt {
    float: left;
}
.ftrt {
    float: right;
}
.clear {
    clear: both;
}

.flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}

.heading {
    font-size: 48px;
    margin-bottom: 50px;
    text-transform: uppercase;
}
.heading span {
    font-weight: lighter;
    text-transform: none;
}
.sub-heading {
    font-size: 36px;
}
.cell-heading {
	font-size: 24px;
    font-family: 'Caveat', cursive;
    font-weight: lighter;
}

.caveat {
    font-family: 'Caveat', cursive;
    font-weight: lighter;
}
p.caveat {
    font-size: 24px;
}

.orange {
    color: #d27d3b;
}
.black {
    color: black;
}
.white {
    color: white;
}


/*MEDIA QUERIES*/
@media (max-width:1275px) {
    .container-about {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 85%);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 85%);
    }
}


@media (max-width:1024px) {
    .logo {
        width: 275px;
    }

    nav ul {
        padding-top: 15px;
    }
    nav ul li {
        font-size: 14px;
    }

    .banner-home {
        padding-top: 100px;
    }

    .cell-service-img {
        width: 300px;
    }
    .cell-service-img:before {
        content: '';
        display: block;
        width: 300px;
        height: 200px;
    }
    .cell-service-info {
        width: calc(100% - 300px);
    }

    .cell-process {
        width: 45%;
    }

    .cell-form {
        width: calc(100% - 300px);
    }
    .cell-hand {
        width: 300px;
    }
    form {
        width: calc(100% - 325px);
    }
}


@media (max-width:960px) {
    nav ul li {
        display: none;
    }
    nav ul li.phone {
        display: block;
    }

    .banner-home {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
    }

    .container-about {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 95%);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 95%);
    }

    footer {
        text-align: center;
    }
    footer .flex div {
        width: 100%;
    }
    footer ul.right {
        text-align: center;
        transform: translateY(0);
    }
}


@media (max-width:768px) {
    .container {
        padding: 50px 0;
    }
    footer {
        margin-top: 100px;
    }

    .banner-home {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 95%, 0% 100%);
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0% 100%);
    }
    .banner-home article {
        width: 100%;
    }

    .container-about {
        background: url(../images/banners/banner-drafting.jpg) no-repeat center top #d27d3b;
        background-size: 100% auto;
        padding-top: 200px;
    }
    .container-about section {
        padding: 50px 5%;
        width: 100%;
        margin: 0;
    }

    form {
        width: 100%;
    }
    .cell-form {
        width: 100%;
    }
    .cell-hand {
        display: none;
    }

    .cell-half {
        width: 100%;
    }

    .heading {
        font-size: 36px;
        margin-bottom: 36px;
    }
    .sub-heading {
        font-size: 24px;
    }
    .cell-heading {
        font-size: 21px;
    }

    .cell-service-img {
        width: 300px;
    }
    .cell-service-img:before {
        content: '';
        display: block;
        width: 300px;
        height: 200px;
    }
    .cell-service-info {
        width: 100%;
        padding: 25px 0 0;
    }

    .cell-process {
        width: 100%;
    }
}


@media (max-width:532px) {
    .logo {
        width: 200px;
    }

    nav ul {
        padding-top: 5px;
    }
    nav ul li.phone {
        font-size: 18px;
    }

    .banner-home {        
        background-size: 100% auto;
        padding-bottom: 250px;
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 98%, 0% 100%);
        clip-path: polygon(0 0, 100% 0, 100% 98%, 0% 100%);
    }
    .banner-home article {
        text-align: center;
    }

    textarea {
        height: 150px;
    }

    .modal-content {
        padding: 50px 20px;
        word-wrap: break-word;
    }

    .cell-404 h1 {
        font-size: 100px;
    }
    .cell-404 h2 {
        font-size: 36px;
    }
}


@media (max-width:414px) {
    p,
    li {
        font-size: 16px;
    }
    p.caveat {
        font-size: 18px;
    }

    form label {
        font-size: 18px;
        width: 90px;
    }
    form input,
    form textarea {
        width: calc(100% - 110px);
        font-size: 18px;
    }

    .logo {
        width: 50%;
    }

    .banner-home {
        padding-bottom: 175px;
    }

    .container-about {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 98%);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 98%);
    }

    .cell-service-img {
        width: 250px;
    }
    .cell-service-img:before {
        content: '';
        display: block;
        width: 250px;
        height: 175px;
    }
}