/*
Color-Palette:
Orange: #E9690E -> komplementär #1696f1
Dark-Orange: #D54801
Dark-Blue: #1E222B
yellow:#E8BD20
redpinkish:#D1304F
Blue: #3e749f
light-blue: #1ce5ec
BG: #E4E5D5
*/
/* Poppins Regular */
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Regular.woff2') format('woff2'),
         url('fonts/Poppins-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Poppins Bold */
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Bold.woff2') format('woff2'),
         url('fonts/Poppins-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Nunito Regular */
@font-face {
    font-family: 'Nunito';
    src: url('fonts/Nunito-Regular.woff2') format('woff2'),
         url('fonts/Nunito-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Nunito Bold */
@font-face {
    font-family: 'Nunito';
    src: url('fonts/Nunito-Bold.woff2') format('woff2'),
         url('fonts/Nunito-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@media(prefers-color-scheme: dark)
{
    :root{
        color-scheme: only light;
    }
}
*, html {box-sizing: border-box; font-family: "Nunito", sans-serif; font-size: 100%; scroll-behavior: smooth;}
body { width: 100%; margin: 0 0 12vh 0; 
    background: url(assets/noise.png) top left, linear-gradient(0deg, #1E222B 0%, #515b74 100%) top left no-repeat;
    background-size:auto, cover;
    background-attachment: fixed;
    background-blend-mode:overlay, normal; 
    color:#fff;
}

h1,h2,h3,h4 {
      font-family: "Poppins", sans-serif;
}
h1 {
    font-size:2.1rem;
    color:#E9690E;
    margin-bottom:0;
}
h1~p {
    margin-top:10px;
    line-height: 180%;
}
h2 {
    font-size: 1.6rem;
    color:#E9690E;
}
a { color:inherit; text-decoration: none; }
img { width:100%; height:auto; }

nav {
    z-index: 99;
    position: fixed;
    bottom: 0;
    width: 100svw;
    height: 15svh;
    background:  linear-gradient(0deg, #1E222B 20%, #525B72 100%) no-repeat;
    border-top: 1px solid #1ce5ec;
    box-shadow: 0 5px 20px #868686;
    padding:1svh 0;
}
nav button
{
    border:none;
    display: block;
    margin: auto;
    width: fit-content;
    color:#E9690E;
    font-size: 120%;
    font-weight:bold;
    text-align: center;
    border-radius: 8px;
    background:none;
    transition: all ease-in-out 0.2s;
    height: 10vh;
}
nav button:hover {
    cursor: pointer;
    color:#fff;
    background: linear-gradient(90deg, rgba(233,105,14,1) 0%, rgba(209,48,79,1) 100%);
    transition: all ease-in-out 0.2s;
}
nav button img {
    display: block;
    margin:0 auto;
    rotate: 0deg;
    max-height: 40px;
    max-width: 120px;
    transition: all ease-in-out 0.2s;
}
nav button:hover img {
    rotate: -10deg;
    transition: all ease-in-out 0.2s;
    filter:drop-shadow(5px 5px 5px black);
}
nav button span {
    display: block;
    pointer-events: none;
}
.navbuttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    columns: 65px;
    max-width: 765px;
    margin:0 auto;
}
.center {
    text-align:center;
}
.headerimg {
    display: block; max-width: 800px; padding:2%;
}
p img {
filter: drop-shadow(2px 2px 2px #ffffff65);
width: 50%;
max-width: 20vw;
}

.wrapper{
    max-width: 1400px;
    padding:2% 5%;
    margin: 5% auto 5%;
}
.rel{
    position: relative;
}
.mask h2{
    color:#fff;
}
.mask::before{
    content:'';
    inset: 0;
    position: absolute;

    background-size: cover;
    background-position: center;
    background-image: linear-gradient(90deg, rgba(233,105,14,1) 0%, rgba(209,48,79,1) 100%);
    z-index: -1;
    mask-image: url(assets/mask.webp);
    mask-size: contain;
    mask-position: center;
    z-index: -1;
}
.orangeBorder::after{
    display:block;
    height: 2px;
    content:'';
    background:linear-gradient(90deg, rgba(233,105,14,1) 0%, rgba(209,48,79,1) 100%);
    margin-top:10%;
}
.orangeBg{
    background: linear-gradient(90deg, rgba(233,105,14,1) 0%, rgba(209,48,79,1) 100%);
    color: #fff;
    padding:2% 0 2%;
}
.orangeBg h2 {
    color:#fff;
    margin:0 0 2%;
}
.orangeBg button {
    background:none;
    padding:20px 30px;
    border:4px solid #fff;
    border-radius: 8px;
    color:#fff;
    font-weight:bold;
}
.orangeBg button:hover {
    cursor: pointer;
}
.services p {
    font-weight:bold;
    font-size: 1.1rem;
    margin-bottom:5svh;
}
.services img {
    display:block;
    max-width:20vw;
    margin:0 auto 20px;
}
.contactButton {
    position:absolute;
    right:0;
    bottom:20svh;
    z-index: 100;
    position:fixed;
    display: block;
    border:none;
    width: 50px;
    height:50px;
    border-radius: 50%;
    background:#3e749f;
}
#mainLogo {
transition: all ease-in-out 0.6s;
}

footer {
    display: block;
    background: #0a0b0e67;
    color:#fff;
    bottom: 0;
    padding:3vh 0;
}

form {
    color:#fff;
}
.formbutton {
    background: linear-gradient(90deg, rgba(233,105,14,1) 0%, rgba(209,48,79,1) 100%);
    border:none;
    border-radius: 8px;
    padding:10px 20px 10px 20px;
    font-weight:bold;
    font-size:120%;
    color:#fff;
    display: block;
    margin:2vh auto;

    text-align: left;

    width: 130px;
    height:50px;

    position:relative;
    transition: all ease-in-out 0.2s;
}
.formbutton::after {
    content:'';
    display: block;
    width: 40px;
    height:40px;
    background: url(assets/plane.svg) no-repeat;
    position: absolute;
    top:15px;
    right:10px;
    opacity: 0;
    pointer-events: none;
    transform: scale(0);
    transition: all ease-in-out 0.2s;
}

.formbutton:hover {
    cursor: pointer;
    width: 200px;
    height:70px;
    transition: all ease-in-out 0.2s;
}
.formbutton:hover::after {
    opacity: 1;
    transform: scale(1);
    transition: all ease-in-out 0.3s;
    animation: fly 1.5s ease-in-out infinite;
}
@keyframes fly {
    0% { top:10px; }
    25% { top:15px; }
    50% { top:12px; }
    75% { top:14px; }
    100% { top:10px;}
}
input {
    background:none;
    border-color: transparent;
    border-bottom:1px solid #E9690E;
    color:#fff;
    width: 50%;
}
textarea {
    background: none;
    border-color:transparent;
    border-bottom:1px solid #E9690E;
    resize: none;
    color:#fff;
}


#nachricht {
        scrollbar-width: none;
        box-sizing: border-box;
    }

.overlay {
    background:rgba(255,255,255, 0.9);
    height: 100%;
    
    padding:5%;
    margin: auto;
    position: fixed;
    top:0;
    left: 5%;
    right: 5%;
    bottom: 5%;
    overflow-y: auto;
    z-index: 99;
    color:#000;
}
.overlay button {
    position: fixed;
    top:5%;
    right:20%;
    font-size: 20px;
    font-weight: bold;
    padding:10px 20px;
    border-radius: 8px;
    background-color: none;
    color:#E9690E;
    border: 1px solid #E9690E;
}
.overlay button:hover {
    cursor: pointer;
}


footer button {
    background:none;
    border:1px solid #fff;
    border-radius: 8px;
    color:#fff;
    margin:0 5vw;
    padding:10px 20px;
    transition: all ease-in-out 0.2s;

}
footer button:hover {
    cursor: pointer;
    background:#fff;
    color:#E9690E;
    transition: all ease-in-out 0.2s;
    font-weight: bold;
}

body.no-scroll {
    overflow: hidden;
}

@media(max-width:767px) {
nav button
{
    border:none;
    display: block;
    margin: auto;
    width: 100%;
    color:#E9690E;
    font-size: 100%;
    font-weight:bold;
    text-align: center;
    border-radius: 8px;
    background:none;
    transition: all ease-in-out 0.2s;
    height: 10vh;
}

    .hidesmall {
        display:none;
    }
    .blocker {
        display: block;
        margin:5% 0 0;
    }

    .techs {
        display: grid;
        grid-template-columns: auto auto;
    }
}
@media (min-width:768px) {
    body {
        
        margin: 20vh 0 0 0;
    }

    .hidesmall {
        display: flex;
        justify-content: space-between;
        column-gap: 10px;
        
    }
    #comp {
        color:#E9690E;
        font-weight: bold;
        align-self: center;
        width: 100px;
        opacity: 0;
        
        visibility: hidden;
        pointer-events: none;
        transition: all ease-in-out 0.5s;
        transition-property: opacity, visibility;
    }

    .scroll-target {
        scroll-margin-top: 35vh;    
    }
    #nav {
        position: fixed;
        top: 0;
        width: 100svw;
        height: 15svh;
        padding-top:10px;
        background:  linear-gradient(180deg, #1E222B 0%, #525B72 100%) no-repeat;
        border-top:none;
        border-bottom: 1px solid #1ce5ec;
        transform-origin: top;
        transition: all ease-in-out 0.2s;
    }
    nav img 
    {
        width:120px;
        height: 120px;
    }
    .services img {
        width: 150px;
        height: 150px;
    }
    .techs img {
        width: 150px;
        height: 150px;
    }
    nav button
    {
    border:none;
    display: block;
    margin: auto;
    width: fit-content;
    color:#E9690E;
    font-size: 120%;
    font-weight:bold;
    text-align: center;
    border-radius: 8px;
    background:none;
    transition: all ease-in-out 0.2s;
    height: 10vh;
    }
    nav button img {
    display: block;
    margin:0 auto;
    rotate: 0deg;
    max-height: 60px;
    transition: all ease-in-out 0.2s;
    }
    .blocker {
        display: block;
        margin:25% 0 0;
    }
    .flex{
        display: flex;
        justify-content: space-evenly;
        flex-wrap: wrap;
        align-content: center;
        row-gap: 5vh;
    }
    .flex div {
        align-self: center;
        width:48%;
    }
    .hidebig{
        display: none;
    }
    .orangeBg {
        color: #fff;
        padding:0;
        margin-top:5%;
    }


}
@media(min-width:1024px){
    body {
        margin-top: 25vh;
    }
    h2 {
        font-size: 1.8rem;
        margin:0 0 8vh;
    }
    
    .navbuttons {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin:0 auto;
    }
    
    .wrapper {
        position: relative;
        z-index: 1;
        padding:0;
    }
    
    .orangeBorder::after {
        margin-bottom:15vh;
    }
    

    .catcon {
        position:relative;
    }
    .flag {
        position:absolute;
        top:0%;
        left:10%;
        max-width: 40%;
        transform: rotate(90deg);
        transition: all ease-in-out 0.2s;
    }
    .flag.active
    {
        transform: rotate(0deg);
        transition: all ease-in-out 0.2s;
    }
}

