/* HTML 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, center, 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, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML RESET ENDE */

/* GENERAL STYLING */

html {
    scroll-behavior: smooth;
}

::-moz-selection {
    color: var(--main-color);
    background: #ffffffcc;
    text-shadow: none;
}

::selection {
    color: var(--main-color);
    background: #ffffffcc;
    text-shadow: none;
}

:root {
    --main-color: #242424;
}

body {
    font-family: aktiv-grotesk-extended, sans-serif;
    background-color: var(--main-color);
    cursor: none;
    overscroll-behavior: none;
}

.Text-Outlines {
    color: transparent !important;
    -webkit-text-stroke-width: 1px !important;
    -webkit-text-stroke-color: #ffffff !important;
}

h1 {
    font-weight: 900;
    font-size: 50px;
    line-height: 50px;
    text-transform: uppercase;
    color: #ffffff;
}

h2 {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    text-transform: uppercase;
    color: #242424;
}

a {
    color: #ffffff;
    text-decoration: none;
    cursor: none;
}

p {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #242424;
}

ul {
    list-style: none;
}

button {
    padding: 6px 20px 8px 20px;
    font-family: aktiv-grotesk-extended, sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #ffffff;
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 30px;
    transition: all 200ms ease-in-out;
    cursor: none;
}

button a {
    color: inherit;
}

button:hover {
    color: var(--main-color);
    background: #ffffff;
}

button:focus {
    outline: none;
}

img {
    color: #ffffff;
}

/* GENERAL STYLING ENDE */

/* CURSOR */

.cursor {
    display: none;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: none;
    background: rgba(255, 255, 255, 1);
    z-Index: 9999;
    transition: all 200ms ease-in-out;
    transition-property: width, height, background;
}

.cursorGrow {
    width: 2rem;
    height: 2rem;
    background: rgba(0, 0, 0, 0.5)
}

/* CURSOR ENDE*/

/* NAVIGATION */

.Navbar {
    position: fixed;
    z-index: 999;
    top: 0;
    width: 100%;
    height: auto;
    background: linear-gradient(180deg, #242424 0%, #24242410 80%, #24242400 100%);
}

.Icon_Hamburger_Menue {
    width: 35px;
    height: 30px;
    padding: 30px 35px 30px 30px;
}

.Menue {
    position: fixed;
    opacity: 0;
    pointer-events: visible;
    visibility: hidden;
    top: 0;
    z-index: -1;
    padding: 80px 0 0 30px;
    width: 100%;
    height: 100vh;
    background: var(--main-color);
    transition: 400ms ease-in-out;
}

.Menue_Active {
    visibility: visible;
    opacity: 1;
}

.Menue a {
    padding-left: 8px;
    opacity: 0;
    font-family: aktiv-grotesk-extended, sans-serif;
    font-weight: 200;
    font-size: 28px !important;
    line-height: 60px !important;
    color: #ffffff;
    transition: all 200ms ease-in-out;
}

.Menue a:hover {
    color: #ffffff !important;
}

.MenueDesktop {
    display: none;
    margin: 30px 0px 30px 0px;
}

.MenueDesktop li {
    display: inline-block;
    margin-right: 20px;
}

.MenueDesktop a {
    padding: 20px 20px 20px 0px;
    font-size: 20px;
    font-weight: 200;
    color: #ffffff;
    transition: all 200ms ease-in-out;
}

.MenueDesktop a:hover {
    color: #ffffff9d;
}

/* NAVIGATION ENDE */

/* CONTAINER */

.Container {
    margin: 0 30px;
}

.ImgContainer {
    margin: 0px;
}

/* CONTAINER ENDE */

/* HERO-SECTION */

.Hero {
    width: 100%;
    height: 100vh;
}

.HeroBG {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    z-index: -999;
    background-color: #80c453;
    animation: heroFade 1000ms cubic-bezier(0.5, 0, 0.5, 1);
    animation-delay: 0ms;
    animation-fill-mode: backwards;
}

#HeaderDesktop {
    display: none;
}

.HeroBG video {
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: -350px;
    min-width: 1500px;
    border-radius: 0;
}

