.nav-container,.nav-links {
    display: -webkit-box;
    display: -ms-flexbox
}

.nav-kontakt::after,.nav-kontakt:hover::after {
    left: -10px;
    height: 100%;
    width: 10px;
    top: 0;
    z-index: -1
}

.nav-links a::after,.nav-links a:hover::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 2px;
    background: #000
}

.cars-container,.nav-logo {
    background-position: center
}

.modal,.nav-kontakt {
    z-index: 1;
    overflow: hidden
}

.cars-container,.modal,.nav-kontakt::after {
    background-color: #000
}

.gallery-container,.mySlides {
    -webkit-box-orient: horizontal
}

.footer-text a,.numbertext,p {
    font-family: "Readex Pro Extra Light"
}

#createdbyenis,.footer-text a,.nav-kontakt,.nav-links a,nav a {
    text-decoration: none
}

@font-face {
    font-family: "Readex Pro";
    src: url("../font/readex/ReadexPro-Regular.eot");
    src: url("../font/readex/ReadexPro-Regular.eot?#iefix") format("embedded-opentype"),url("../font/readex/ReadexPro-Regular.woff2") format("woff2"),url("../font/readex/ReadexPro-Regular.woff") format("woff"),url("../font/readex/ReadexPro-Regular.ttf") format("truetype"),url("../font/readex/ReadexPro-Regular.svg#ReadexPro-Regular") format("svg");
    font-display: swap
}

@font-face {
    font-family: "Readex Pro Extra Light";
    src: url("../font/readex/ReadexPro-ExtraLight.eot");
    src: url("../font/readex/ReadexPro-ExtraLight.eot?#iefix") format("embedded-opentype"),url("../font/readex/ReadexPro-ExtraLight.woff2") format("woff2"),url("../font/readex/ReadexPro-ExtraLight.woff") format("woff"),url("../font/readex/ReadexPro-ExtraLight.ttf") format("truetype"),url("../font/readex/ReadexPro-ExtraLight.svg#ReadexPro-ExtraLight") format("svg");
    font-display: swap
}

