@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Bold.woff2") format("woff2");

}

@font-face {
    font-family: "OpenSans";
    src: url("../fonts/OpenSans-Medium.woff2") format("woff2");

}

body {
    font-family: "OpenSans", sans-serif;
    background-color: #111;
    color: #FFF;
    margin: 0;
}

h1,
h2,
h3,
h4,
a.btn,
nav a{
    font-family: "Poppins", sans-serif;
}
.grid,
.grid-2,
.grid-3,
.grid-4,
.grid-6 {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-gap: 20px;
    padding: 0 20px
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: 1fr;
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-6 {
    grid-template-columns: repeat(6, 1fr);
}

.col-2 {
    grid-column: span 2;
}

.col-3 {
    grid-column: span 3;
}

.col-4 {
    grid-column: span 4;
}

.col-all {
    grid-column: 1/-1;
}

.row-2 {
    grid-row: span 2;
}

img {
    max-width: 100%;
}


.tablet,
.desktop {
    display: none;
}

h1 {
    text-transform: uppercase;
    font-size: 29px;
    line-height: 39px;
}

h1 span {
    color: #ffb400;
}

p {
    font-size: 14px;
    line-height: 28px;
    margin-bottom: 25px
   /* margin-botom:25px; */
}

h2{
    text-transform: uppercase;
    font-size: 21px;
    margin:30px 0;
}

a.btn {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    
    border:1px solid #ffb400;
    border-radius: 35px;
    
    display: inline-block;
    padding:16px 35px;
    padding-right: 70px;
    font-size:15px;
    
    position: relative;
    
    overflow: hidden;
}

a.btn span{
    z-index: 2;
    position: relative;
   
}

a.btn::before{
    content:"";
    
    height:57px;
    width:57px;
    
    background-color: #ffb400;   
    background-image: url(../images/icons/arrow.svg);
    background-repeat: no-repeat;
    background-position: center;
    
    border-radius: 50%;
    
    position: absolute;
    
    top:-1px;
    right:-1px;
    
    z-index: 1;
}

a.download::before{
    background-image: url(../images/icons/download.svg);
    background-size: 50%;
}

/* 
Pseudoelement:
        content:"";
        position:absolute;

Verknüpfte Element muss:
        position:relative;
*/


a.btn::after{
    content:" ";  
    
    
    height: 57px;
    width:100%;
    background-color: #ffb400;
    border: 1px solid #ffb400;
    
    position: absolute;
    right: -101%;
    top:-1px;
    
    transition: right 0.5s;
}

a.btn:hover::after{
    right:-1px;
}

header{
    display: grid;
    align-items: center;
    padding:0 25px;
    height: 100px;
    background-color: #252525;
    position: sticky;
    top:0px;
    z-index: 9999;
    transition: all 0.7s;
}



header.index{
    height:100vh;
    background-color: transparent;
    position: static;
}

/* nav */

nav{
    position: fixed;
    top:0;
    width:100%;
    z-index: 99999;
}

nav div.mobile img.close{ /* 1 + 1 + 10 + 1 + 10  = 23 */
    display: none;
}

nav div.menu-controls{
    display: grid;
    justify-content: end;
}

nav div.mobile img{
    display:block;
    margin:25px;
    background-color: #252525;
    padding:10px 10px;
    height: 30px;
    border-radius: 3px;
    position: relative;
    z-index: 99999;
}



nav ul{
    margin: 0;
    
    list-style-type: none;
    
    background-color: #252525;
    
    height:100vh;
    padding: 60px 20px;
    box-sizing: border-box;
    /* height INCLUSIVE padding */
    
    position: absolute;
    width:100%;
    
    top:0;
    left:-100%;
    /* schiebt nav ul nach links aus dem viewport */
    transition: left 0.5s;
}

nav.sichtbar ul{
    left:0%;
}

nav.sichtbar div img.open{
    display:none;
}

nav.sichtbar div img.close{
    display:inline-block;
}

nav ul li a{
   display: grid;
   grid-template-columns: 20px 1fr;
    align-items: center;
    grid-gap: 20px;
    padding:15px 0px;
    
    border-bottom: 1px solid #333;
    
    font-size: 18px;
    text-transform: uppercase;
    
    color:white;
    text-decoration: none;
}

nav li.last a{
    border-bottom: 0px solid #333;
}

nav ul li.current a{
    color:#ffb400;
}

nav ul li.current a svg path{
        fill:#ffb400;
    }

nav div.mobile img{
    cursor: pointer;
}


/* about */

#infos img.smartphone{
        border-radius: 50%;
        width:222px;
        border:4px solid #252525;
        margin: 0 auto;
    }

.grid-2{
    grid-template-columns: 1fr;
}
#infos, #skills, #ausbildung{
    padding:0 25px;
}

#infos h2{
    margin-bottom: 0;
}

#infos ul{
    list-style-type: none;
    padding:0;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    grid-gap:25px;
    margin-top: 5px;
    font-size: 14px;
}

