*{
    font-size:13px;
    font-family:Arial,Verdana;
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    color:#fff;
}
body{
    background-image:url(../image/bg.svg);
    background-size:cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    overflow-x: hidden;
}
main{
    width: 98vW;
    min-height:100vH;
    margin:auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 170px 1fr 40px;
    gap: 10px 40px;
    grid-auto-flow: row;
    grid-template-areas:
    "header header"
    "left_content right_content"
    "footer footer";
}

/* --------------------------------------- [+] HEADER ------------------------------------------- */
main > header {
    grid-area: header;
    position:fixed;
    top:0px;
    left:0px;
    display:block;
    height:170px;
    width:100vW;
    background-image:url(../image/bg.svg);
    background-size:cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 100;
}
main > header svg{
    max-height:90%;
}
main > header #burger{
    position:fixed;
    top:40px;
    right:60px;
    display:block;
    z-index:100;
    width:60px;
    cursor:pointer;
}
main > header #burger *{
    transition: all 0.3s;
}
main > header #burger span{
    display:block;
    height:12px;
    width:90%;
    border-bottom:6px solid rgb(208,149,52);
    border-radius:6px;
}
main > header #burger span:first-of-type{
    margin-left:10px;
}
main > header #burger span:last-of-type{
    margin-left:-10px;
}
main > header #burger:hover span{
    margin-left:0px;
    border-color:#fff;
}
#logomobile{
    display:none;
}
/* --------------------------------------- [-] HEADER ------------------------------------------- */

/* --------------------------------------- [+] CONTENT ------------------------------------------ */
main > section:first-of-type{
    grid-area: left_content;
}

main > section:last-of-type{
    grid-area: right_content;
}



main > section article{
    vertical-align:top;
    transform: skew(-15deg,0deg);
    margin:0px 30px;
    height:170px;
    position: static;
    perspective: 1000px;
}


main > section article h2{
    font-size:1.6em;
}

main > section:first-of-type article:first-of-type{
    margin:0px -15px 0px 20px;
}
main > section:first-of-type article:last-of-type{
    margin:20px 40px 0px 20px;
}
main > section:last-of-type article:first-of-type{
    margin:0px 25px 0px 20px;
}
main > section:last-of-type article:last-of-type{
    margin:20px 30px 0px -30px;
}

#web .flip-card-front:before{
    background-image:url(../image/websiteprogrammierung.webp);
}
#pc .flip-card-front:before{
    background-image:url(../image/pcservice.webp);
}
#hosting .flip-card-front:before{
    background-image:url(../image/hosting.webp);
}
#netzwerke .flip-card-front:before{
    background-image:url(../image/netzwerk.webp);
}
/* --------------------------------------- [-] CONTENT ------------------------------------------ */
/* --------------------------------------- [+] MENU --------------------------------------------- */
menu{
    display:block;
    transition:all 0.6s ease-out;
    position:fixed;
    top:0px;
    left:0px;
    height:100vH;
    width:100vW;
    z-index:1500;
    background-color: rgba(0,0,0,0.8);
    margin-left:-100vW;
    color:#fff;
    list-style-type:none;
    padding-top:40px;
}
menu.aktiv{
    margin-left:0px;
}
menu li{
    line-height:3.6rem;
    font-size:1.8rem;
    text-transform: uppercase;
    color: rgb(208,149,52);
    transition:all 0.5s;
    position:relative;
}
menu li:hover{
    color:#fff;
}
menu li:not(:first-of-type){
    border-bottom:1px solid  rgb(208,149,52);
}
menu li:first-of-type{
    height:60px;
}

menu li:not(:first-of-type):after{
    content:"";
    display:block;
    height:1px;
    background-color: #fff;
    position:absolute;
    left:50%;
    width:0px;
    transition:all 0.6s;
}

menu li:hover:not(:first-of-type):after{
    left:0px;
    width:100%;
}
menu li:hover:after{
    color:#fff;
}
menu li a{
    display:block;
    padding-left: 30px;
    width:100%;
    font-size:inherit;
}
/* --------------------------------------- [-] MENU -------------------------------------------- */
/* --------------------------------------- [+] FOOTER ------------------------------------------- */
main > footer {
    position:fixed;
    bottom:0px;
    left:0px;
    display:block;
    height:30px;
    width:100vW;
    line-height:30px;
    text-align:right;
    padding-right:15px;
    color:rgb(208,149,52);
    background: -moz-linear-gradient(left,  rgba(0,0,0,0) 0%, rgba(0,0,0,0) 51%, rgba(0,0,0,0.65) 100%);
    background: -webkit-linear-gradient(left,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 51%,rgba(0,0,0,0.65) 100%);
    background: linear-gradient(to right,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 51%,rgba(0,0,0,0.65) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=1 );
}
main > footer a{
    display:inline-block;
    margin:0px 15px;
}

/* --------------------------------------- [-] FOOTER ------------------------------------------- */

/* --------------------------------------- [+] allg. Elemente ----------------------------------- */
ul{
    margin:8px;
    margin-left:30px;
    line-height:1.4em;
}
a{
    color:inherit;
    cursor:pointer;
}
section > h6,article > h6{
    display:none;
}
label{
    display:inline-block;
    width:120px;
    vertical-align: top;
}
#kontaktform label{
    width:90px;
    font-size:1.1rem;
}
#kontaktform div{
    font-size:1.1rem;
    text-align: center;
}
input,textarea{
    border:0px;
    border-left:1px solid #403838;
    border-bottom:1px solid #403838;
    background:transparent;
    font-size:1.1rem;
    line-height: 1.3rem;
    border-bottom-left-radius:6px;
    padding:4px 8px;
    width:70%;
}
textarea{
    height:12rem;
    resize: none;
}
input[type=submit],input[type=reset]{
    width:auto;
    cursor:pointer;
    padding:4px 12px;
}
input[name=vorname]{
    display:none;
}

