/*********************
GENERAL
*********************/

@font-face {
    font-family: 'FjallaOne';
    src: url('../fonts/fjallaone-regular-webfont.woff2') format('woff2'),
        url('../fonts/fjallaone-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OutfitLight';
    src: url('../fonts/Outfit-Light.woff2') format('woff2'),
        url('../fonts/Outfit-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

:root {
    --dark-cyan: #00AE87;
    --grey: #000;
    --white: #fff;
    --chipDrone: #29C099;
    --chipwebui: #2C8CE0;
    --chipstillmotion: #DDA930;
    --chipPrint: #EF476F;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    background-color: var(--grey);
    overflow-x: hidden;
}

h1::selection,
h2::selection,
p::selection {
    background-color: var(--dark-cyan);
}

.content-center {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

h1 {
    font-family: 'FjallaOne', sans-serif;
    font-size: 72px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: var(--white);
    margin-bottom: 20px;
}

h2 {
    font-family: 'FjallaOne', sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: var(--white);
    margin-bottom: 20px;
}

p {
    font-family: 'OutfitLight', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: 150%;
    color: var(--white);
    margin-bottom: 80px;
    margin-top: 20px;
}

a {
    text-decoration: none;
}

p a {
    color: #00AE87;
    text-decoration: underline;
}

a img {
    width: 100%;
    object-fit: scale-down;
    border-radius: 7px;
}

.content {
    width: 1420px;
    margin: 320px auto 0 auto;
}

.button {
    display: flex;
    width: 340px;
    height: 60px;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 7px;
    border: 3px solid var(--dark-cyan);
    margin-left: auto;
    transition: .4s;
}

.index-button {
    margin-top: 50px;
}

.button:hover {
    background-color: var(--dark-cyan);
    transition: .4s;
}

.button:hover h2 {
    color: var(--white);
    transition: .4s;
}

.button h2 {
    color: var(--dark-cyan);
    margin-bottom: 0;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 60px;
    transition: .4s;
    margin-top: 5px;
}

.content.home {
    margin-top: 0;
}

/*********************
LANGUAGES
*********************/

.langDE {
    display: block;
}

.langEN {
    display: none;
}

.langJP {
    display: none;
}


/*********************
NAVIGATION
*********************/

.header {
    position: fixed;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    z-index: 50;
    background-color: #060606;
}

#header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1420px;
    height: 70px;
    margin: 0 auto;
}

#header-wrapper a {
    height: 80px;
}

#header-wrapper .nav-logo {
    height: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header #header_logo {
    height: 55px;
}

nav {
    position: fixed;
    z-index: 50;
    height: 100%;
    width: 100%;
    background: #4CBA86;
    background: linear-gradient(180deg, rgba(76, 186, 134, 1) 0%, rgba(22, 127, 121, 1) 100%);
}

#hero {
    position: relative;
    overflow: hidden;
    justify-content: center;
    padding-top: 70px;
    margin-bottom: 80px;
}

#hero video {
    opacity: 0;
    max-width: inherit;
    max-height: inherit;
    height: 100vh;
    width: 100%;
    object-fit: cover;
    border-radius: 0;
    pointer-events: none;
}

#hero_preloader {
    position: absolute;
    opacity: 1;
    max-width: inherit;
    max-height: inherit;
    height: 100vh;
    width: 100%;
    object-fit: cover;
    border-radius: 0;
    padding-top: 70px;
}


#burger {
    height: 26px;
    cursor: pointer;
}

.close {
    height: 26px;
    background-color: inherit;
    margin-left: auto;
    cursor: pointer;
}

.navhide {
    left: 25%;
    pointer-events: none;
    opacity: 0;
    transition: none;
}

.navshow {
    left: 0;
    pointer-events: inherit;
    opacity: 1;
    transition: opacity 0.4s ease, left 0.4s ease;
}

.navshow #nav-content ul li:nth-child(1) {
    transform: translateX(0);
    transition: .4s;
    opacity: 1;
}

.navshow #nav-content ul li:nth-child(2) {
    transform: translateX(0);
    transition: .4s;
    transition-delay: .1s;
    opacity: 1;
}

.navshow #nav-content ul li:nth-child(3) {
    transform: translateX(0);
    transition: .4s;
    transition-delay: .2s;
    opacity: 1;
}

.navshow #nav-content ul li:nth-child(4) {
    transform: translateX(0);
    transition: .4s;
    transition-delay: .3s;
    opacity: 1;
}