@keyframes heroFade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.HeroText {
    padding: 80px 0px 40px 0px;
}

.HeroText ul li {
    margin-left: -8px;
    padding-left: 8px;
    overflow: hidden;
    height: 56px;
}

.Hero ul li h1 {
    font-size: 52px;
    margin: 10px 0px 0px -2px;
    animation: textFade 1000ms cubic-bezier(0.5, 0, 0.5, 1);
    animation-delay: 400ms;
    animation-fill-mode: backwards;
}

@keyframes textFade {
    0% {
        margin-top: 140px
    }

    100% {
        margin-top: 10px
    }
}

/* HERO_SECTION ENDE */

/* Curt Content */

.CurtBG {
    background-color: var(--main-color);
}

.Curt_Content h1 {
    padding-top: 60px;
    font-size: 42px;
}

.Description {
    padding: 30px 0px 60px 0px;
    display: grid;
    grid-template-columns: auto;
    gap: 20px 40px;
}

.Description p {
    color: #ffffff;
    font-weight: 200;
}

.Description p b {
    color: #ffffff;
    font-weight: 600;
}

video {
    margin-top: 20px;
    width: 100%;
    border-radius: 0px;
}

.ImgContainer img {
    width: 100%;
    margin-top: 20px;
}

/* Curt Content Ende */

/* Other Projects */

.Work {
    padding-top: 20px;
    background-color: var(--main-color);
}

.Work h1 {
    margin: 40px 0;
}

