/* Colors */
:root {
    --tangerine: #f18a00ff;
    --rich-black-fogra-39: #0a100dff;
    --rich-black-fogra-39-light: #0a100d99;
    --white: #ffffffff;
    --white-2: #fafafaff;
    --skobeloff: #297373ff;

    --system-ui: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";

    --mobile: 45em;
}

/* General stuff */
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--system-ui);
}

h1 {
    font-size: 3rem;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

a{
    text-decoration: none;
    color: var(--tangerine);
}

.content {
    max-width: 1200px;
    margin: auto;
}

.content .rows { 
    display: grid;
    column-gap: 40px;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    
}


.content .rows img {
    object-fit: cover;
    height: 100%;
}

.content p {
    max-width: 600px;
}

section {
    padding: 40px 20px;
}
@media only screen and (min-width: var(--mobile)) {
    section {
        padding: 40px 40px;
    }
}

@media (max-width: calc(45em - 1px)) {

    .nomobile {
        display: none;
    }
}



@media (max-width: calc(45em - 1px)) {

/* Burger Menu */
/* Style the navigation menu */
.topnav {
    overflow: hidden;
    background-color: #333;
    position: relative;
    box-shadow: 0 8px 17px 2px rgb(0 0 0 / 14%), 0 3px 14px 2px rgb(0 0 0 / 12%), 0 5px 5px -3px rgb(0 0 0 / 20%);
  }
  
  /* Hide the links inside the navigation menu (except for logo/home) */
  .topnav #mobilelinks {
    display: none;
  }
  
  /* Style navigation menu links */
  .topnav a {
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
  }
  
  /* Style the hamburger menu */
  .topnav a.icon {
    background: black;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
  }
  
  /* Add a grey background color on mouse-over */
  .topnav a:hover {
    background-color: #ddd;
    color: black;
  }
  
  /* Style the active link (or home/logo) */
  .active {
    background-color: #04AA6D;
    color: white;
  }
}


/* Navigation */
@media (max-width: calc(45em - 1px)) {
    section#navigation {
        position: fixed;
        padding: 0px 0px;
        left: 0;
        right: 0;
        top: 0;
        z-index: 10;
    }

    section#navigation nav {    
        display: flex;
        align-items: center;
        background-color:  var(--white);
        padding: 5px 20px;
    }

    section#navigation nav .spacer {
        flex:1;
    }

    section#navigation nav a {
        color: #000002;
        text-decoration: none;
        padding: 10px 10px;
    }

    section#navigation nav a.logo img {
        width: 40px;
        height: 40px;
    }
}

@media only screen and (min-width: 45em) {
    .topnav {
        display: none;
    }
    #burgermenubutton {
        display: none;
    }
    section#navigation {
        position: relative;
        padding: 20px 40px;
    }
    section#navigation nav {
        padding: 10px 0px;
        display: flex;
        align-items: center;
        background-color:  var(--white);
    }

    section#navigation nav .spacer {
        flex:1;
    }

    section#navigation nav a {
        color: #000002;
        text-decoration: none;
        padding: 0px 10px;
    }

    section#navigation nav a.logo img {
        width: 80px;
        height: 80px;
    }
}


section#header {
    position: relative;
    background-color: #eee;
    background-image: 
    linear-gradient(to bottom, rgba(238, 238, 238, 0.8), rgba(238, 238, 238, 0.8)),

    url("../assets/apple.jpg"); 
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    
}

section#header .content {
    display: flex;
    flex-direction: row;
}

section#header .content .left {
    
}

@media (max-width: calc(45em - 1px)) {
    section#header {
        background-image: 
        linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.4)),

        url("../assets/apple.jpg"); 
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }
}

section#header .rightimg {
    /* position: absolute; 
    top: 0; left: 50%;
    right: 0; bottom: 0; */
    flex: 1;
    background-image: url("../assets/apple.jpg"); 
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
    
}

#background-video {
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
  }


section#header > .content > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 650px;    
}

@media only screen and (min-width: 45em) {
    section#header > .content > div > h1 {
        font-size: 80px;
    }
}


section#header .businesscard  {
    margin-top: 30px;    
    width: 300px; 
    padding: 10px; 
    
}
section#header .businesscard > b {
    color: var(--tangerine);
    font-size: 20px;

}



/* PORTFOLIO */
section#portfolio { 
    padding: 40px 40px;
    color: var(--white);
    background-color: #000002;   
}


@media only screen and (min-width: 45em) {
    section.portfoliosection {
    
        padding: 60px 60px;
    
    }
    
section.portfoliosection .left {    
    width: 50%;
    max-width: 600px;
    padding: 40px 0px;
    height: 500px;
    display: flex;
    align-items: center ;
}
section.portfoliosection .right {
    margin-left: 50%;
    padding: 80px 0px 80px 40px;
    width: 50%;
    max-width: 600px;
    
    display: flex;
    align-items: center ;
}
}

/* Service */

/* Sofware*/

section#software {
    background-color: #000000;
    color: white;
}


section h3 {
    color: var(--tangerine);
    font-size: 28px;

}



@media (max-width: calc(45em - 1px)) {

    footer {
        
        background-color: #aaa;
        padding: 40px 40px;
    }

    footer .content {
        font-size: 14px;
        display: flex;
        flex-direction: column;
    }

    footer #map {
        width: 100%;
        height: 220px;
    }
}

@media only screen and (min-width: 45em) {
    
    footer {
        
        background-color: #aaa;
        padding: 40px 40px;
    }
    
    footer .content {
        font-size: 14px;
        display: flex;
    }
    
    footer #map {
        width: 100%;
        height: 220px;
    }
}

footer #impressum {
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    
}

.footerlinkline {
    display: flex;
    width: 100%;
    background-color: #888;
    padding: 10px 0;
}
.footerlinkline a {
    padding: 0 10px;
    font-size: 12px;
    text-decoration: none;
    text-align: left;
    color: var(--rich-black-fogra-39);
}
