*{
    margin: 0;
    padding: 0;
    font-size: 10px;
    box-sizing: border-box;
    text-align: center;
    scroll-behavior: smooth;
}

section{
    width: 100%;
    min-height: 100vh;
}

/* Header */
header{
    width: 100%;
    max-height: 8rem;    
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #CCFF00;
    -webkit-box-shadow: 0rem 1rem 1.3rem -0.7rem #000000, 0.5rem 0.5rem 1.5rem 0.5rem rgba(0,0,0,0); 
    box-shadow: 0rem 1rem 1.3rem -0.7rem #000000, 0.5rem 0.5rem 1.5rem 0.5rem rgba(0,0,0,0);
    z-index: 5;
}

#logo{
    width: 38.5rem;
    height: 100%;
}

#logo img{
    width: 100%;
}

#logo img:hover{
    opacity: 0.5;
}

nav ul li{
    margin-right: 1.6rem;
    list-style: none;   
    display: inline-block; 
}

nav ul li a{
    display: block;
    width: 15rem;
    height: auto;
    padding: 1rem;
    font-size: 2rem;
    text-decoration: none;
    color: #000000;
}

nav ul li a:hover{
    background-color: #FFFFFF;
    border-radius: 2.5rem;
    transition: translate 400ms;
}

/* Startseite */
.home{
    background: url(../images/bg1.jpg);
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;    
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contenthome{
    position: relative;
    overflow: hidden;
    background-color: rgba(0,0,0,0.7);
    border: solid 0.1rem #000000;
    border-radius: 2rem;
    padding: 2rem 4rem 4rem 4rem;
    box-sizing: border-box;
    text-align: center;
    margin: 0 1rem;
}

.contenthome h1{
    font-size: 6rem;
    color: #CCFF00;
}

.contenthome h2{
    font-size: 5rem;
    color: #CCFF00;
}

.contenthome p{
    font-size: 2rem;
    padding: 1rem;
    color: #FFFFFF;
}

.btn{
    font-size: 1rem;
    color: #FFFFFF;
    background: #ff0157;
    display: inline-block; 
    padding: 1rem 3rem;
    margin-top: 2rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.2rem;
    transition: 0.5s;  
}

.btn:hover{
    letter-spacing: 0.4rem;
}


/* Über mich*/
.about{
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dadada;
}

.contentabout{    
    width: 60rem;
    height: auto;
    margin: 1rem ;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem,1fr));
    box-sizing: border-box;
}

.contentabout .card{
    position: relative;    
    padding: 3rem;
    transition: 00.5s;
    text-align: center;
    background-color: #fff;
    border-radius: 2rem;
    -webkit-box-shadow: 0rem 1rem 1.3rem -0.7rem #000000, 0.5rem 0.5rem 1.5rem 0.5rem rgba(0,0,0,0); 
    box-shadow: 0rem 1rem 1.3rem -0.7rem #000000, 0.5rem 0.5rem 1.5rem 0.5rem rgba(0,0,0,0);    
}

.contentabout .card .cardimg{
    position: absolute;
    top: 0;
    left: 50%;
    padding: 0;
    transform: translate(-50%,-72%);
    width: 15rem;
    height: auto;    
    border-radius: 50%;
    overflow: hidden;
    -webkit-box-shadow: 0rem 1rem 1.3rem -0.7rem #000000, 0.5rem 0.5rem 1.5rem 0.5rem rgba(0,0,0,0); 
    box-shadow: 0rem 1rem 1.3rem -0.7rem #000000, 0.5rem 0.5rem 1.5rem 0.5rem rgba(0,0,0,0);
}

.contentabout .card h4{
    margin: 4rem 0 1rem 0 ;
    padding: 0;
    transition: 0.5s;
    font-size: 2.4rem;
    text-transform: uppercase;
    line-height: 2rem;
}

.contentabout .card p{
    margin: 0;
    padding: 0;
    transition: 0.5s;
    font-size: 2rem;
}

/*Leistungen*/
.leistungen{
    background: url(../images/bg2.jpg);
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;     
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contentleistung {
    width: 120rem;
    height: auto;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(28rem,1fr));
    grid-gap: 1rem;
    padding: 1rem;
    box-sizing: border-box;
}

.contentleistung .box {
    position: relative;    
    padding: 2rem 4rem 4rem;
    text-align: center;
    overflow: hidden;
    border-radius: 2rem;
}

.contentleistung .box:nth-child(1) {
    background: #036eb7;
    background: linear-gradient(45deg,rgba(3, 110, 183,0.9) 0%,rgba(100, 234, 255,0.1) 100%);
}

.contentleistung .box:nth-child(2) {
    background: #e91e63;
    background: linear-gradient(45deg,rgba(233, 30, 99,0.9) 0%,rgba(237, 85, 255,0.1) 100%);
}

.contentleistung .box:nth-child(3) {
    background: #f05a4f;
    background: linear-gradient(45deg,rgba(240, 90, 79,0.9) 0%,rgba(244, 192, 48,0.1) 100%);
}