@font-face {
    font-family: "Readex Pro Bold";
    src: url("../font/readex/ReadexPro-Bold.eot");
    src: url("../font/readex/ReadexPro-Bold.eot?#iefix") format("embedded-opentype"),url("../font/readex/ReadexPro-Bold.woff2") format("woff2"),url("../font/readex/ReadexPro-Bold.woff") format("woff"),url("../font/readex/ReadexPro-Bold.ttf") format("truetype"),url("../font/readex/ReadexPro-Bold.svg#ReadexPro-ExtraLight") format("svg");
    font-display: swap
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

body {
    max-width: 100vw;
    background-color: #fff
}

a,h1 {
    font-family: "Readex Pro Bold"
}

nav {
    position: fixed;
    width: 100%;
    height: 100px;
    background: #fff;
    z-index: 2;
    padding: .4rem 0;
    -webkit-transition: background-color,.3s ease-in-out;
    transition: background-color,.3s ease-in-out
}

nav a {
    font-size: 1.2em;
    margin: 0 .9rem
}

.nav-container {
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transform: translate(-50%);
    transform: translate(-50%);
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: 50%;
    width: 90%
}

.nav-kontakt {
    position: relative;
    cursor: pointer;
    color: #000;
    width: 200px;
    text-align: center;
    padding: 4px 0;
    font-size: 1.4em;
    border: 2px solid #000
}

.close,.next,.prev {
    color: #fff;
    font-weight: 700
}

.nav-kontakt::after {
    content: "";
    position: absolute;
    -webkit-animation: .3s ease-in-out buttonAnimationOut;
    animation: .3s ease-in-out buttonAnimationOut
}

.nav-kontakt:hover::after {
    content: "";
    position: absolute;
    -webkit-animation: .3s ease-in-out buttonAnimation;
    animation: .3s ease-in-out buttonAnimation
}

@-webkit-keyframes buttonAnimation {
    from {
        left: -10px;
        width: 10px
    }

    to {
        left: 110%;
        width: 100%
    }
}

@keyframes buttonAnimation {
    from {
        left: -10px;
        width: 10px
    }

    to {
        left: 110%;
        width: 100%
    }
}

@-webkit-keyframes buttonAnimationOut {
    from {
        left: 110%;
        width: 100%
    }

    to {
        left: -10px;
        width: 10px
    }
}

@keyframes buttonAnimationOut {
    from {
        left: 110%;
        width: 100%
    }

    to {
        left: -10px;
        width: 10px
    }
}

.nav-logo {
    height: 90px;
    width: 100px;
    background-image: url("../media/logo-ms-infinity.png");
    background-size: 130px 130px
}

.nav-logo h1 {
    height: 60px;
    width: 60px
}

.nav-links {
    width: 90%;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.nav-links a {
    position: relative;
    color: #000
}

.nav-links a::after {
    width: 0%;
    -webkit-animation: .3s ease-in-out navLinksOut;
    animation: .3s ease-in-out navLinksOut
}

.nav-links a:hover::after {
    width: 100%;
    -webkit-animation: .3s ease-in-out navLinks;
    animation: .3s ease-in-out navLinks
}

.footer-text a::after,.footer-text a:hover::after {
    bottom: -2px;
    height: 2px;
    background: #fff;
    content: "";
    left: 0
}

@-webkit-keyframes navLinks {
    from {
        width: 0%
    }

    to {
        width: 100%
    }
}

@keyframes navLinks {
    from {
        width: 0%
    }

    to {
        width: 100%
    }
}

@-webkit-keyframes navLinksOut {
    from {
        width: 100%
    }

    to {
        width: 0%
    }
}

@keyframes navLinksOut {
    from {
        width: 100%
    }

    to {
        width: 0%
    }
}

.cars-section {
    width: 100vw;
    height: calc(100vh - 100px)
}

.gbrabus-img {
    background-image: url(../media/gbrabus/gclass-brabusbackground.jpg)
}

.bmwm5-img {
    background-image: url(../media/bmwm5/BMW-M5-M550d.png)
}

.gallado-img {
    background-image: url(../media/lamborghinigallado/lamborghini-gallado.jpg)
}

.bentleys2-img {
    background-image: url(../media/bentleys2/bentleys2.jpg)
}

.larson254cabrio-img {
    background-image: url(../media/larson254cabrio/larson254cabrio.jpg)
}

.porsche928-img {
    background-image: url(../media/porsche928/porsche928.jpg)
}

.bmwx6-img {
    background-image: url(../media/bmwx6/bmwx6.jpg)
}

.bmwgt-img {
    background-image: url(../media/bmwgt/bmwgt.png)
}

.VWMultivanT6-img {
    background-image: url(../media/Vw-Multivan-T6/VwMultivanT6.jpg)
}

.pontiac-firebird-img {
    background-image: url(../media/pontiac-firebird/pontiac-firebird.jpg)
}

.mercedesw124-img {
    background-image: url(../media/mercedes-benz-w124/mercedesw124.png)
}

.harleydavidson-img {
    background-image: url(../media/harley-davidson/harley-davidson.jpg)
}

.bmw3series {
    background-image: url(../media/BMW3Series/bmw3series.png)
}

.cars-container {
    margin-top: 100px;
    position: relative;
    -webkit-clip-path: inset(0);
    clip-path: inset(0);
    width: 100%;
    height: 100%;
    background-size: contain;
    background-attachment: fixed;
    background-repeat: no-repeat
}

.gallery-section {
    overflow: hidden;
    width: 100vw
}

.gallery-section h1 {
    font-size: 4em;
    text-align: center;
    padding: 3rem 0
}

.gallery-container {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 1rem
}

.gallery-container img {
    padding: .2rem .1rem;
    width: 50%;
    cursor: pointer
}

.row>.column {
    padding: 0 8px
}

.row:after {
    content: "";
    display: table;
    clear: both
}

.column {
    float: left;
    width: 25%
}

.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    max-height: 100vh
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh
}

.close,.footer-text a::after,.next,.numbertext,.prev,.slide-text {
    position: absolute
}

#copyright-text,.mySlides {
    padding: 1rem
}

.mySlides,.slide-text {
    width: 100%;
    -webkit-box-direction: normal
}

.close {
    top: 10px;
    right: 25px;
    font-size: 35px;
    z-index: 5
}

.close:focus,.close:hover {
    color: #999;
    text-decoration: none;
    cursor: pointer
}

.mySlides {
    height: 100%;
    display: none;
    background-color: #000;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.footer-section,.footer-text div,.slide-text {
    -webkit-box-orient: vertical
}

.mySlides img {
    max-width: 100%;
    max-height: calc(100% - 100px)
}

.slide-text {
    left: 50%;
    -webkit-transform: translate(-50%);
    transform: translate(-50%);
    bottom: 0;
    height: 100px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #fff;
    padding: 5px 10px
}

.slide-text h1 {
    color: #000
}

.slide-text p {
    color: #000;
    text-align: center;
    font-size: 1.2em
}

.cursor {
    cursor: pointer
}

.next,.prev {
    cursor: pointer;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    font-size: 20px;
    -webkit-transition: .6s;
    transition: .6s;
    border-radius: 0 3px 3px 0;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-select: none
}

.next {
    right: 15px;
    border-radius: 3px 0 0 3px;
    background-color: rgba(0,0,0,.8)
}

.numbertext {
    color: #f2f2f2;
    font-size: 1.2em;
    top: 25px;
    left: 25px
}

.mobil-nav {
    display: none
}

.footer-container,.footer-section {
    display: -webkit-box;
    display: -ms-flexbox;
    -webkit-box-direction: normal
}

.hamburgerMenuColor {
    background-color: #000!important
}

.footer-section {
    background-color: #2c2c2c;
    color: #fff;
    width: 100vw;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column
}

