html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}

.clearfix:after {visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }

.visuallyhidden:not(:focus):not(:active) {
          position: absolute;
          width: 1px;
          height: 1px;
          margin: -1px;
          border: 0;
          padding: 0;
          white-space: nowrap;
          clip-path: inset(100%);
          clip: rect(0 0 0 0);
          overflow: hidden;
    }

    img{max-width: 100%}
                                                /* Header  */

    html {
        scroll-behavior: smooth;
    }

    .header{
  		width: 100%;
  		height: 100%; 
  		overflow: hidden;
        color: white;
        position: relative;
    }
    @media(max-width: 1040px){
        .header{
            background: url('../assets/photos/vintage-car-speedometer_4460x4460.jpg');
            background-size: cover;
        }
    }

    @media(max-width: 900px){
        header{
            position: relative;
        }
    }

    ul.main-nav{
        width: 100%;
        box-sizing: border-box;
        display: flex;
        justify-content: flex-end;
        font-size: 18px;
        margin: 0;
        font-family: 'Thasadith', sans-serif;
    }

    @media(max-width: 900px){
        ul.main-nav{
            flex-direction: column;
            justify-content: center;
            align-items: center;
            font-size: 25px;
        }
    }

    .main-nav li{
        padding-top: 40px;
        width: 140px;
        display: flex;
        justify-content: center;
    }
    @media(max-width: 900px){
        .nav-wrapper {
            width: 0px;
            overflow-x: hidden;
        }
        .nav-wrapper.open {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background: rgba(0,0,0,0.99);
            position: absolute;
		    top: 0;
		    left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            overflow-x: hidden;
            transition: 0.5s;
            z-index: 1;
        }

        .nav-wrapper{
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background: rgba(0,0,0,0.99);
            position: absolute;
		    top: 0;
		    left: 0;
            right: 0;
            bottom: 0;
            font-size: 25px;
            width: 0px;
            overflow-x: hidden;
            transition: 0.5s;
            z-index: 1;
        }


    }
   
    video{
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
  		min-width: 100%; 
  		min-height: 100%; 
  		width: auto;
  		height: auto;
    }

    @media(max-width: 900px){
        video{
            display: none;
        }
        .header-overlay{
            opacity: 0.8;
        }
    }

    .header-overlay{
        background: #30383E;
        opacity: 0.8;
  		min-width: 100%; 
  		min-height: 100%; 
  		width: auto;
  		height: auto;
    }

    a, .main-nav{
        list-style-type: none;
        text-decoration: none;
        color: white;
    }

    .main-nav a:hover{
        color: red;
        transition: 0.5s;
    }

    .logo{
        position: absolute;
        top: 10px;
        left: 10px;
        width: 95px;
    }
    @media(max-width: 900px){
        .logo{
            position: unset;
            width: 200px;
        }  
    }

    .header-subtext {
        text-transform: uppercase;
        justify-content: center;
        align-items: center;
        font-family: 'Montserrat', sans-serif;
        padding-top: 200px;
        padding-left: 10px;
        text-align: center;
        font-size: 35px;
        letter-spacing: 15px;
    }

    @media(max-width: 620px){
        .header-subtext{
            padding-top: 80px;
        }

        .header-subtext h3{
            font-size: 20px;
        }

        .header-subtext h4{
            font-size: 25px;
        }
    }

    .hamburger-menu,
    .exit-button{
        display: none;
    }

    .open{
        display: block;
    }

    @media(max-width: 900px){
        .exit-button{
            display: block;
            width: 30px;
            position: absolute;
            top: 40px;
            right: 75px;
        }

        .hamburger-menu{
            display: block;
            width: 45px;
            float: right;
            margin: 5% 7% 0 0;
            cursor: pointer;
        }
    }

                                /* About Us */

    .about{
        height: 350px;
        padding-top: 3%;
        font-family: 'Thasadith', sans-serif;
        font-size: 20px;
        display: flex;
        justify-content: space-between;
        margin-left: 10%;
        width: 80%;        
    }

    @media(max-width: 890px){
        .about{
            height: 500px;
            display: flex;
            flex-direction: column;
        }
    }
    .about-text{
        max-width: 400px;
        letter-spacing: 2px;
    }

    .about-img{
        max-width: 400px;
    }

    @media(max-width: 600px){
        .about-img{
            max-width: 75%;
        }
    }

    .border{
        width: 90%;
        margin: 0 5%;
        border: solid #d8cdcd 1px;
    }


                                /* Our Services */

    .ourServices{
        height: 600px;
        font-family: 'Thasadith', sans-serif;
        display: flex;
        padding-top: 3%;
    }

    @media(max-width: 890px){
        .ourServices{
            height: 900px;
            display: flex;
            flex-direction: column;
        }
    }

    .ourServices-text{
        line-height: 30px;
        padding-left: 8%;
    }

                                    /* Gallery */

#gallery h2{
  font-family: 'Thasadith', sans-serif;
  margin-left: 8%;
}

.gallery-item{
    width: 300px;
    height: 280px;
    margin: 20px; 
}  

.main-gallery{
   width: 90%;
   margin: 0 auto;
   margin-bottom: 50px;
}

                                /* Footer*/
  
.contactUs{
    background: #F2F2F2;
    padding: 7% 13% 7%;
}                                

.message-form{
    background: #fff;
    padding: 5%;
}

.message-form h1{
    font-family: 'Thasadith', sans-serif;
    text-align: center;
}

form{
    display: flex;
    flex-direction: column;
    align-items: center;
}

input.name,
input.tel{
    border: 1px solid grey;
    border-color: #dbd4d4;
    outline: none;
    padding: 10px;
    margin: 10px;
    width: 40%;

}
@media(max-width: 800px){
    input.name,
    input.tel{
        width: 90%;
    }
}

.message{
    border: 1px solid grey;
    border-color: #dbd4d4;
    width: 42%;
    height: 200px;
    margin: 10px;
}
@media(max-width: 800px){
    .message{
        width: 92%;
        padding: 7px;
    }
}

.send-message{
    border: solid ;
    background: white;
    padding: 10px;
    border-color: #dbd4d4;
    outline: none;
    cursor: pointer;
} 
.send-message:hover{
    background: #dbd4d4;
    transition: 0.5s;
}


/* Footer */
footer{
    background: #333333;
    color: #fff;
    height: 130px;
    font-family: 'Thasadith', sans-serif;
}

@media(max-width: 620px){
    footer{
        height: 320px;
    }
}

.footer-contact{
    display: flex;
    justify-content: space-evenly;
}
@media(max-width: 620px){
    .footer-contact{
        display: flex;
        flex-direction: column;
        margin-left: 15px;
    }
}

.footer-nav img{
    width: 30px;
}
@media(max-width: 620px){
    .footer-nav{
        margin: 10px 30px;
    }
}

.ftr-autohouse{
    padding-top: 32px;
}

.rights{
    display: flex;
    padding-top: 40px;
}

.location-icon,
.mobile{
    width: 45px;
    height: 50px;
    display: none;
}
