/************************************************************
	css reset
*************************************************************/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}


body {
	width: 100%;
	line-height: 1.4;
	font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    color: black;
    margin: 0;
    padding: 0;
}


h1,
h2,
h3,
h4,
h5 {
	font-family: 'IBM Plex Sans Condensed', sans-serif;
}

h1 {
    font-size: 30px;
}

h2 {
    font-size: 20px;
}

a {
    color: rgb(255,255,255);
}

a:link {
    text-decoration: none;
}

a:hover {
    color: rgb(244,67,54);
}

/************************************************************
	main
*************************************************************/

.container {
	width: 100%;
	overflow: hidden;
}

/************************************************************
	header
*************************************************************/

.header {
    background: rgba(255,255,255, 0.9);
    height: 55px;
    padding: 10px;
    box-shadow: 0px 5px 8px rgba(0,0,0, 0.3);
    position: fixed;
    z-index: 1;
    top: 0;
    width: 100%;
    transition: 0.3s;
}

.logo {
    float: left;
    margin-left: 10px;
}

.logo img {
    width: 60px;
    height: 60px;
    transition: 0.3s;
}

.nav-top-button {
    font-size: 30px;
    font-weight: 500;
    cursor: pointer;
    float: right;
    padding-top: 4px;
    padding-right: 35px;
    transition: 0.3s;
}


/************************************************************
	nav-top overlay
*************************************************************/

.nav-overlay {
    height: 0%;
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.9);
    overflow-y: hidden;
    transition: 0.5s;
}

.nav-overlay-content {
    height: 100%;
    position: relative;
    padding-top: 30%;
    width: 65%;
    text-align: left;
    background: rgb(244,67,54);
    padding-left: 30px;
}

.nav-overlay a {
    text-decoration: none;
    font-size: 25px;
    font-weight: 500;
    color: rgb(244,67,54);
    display: block;
    transition: 0.3s;
}

.nav-overlay-content a {
    padding: 8px;
    text-decoration: none;
    font-size: 25px;
    font-weight: 300;
    color: rgb(255,255,255);
    display: block;
    transition: 0.3s;
}

.nav-overlay-content-small {
    margin-top: 60px;
}

.nav-overlay-content-small a {
    font-size: 20px;
    padding-top: 0px;
}

.nav-overlay a:hover, .nav-overlay a:focus {
    color: rgb(255,255,255);
}

.nav-overlay .closebtn {
    position: absolute;
    top: 0px;
    right: 20px;
    font-size: 60px;
    line-height: 1em;
}

.openbutton {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}



/************************************************************
	elements
*************************************************************/

.red-dot {
    background: rgb(244,67,54);
    width: 9px;
    height: 9px;
    display: inline-block;
    vertical-align: bottom;
    margin-bottom: 10px;
    margin-left: 5px;
    
}

.button {
    width: 260px;
    color: rgb(244,255,255);
    background: rgb(244,67,54);
    box-shadow: 0px 5px 8px rgba(0,0,0, 0.3);
    border: 0 none;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 0px;
    display: block;
    margin: auto;
    cursor: pointer;
    text-align: center;
}



/************************************************************
	sections
*************************************************************/

.intro-img {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 1100px;
    z-index: -1;
}

.section-img {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 1100px;
    margin-top: -80px;
    z-index: -1;
}

.section-title {
    padding: 15px 20px;
    margin-top: -5px;
}

.section-text {
    padding: 30px 20px;
}

.grey {
    background: rgb(235,235,235);
}

.white {
    background: rgb(255,255,255);
}

.black {
    background: rgb(0,0,0);
    color: rgb(255,255,255);
}

.darkgrey {
    background: rgb(38,38,38);
    color: rgb(255,255,255);
}


/*** section-1 ***/

.section-1 {
    padding-bottom: 30px;
}


/*** section-2 ***/

.section-2 {
    
}

.col-1,
.col-2,
.col-3 {
    text-align: center;
    padding: 30px 30px;
}

.col-1 img,
.col-2 img,
.col-3 img {
    height: 70px;
    margin-bottom: 10px;
}

.col-1 {
    background: rgb(235,235,235);
}

.col-2 {
    background: rgb(240,240,240);
}

.col-3 {
    background: rgb(245,245,245);
}


/*** section-3 ***/

.section-3 {

}


/*** section-4 ***/

.section-4 {
    position: relative;
}


.contact-form {
    position: relative;
    padding: 0 30px;
}

.map {
    margin-top: 50px;
}



/************************************************************
	footer
*************************************************************/

.footer {
    background: rgb(38,38,38);
    color: rgb(255,255,255);
    margin-top: -5px;
    padding: 20px 0px;
}

.footer-text {
    font-size: 17px;
    text-align: center;
    padding: 30px;
}

.footer-text p {
    margin: 10px;
}

