@font-face {
    font-family: porsche italic;
    src: url(../fonts/Kanit-ExtraBoldItalic.eot);
    src: url(../fonts/Kanit-ExtraBoldItalic.eot) format('embedded-opentype'),url(../fonts/Kanit-ExtraBoldItalic.woff) format('woff'),url(../fonts/Kanit-ExtraBoldItalic.ttf) format('truetype'),url(../fonts/Kanit-ExtraBoldItalic.otf) format('opentype')
}

@font-face {
    font-family: brandon;
    src: url(../fonts/Brandon\ Regular.otf)
}

html,body {
    margin: 0;
    height: 100%;
    width: 100%;
    background-color: #121212
}

ul,h1 {
    -webkit-margin-after: 0;
    -webkit-margin-before: 0;
    -webkit-padding-start: 0;
    margin: 0;
    padding: 0
}

h1 {
    margin: 5px 0
}

.fix {
    overflow: hidden
}

.show {
    right: 30px!important
}

.display-show {
    display: flex!important
}

.nav-sandwich {
    display: none;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 10px;
    justify-content: center;
    align-items: flex-end;
    flex-direction: column;
    cursor: pointer;
    z-index: 4
}

.nav-sandwich span {
    width: 100%;
    height: 2px;
    background-color: #fff;
    margin: 3px 0;
    transition: transform .2s,width .2s
}

.nav-sandwich.open span {
    width: 100%;
    margin: unset
}

.nav-sandwich span:nth-child(1),.nav-sandwich span:nth-child(3) {
    width: 75%
}

.nav-sandwich.open span:nth-child(1) {
    transform: rotate(45deg);
    position: absolute
}

.nav-sandwich.open span:nth-child(2) {
    width: 0;
    position: absolute
}

.nav-sandwich.open span:nth-child(3) {
    transform: rotate(-45deg)
}

.nav-sandwich-links {
    display: none
}

.nav-sandwich-links.open {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-color: #000000ed
}

.nav-sandwich-links ul {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-direction: column;
    font-size: 8vh;
    cursor: pointer
}

.links li {
    cursor: pointer
}

.center-nav {
    margin: 0 30px
}

.navbar-container {
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 65px;
    color: #fff;
    font-family: Brandon;
    background-color: #121212;
    z-index: 3
}

.social-links {
    position: absolute;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 20px;
    cursor: pointer
}

.social-links img, .social-links svg {
    width: 100%;
    fill: white;
    margin-top: 5px;
}

.navbar {
    width: 75%;
    height: 135px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    z-index: 1
}

img.nav-logo {
    height: 100px;
    width: auto;
    margin-top: 49px;
    cursor: pointer
}

.navbar ul {
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-padding-start: 0;
    display: flex
}

.navbar li {
    display: flex;
    margin: 10px
}

.section {
    width: 100%;
    display: flex
}

.section.section-1 {
    flex-shrink: 0;
    background-position: center;
    background-size: cover;
    justify-content: center;
    position: relative;
    align-items: center;
    z-index: 0;
    background-image: url(../images/ralphs_rsr-optimized.png)
}

.section.section-1::before {
    content: '';
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
    background: linear-gradient(transparent,black)
}

.section-1-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: 12% 0
}

.section-1 h1 {
    width: 100%;
    color: #fff;
    font-family: Porsche Italic;
    z-index: 1;
    font-size: 4em;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    margin: 0 0 50px;
    transform: rotate(-3deg);
    font-weight: 600;
    text-align: center
}

.button-container {
    font-family: Brandon;
    font-size: 1.4em;
    color: #fff;
    z-index: 1;
    cursor: pointer;
    border: solid 1px #fff;
    border-radius: 10px
}

.button-container:hover {
    background-color: #fff;
    color: #000;
    mix-blend-mode: screen
}

.button {
    margin: 15px 25px
}

.button p {
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    display: flex
}

.section-container {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-direction: row;
    color: #000;
    background-color: #fff;
    font-family: Brandon;
    flex: 0 1 auto
}

.section-content {
    width: 50%;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    align-items: center;
    background-color: #f5f5f5
}

.side-image {
    max-width: 50%;
    flex: 1 1 auto;
    background-position: center;
    background-size: cover
}

.news-and-events .side-image {
    background-image: url(../images/gt3-front-optimized.png)
}

.section-content-inner {
    width: 80%;
    margin: 20px 0;
    display: flex;
    flex-direction: column
}

.services .side-image {
    background-image: url(../images/gallery/bahama-yellow-left-headlight-optimized.png)
}

.services h1 {
    width: 80%;
    height: 20%
}

.services ul {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    text-align: center;
    align-items: center
}

.services li {
    width: 45%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    margin: 5px
}

.products {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    margin-bottom: -1px;
    margin-top: -1px
}

.products-images img {
    max-width: 100%;
    margin: 20px;
    height: 125px
}

.products-images {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex: 1 1 auto
}

.products-container {
    width: 80%;
    font-family: Brandon;
    margin: 40px 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column
}

.big-section {
    background-color: #fff;
    display: flex;
    flex-direction: column
}

.about-past .side-image {
    background-position: left;
    background-image: url(../images/gallery/gt3-top-angled-optimized.png)
}

.about-present .side-image {
    background-image: url(../images/gallery/rs-wheel-optimized.png)
}

.section-header {
    display: flex;
    justify-content: left;
    align-items: center;
    font-family: Brandon
}

.section-header h1 {
    font-size: 3em
}

.section-text {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    flex-direction: column;
    padding: 20px 0;
    font-family: Brandon
}

.section-text p {
    width: 90%;
    display: flex
}

.contact .section-content-inner {
    flex: 1
}

.contact a {
    color: #292929
}

.contact a:hover {
    color: #2196f3
}

.contact .section-content {
    background-color: #fff
}

.up {
    width: 40px;
    height: 40px;
    position: fixed;
    bottom: 30px;
    right: -45px;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right .2s
}

.up-content {
    width: 100%;
    height: 100%;
    background-color: #121212;
    border-radius: 100px;
    display: flex;
    align-items: center;
    box-shadow: rgba(0,0,0,.15) 5px 11px 41px,rgba(0,0,0,.1) 2px -2px 21px;
    cursor: pointer
}

.up-content span {
    display: flex;
    width: 40%;
    height: 2px;
    background-color: #fff;
    margin-top: -6%
}

.up-content span:nth-child(1) {
    transform: rotate(-45deg);
    margin-left: 18%
}

.up-content span:nth-child(2) {
    transform: rotate(45deg);
    margin-left: -14%
}

.privacy-policy-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    flex: 1;
    padding: 65px 0 0;
    font-family: Brandon;
    font-size: 1.2em
}

.privacy-policy-container .header {
    font-size: 2.4em;
    margin: 0 0 20px
}

.privacy-policy-container p {
    margin: unset
}

.policy {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 90%;
    max-width: 800px
}

.section-container.wide-photo {
    height: 550px;
    background-image: url('../images/962_front.png');
    background-position: center;
    background-size: cover;
}

@media screen and (max-width: 798px) {
    .links {
        display:none
    }

    .section-1 h1 {
        font-size: 2.7em
    }

    .nav-sandwich {
        display: flex
    }

    .section.section-1::before {
        background: linear-gradient(#00000099,#0000005e)
    }
}

@media screen and (max-width: 700px) {
    .section-container {
        flex-direction:column
    }

    .wide-photo {
        height: 0px !important;
    }

    .section-content {
        width: 100%
    }
}