.footer-container {
    width: 100%;
    display: flex;
    -webkit-box-orient: horizontal;
    -ms-flex-direction: row;
    flex-direction: row
}

.footer-text,.footer-text div {
    display: -webkit-box;
    display: -ms-flexbox
}

.footer-logo {
    width: 30%
}

.footer-logo img {
    width: 300px
}

.footer-text {
    width: 70%;
    display: flex
}

.footer-text h1 {
    font-size: 2.2em;
    cursor: default
}

.footer-text a {
    position: relative;
    font-size: 1.4em;
    color: #fff;
    margin-top: .5rem
}

.footer-text a::after {
    width: 0%;
    -webkit-animation: .3s ease-in-out navLinksOut;
    animation: .3s ease-in-out navLinksOut
}

.footer-text a:hover::after {
    position: absolute;
    width: 100%;
    -webkit-animation: .3s ease-in-out navLinks;
    animation: .3s ease-in-out navLinks
}

#createdbyenis:active,.footer-text a:active {
    position: relative;
    top: 1px
}

.footer-text div {
    padding: 3rem;
    display: flex;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start
}

#createdbyenis {
    color: #fff;
    position: relative
}

#createdbyenis::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: red;
    bottom: 0;
    left: 0;
    -webkit-transform-origin: right;
    transform-origin: right;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: -webkit-transform .3s ease-in-out;
    transition: transform .3s ease-in-out;
    transition: transform .3s ease-in-out,-webkit-transform .3s ease-in-out;
    z-index: -1
}

#createdbyenis:hover::before {
    -webkit-transform-origin: left;
    transform-origin: left;
    -webkit-transform: scaleX(1);
    transform: scaleX(1)
}

@media only screen and (max-width: 1550px) {
    .footer-container {
        -webkit-box-orient:vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center
    }

    .footer-logo,.footer-text {
        width: auto
    }
}

@media only screen and (max-width: 1060px) {
    .footer-text div {
        padding:1rem
    }
}

@media only screen and (max-width: 850px) {
    .footer-text,.mobile-nav-links {
        -webkit-box-orient:vertical;
        -webkit-box-direction: normal
    }

    .mobil-nav h1,.mobile-nav-links a {
        color: #000;
        font-size: 2em
    }

    .mobile-nav-links a::after,.mobile-nav-links a:hover::after {
        content: "";
        position: absolute;
        bottom: -2px;
        left: 0;
        height: 2px;
        background: #000
    }

    .footer-text {
        -ms-flex-direction: column;
        flex-direction: column
    }

    #copyright-text {
        text-align: center
    }

    nav {
        background-color: #000
    }

    nav a {
        margin: 0
    }

    .mobil-nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        top: 0;
        left: 0;
        width: 100%;
        height: 100px;
        position: fixed;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center
    }

    .mobil-nav a {
        width: 10px
    }

    .mobile-nav-links {
        display: none!important;
        position: fixed;
        left: 0;
        top: 0;
        overflow: none;
        height: 100vh;
        width: 100vw;
        background: #fff;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        z-index: 22
    }

    .mobile-nav-links a {
        position: relative;
        width: 100%;
        text-decoration: none;
        text-align: center;
        padding: 1.5rem 0
    }

    .mobile-nav-links a::after {
        width: 0%;
        -webkit-animation: .3s ease-in-out navLinksOut;
        animation: .3s ease-in-out navLinksOut
    }

    .mobile-nav-links a:hover::after {
        width: 100%;
        -webkit-animation: .3s ease-in-out navLinks;
        animation: .3s ease-in-out navLinks
    }

    .mobile-nav-links a:active {
        position: relative;
        top: 1px
    }
    .cars-container {
        background-attachment: unset;
    }
    .footer-text {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .nav-container {
        display: none
    }

    .nav-logo {
        height: 90px;
        width: 100px;
        background-size: 130px 130px
    }

    .lines-div {
        width: 50px;
        height: 50px;
        cursor: pointer;
        position: relative;
        margin-right: 2rem;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        z-index: 99
    }

    .menu-lines,.menu-lines::after,.menu-lines::before {
        display: block;
        background-color: #fff;
        height: 4px;
        border-radius: 2px
    }

    .menu-lines {
        width: 40px;
        -webkit-transition: -webkit-transform .4s cubic-bezier(.23, 1, .32, 1);
        transition: transform .4s cubic-bezier(.23, 1, .32, 1),-webkit-transform .4s cubic-bezier(.23, 1, .32, 1)
    }

    .menu-lines::after,.menu-lines::before {
        content: "";
        position: absolute;
        top: 10px;
        width: 45px
    }

    .menu-lines::after {
        top: 35px;
        width: 45px
    }
}

@media only screen and (max-width: 400px) {
    .footer-text div {
        padding:1rem 0
    }
}

@media only screen and (max-width: 350px) {
    .footer-text div {
        padding:1rem 0
    }
}

.menuActive {
    display: -webkit-box!important;
    display: -ms-flexbox!important;
    display: flex!important
}