#infos ul li:last-child{
    margin-top: 15px;
}

#infos ul li span{
    display: block;
    color:#BBB;
}

#infos a.btn span{
     color: white;
}

hr.trenner{
    height: 1px;
    border:none;
    background-color: #333;
    width:40%;
    margin: 80px auto 20px auto;
}

.grid-4{
    grid-template-columns: 1fr 1fr;
    grid-gap:80px;
}

#skills div.outer{
    position: relative;
    text-align: center;
}

#skills span{
    position: absolute;
    display: grid;
    justify-content: center;
    align-items: center;
    width:100%;
    height: 100%;
    top:0;  
    font-size: 20px;
}

#skills p{
    position: absolute;
    width:100%;
    font-size: 16px;
    text-transform: uppercase;
}

#skills img{
    display: block;
    width:100%;
}

#skills .outer{
    max-width: 110px;
    margin: 0 auto;
}

#ausbildung div.outer{
    border-left: 1px solid #333;
    padding-left:40px;
    position: relative;
    margin:0 22px;
}

#ausbildung div.outer::before{
    content:"";
    
    height:40px;
    width:40px;
    
    background-color: #ffb400;   
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    border-radius: 50%;
    
    position: absolute;
    
    top:0px;
    left:-20px;
    
    z-index: 1;
}

div.beruf::before{
    background-image: url(../images/icons/business_center.svg); 
}

div.schule::before{
    background-image: url(../images/icons/school.svg); 
}

#ausbildung span{
    background-color:#252525;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 35px;
    font-size: 12px;
}

#ausbildung p{
    margin-bottom: 0px;
}

#ausbildung .grid-2{
    grid-gap: 40px;
}

#ausbildung{
    margin-bottom: 50px;
}

h3{
    text-transform: uppercase;
    margin-bottom: 0;
}

/* ########################

      TABLET

########################## */

@media(min-width:576px){
    
    header .tablet{
        display: inline-block;
    }
    
    header{
        text-align: center;
    }
    
    header img.tablet{
        border-radius: 50%;
        width:262px;
        border:4px solid #252525 
    }
    
      
    header .grid-1-2{
        max-width: 540px;
        margin: 0 auto;
    }
    
  
    nav ul li a{
        font-size: 26px;
        grid-template-columns: 30px 1fr;
    }
    
    header{
        height:100px;
        background-color: transparent;
        position: static;
        
    }
    
    header h1{
        font-size: 56px;
    }
    
    header.index h1{
        font-size: 38px;
        line-height: 48px;
    }
    .smartphone{
        display: none;
    }
    
    #infos ul li span{
        display: inline;
    }
    
    .grid-4{
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap:80px 40px;
    }
    
    #skills div.outer{
        max-width: 150px;
    }
    
    #skills, #ausbildung, #infos {
        max-width: 650px;
        margin: 0 auto;
    }
    
    #skills h2, #ausbildung h2{
         text-align: center;
    }
    
    
    /* Überschrift Effekt */
    header:not(.index) h1{
        position: relative;
        z-index: 3;
    }
    
    
    header:not(.index) h1::before{
        con tent: "Resume";
        
        position: absolute;
        color:#252525;
        font-size: 110px;
        z-index: -1;
        left: 0;
        width: 100%;
        text-align: center;
    }
    
    
    
}


@media (min-width:992px){
    
    header.index{
        background-image: url(../images/content/home-bg.svg);
        background-position: center;
        background-size: 100%;
        
        text-align: left;
    }
    
    header .grid-1-2{
        display: grid;
        grid-template-columns: 1fr 2fr;
        max-width: 100%;
        width:100%;
        align-items: center;
    }
    
    header .tablet{
        display: none;
    }
    
    header img.desktop{
        display: block;
        height: 92vh;
        width:100%;
        object-fit: cover;
        
        box-shadow: 0 0 7px black;
        border-radius: 30px;
    }
    
    header .inner{
        max-width: 540px;
        margin: 0 auto;
    }
    
    p{
        font-size: 16px;
        line-height: 35px;
    }
    
    
    /* desktop nav */
    
    .mobile{
        display: none;
    }
    
    nav ul{
        background-color: transparent;
        width:auto;
        
        left:auto;
        right:0;
        
     
        display: grid;
        align-content: center;
    }
    
    nav.sichtbar ul{
        left:auto;
    }
    
    
    nav ul li a{
        border:0px;
        display: flex;
        flex-direction: row-reverse;
        padding:0;
        padding-left: 20px;
        margin:10px 0;     
    }
    
    nav ul li a span{
        display:none;
        font-size: 16px;
        
        transform: translateX(50px);
        transition: transform 1s;
    }
    
    nav ul li a:hover span{
        transform: translateX(0px);
    }
    
    header {
        padding-right:100px;
    }
    
    nav ul li a svg{
        padding:15px;
        background-color: #252525;
        height:25px;
        width:25px;
        border-radius: 50%;
    }
    
    
    nav ul li.current a svg{
        background-color: #ffb400;   
    }
    
    nav ul li.current a svg path{
        fill:white;
    }
    
    nav ul li a:hover span{
        display: inline;
    }
    
    nav ul li a:hover{
        background-color: #ffb400;
        border-radius: 35px;
    }
    
    nav ul li a:hover svg{
        background-color: #ffb400;
    }
    
    nav ul li.current a{
        color:#FFF;
    }
    
    
     #ausbildung, #infos {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    #skills{
        max-width: 1000px;
        margin: 0 auto;
    }
    .grid-2{
        grid-template-columns: 1fr 1fr;
    }
    
}


