@font-face {
    font-family: quadra-bold;
    src: url(../font/qaranta-bold.otf);
}

body {
    min-width: 320px;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: arial;
}

a {
    text-decoration: none;
}

/** COLORS */
.color-primary,
#header-menu li a,
#header-menu li.menu-separator,
.section-header {
    color: #fff;
    border-color: #fff;
}

.color-secondary,
#header-menu ul,
#header-menu li a:hover,
#header-menu li a.selected,
#services .service-title,
.side-tool {
    color: #ff6600;
    border-color: #ff6600;
}

.fine-bar {
    background-color: #ff6600;
}

.tertiary-color {
    color: #1a1918;
}

#header-menu,
#page-body {
    background-color: #231f20;
}

/*** FONT ***/
.font-primary {
    font-family: quadra-bold;
    letter-spacing: 1px;
}

@media (max-width: 667.98px) {
    .font-primary {
        letter-spacing: 0;
    }
}

/*** WRAPPER ***/
#page-wrapper {
    position: relative;
    width: 992px;
    margin: 0 auto;
    background-image: url("../img/checker-plate.jpg");
    background-position: center top;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    #page-wrapper {
        width: 100%;
        margin: 0;
    }
}

/*** CONTAINER ***/
#page-container {
    position: relative;
    margin: 0 20%;
    padding-bottom: 50px;
    z-index: 10;
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    #page-container {
        margin: 0 15%;
    }
}

@media (max-width: 575.98px) {
    #page-container {
        margin: 0 25px;
    }
}

/*** HEADER ***/
#header {
    position: fixed;
    /* width: set via JS based on #page-container width */
    height: 225px;
    z-index: 20;
    background-image: url("../img/checker-plate.jpg");
    background-position: center top;
}

/* Logo */
#header-logo {
    position: absolute;
    top: 10%;
    left: -30%;
    width: 47%;
    z-index: 1;
}

#header-logo img {
    width: 100%;
}

/* Contact */
#header-contact {
    position: absolute;
    right: 10px;
    width: 70%;
    bottom: 30%;
}

#header-contact img {
    width: 100%;
}

/* Toolbox */
#header-toolbox {
    position: absolute;
    top: 5px;
    right: 5px;
    text-align: right;
}

#header-toolbox a {
    display: inline-block;
    padding-bottom: 15px;
}

#header-toolbox a:hover {
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    #header {
        height: 200px;
    }

    #header-logo {
        top: 5%;
        left: -20%;
        width: 225px;
    }

    #header-contact {
        width: 60%;
    }
}

@media (max-width: 767.98px) {
    #header {
        position: relative;
        width: 100%;
        height: 50vw;
        max-height: 200px;
        min-height: 175px;
    }

    #header-logo {
        width: 175px;
    }
}

@media (max-width: 575.98px) {
    #header-logo {
        top: 10px;
        left: 0;
        width: 35%;
    }

    #header-contact {
        width: 50%;
        bottom: 40%;
    }

    #header-toolbox a {
        display: block;
    }
}

@media (max-width: 575.98px) {}

/* Menu */
#header-menu {
    width: 100%;
    position: absolute;
    right: 0;
    bottom: 0;
}

#header-menu ul {
    margin-block-start: 0px;
    margin-block-end: 0.5rem;
    list-style: none;
    padding: 5px;
    padding-bottom: 10px;
    height: 1rem;
    border: 1px solid;
}

#header-menu li {
    float: right;
    height: 1rem;
}

#header-menu li.menu-separator {
    border: 1px solid;
    margin: 0 10px;
}

#header-menu li a {}

@media (max-width: 991.98px) {}

@media (max-width: 767.98px) {}

@media (max-width: 575.98px) {
    #header-menu {
        width: calc(100% + 30px);
        right: -15px;
    }

    #header-menu li {
        margin: 0 3px;
    }

    #header-menu li.menu-separator {
        margin: 0 5px;
    }

    #header-menu li a {
        font-size: 0.9rem;
    }
}

/*** PAGE BODY ***/
#page-body {
    position: relative;
    z-index: 15;
    clear: both;
    margin-bottom: 50vh;
    padding: 20px 65px;
    padding-top: 225px;
    font-size: 0.9rem;
    line-height: 1.1rem;
}

a.anchor {
    display: block;
    position: relative;
    top: -225px;
    visibility: hidden;
}

.section-header {
    display: inline-flex;
    align-items: center;
    width: 100%;
}

.section-header .fine-bar {
    margin: 0 -25px;
    width: 100%;
    height: 2px;
}

.section-header .text {
    margin: 0 45px;
    padding-bottom: 1rem;
    font-size: 1.9rem;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    #page-body {
        padding-top: 200px;
    }

    a.anchor {
        top: -200px;
    }
}

@media (max-width: 767.98px) {
    #page-body {
        padding-top: 0;
    }

    a.anchor {
        top: 0;
    }
}

@media (max-width: 575.98px) {
    #page-body {
        margin-bottom: 0;
        padding: 10px 25px;
    }

    .section-header .fine-bar {
        margin: 0 -35px;
    }

    .section-header .text {
        margin: 0 50px;
        font-size: 1.2rem;
    }
}

/* Intro */
#intro-wrapper {
    position: relative;
}

/* Services */
#service-wrapper {
    position: relative;
}

#service-wrapper .service-item {
    position: relative;
}