.contentleistung .box:nth-child(4) {
    background: #086d36;
    background: linear-gradient(45deg,rgba(8, 109, 53,0.9) 0%,rgba(0, 255, 114,0.1) 100%);
}

.contentleistung .box h3 {
    position: relative;
    margin: 0;
    padding: 0;
    font-size: 100px;
    color: #FFFFFF;
    z-index: 1;
    opacity: 0.4;
}

.contentleistung .box h4 {
    margin: 0;
    padding: 0;
    color: #FFFFFF;
    font-size: 2.4rem;
    text-transform: uppercase;
}

.contentleistung .box h5 {
    margin: 0;
    padding: 0;
    color: #ccff00;
    font-size: 1.8rem;
    text-transform: uppercase;
}

.contentleistung .box p {
    margin: 0;
    padding: 1rem 0 0 0;
    color: #000000;
    font-size: 1.8rem;
}

/*Kontakt*/
.contact{
    background-color: #dadada;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;    
}

.contactbox{
    width: 120rem;
    height: auto;
    margin: 1rem;
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFFFFF;
    flex-direction: column;
    border-radius: 2rem;
}

.contactbox h3{
    font-size: 5rem;
}

.contactbox h4{
    font-size: 2rem;
    padding: 2rem;
}

input::-webkit-input-placeholder, input, #send, textarea::-webkit-input-placeholder,textarea{
    -webkit-transition:all 500ms ease-in-out;
    -moz-transition:all 500ms ease-in-out;
    -ms-transition:all 500ms ease-in-out;
    -o-transition:all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
}

form{
    width: 37rem;
    height: auto;
    overflow: hidden;
    background: #dadada;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    -ms-box-sizing:border-box;
    -o-box-sizing:border-box;
    box-sizing:border-box;
    border: #000000 solid 0.1rem;
    border-radius: 2rem;
    -webkit-box-shadow: 0rem 1rem 1.3rem -0.7rem #000000, 0.5rem 0.5rem 1.5rem 0.5rem rgba(0,0,0,0); 
    box-shadow: 0rem 1rem 1.3rem -0.7rem #000000, 0.5rem 0.5rem 1.5rem 0.5rem rgba(0,0,0,0);
}

#send{
    background: #FFFFFF;
    border: none;
    color: #777777;
    width: 80%;
    margin: 5% 10% 10% 10%;
    cursor: pointer;
}

#send:hover{
    background: #666666;
    color: #FFFFFF;
}

form input, textarea{
    margin: 10% 10% 0 10%;
    width: 80%;
    height: auto;
    padding: 5%;
    display: block;
    border: none;
    border-bottom: solid 0.1rem #777777;
    background: -webkit-linear-gradient(top, rgba(255,255,255,0)99%,#dadada 1%);
    background: -moz-linear-gradient(top, rgba(255,255,255,0)99%,#dadada 1%);
    background: -ms-linear-gradient(top, rgba(255,255,255,0)99%,#dadada 1%);
    background: -o-linear-gradient(top, rgba(255,255,255,0)99%,#dadada 1%);
    background: linear-gradient(top, rgba(255,255,255,0)99%,#dadada 1%);
    background-size: 0 100%;
    background-repeat: no-repeat;
    color: #777777;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.6rem;
}

textarea {
    resize: none;
}

input:focus,textarea:focus{
    outline: none;
    background-size: 100% 100%;
}

input:focus::placeholder {
    font-size: 1rem;
    -webkit-transform:translateY(-25px);
    -moz-transform:translateY(-25px);
    -ms-transform:translateY(-25px);
    -o-transform:translateY(-25px);
    transform:translateY(-25px);
    visibility: visible !important;
}

textarea:focus::placeholder{
    font-size: 1rem;
    -webkit-transform:translateY(-20px);
    -moz-transform:translateY(-20px);
    -ms-transform:translateY(-20px);
    -o-transform:translateY(-20px);
    transform:translateY(-20px);
    visibility: visible !important;
}

input:focus:valid::placeholder, input:valid{
    color: #14dc19;
    border-color: #14dc19;
}

input:focus:invalid::placeholder, input:focus:invalid{
    color: #c9272a;
    border-color: #c9272a;
}

textarea:focus:valid::placeholder, textarea:valid{
    color: #14dc19;
    border-color: #14dc19;
}

textarea:focus:invalid::placeholder, textarea:focus:invalid{
    color: #c9272a;
    border-color: #c9272a;
}

.social{
    margin-top: 1rem;
    flex-direction: row;
}

@media screen and (max-width: 102.4rem){
     
    nav ul li a{
        display: none;}
     
        .contentabout .card .cardimg{
            position: relative;
            top: 0;
            left: 50%;
            padding: 0;
            transform: translate(-50%,-8%);
            width: 15rem;
            height: auto;    
            border-radius: 50%;
            overflow: hidden;
            -webkit-box-shadow: 0rem 1rem 1.3rem -0.7rem #000000, 0.5rem 0.5rem 1.5rem 0.5rem rgba(0,0,0,0); 
            box-shadow: 0rem 1rem 1.3rem -0.7rem #000000, 0.5rem 0.5rem 1.5rem 0.5rem rgba(0,0,0,0);
        }
}