.navhide #nav-content ul li:nth-child(1) {
    transform: translateX(25%);
    transition: .4s;
    opacity: 0;
}

.navhide #nav-content ul li:nth-child(2) {
    transform: translateX(25%);
    transition: .4s;
    opacity: 0;
}

.navhide #nav-content ul li:nth-child(3) {
    transform: translateX(25%);
    transition: .4s;
    opacity: 0;
}

.navhide #nav-content ul li:nth-child(4) {
    transform: translateX(25%);
    transition: .4s;
    opacity: 0;
}

#nav-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100% - 100px);
}

#nav-content ul {
    text-align: center;
    list-style: none;
}

#nav-content ul li {
    margin: 50px 0;
}

#nav-content ul a {
    font-family: 'FjallaOne', sans-serif;
    color: var(--white);
    text-decoration: none;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    height: 50px;
}

#nav-content ul li a {
    color: var(--white);
    border-bottom-width: 0px;
    border-bottom-style: solid;
    border-bottom-color: #ffffff00;
    transition: .2s;
}

#nav-content ul li a:hover {
    transition: .2s;
    border-bottom-color: #ffffffff;
    border-bottom-width: 3px;
}

#nav_right {
    display: flex;
    flex-wrap: nowrap;
    width: 100px;
    height: 40px;
    justify-content: space-between;
    align-items: center;
}

#language {
    height: 30px;
    margin-top: 3px;
    filter: drop-shadow(0px 0px 9px #00000080);
}

#languages {
    position: relative;
    cursor: pointer;
}

#languages ul {
    list-style: none;
    font-family: 'FjallaOne', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: var(--white);
    position: absolute;
    transform: translate(-25%, 17px);
    display: none;
    justify-content: center;
    align-content: space-between;
    flex-wrap: wrap;
    background-color: #060606;
    border-radius: 0 0 5px 5px;
}

#languages ul li {
    cursor: pointer;
    padding: 10px;
    display: block;
    width: 100%;
}

/*********************
FOOTER
*********************/

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 280px;
    background-color: #0b0b0b;
    width: 100%;
    margin-top: 140px;
}

footer #footer_logo img {
    width: 135px;
}

footer h2 {
    margin: auto 0 40px 0;
}

#icons {
    height: 40px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

#icons a {
    height: 40px;
    width: 40px;
    display: inline-block;
}

.content.homefooter {
    margin-top: 0;
    display: flex;
    justify-content: space-between;
}

.homefooter #footer_logo {
    display: flex;
    align-items: center;
}


/*********************
IMAGES
*********************/

.galleryChild {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.galleryChild>* {
    width: 100%;
    height: 100%;
    border-radius: 7px;
}

.galleryChild.active {
    display: block;
}

.galleryChild.hidden {
    display: none;
}

.gallery {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
}

.gallery:hover .galleryArrows {
    opacity: 100;
    transition: .4s;
}

.galleryParent {
    width: 100%;
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
}

.galleryParent p {
    position: unset;
    height: auto;
}

.galleryParent h2 {
    margin-top: 30px;
    position: unset;
    height: auto;
}

.galleryText {
    width: 100%;
    margin-top: 20px;
}

/*********************
REFERENZEN
*********************/

.referenz {
    margin-bottom: 100px;
}

.referenz img {
    width: 100%;
    object-fit: scale-down;
    border-radius: 7px;
}

#filter {
    display: flex;
    justify-content: space-between;
    margin: 100px 0;
}

.buttonFilter {
    cursor: pointer;
    display: flex;
    width: 340px;
    height: 60px;
    flex-direction: row;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 7px;
    transition: .4s;
}

.buttonFilter h2 {
    margin-bottom: 0;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 55px;
    transition: .4s;
    margin-top: 2px;
}

.buttonFilter.chipDrone {
    border: 3px solid var(--chipDrone);
}

.buttonFilter.chipDrone h2 {
    color: var(--chipDrone);
}

.buttonFilter.chipDrone.active {
    background-color: var(--chipDrone);
}

.buttonFilter.chipDrone.active h2 {
    color: var(--white);
}

.buttonFilter.chipwebui {
    border: 3px solid var(--chipwebui);
}

.buttonFilter.chipwebui h2 {
    color: var(--chipwebui);
}

.buttonFilter.chipwebui.active {
    background-color: var(--chipwebui);
}

.buttonFilter.chipwebui.active h2 {
    color: var(--white);
}

.buttonFilter.chipstillmotion {
    border: 3px solid var(--chipstillmotion);
}