#service-wrapper .service-item img.wrench {
    width: 50px;
    position: absolute;
    left: -65px;
}

#service-wrapper .service-item h5 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.3rem;
    font-weight: normal;
}

/* Contact */
#contact-wrapper {
    position: relative;
}

#contact-container {
    position: relative;
    margin: 0 -25px;
    width: calc(100% + 50px);
    overflow-y: auto;
}

#contact-details img {
    margin: 10px 0;
    width: 180px;
}

#contact-map-fb {
    width: 250px;
    height: 200px;
    float: right;
    text-align: right;
}

#accepted-credit-cards {
    position: absolute;
    right: 0;
    bottom: 0;
}

#accepted-credit-cards img {
    padding-left: 10px;
    height: 50px;
}

@media (max-width: 767.98px) {
    #contact-map-fb {
        float: none;
    }

    #accepted-credit-cards {
        position: relative;
    }

    #accepted-credit-cards img {
        padding-right: 10px
    }
}

@media (max-width: 575.98px) {
    #service-wrapper .service-item img.wrench {
        width: 45px;
        left: -50px;
    }

    #service-wrapper .service-item h5 {
        font-size: 1.1rem;
    }

    #contact-container {
        position: relative;
        margin: 0;
        width: calc(100% + 50px);
        overflow-y: auto;
    }
}

/*** TIRE TRACKS ***/
#tire-tracks {
    position: absolute;
    top: 0;
    width: 100%;
}

#tire-tracks-left,
#tire-tracks-right {
    width: 20%;
    position: absolute;
}

#tire-tracks-left {
    top: 750px;
    left: 50px;
}

#tire-tracks-right {
    top: 300px;
    right: 50px;
}

#tire-tracks-left img,
#tire-tracks-right img {
    width: 100%;
}

@media (max-width: 991.98px) {

    #tire-tracks-left,
    #tire-tracks-right {
        width: 25%;
    }

    #tire-tracks-left {
        left: -10px;
    }

    #tire-tracks-right {
        right: -10px;
    }
}

@media (max-width: 575.98px) {

    #tire-tracks-left,
    #tire-tracks-right {
        width: 30%;
    }

    #tire-tracks-left {
        left: -25px;
    }

    #tire-tracks-right {
        right: -25px;
    }
}

#creacat-design {
    position: absolute;
    right: 0;
    bottom: -20px;
    color: grey;
}

/* TOOL BOX */
.side-toolbox {
    position: fixed;
    right: 10px;
    z-index: 10;
    bottom: -500px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.side-tool {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1a1918;
    -moz-box-shadow: 0 0 5px grey;
    -webkit-box-shadow: 0 0 5px grey;
    box-shadow: 0 0 5px grey;
}

/* BUTTON */

.animated-button-container {
    width: 100%;
    text-align: center;
}

.animated-button {
    background: linear-gradient(30deg, rgba(28, 28, 28, 1) 10%, rgba(114, 115, 118, 1) 100%);
    padding: 20px 40px;
    margin: 12px;
    display: inline-block;
    -webkit-transform: translate(0%, 0%);
    transform: translate(0%, 0%);
    overflow: hidden;
    color: #f7e6d4;
    font-size: 1rem;
    letter-spacing: 2.5px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    -webkit-box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.animated-button::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #ad9985;
    opacity: 0;
    -webkit-transition: .2s opacity ease-in-out;
    transition: .2s opacity ease-in-out;
}

.animated-button:hover::before {
    opacity: 0.2;
}

.animated-button span {
    position: absolute;
}

.animated-button span:nth-child(1) {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: -webkit-gradient(linear, right top, left top, from(rgba(28, 28, 28, 0)), to(rgba(255, 102, 0, 1)));
    background: linear-gradient(to left, rgba(28, 28, 28, 0), rgba(255, 102, 0, 1));
    -webkit-animation: 2s animateTop linear infinite;
    animation: 2s animateTop linear infinite;
}

@keyframes animateTop {
    0% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

    100% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

.animated-button span:nth-child(2) {
    top: 0px;
    right: 0px;
    height: 100%;
    width: 2px;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(28, 28, 28, 0)), to(rgba(255, 102, 0, 1)));
    background: linear-gradient(to top, rgba(28, 28, 28, 0), rgba(255, 102, 0, 1));
    -webkit-animation: 2s animateRight linear -1s infinite;
    animation: 2s animateRight linear -1s infinite;
}

@keyframes animateRight {
    0% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }

    100% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }
}

.animated-button span:nth-child(3) {
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: -webkit-gradient(linear, left top, right top, from(rgba(28, 28, 28, 0)), to(rgba(255, 102, 0, 1)));
    background: linear-gradient(to right, rgba(28, 28, 28, 0), rgba(255, 102, 0, 1));
    -webkit-animation: 2s animateBottom linear infinite;
    animation: 2s animateBottom linear infinite;
}

@keyframes animateBottom {
    0% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    100% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}

.animated-button span:nth-child(4) {
    top: 0px;
    left: 0px;
    height: 100%;
    width: 2px;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(28, 28, 28, 0)), to(rgba(255, 102, 0, 1)));
    background: linear-gradient(to bottom, rgba(28, 28, 28, 0), rgba(255, 102, 0, 1));
    -webkit-animation: 2s animateLeft linear -1s infinite;
    animation: 2s animateLeft linear -1s infinite;
}

@keyframes animateLeft {
    0% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }

    100% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }
}