.shadingScroll {
    position: absolute;
    margin-top: 160px;
    pointer-events: none;
    background: linear-gradient(to right, #24242499 0%, #24242400 10%, #24242400 90%, #24242499 100%);
    height: 400px;
    width: 100%;
    z-index: 999;
}

.Headline_Mobile {
    display: inline-block;
}

.Headline_Desktop {
    display: none;
}

.All_Cards {
    padding: 5px 30px;
    display: grid;
    overflow: scroll;
    grid-template-columns: minmax(280px, 300px) minmax(280px, 300px) minmax(280px, 300px);
    grid-auto-rows: 300px;
    gap: 40px 40px;
}

/* Dieses Element fixt das Margin-right Problem bei den Karten im vertical Scroll. */

.Card:nth-child(3n)::after {
    content: '';
    position: absolute;
    right: -30px;
    width: 30px;
    height: 100%;
    background: none;
}

/* HIDE SCROLLBAR ON HORIZONTAL SCROLL */

.All_Cards::-webkit-scrollbar {
    display: none;
}

.All_Cards {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* HIDE SCROLLBAR ON HORIZONTAL SCROLL ENDE*/

.Card {
    display: flex;
    align-items: flex-end;
    border-radius: 20px;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.Card_Title {
    opacity: 0;
    padding: 15px 20px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 20px;
    transition: opacity 200ms ease-in-out;
}

.Card_Title h2 {
    margin-bottom: 4px;
}

/* CURT CARD */

.CardCurtBg {
    background-image: url("../_images/_MainPage/Fraunhofer/Curt_Hintergrund.jpg");
    background-origin: border-box;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #fff3e8;
}

/* CURT CARD ENDE */

/* HOT DOG FESTIVAL CARD */

.CardHotDogBg {
    background-image: url("../_images/_MainPage/HotDogFestival/HotDogArrowBG.jpg");
    background-origin: content-box;
    background-position: 50% 60%;
    background-size: 460px;
    background-repeat: no-repeat;
    background-color: #ffffff;
    transition: background-position 200ms ease-in-out;
}

.CardHotDogBgZ {
    background-position: 50% 70%;
    background-size: 400px;
}

.HotDogLogo {
    position: absolute;
    margin: auto;
    top: 10%;
    left: 0;
    right: 0;
    text-align: center;
    height: 220px;
    transform: translateZ(0px);
    transition: 200ms ease-in-out;
}

.HotDogLogoZ {
    top: 12%;
    transform: translateZ(40px);
}

/* HOT DOG FESTIVAL CARD ENDE*/

/* BZZT BZZZT CARD */

.CardCurtApplicationBg {
    background-image: url("../_images/_MainPage/CurtApplication/CurtApplicationBG.jpg");
    background-origin: border-box;
    background-position: center;
    background-size: 130%;
    background-repeat: no-repeat;
    background-color: #ffffff;
}

.CurtApplicationChip {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    top: 20%;
    left: 0;
    right: 0;
    text-align: center;
    width: 200px;
    height: auto;
    transform: translateZ(0px);
    transition: 200ms ease-in-out;
}

.CurtApplicationChipZ {
    top: 14%;
    transform: translateZ(40px);
}

/* BZZT BZZZT CARD ENDE */

/* Other Projects Ende*/

/* FOOTER */

.footerBG {
    background-color: var(--main-color);
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 0px 20px 0px;
    background-color: var(--main-color);
}

.Footer_Links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 150px;
}

.Footer_Links a {
    padding: 20px 20px 20px 0px;
    margin-right: 20px;
    font-size: 16px;
    font-weight: 200;
    color: #ffffff;
    transition: all 200ms ease-in-out;
}

.Footer_Links a:hover {
    color: #ffffff9d;
}

.Scroll_up {
    transition: all 200ms ease-in-out;
}

/* FOOTER ENDE */

@media (max-width: 360px) {

    /*ALL HANDYS AUSSER S5, G4, SE */
    h1 {
        font-size: 40px;
        line-height: 40px;
    }

    .Menue {
        padding: 80px 0 0 30px;
    }

    .Menue a {
        font-size: 40px;
        line-height: 60px;
    }

    .HeroBG video {
        left: -250px;
        min-width: 1200px;
    }

    .HeroText {
        padding: 80px 0px 0px 0px;
    }

    .HeroText ul li {
        overflow: hidden;
        height: 48px;
    }

    .Hero ul li h1 {
        font-size: 43px;
        margin: 10px 0px 0px 0px;
    }

    .Curt_Content h1 {
        padding-top: 60px;
        font-size: 36px;
    }

    .Work {
        padding-top: 20px;
    }

    .All_Cards {
        grid-template-columns: minmax(240px, 300px) minmax(240px, 300px) minmax(240px, 300px);
        grid-auto-rows: 300px;
    }
}

@media (min-width: 600px) {

    /* I PAD */
    h1 {
        font-size: 80px;
        line-height: 80px;
    }

    .Icon_Hamburger_Menue {
        width: 40px;
        padding: 30px 30px 30px 45px;
    }

    .Menue {
        padding: 100px 0 0 60px;
    }

    .Menue a {
        padding-left: 0px;
        font-size: 80px;
        line-height: 120px;
    }

    .Container {
        margin: 0 50px;
    }

    .ImgContainer {
        margin: 0 50px;
    }

    .ImgContainer img {
        margin-top: 40px;
    }

    .HeroBG video {
        left: -400px;
        min-width: 1800px;
    }

    .HeroText {
        margin-left: -4px;
        padding: 120px 0px 40px 0px;
    }

    .HeroText ul li {
        overflow: hidden;
        height: 85px;
    }

    .Hero ul li h1 {
        font-size: 80px;
        margin: 10px 0px 0px -2px;
    }

    .Curt_Content h1 {
        font-size: 60px;
    }

    .Description {
        display: grid;
        grid-template-columns: auto;
        gap: 40px 40px;
    }

    .Description p:nth-child(2n) {
        display: inline;
    }

    video {
        border-radius: 20px;
        margin-top: 60px;
    }

    .Sketches img {
        max-width: 50%;
        min-width: 250px;
    }

    .ImgContainer img {
        border-radius: 20px;
    }

    .Work {
        padding-top: 40px;
    }

    .Work h1 {
        font-size: 60px;
        line-height: 60px;
        margin: 40px 0;
    }

    .All_Cards {
        padding: 5px 50px;
    }

    .CardHotDogBg {
        background-position: 50% 50%;
    }

    .HotDogLogo {
        top: 12%;
    }

    .Footer_Links {
        width: 200px;
    }

    .footer p {
        font-size: 18px;
        line-height: 22px;
    }

    .footer img {
        width: 40px;
        height: 40px;
    }
}

@media (min-width: 765px) {
    .Description {
        grid-template-columns: auto auto;
    }

    .All_Cards {
        overflow: hidden;
        grid-template-columns: minmax(260px, 340px) minmax(260px, 340px);
        grid-auto-rows: 340px;
    }

    .shadingScroll {
        display: none;
    }
}

@media (min-width: 800px) {

    /* DESKTOP SCHMAL */
    .cursor {
        display: block;
    }

    .Menue {
        display: none;
    }

    .Icon_Hamburger_Menue {
        display: none;
    }

    .MenueDesktop {
        display: inline-block;
    }

    .Container {
        margin: 0 80px;
    }

    .ImgContainer {
        margin: 0 80px;
    }

    #HeaderMobile {
        display: none;
    }

    #HeaderDesktop {
        display: inline;
    }

    .HeroBG video {
        left: -400px;
        min-width: 1600px;
    }

    .HeroText {
        margin-left: -4px;
        padding: 160px 0px 40px 0px;
    }

    .Headline_Mobile {
        display: none;
    }

    .Headline_Desktop {
        display: inline-block;
    }

    .Curt_Content h1 {
        padding-top: 80px;
    }

    .Work {
        padding-top: 80px;
    }

    .All_Cards {
        padding: 5px 80px;
        grid-template-columns: minmax(260px, 340px) minmax(260px, 340px);
    }

    .Scroll_up:hover {
        transform: translateY(-10px);
    }
}

