@import url(https://fonts.googleapis.com/css?family=Oswald:300,400,700);
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900,200italic,300italic,400italic,600italic,700italic,900italic);
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    position: relative;
}

.parallax h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 96px;
    font-weight: 400;
    letter-spacing: 15px;
    text-align: center;
    text-transform: uppercase;
    color: orange;
    padding: 0;
    margin: 0;
}

.parallax h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 70px;
    letter-spacing: 10px;
    text-align: center;
    color: white;
    font-weight: 400;
    text-transform: uppercase;
    z-index: 10;
    opacity: .9;
}

.parallax p {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
}

section .block {
    background: white;
    padding: 60px;
    max-width: 80%;
    margin: 0 auto;
    text-align: justify;
}

section .block-gray {
    background: #f2f2f2;
    padding: 60px;
}

.parallax {
    overflow: hidden;
    position: relative;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.parallax-xs {
    padding-top: 75px;
    padding-bottom: 25px;
}

.parallax-s {
    padding-top: 150px;
    padding-bottom: 50px;
}

.parallax-m {
    padding-top: 300px;
    padding-bottom: 100px;
}

.engine {
    background-image: url(../img/engine.png);
}

.gears {
    background-image: url(../img/gears.png);
}

.tire {
    background-image: url(../img/tire.png);
}

.break-maintenace {
    background-image: url(../img/break-maintenace.png);
}

.contact-us {
    background-image: url(../img/gear-lever.png);
}

.driving {
    background-image: url(../img/driving.png);
}

.line-break {
    border-bottom: 1px solid black;
    width: 150px;
    margin: 0 auto;
}


/* Media Queries */

.logo {
    background-color: #1C2E29;
    height: 350px;
    background-image: url(../img/logo-white.svg);
    background-size: 50% auto;
    background-repeat: no-repeat;
    background-position: center center;
    transition: ease all .5s;
}


/**************************/

@media screen and (max-width: 959px) and (min-width: 768px) {
    section .block {
        padding: 40px;
        width: 620px;
    }
    .logo {
        height: 250px;
    }
}

.brand {
    max-width: 150px;
    max-height: 100px;
    margin: 20px 25px;
    transition: transform 0.5s;
    -webkit-filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
    drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}

@media screen and (max-width: 767px) {
    section .block {
        padding: 30px;
        width: 420px;
    }
    .parallax h2 {
        font-size: 30px;
    }
    .parallax {
        padding-top: 100px;
        padding-bottom: 100px;
    }
    .logo {
        height: 150px;
    }
    .brand {
        max-width: 75px;
        max-height: 75px;
    }
}

@media screen and (max-width: 479px) {
    section .block {
        padding: 30px 15px;
        width: 290px;
    }
    .logo {
        height: 150px;
    }
}

.my-auto {
    margin-top: auto;
    margin-bottom: auto;
}

.brand:hover {
    transform: scale(1.25);
    /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

.map {
    position: relative;
    height: 400px;
    width: 100%;
}

section,
h1,
li,
img {
    -moz-transition: width 1s ease-in-out, left 1.5s ease-in-out;
    -webkit-transition: width 1s ease-in-out, left 1.5s ease-in-out;
    -moz-transition: width 1s ease-in-out, left 1.5s ease-in-out;
    -o-transition: width 1s ease-in-out, left 1.5s ease-in-out;
    transition: width 1s ease-in-out, left 1.5s ease-in-out;
}

.navbar-autojota {
    background-color: #1C2E29;
    padding-left: calc(10% + 60px);
    padding-right: calc(10% + 60px);
}

.navbar-brand>.navbar-logo {
    display: none;
}

.navbar-logo {
    height: 24px;
}

.offcanvas-header {
    display: none;
}

@media (max-width: 992px) {
    .offcanvas-header {
        display: block;
    }
    .navbar-collapse {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 100%;
        width: 250px;
        max-width: 80%;
        padding-right: 1rem;
        padding-left: 1rem;
        overflow-y: auto;
        visibility: hidden;
        background-color: #1C2E29;
        color: orange;
        transition: visibility .2s ease-in-out, -webkit-transform .2s ease-in-out;
    }
    .navbar-collapse.show {
        visibility: visible;
        transform: translateX(-100%);
    }
    .navbar-collapse>ul>li {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .navbar-collapse>ul {
        margin-left: auto;
        margin-right: 0;
    }
}

.toast-top-center {
    top: 30px;
}