.buttonFilter.chipstillmotion h2 {
    color: var(--chipstillmotion);
}

.buttonFilter.chipstillmotion.active {
    background-color: var(--chipstillmotion);
}

.buttonFilter.chipstillmotion.active h2 {
    color: var(--white);
}

.buttonFilter.chipPrint {
    border: 3px solid var(--chipPrint);
}

.buttonFilter.chipPrint h2 {
    color: var(--chipPrint);
}

.buttonFilter.chipPrint.active {
    background-color: var(--chipPrint);
}

.buttonFilter.chipPrint.active h2 {
    color: var(--white);
}

.chips {
    display: flex;
    justify-content: flex-start;
}

.chip {
    cursor: pointer;
    height: 40px;
    border-radius: 108px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    margin: 20px 20px 0 0;
}

.chip h2 {
    font-size: 15px;
    margin: 0;
    margin-top: 5px;
}

.chip.drone {
    background-color: var(--chipDrone);
}

.chip.webui {
    background-color: var(--chipwebui);
}

.chip.stillmotion {
    background-color: var(--chipstillmotion);
}

.chip.print {
    background-color: var(--chipPrint);
}

iframe {
    width: 100%;
    object-fit: scale-down;
    border-radius: 7px;
    aspect-ratio: 16 / 9;
}

video {
    width: 100%;
    object-fit: scale-down;
    border-radius: 7px;
}

.referenz.hide {
    display: none;
}

img.forMobile {
    display: none;
}

iframe.forMobile {
    display: block;
}


/*********************
NEBENPROJEKTE
*********************/

.nebenprojekte h2 {
    margin-top: 20px;
}

/*********************
KONTAKT
*********************/

.kontakt_panels {
    display: flex;
    width: 650px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.kontakt_panels:nth-child(5) {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

#message {
    width: 100%;
}

form {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

form label {
    margin-bottom: 10px;
    font-family: 'FjallaOne', sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: var(--white);
}

form input {
    font-family: 'OutfitLight', sans-serif;
    height: 60px;
    border: none;
    background-color: #0b0b0b;
    padding-left: 20px;
    border-left: #DE6464 solid 10px;
    width: 100%;
    color: var(--white);
    border-radius: 7px;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: 150%;
}

form input:focus {
    outline: none;
}

form textarea {
    min-width: 100%;
    border-radius: 7px;
    min-height: 282px;
    background-color: #0b0b0b;
    border: none;
    color: #fff;
    font-family: 'OutfitLight', sans-serif;
    font-size: 24px;
    border-left: #DE6464 solid 10px;
    padding: 20px;
}

form textarea:focus {
    outline: none;
}

#submit {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

#btn_submit {
    font-family: 'FjallaOne', sans-serif;
    color: var(--white);
    width: 180px;
    padding-left: 0;
    margin-bottom: 0;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 60px;
    transition: .4s;
    border-left: none;
}

#btn_submit:disabled {
    background-color: #585858;
}

#btn_submit:enabled {
    background-color: var(--dark-cyan);
}

#aboutme {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
}

#aboutme img {
    width: 700px;
}

#aboutmeText {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
}

#aboutmeText p {

    margin: 0;
}

/*********************
SOCIALS
*********************/

#hero-socials {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background-color: #000;
}

#hero-socials video,
#hero_preloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    border-radius: 0;
}

#socials-content {
    z-index: 2;
    color: white;
    text-align: center;
    width: 470px;
}

#hero-socials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.4;
    z-index: 1;
}

#socials-content>img {
    width: 276px;
    margin-bottom: 100px;
}

.socials-buttons {
    background: #167F79;
    background: linear-gradient(45deg, rgba(22, 127, 121, 1) 0%, rgba(76, 186, 134, 1) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}

.socials-buttons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.socials-buttons img {
    width: 36px;
    height: 36px;
    margin-right: 15px;
}

.socials-buttons h2 {
    font-size: 20px;
    margin-bottom: 0;
}

.button-wide {
    width: 100%;
    height: 93px;
}

#small-buttons {
    margin-top: 37px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#small-buttons img {
    margin-right: 0;
}

.button-small {
    width: 90px;
    height: 90px;
}

/*********************
RESPONSIVE
*********************/