@media (min-width: 992px) {

    /* IPAD PRO */
    h1 {
        font-size: 60px;
        line-height: 60px;
    }

    .HeroBG video {
        left: -300px;
        min-width: 1600px;
    }

    .HeroText {
        margin-left: 0px;
        padding: 240px 0px 40px 0px;
    }

    .HeroText ul li {
        overflow: hidden;
        height: 100px;
    }

    .Hero ul li h1 {
        font-size: 100px;
        margin: 10px 0px 0px -6px;
    }

    .Curt_Content h1 {
        padding-top: 100px;
    }

    .Description {
        padding: 60px 0px;
    }

    .All_Cards {
        padding: 5px 80px;
        grid-template-columns: minmax(260px, 340px) minmax(260px, 340px) minmax(260px, 340px);
    }

    .CardHotDogBg {
        background-position: 50% 50%;
    }

    .CardHotDogBgZ {
        background-position: 50% 70%;
        background-size: 460px;
    }

    .HotDogLogo {
        top: 18%;
    }

    .HotDogLogoZ {
        top: 12%;
        transform: translateZ(40px);
    }

    .footer img {
        width: 50px;
        height: 50px;
    }
}

@media (min-width: 1250px) {

    /* DESKTOP */
    .MenueDesktop {
        margin: 30px 0px 50px 0px;
    }

    .Container {
        margin: 0 220px 0 160px;
    }

    .ImgContainer {
        margin: 0 220px 0 160px;
    }

    .HeroBG video {
        left: 0px;
        min-width: 1400px;
    }

    .HeroText {
        padding: 240px 0px 40px 0px;
    }

    .HeroText ul li {
        overflow: hidden;
        height: 110px;
    }

    .Hero ul li h1 {
        font-size: 110px;
        margin: 10px 0px 0px -8px;
    }

    .Card_Title {
        opacity: 0;
        /* transform: translateZ(20px); */
    }

    .All_Cards {
        padding: 5px 220px 5px 160px;
    }

    .CardHotDogBg {
        background-position: 50% 50%;
        background-size: 460px;
    }

    .CardHotDogBgZ {
        background-position: 50% 70%;
        background-size: 460px;
    }

    .HotDogLogo {
        top: 18%;
        height: 220px;
    }

    .HotDogLogoZ {
        top: 10%;
        transform: translateZ(40px);
    }
}

@media (min-width: 1600px) {

    /* DESKTOP BREIT */
    .MenueDesktop {
        margin: 30px 0px 50px 0px;
    }

    .Container {
        margin: 0 450px;
    }

    .ImgContainer {
        margin: 0 450px;
    }

    .HeroText {
        padding: 280px 0px 40px 0px;
    }

    .All_Cards {
        padding: 0px 450px;
    }
}