.footer-nav {
    text-align: center;
    padding-bottom: 20px;
}

.bold {
    font-weight: 500;
}



/************************************************************
	forms
*************************************************************/

input[type=text], select {
    width: 100%;
    color: rgb(35,35,35);
    background: rgb(250,250,250);
    border: 5px solid rgb(245,245,245);
    display: inline-block;
    padding: 10px 10px;
    margin: 8px 0;
    box-sizing: border-box;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type=text]:focus {
    border: 5px solid rgb(215,215,215);
}

textarea {
    width: 100%;
    min-height: 100px;
    color: rgb(35,35,35);
    background: rgb(250,250,250);
    border: 5px solid rgb(245,245,245);
    display: inline-block;
    padding: 10px 10px;
    margin: 8px 0;
    box-sizing: border-box;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type=submit] {
    color: rgb(244,255,255);
    background: rgb(244,67,54);
    box-shadow: 0px 5px 8px rgba(0,0,0, 0.3);
    border: 0 none;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 32px;
    display: block;
    margin: auto;
    cursor: pointer;
    margin-top: 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}



/************************************************************
	iframes
*************************************************************/

.cars-header {
    background: white;
}

.cars iframe {
    position: absolute;
    height: 100%;
    width: 100%;
    border: none;
    top: 0px;
    border: 0 none;
}

.map iframe {
    width: 100%;
    height: 500px;
    position: relative;
    height: 400px;
    border: 0 none;
}



/************************************************************
	media queries
*************************************************************/

@media screen and (max-height: 568px) {
    .nav-overlay-content {
        padding-top: 25%;
    }
}

@media screen and (max-width: 768px) {
    .cars iframe {
        top: 0px;
    }
}

@media screen and (min-width: 1024px) {
    .cars iframe {
        top: -30px;
    }
}

@media screen and (min-width: 768px) {
    
    body {
        font-size: 16px;
    }
    
    .logo img {
        width: 70px;
        height: 70px;
        transition: 0.3s;
    }
    
    .header {
        height: 65px;
        padding: 10px;
        transition: 0.3s;
    }
    
    .footer {
        padding: 30px 20px;
    }
    
    .intro-img {
        max-width: 100%;
    }
    
    .section-1 {
        padding: 0;
    }
    
    .button-cars {
        margin: 80px 0;
        margin-bottom: 60px;
    }
    
    .section-1 .section-title,
    .section-2 .section-title,
    .section-3 .section-title,
    .section-4 .section-title,
    .section-1 .section-text,
    .section-2 .section-text,
    .section-3 .section-text,
    .section-4 .section-text {
        width: 300px;
        margin: 0 30px;
    }
    
    .section-1 .section-title {
        background: rgba(235,235,235, 0.9);
        margin-top: -230px;
    }
    
    .section-1 .section-text {
        background: rgba(255,255,255, 0.95);
    }
    
    
    .section-2 .section-title {
        background: rgba(0,0,0, 0.8);
        margin-top: -350px;
    }
    
    .section-2 .section-text {
        background: rgba(38,38,38, 0.8);
        margin-bottom: 30px;
    }
    
    
    .section-3 .section-title {
        background: rgba(0,0,0, 0.95);
        margin-top: -350px;
    }
    
    .section-3 .section-text {
        background: rgba(38,38,38, 0.95);
        margin-bottom: 30px;
    }
    
    .section-4 .section-title {
        background: rgba(235,235,235, 0.9);
        margin-top: -280px;
    }
    
    .section-4 .section-text {
        background: rgba(255,255,255, 0.95);
        margin-bottom: 100px;
    }
    
    .contact-form {
        padding: 0 100px;
    }
    
    .map {
        padding-top: 50px;
    }
        
    .subtext {
        background: none !important;
        margin: 100px 100px !important;
        width: auto !important;
        padding: 0;
    }
    
    .cols-wrapper {
        display: flex;
        justify-content: space-around;
        background: rgb(250,250,250);
        padding: 20px 0;
    }
    
    .cols {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-around;
        padding: 20px;
    }

    
    .col-1,
    .col-2,
    .col-3 {
        width: 200px;
        min-height: 300px;
        margin: 10px;
        box-shadow: 0px 2px 5px rgba(0,0,0, 0.2);
    }
    
    .nav-top-button {
        font-size: 40px;
        padding-top: 4px;
        padding-right: 35px;
        transition: 0.3s;
    }

    .nav-overlay-content {
        padding-top: 20%;
        width: 60%;
        padding-left: 60px;
    }

    .nav-overlay a {
        font-size: 30px;
    }

    .nav-overlay-content a {
        font-size: 28px;
    }

    .nav-overlay-content-small a {
        font-size: 22px;
    }

    .nav-overlay .closebtn {
        top: 3px;
        right: 22px;
        font-size: 70px;
    }
    
}