@media only screen and (max-width: 1480px) {
    h1 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    h2 {
        font-size: 21px;
        margin-bottom: 15px;
    }

    p {
        font-size: 16px;
        margin-top: 10px;
    }

    #nav-content ul a {
        font-size: 32px;
        height: 36px;
    }

    #nav_right {
        width: 100px;
    }

    #header-wrapper {
        width: 744px;
    }

    .header #header_logo {
        height: 55px;
    }

    #burger {
        height: 26px;
    }

    .content {
        width: 744px;
        margin: 180px auto 0 auto;
    }

    footer {
        height: 140px;
        margin-top: 80px;
    }

    footer h2 {
        margin: auto 0 20px 0;
    }

    footer #footer_logo img {
        width: 75px;
    }

    #icons img {
        width: 25px;
        height: 25px;
    }

    #icons {
        height: 25px;
        gap: 20px;
    }

    #icons a {
        height: 25px;
        width: 25px;
    }

    .button {
        width: 171px;
        height: 40px;
    }

    .button h2 {
        font-size: 12px;
        line-height: 36px;
        margin-top: 2px;
    }

    .index-button {
        margin-top: 20px;
    }

    #filter {
        margin: 0 0 40px 0;
    }

    .buttonFilter {
        width: 173px;
        height: 40px;
    }

    .buttonFilter h2 {
        font-size: 12px;
        line-height: 35px;
        margin-top: 0px;
    }

    .chip {
        height: 23px;
        padding: 0 20px;
        margin: 15px 15px 0 0;
    }

    .chip h2 {
        font-size: 10px;
    }

    .referenz {
        margin-bottom: 80px;
    }

    #aboutme img {
        width: 362px;
    }

    .kontakt_panels {
        width: 362px;
        margin-bottom: 30px;
    }

    form label {
        margin-bottom: 10px;
        font-size: 20px;
    }

    form input {
        width: 362px;
        height: 42px;
        padding-left: 20px;
        font-size: 24px;
    }

    form textarea {
        height: 125px;
        padding-left: 20px;
        font-size: 24px;
        min-height: 125px;
    }

    #btn_submit {
        width: 171px;
        font-size: 12px;
        line-height: 45px;
    }
}

@media only screen and (max-width: 820px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 21px;
        margin-bottom: 15px;
    }

    p {
        font-size: 16px;
        margin-bottom: 60px;
    }

    #nav-content ul a {
        font-size: 32px;
        height: 36px;
    }

    #header-wrapper {
        width: 90%;
        margin: 0 5%;
    }

    .header #header_logo {
        height: 55px;
    }

    #burger {
        height: 26px;
    }

    .content {
        width: 90%;
        margin: 180px 5% 0 5%;
    }

    .button {
        width: 155px;
        height: 30px;
    }

    .button h2 {
        font-size: 10px;
        line-height: 24px;
    }

    #filter {
        margin: 0 0 40px 0;
        flex-wrap: wrap;
    }

    .buttonFilter {
        width: 173px;
        height: 40px;
        flex-basis: 47.5%;
        margin-bottom: 20px;
    }

    .buttonFilter h2 {
        font-size: 12px;
        line-height: 35px;
    }

    .chip {
        height: 23px;
        padding: 0 20px;
        margin: 15px 15px 0 0;
    }

    .chip h2 {
        font-size: 10px;
    }

    .referenz {
        margin-bottom: 80px;
    }

    img.forMobile {
        display: block;
    }

    iframe.forMobile {
        display: none;
    }

    #aboutme img {
        width: 362px;
    }

    .kontakt_panels {
        width: 100%;
        margin-bottom: 30px;
    }

    form label {
        margin-bottom: 10px;
        font-size: 20px;
    }

    form input {
        width: 100%;
        height: 42px;
        padding-left: 20px;
        font-size: 24px;
    }

    form textarea {
        height: 125px;
        padding-left: 20px;
        font-size: 24px;
        min-height: 125px;
    }

    #btn_submit {
        width: 171px;
        font-size: 12px;
        line-height: 45px;
    }

    #submit {
        flex-wrap: wrap;
        gap: 30px;
    }

    #aboutme {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        flex-direction: column-reverse;
    }
}

@media only screen and (max-width: 600px) {
    #socials-content {
        width: 288px;
    }

    #small-buttons {
        margin-top: 16px;
        width: 288px;
    }

    .socials-buttons img {
        width: 25px;
        height: 25px;
    }

    .button-small {
        width: 60px;
        height: 60px;
    }

    .button-wide {
        height: 60px;
        width: 288px;
    }

    #socials-content>img {
        width: 180px;
    }
}

@media only screen and (max-width: 420px) {
    #aboutme img {
        width: 100%;
    }
}