/* CSS SLIDER _ AC */

#slider{
      max-width: 1200px;
    margin: 0 auto;
}

#slider h2{
    padding:0 20px;
}

#slider div.slider-container{
    overflow: hidden;
    position: relative;
  
}

#slider ul{
    padding: 0;
    margin: 0;
    list-style-type: none;
    position: relative;
    display: flex;
    width:600%;
    animation: slider 20s;
    animation-iteration-count: infinite;
    animation-direction:normal;
    
}

#slider ul li{
    width:100%;
    position: relative;
    background-color: #252525;
}

#slider ul li img{
    width:100%;

}

#slider ul li div.text{
    padding: 10px;
    margin:0;   
    box-sizing: border-box;
    width: 100%;
}



@keyframes slider{ /* 5 Bild-Slider */
    
    0%{
        left:0;
    }
    
    10%{
        left:0;
    }
    
    20%{
        left:-100%;
    }
    
    35%{
        left:-100%;
    }
    
    40%{
        left:-200%;
    }
    
    55%{
        left:-200%;
    }
    
    60%{
        left:-300%;
    }
    
    75%{
        left:-300%;
    }
    
    80%{
        left:-400%;
    }
    
    95%{
        left:-400%;
    }
    
    
    100%{
        left:-500%;
    }
   
}

/* CSS SLIDER */


/* Tablet + Desktop */
@media(min-width:600px) {
    
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    
    
    /* CSS SLIDER */
    
    #slider .slide{
        display: grid;
        grid-template-columns: 2fr 1fr;
        align-items: center;
    }
    
    
    
    /* CSS SLIDER */
}




/* Desktop */
@media(min-width:1300px) {

    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5,
    .grid-6 {
        max-width: 1280px;
        margin: 0 auto;
    }


    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-5 {
        grid-template-columns: repeat(5, 1fr);
    }

    .grid-6 {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Animation */
video{
    width:100%;
    aspect-ratio:16 / 9
}



#animation.grid-3 {
    justify-items: center;
}

#shopsanimation margin: 20px;
    max-width: 350px;
}


/*Tablet Destop*/
    #anmation .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        grid-gap: 20px;
    }

    #animation.grid-3 img {
        margin: 20px;
        max-width: 350px;
    }


#gallery.gri-3{
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        grid-gap: 20px;
    }
#gallery.grid-3 img {
        margin: 20px;
        max-width: 350px;
    }
/* Contact */

#header-contact div {
    display: none;
}
#contact .grid-2 h2{
    padding: 0 20px
}
#contact .grid-2 p {
    padding: 0 20px;
    color: #FFF;
}

#contact .grid-2 p:nth-last-of-type(4) {
    padding: 20px;
}

#contact .grid-2 p:nth-last-of-type(1) {
    padding-bottom: 10px;
}

#contact .grid-2 p span {
    text-transform: uppercase;
    font-weight: bold;
}

#contact form input,
textarea {
    font-family: "Poppins";
    font-size: 15px;
    margin: 30px 20px;
    width: 85%;
    background-color: #FFF;
    height: 25px;
    border-radius: 3px;
    padding: 15px 0 15px 15px;
    border: 1px;
    color: #100107;
}

input::-webkit-input-placeholder {
    color: #100107;
}

textarea::-webkit-input-placeholder {
    color: #100107;
}

#contact form textarea {
    height: 180px;
}

#contact .checkbox {
    background-color: #FFF;
    width: 5%;
}

#contact form div {
    display: flex;
    align-items: center;
}

#contact form a {
    color: orange;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}


.btn-send {
    font-family: "Poppins";
    border: 0;
    letter-spacing: 0.1em;
    font-size: 16px;
    display: block;
    width: 88%;
    padding: 15px 0;
    margin: 30px 20px;
    border-radius: 3px;
    /*Ecken abrunden*/
    color: #100107;
    text-transform: uppercase;
    background-color: #FFF;
    
}
#contact form p{
    margin-bottom:-0;
}




embed {
  width: 100%;
}





/*
#RRGGBB
#FF0000 - Rot
#550000 - Dunkel Rot


#00FF00 - Gelb

#0000FF

#ffffff  - #fff
#cccccc  - #ccc
#666666  - #666
#333333
#000000

#RRGGBBAA


#00000088
rgba(0,0,0,0.5);
*/