/* --------------------------------------- [-] allg. Elemente ----------------------------------- */

/* --------------------------------------- [+] KLASSEN ------------------------------------------ */
.fehler{
    color:#DD4242 !important;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    border-radius:8px;
    background-color: transparent;
}
.flip-card-front, .flip-card-back {
    padding:10px;
    background-color:#fff;
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius:8px;
}

.flip-card-front {
    background-color: #000;
    border:1px solid rgb(208,149,52);
    overflow:hidden;
}

.flip-card-front h2{
    color:#fff;
    font-size:3rem;
    width:100%;
    position:absolute;
    top:40px;
}

.flip-card-back {
    background-color: rgb(208,149,52);
    transform: rotateY(180deg);
    padding-left:30px;
    padding-top: 15px;
}
.flip-card-back *{
    color:#fff;
    text-align:left;
}
main > section article:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front:before{
    background-size:cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    content:"";
    width:100%;
    height:100%;
    position:absolute;
    top:0px;
    left:0px;
    display:block;
    opacity: 0.5;
}
.flip-card-back a{
    position:absolute;
    right:20px;
    bottom:10px;
    display:inline-block;
    color:#403838;
    font-weight:bold;
 }


.leftcontent{
    vertical-align:top;
    transform: skew(-15deg,0deg);
    margin:0px 30px;
    min-height:170px;
    position: static;
    perspective: 1000px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    border-radius:8px;
    background-color: rgb(208,149,52);
    padding-left:30px;
    padding-top: 15px;
}
.closer{
    display:block;
    position:absolute;
    top:10px;
    right:30px;
    height:50px;
    width:50px;
    border-radius:25px;
    border:3px solid rgb(208,149,52);
}
.closer span{
    display:block;
    height:6px;
    width:80%;
    background-color: rgb(208,149,52);
    border-radius:6px;
    position:absolute;
    transition:all 0.5s;
}
.closer span:first-of-type{
    transform: rotate(-180deg);
    top:14px;
    left:4px;
}
.closer span:last-of-type{
    top:24px;
    left:4px;
}
.closer:hover span:first-of-type{
    transform: rotate(-45deg);
    top:18px;
    background-color:#fff;
}
.closer:hover span:last-of-type{
    transform: rotate(-135deg);
    top:18px;
    background-color:#fff;
}

#content h2{
    font-size:1.5rem;
    margin-left:10px;
}
#content h3{
    font-size:1.3rem;
    margin-left:0px;
}
#content h4{
    font-size:1.1rem;
    margin-left:0px;
}

#content .grid2{
    width: 98%;
    margin:auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    grid-template-rows: 1fr;
    gap: 0px 20px;
    grid-auto-flow: row;
    grid-template-areas:
    "cleft cright";
}

#content .grid2_50{
    grid-template-columns: 1fr 1fr;
}

.grid2 aside{
    grid-area:cleft;
}
.grid2 figcaption,.grid2 form{
    grid-area:cright;
}
.grid2 figcaption figure{
    margin-bottom:15px;
    display:inline-block;
    box-shadow: 4px 4px 8px rgba(0,0,0,0.6);
    border-radius:8px;
    max-width:100%;
    overflow:hidden;
    background-color: rgba(0,0,0,0.6);
}
.grid2 figcaption figure img{
    max-width:100%;
    max-height:100%;
    visibility:hidden;
}
.grid2 figcaption figure div{
    width:140%;
    height:140%;
    overflow:hidden;
    transform: skew(15deg,0deg);
    background-size:contain;
    background-position:center center;
    background-repeat: no-repeat;
    margin-top:-5px;
    margin-left:-15%;
}
.grid2 figcaption figure div img{
    opacity: 1;
    max-width:100%;
    max-height:30vH;
}


/* --------------------------------------- [-] KLASSEN ------------------------------------------ */

/* --------------------------------------- [+] IDs ---------------------------------------------- */
#alpha{
    position: fixed;
    top:0px;
    left:0px;
    background-color: rgba(0,0,0,0.7);
    width: 100vW;
    height:100vH;
    z-index:2000;
    display:none;
}
#content{
    vertical-align:top;
    transform: skew(-15deg,0deg);
    margin:auto;
    max-height:78vH;
    width:80vW;
    position: fixed;
    top:80px;
    left:10vW;
    background-color:rgba(255,255,255,0.9);
    z-index:2001;
    box-shadow: 4px 4px 8px rgba(0,0,0,0.2);
    border-radius:8px;
    border:1px solid rgb(208,149,52);
    display:none;
}
#content > p{
    height:90%;
    padding:30px;
}
#content p *{
    color:#403838;
}
#contentclose{
    position: fixed;
    top:20px;
    right:5vW;
    z-index:2001;
    display:none;
}
#kontaktform{
    padding-left:30px;
}
/* --------------------------------------- [-] IDs ---------------------------------------------- */

 * {
    scrollbar-width: auto;
    scrollbar-color: rgba(0,0,0,0.4) transparent;
    transition:scrollbarColor 1s;
  }
  *::-webkit-scrollbar {
    width: 10px;
  }
  *::-webkit-scrollbar-track {
    background: transparent;
  }
  *::-webkit-scrollbar-thumb {
    background-color:  rgba(0,0,0,0.4);
    border-radius: 10px;
    border: 0px;
    transition:all 1s;
  }
  *:hover {
    scrollbar-color: rgba(0,0,0,0.8) transparent;
  }
  *::-webkit-scrollbar-thumb:hover {
    background-color:  rgba(0,0,0,0.8);
  }